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

Scripts that moves another scripts?

Asked by 6 years ago

So, I am trying to make a "on click script" It moves a Local Script from the Workspace to the Starter Pack I tried some things. Had no success doing it myself.

1 answer

Log in to vote
0
Answered by
Griffi0n 315 Moderation Voter
6 years ago
Edited 6 years ago
game.Workspace.LocalScript.Parent = game.StarterPack

If you want it to stay in the workspace and move it to the StarterPack

game.Workspace.LocalScript:Clone().Parent = game.StarterPack
Ad

Answer this question