--this is a localscript that is located in TextButton (parent parent parent parent of it is in StarterGui) local PlaceTeleportService = game:GetService("TeleportService") local RacingGame_ID = 3275910351 script.Parent.MouseButton1Click:Connect(function() PlaceTeleportService:TeleportToPlaceInstance(RacingGame_ID,game.Players.LocalPlayer) end)
when i teleport it shows me that racing game does not exist however it exists
The TeleportToPlaceInstance function in TeleportService will only teleport a player to another server instance in your game. If you want them to teleport to a different game, then use the function Teleport. Hope this helped!