Ad
Log in to vote
0

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

Asked by
jjjona1 -1
7 days ago
Edited 7 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 — 6d
0
No errors. It just won't work. jjjona1 -1 — 6d

Answer this question