Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Im trying to make a fast travel gui but it wont work i need help?

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)

1 answer

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.