Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I'm looking for a better way to teleport from clicking a button in a gui, Help?

Asked by 5 years ago

Alright, so I have this button inside a GUI that will teleport you to another game if you click it. In this case my button is called "New Game" so here is the script I'm using currently but I'm looking for a faster one because this script takes a long time to teleport.

  1. button = script.Parent
  2. tele = game:GetService('TeleportService')
  3. button.MouseButton1Down:connect(function()
  4. local player = game.Players.LocalPlayer
  5. tele:Teleport(2561674732, player)
  6. end)

Is there a possible way to get teleported faster?

0
No. namespace25 594 — 5y
0
No yHasteeD 1819 — 5y
0
U simply cant. User#23365 30 — 5y
0
U simply cant Donut792 216 — 5y
View all comments (6 more)
0
U simply cant Rare_tendo 3000 — 5y
0
U simply can Optikk 499 — 5y
0
You can not can. RubenKan 3615 — 5y
0
Okay, I get the idea. Tyserkhan004 22 — 5y
0
You are unable to can Optikk 499 — 5y
0
Thanks, Optikk. Tyserkhan004 22 — 5y

Answer this question