Teleport image button

I need help making a button the is on a sign. I would like that when players click it it teleports them to another game. here is my script:

local telePart = script.Parent
local TeleportService = game:GetService("TeleportService")
local placeId = 16838008357 -- application place here


Try something like this:

local telePart = script.Parent
local Prompt = telePart.ProximityPrompt -- Must have a proximityprompt within the part!

local TARGET_PLACE_ID = 16838008357 -- replace with your own place ID

    TeleportService:TeleportAsync(TARGET_PLACE_ID, plr)

Don’t quote me on this script, I didn’t test it.

yes but i would like it to be when a mouse clicks the board

local Button = script.Parent

local Players = game:GetService("Players")
local TS = game:GetService("TeleportService")

local Player = Players.LocalPlayer

	local PlaceID = 16838008357
	TS:TeleportAsync(PlaceID, Player)

Try this ^^

Still not working…I don’t know why.

Make sure to have teleports enabled in the Game Settings. Otherwise, not sure about my script I’ll try to adjust it.

Category changed to Development Support

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