could someone please tell me what i did wrong here? i got annoyed by the teleport to brick so im trying to do teleport to the coordinates could somone tell me what i did wrong
wait(1)
player = game.Players.LocalPlayer
button = script.Parent
function teleportIsland()
CFrame = Cframe.newVector3(-412.5, 887.5, 2974)
end
button.MouseButton1Click:connect (teleportIsland)

1 comment
i had to add the question mark in the question