Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make this updated script repeat itself? (like repeat the scripts action)?

Asked by 5 years ago
Edited 5 years ago

Heres the script, and before something I shouldn't be using lighting, PLEASE notive that this does work and I just need a way for this script to repeat

Script:

while true do wait(4) workspace.PUP:Destroy() game.Lighting.PUP1:Clone().Parent = game.Workspace wait(4) workspace.PUP1:Destroy() game.Lighting.PUP2:Clone().Parent = game.Workspace wait(4) workspace.PUP2:Destroy() game.Lighting.PUP3:Clone().Parent = game.Workspace wait(4) workspace.PUP3:Destroy() game.Lighting.PUP4:Clone().Parent = game.Workspace wait(4) workspace.PUP4:Destroy() end

0
You're already doing it? And do NOT use Lighting as storage. User#19524 175 — 5y
0
I. SAID. NOT. TO. COMMENT. ABOUT. THE. LIGHTING. BECAUSE. ITS. WORKING. BUT. NOT. REPEATING. ITSELF. imaginevreything -50 — 5y
0
I. SAID. NOT. TO. COMMENT. ABOUT. THE. LIGHTING. BECAUSE. ITS. WORKING. BUT. NOT. REPEATING. ITSELF. imaginevreything -50 — 5y
0
Use code blocks please... :( Pojoto 329 — 5y
View all comments (3 more)
0
It's already repeating itself through the while true do? crookedsuper 56 — 5y
0
There may be an issue with the fact that everytime the script starts again you're trying to destroy PUP which you never recreated. crookedsuper 56 — 5y
0
how do i re bring pup imaginevreything -50 — 5y

Answer this question