Teleport script doesn't work The script is into a SurfaceGui Button like Part > SurfaceGui > Button > Script
function onClicked() if script.Parent.Parent.Parent.Parent.Character:FindFirstChild("Board") ~= nil then script.Parent.Parent.Parent.Parent.Character.Board:remove() end script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(-195.92, 42.685, -29.3) end script.Parent.MouseButton1Down:connect(onClicked)
Thanks