I have a script inside a model, and whenever I clone it into workspace, the script does not get active. What is the cause?

Object being cloned into workspace:

while true do
	script.Parent.Velocity = script.Parent.CFrame.lookVector*10
	wait()
end

Script cloning it into workspace:

wait(2)

lol = game.ReplicatedStorage.Conveyor:Clone()
lol.Parent = workspace

5 comments

0

Please edit your post with the script you have written, there's no way we can know without seeing your script.

0

Updated

0

i think if you clone it while its disabled then enable the cloned script, it should work

0

It's enabled when its inserted

0

Try writing code to make the script disabled then enabled again.