Hello. So I'm trying to make a model clone but in a different place.
1 | wait( 10 ) |
2 | local oryginal = script.Parent.Chair |
3 | local klon = oryginal:Clone() |
4 | klon.Parent = game.Workspace |
5 | klon.Position = Vector 3. new( 67.351 , 14.844 , 143.018 ) |
I wrote this script but the game says that models don't have a position. Any ideas on how I can make this script work? (I'm a beginner btw)
You must use the MoveTo() function. Try this.
1 | wait( 10 ) |
2 | local oryginal = script.Parent.Chair |
3 | local klon = oryginal:Clone() |
4 | klon.Parent = game.Workspace |
5 | klon:MoveTo(Vector 3. new( 67.351 , 14.844 , 143.018 )) |