I have an intro to a game, that teleports you to the main place when it’s finished. However, for some reason the second place shows up in my game history. Not only that, but I found out it isn’t the place at all, it teleports me to a different place with a whole different place ID.
Even though in the script it explicitly shows that the place ID that it should teleport me to is 10501192677, it teleports me to the other one.
If you’re confused of why I’m using one game instead of two, is because I don’t want people to directly join the main game. Script:
local Players = game:GetService("Players")
local ServerScriptService = game:GetService("ServerScriptService")
local SafeTeleport = require(ServerScriptService.SafeTeleport)
local TARGET_PLACE_ID = 10501192677 -- replace with your own place ID
script.Parent.Touched:Connect(function(v)
if v.Parent:FindFirstChildWhichIsA("Humanoid") then
local playerToTeleport = Players:GetPlayers()[1] -- get the first player in the game
print(playerToTeleport)
SafeTeleport(TARGET_PLACE_ID, {playerToTeleport})
end
end)
local Players = game:GetService("Players")
local ServerScriptService = game:GetService("ServerScriptService")
local TARGET_PLACE_ID = 10501192677 -- replace with your own place ID
script.Parent.Touched:Connect(function(v)
if v.Parent:FindFirstChildWhichIsA("Humanoid") then
local playerToTeleport = Players:GetPlayers()[1] -- get the first player in the game
print(playerToTeleport)
game:GetService("TeleportService"):TeleportAsync(TARGET_PLACE_ID,{playerToTeleport})
end
end)
Nope. Either that didn’t work, or it didn’t work because roblox doesn’t want to save the fricking game.
it says that I updated it a minute ago, but it doesn’t want to save some obvious changes to the game, like adding the tv remote and changed the time of day.
idk how I can do that, i can’t do that in this experience bc it’ll just make me go to the start place, which I cannot teleport in, and if I make it in another experience then I can’t teleport it because 3rd party teleports is disabled