RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"when proximityprompt triggered teleport the player who triggered it to a different 3rd party game"
-- local script local TeleportService = game:GetService("TeleportService") local prompt = script.Parent.ProximityPrompt local function onPromptTriggered(player) local placeId = 123456789 -- replace with the actual place ID TeleportService:Teleport(placeId, player) end prompt.Triggered:Connect(onPromptTriggered)