This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
File name: ModelTween.luau | |
Author: RadiatedExodus (RealEthanPlayzDev) | |
Created at: May 30, 2023 | |
Utility for tweening models | |
--]] | |
local serv = { | |
TweenService = game:GetService("TweenService"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!strict | |
--// Types | |
type Function = (...any) -> (...any) | |
export type ConnectionObject = { | |
Disconnect: () -> (), | |
Connect: (() -> ())? | |
} | |
export type SignalObject = { | |
Connect: (self: SignalObject, f: Function) -> (ConnectionObject?), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!strict | |
--[[ | |
File name: ClientStatisticsProvider.luau | |
Author: RadiatedExodus (RealEthanPlayzDev) | |
Created at: April 26, 2023 | |
Module for providing various client statistics related information | |
--]] | |
--// Types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Moved to https://github.com/RealEthanPlayzDev/LuauInLuau |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Moved to https://github.com/RealEthanPlayzDev/Builder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!strict | |
--[[ | |
File name: TaskScheduler.luau | |
Author: RadiatedExodus (RealEthanPlayzDev) | |
Created at: December 10, 2022 | |
A custom task scheduler implementation | |
Inspired by Anaminus's Sched library at: | |
https://github.com/Anaminus/roblox-library/blob/master/modules/Sched | |
--]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
File name: RbxHoloDexAPI.luau | |
Author: RadiatedExodus (RealEthanPlayzDev) | |
Version: 2.0.0 | |
API wrapper for Holodex, written in Luau for usage in Roblox | |
--]] | |
--// Static configuration | |
local BASE_HOLODEXAPI_URL = "https://holodex.net/api/v2" --// The base url of the Holodex api, must NOT end with a slash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function Benchmark(name, times, f, ...) | |
warn("--- BEGINNING BENCHMARK: \""..name.."\" ---") | |
local RunTimes = {} | |
for i = 1, times, 1 do | |
local Start = os.clock() | |
f(...) | |
local End = os.clock() | |
local CalcTime = End - Start | |
table.insert(RunTimes, CalcTime) | |
print(" Run #"..i..": "..CalcTime) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function WaitForChildWhichIsA(parent: Instance, className: string, timeOut: number?) | |
if parent:FindFirstChildWhichIsA(className) then | |
return parent:FindFirstChildWhichIsA(className) | |
end | |
local CurrentThread = coroutine.running() | |
local Found = false | |
local Connection; Connection = parent.ChildAdded:Connect(function(child: Instance) | |
if child:IsA(className) then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
File name: YieldFunctionResult.lua | |
Author: RadiatedExodus (RealEthanPlayzDev) | |
Created at: September 1, 2022 | |
YieldFunctionResult, a small wrapper that wraps around a function | |
for handling yields asynchronously, this is similar to JS promises. | |
--]] | |
local YieldFunctionResult = {} |
NewerOlder