Apollos
Dude who does stuff
Just working on a slot machine that slows down as it goes, seen someone do it before. Still got a lot to test through but mainly having a issue with a created function. How would I do this without freezing the server. Was thinking maybe addEvent to recursively call function again but I'm not sure if that's the right way either.
Lua:
local function pause(extraTime)
newTime = os.time() + extraTime
while os.time() < newTime do
--nothing
end
end