I have created script that changes anchor of part to false, and makes this part fall on floor. but, after 3 secounds i want same part to return to its defaut position.
i want script to check position of part before it falls on the ground, to make it return on its defaut position, but i dont know how to check position of part by using script.
-- not working script
local PartPosition = script.Parent.Position
script.Parent.Touched:Connect(function() wait(1) script.Parent.Anchored = false wait(3) script.Parent.Position = PartPosition
end)
And yeah, sorry for bad english

2 comments
i think it does but since the position youre giving to the part is the same because partposition is the position of the same part
btw. lines of code are placed correctly, website messed it up a little.