I want to move a script to StarterGui to Workspace by using another script. Please explain to me how to write the code or give me the code.
✓ ANSWER ACCEPTED
How do I move a script using another script?
1 answer
✓ Accepted answer
--[[
I do not understand 100% what you meant, but if you want to change the parent of some script,
first find it and change the parent. Example:
If I have a workspace script and want to put it in Lighting, I'll have to type
--]]
script.Parent = game.Lighting
--Now, if you want to change an expecific script, you will need to find it and change location
--Ex:
game.Workspace.Script.Parent = game.Lighting
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
You just disable the script you want to move and then parent it to StarterGui, and then to Workspace, and then you enable it again.