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 4 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 — 4y
0
Put hax_iscoolsecondacc in the ServerStorage and put the Script in ServerScriptService. Mr_Unlucky 1085 — 4y

1 answer

Log in to vote
0
Answered by 4 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 — 4y
0
Is the hair inside the hax_iscoolsecondacc model? Crvnberie 35 — 4y
0
yes ment34591 20 — 4y
Ad

Answer this question