0 views0 copies0 likes
Finish Line Fireworks with Particle Bursts
Universal script
Copy it, then test it in your own Studio place.
Script code
12 lines · 0.5 KBlocal finish = workspace:WaitForChild("CelebrationFinish")local deadline = 0finish.Touched:Connect(function(hit) local model = hit:FindFirstAncestorOfClass("Model") local humanoid = model and model:FindFirstChildOfClass("Humanoid") local now = os.clock() if not humanoid or humanoid.Health <= 0 or now < deadline then return end deadline = now + 3 for _, emitter in finish:GetDescendants() do if emitter:IsA("ParticleEmitter") then emitter:Emit(25) end endend)About this script
Set an anchored CelebrationFinish part at the end of your course and attach one or more ParticleEmitters to it or its attachments. Turn off continuous emission on those emitters. The script triggers a short burst when a living character crosses the part and waits three seconds before another burst. Test several racers arriving together and adjust the particle count to fit low-end devices.
Log in to leave a comment.
No comments yet
Be the first to share your thoughts!
Comments
Share what works, ask questions, or report an issue.