Hello, i was startng to make the game with trip type, everything was going good because i watched tutorial, but i got stuck on the last part of the lobby. I couldn't be teleported to another game: trip game. Can someone send me a script? Thanks for advice.
I need a teleport to other game script! Can someone help?
3 answers
Firstly, this isn't any request site.
This would be an example teleporting an player to another game. It uses the teleport service enter your place ID and the player object you wish to teleport. Remember this service dosen't work in studio only in the Application. Here should be some helpful links regarding to the service and the :Teleport.
Click here to learn more about the Teleport Service
Click here to learn more about the :Teleport
Going to remind you do not use this as an request site.
local TeleportService = game:GetService('TeleportService')
local PlayerObject = game.Players['YourName']
local PlaceId = 00000000
TeleportService:Teleport(PlaceId,PlayerObject)
If you are talking about going to another GAME and not in the lobby itself. then write this script: (also do not take scriptinghelpers.org as a request site)
local TPs = game:GetService("TeleportService")
local place = 123 -- insert place ID
-- also choose what the players should do to get teleported i used the touched event
local part = game.Workspace.Part
part.Touched:Connect(function(hit)
if hit.Parent == hit.Parent:FindFirstChildWhichIsA("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(plr)
end
TPs:Teleport(place, player)
end)
Although, this is not a request site. Make sure you publish the game.
To learn about teleportservice click here
local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local placeId = 0 -- replace here
local userId = 1 -- replace with player's userId
-- find the player
local player = Players:GetPlayerByUserId(userId)
-- teleport the player
TeleportService:Teleport(placeId, player)
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
This is not a request site, please give us what you have already made.
Please, i need the script.
Also i alreday made the look, some of the scripts, i just need the script for teleporting to other game.