How to make a cloned local script play again

This seems very simple but for some reason, when you clone a local script, I cant figure out a way to make it play again.


local function Animate()
	print("Animated!")
end


script.Animate.Event:Connect(function()
	-- Doing An Event doesnt make it work either
	Animate()
end)
Animate()

(Animate only plays for the original model, the cloned model doesnt animate.

1 Like

You can try having it disabled then when it’s cloned, you can enable it to play your function again.

This still doesnt run the script at all

is it in workspace? local scripts don’t work in workspace. If it is, you’ll have to use a server script with the run context property set to client

2 Likes

That’s interesting, i’ve never found a use for the RunContext property until now, Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.