Teleport Pad to other game Not working

ive never really messed with teleprting to places that arent in the same place but that would likly be part of the problem

If it is, I feel like such an idiot right about now.

here i would look through this, if your trying to use teleport make sure your only teleporting to a public starting place or a place in the same game

Just came back from dinner, I didn’t really understand that very much, but I think the reason why it wouldn’t work before is because of the Places, in my group creations, the game I wanted to go to was not in Places.

Still doesn’t work though, lol.

also i just noticed a mistake with my script, id comes before player thats not something you did wrong thats just me

so the fixed script would be

local part1 = script.Parent
local part2 = script.Parent.Parent
local id -- id here
local function touched(hit)
	local player = game.Players:GetPlayerFromCharacter(hit.Parent)
	if player then
		game:GetService('TeleportService'):Teleport(id,player)
	end
end

part1.Touched:Connect(function(hit)
	touched(hit)
end)
part2.Touched:Connect(function(hit)
	touched(hit)
end)
2 Likes

Ill try it out now, I hope my suffering can be ended soon.

Is there supposed to be no = after local id? I don’t know scripting but it doesn’t look right to me.

no the id would be

local id = 6105017665

FINALLY IT WORKED! Thank you so much, you can’t believe how annoyed I was getting over this.