Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- The following script(s) will show you how to teleport between places in roblox using studios
- -- Make sure to insert this script into the part you want the teleporter to be
- -- this will only work if the places are connected(they are part of the same game)
- -- Raw TPer:
- local TeleportService = game:GetService("TeleportService")
- local level1Id = 323422604 -- Change "0" to the place ID
- game.Players.PlayerAdded:connect(function(player)
- TeleportService:Teleport(level1Id, player)
- end)
- -- Tp when touched:
- local TeleportService = game:GetService("TeleportService")
- local level1Id = 323422604 -- Change "0" to the place ID
- function onTouched(hit)
- local player = game.Players:GetPlayerFromCharacter(hit.Parent)
- if player then
- TeleportService:Teleport(level1Id, player)
- end
- end
- -- This script was made by Francesco_miner with the help of the roblox wiki
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement