Ad
Log in to vote
0

My type game id to teleport to the game button don't work?

Asked by
jjjona1 -1
6 days ago
Edited 6 days ago

I don't know why it don't work

local GameIDType = game.StarterGui.ScreenGui.Frame.TextBox.Text

local TextButton = game.StarterGui.ScreenGui.Frame.TextButton

local TeleportService = game:GetService("TeleportService")

TextButton.MouseButton1Click:Connect(function(player)

TeleportService:Teleport(GameIDType, player)

end)

0
what is the error it gives? justinjosh5 19 — 5d
0
No errors. It just won't work. jjjona1 -1 — 5d

Answer this question