I'm trying to make a loop, but at the same time i want it to break after 10 seconds after the character spawns, so how do I do that?
Here's what I have so far:
while true do
wait()
script.Parent.CFrame = script.Parent.Parent.HumanoidRootPart.CFrame
wait(10)
if wait(10) then
break
end
end
script.Parent.ParticleEmitter.Transparency = 1

1 comment
As far as i can see you want a partical emitter to go for ten seconds after the player spawns?