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

How do i make a minegame teleport line?

Asked by 9 years ago

How do i make a minigame teleport line for visitors could to visit to one minigame to another

1 answer

Log in to vote
1
Answered by
LostPast 253 Moderation Voter
9 years ago

If you are teleporting to a different game in the same universe use the teleport service: http://wiki.roblox.com/index.php?title=TeleportService_guide

local player = game.Player.LocalPlayer
local s = game:GetService("TeleportService")
local id = 000000
function onClicked() s:Teleport(id,player) end
script.Parent.MouseButton1Click:connect(onClicked)

Otherwise use Moveto if it is in the same game: http://wiki.roblox.com/index.php?title=API:Class/Model/MoveTo

Ad

Answer this question