Closed Katrist closed 9 months ago
On a side note, could you tell me how to upload files in a commit that fits the format of this codebase? I would like to implement a Signal library to replace BindableEvents for performance reasons, but I'm not sure how I would add the Signal module.
Sources: https://devforum.roblox.com/t/lua-signal-class-comparison-optimal-goodsignal-class/1387063
On a side note, could you tell me how to upload files in a commit that fits the format of this codebase? I would like to implement a Signal library to replace BindableEvents for performance reasons, but I'm not sure how I would add the Signal module.
Sources: https://devforum.roblox.com/t/lua-signal-class-comparison-optimal-goodsignal-class/1387063
You would add a .lua
file for a module script under src
. Files ending in .client.lua
are local scripts, .server.lua
are normal scripts, and .lua
are module scripts.
Additionally, you could just add this to src: https://gist.github.com/stravant/b75a322e0919d60dde8a0316d1f09d2f
Description
Improved code by removing deprecated objects
Changes Made
Replaced
tick()
withos.clock()
Checklist
Additional Notes
Talks about why tick() is deprecated: https://devforum.roblox.com/t/luau-recap-june-2020/632346 In my testing
tick()
is also less performant, taking more time to get the current time.Code of Conduct
By submitting this issue, I agree to follow the Code of Conduct.