I have this bloxy cola that I want to move upon being touched, and I want it to stay there. It successfully goes to that position, but as soon as I step off where its original position was, it teleports back there. How would I fix this?
game.Workspace.obby.ending.BloxyCola.Touched:Connect(function(Hit)
if Hit.Parent:FindFirstChild("Humanoid") then
game.Workspace.obby.ending.BloxyCola.Position = Vector3.new(-627.98, -43.26, -3072.334)
game.Workspace.obby.ending.BloxyCola.CanTouch = false
print("cola moved")
end
end)

3 comments
Does the bloxy cola have any other scripts in it?
Well it's a local script because I only want this to happen for the player that touched it, so the script is inside of StarterPlayerScripts, but yes, the cola has a script that makes it spin, and one that makes you get a cola tool when it's touched.
It was the spinscript, even though it interferes with the orientation, not it's position.