I want to make a textbutton that teleports the player to another place. I tried with this:
local placeId = 5847573 --change to place id script.Parent.MouseButton1Click:Connect(function() game:GetService("TeleportService"):Teleport(placeId,game.Players.LocalPlayer) end)
but it didn't work. Please help me.
Locked by RubenKan
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?