local Donkey = script.Parent
while true do wait(6.1) Donkey:Destroy()
1 | wait( 8 ) |
2 | local comeback = Donkey:Clone() |
3 | comeback.parent = game.Workspace |
4 | comeback.postion = Vector 3. new( 352 , 9 , - 61 ) |
end
Well, you destroyed the Donkey before you cloned it.
1 | while true do wait( 6.1 ) |
2 |
3 | Donkey:Destroy() |
4 |
5 | wait( 8 ) |
6 |
7 | local comeback = Donkey:Clone() |
You can't clone something that doesn't exist.
It's because of exactly what the first comment said; Destroying an object will lock its parent to nil. Also, the spelling isn't correct. The error was most likely parent is not a valid member of Part
because the property is Parent, not parent. What the script should be is this:
1 | local Donkey = script.Parent |
2 |
3 | while true do wait( 6.1 ) |
4 | Donkey.Parent = nil |
5 | wait( 8 ) |
6 | Donkey.Parent = workspace |
7 | Donkey.Position = Vector 3. new( 352 , 9 , - 61 ) |
8 | end |