I'm relatively new to scripting and I tried making a script where a model from Lighting (specifically an NPC) would be cloned and placed into Workspace. I don't know if the model being an NPC has something to do with it disappearing after a second or because it has multiple parts.
wait(1)
game.Lighting.NPC:Clone().Parent = game.Workspace

7 comments
Why did you put it in Lighting?
I tried moving it to different places and changing the script according to where it is but it makes no difference.
Move it to SeverStorage or ReplicatedStorage.
I tried doing that but the same thing still happens and its frustrating...
Did you try something like game.Lighting:WaitForChild("NPC"):Clone().Parent = game.workspace
No , and I just tried it right now and it works!Thank you so much.
np