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

Is it possible to change the parent of a object using a script?

Asked by 3 years ago

you know how you move a script into server script service for example I was wondering if you could do that but using a script. I tried doing this

whatever.Parent = serverscriptservice

and it didint work, any ideas?

1 answer

Log in to vote
0
Answered by 3 years ago

I have a few solutions.

1: Make sure spelling is right. 2: You can parent it to ServerScriptService by use game;GetService() 3: Make sure you have your variable. (ex. script.Parent.Ball.Parent = workspace)

0
game:GetService()*** Ponytails2017 83 — 3y
0
Thanks! Iownrobloxp 44 — 3y
Ad

Answer this question