[Nvm about it, I spelt workspace wrong!]
I have been trying so hard but I can't find a way to script the part to move to have a different parent. Any help?
1 | local MovingClickDetector = game.Wrkspace.MapDoor 1. Door.ClickDetector |
2 | MovingClickDetector = game.Workspace.MapDoor 1. Door 4 |
It just like setting others property This is how u do it:
1 | local p = script.Parent -- Let's say the script is inside a part |
2 | p.Parent = workspace |