How To Make A Gui That Teleport You?

As you see, i wanna make a gui teleport you to a part. if you don’t know Read this.

  1. Create a gui
  2. Add local script
    It look like this:

script.Parent.MouseButton1Click:Connect(function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(workspace.teleportlift.Position)

Make sure you use your part to rename it!
(this is a scirpting gui to teleport u ALSO this is a tutorial)

1 Like

is this a tutorial or a question

Using the HumanoidRootPart would be much more efficient. expecially if you decide to use R6 instead of R15.

This is a scripting support section more of rather than tutorials so someone might interpret this as a fix

HumanoidRootPart is more efficient than LowerTorso imo.

Also, this seems to be a #resources:community-tutorials since you provide steps on how to do so. I recommend you change the topic’s category to #resources:community-tutorials since some people may think this is a fix like @RobloxHasTalentR said.

1 Like

Oh, i guess you were right, it didn’t work but it work. Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.