here is it:
while true do workspace.stick:remove() game.Lighting.stick1:Clone().Parent = game.Workspace wait(10) workspace.stick1:remove() g game.Lighting.stick:Clone().Parent = game.Workspace
wait(10) workspace.stick2:remove() game.Lighting.stick3:Clone().Parent = game.Workspace wait(10) workspace.stick3:remove() game.Lighting.stick4:Clone().Parent = game.Workspace wait(10)
end
Hello imagine!
I will tell you some things about your script. Firstly, remove is DEPRECATED, instead you should use destroy function. Second, you are using lighting as storage which is bad, never use Lighting for storage when you have ReplicatedStorage, ServerStorage. This script is poorly made and I will show you a way to make it work with "for i loop".
Here's a tricky way with loops :)
local Lighting = game:GetService("Lighting") for i = 1, 3 do local Stick = workspace:FindFirstChild("stick"..i) local SecondStick = Lighting:FindFirstChild("stick"..i+1) if Stick and SecondStick then Stick:Destroy() SecondStick:Clone().Parent = workspace end wait(10) end