Im trying to make a fast travel gui for my game but when i click the teleport button it wont work
script.Parent.MouseButtonClick:connect(function() game.Players.LocalPlayer.character.LowerTorso.CFrame = CFrame.new(workspace.Point.Position) end)
Im trying to make a fast travel gui for my game but when i click the teleport button it wont work
script.Parent.MouseButtonClick:connect(function() game.Players.LocalPlayer.character.LowerTorso.CFrame = CFrame.new(workspace.Point.Position) end)
local Players = game:GetService("Players")
local button = script.Parent
function Click()
Players.LocalPlayer.character.HumanoidRootPart.CFrame = CFrame.new(0, 0, 0)
end
script.Parent.MouseButton1Down:connect(Click)
This discussion is preserved as it was. New answers, comments, and votes are closed.