local function Round()
local roundStartTime = tick()
end
repeat
local currentTime = tick()
local TimeSinceGameStarted = currentTime - roundStartTime
CreateExplosionPartCopy()
wait(0.25)
until TimeSinceGameStarted > onTime
wait(offTime)
end
In the second block of code, you should see the "local TimeSinceGameStarted = currentTime - roundStartTime" line 3
My script isn't working and studio says roundStartTime is an unknown global, underlined in blue.
Thanks in advance

1 comment
First off, you cut your code and we cant see anything before repeat. also, scrap your Round function if thats all it does and put it before the repeat block. that should fix your problems. If you need more info as to why just ask me