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

How do I move an NPC from Lighting to Workspace?

Asked by 5 years ago

I tried doing this but it just doesn't work, can I have some help?

My script is below.

wait(3)
game.lighting.hax_iscoolsecondacc = workspace

I don't know if this will make a difference but the script is located inside of workspace.

The error I get is "13:43:08.688 - hax_iscoolsecondacc is not a valid member of Lighting"

(hax_iscoolsecondacc is the NPC im using)

0
and yes, I know I am the worst at scripting ment34591 20 — 5y
0
Put hax_iscoolsecondacc in the ServerStorage and put the Script in ServerScriptService. Mr_Unlucky 1085 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago
wait(3)
game.Lighting.hax_iscoolsecondacc.Parent = game.Workspace
0
It works, even though it leaves the hair behind, it works. ment34591 20 — 5y
0
Is the hair inside the hax_iscoolsecondacc model? Crvnberie 35 — 5y
0
yes ment34591 20 — 5y
Ad

Answer this question