Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do i change the parent of a model?

I'm trying to make an enemy model spawn in front of a door with a script but it doesn't work. I put it in ReplicatedStorage and tried making a lot of different scripts to see if it would work but it didn't.

I'll just put this as an example of what I mean more clearly. So the game Piggy has the piggy spawning in front of a door after 30 seconds. And I'm trying to do the same thing.

1 comment

0

Do you have any scripts? You need to sent them.

1 answer

Script inside model:

local clone = script.Parent:Clone()
clone.Parent = game.Workspace

1 comment

0

This will clone it once. If you want you could learn about loops to that every while it clones.

This discussion is preserved as it was. New answers, comments, and votes are closed.