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

Whenever I run the game my script gets deleted but I don't know why?

Asked by
Prioxis 673 Moderation Voter
10 years ago

Whenever I go to test the game It deletes itself?

--1337Zombiegamer--
local Van = Lighting.Van

while true do 
local Vehicle = Van:Clone()
Vehicle.Parent = Workspace
wait(30)
end

1 answer

Log in to vote
2
Answered by
HexC3D 830 Moderation Voter
10 years ago

local Van = game.Lighting.Van while true do Van:Clone().Parent = game.Workspace wait(30) end

This shall fix the script, you can't exceed amount of times you re-enter a clone into workspace.

if this helped +1, if this answered your question check mark.

0
Uh, the original script seemed fine as well, and is better if there are any other properties that need changing once cloned. I would check other scripts running around that model that might be deleting it. deaththerapy 60 — 10y
Ad

Answer this question