This is my code that doesn't work, but it looks fine
script.Parent.MouseClick:Connect(function(player)
player.leaderstats.Power.Value = player.leaderstats.Power.Value + 1
local model = script.Parent.Parent
local endPosition = Vector3.new(-81.58, -73.922, -477.425)
wait(3)
model:MoveTo(endPosition)
end
)
The leaderboard part works, but not the Vector3. This script is in a clickdetector that the brck is the parent of.

1 comment
The MoveTo() method is only for models, not parts