Posted
Put your code at where it says "--put your code here"
-----------------------------------------
pcall(function()
local timer = 0;
game:GetService('RunService').RenderStepped:connect(function()
timer = timer + .02;
-- put your code here
end)
end)
------------------------------------------
pcall(function()
local timer = 0;
game:GetService('RunService').RenderStepped:connect(function()
timer = timer + .02;
if math.ceil(timer) == 5 then -- check if 5 seconds have passed
print('5 seconds have passed.') -- print to output that five seconds have passed
timer = 0; -- Reset timer.
end
end)
end)
Replied
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post