Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-3

This wont TP people to a place...any fixes?

Asked by 10 years ago
function onTouched(hit)
    local player = game.Players:GetPlayerFromCharacter(hit.Parent)
    if player then
        game:GetService("TeleportService"):Teleport(8473728, player)
    end
end

script.Parent.Touched:connect(onTouched)
0
Make your question name relavent to the question... then someone might help Vividex 162 — 10y
1
@Vividex Sent u a PM. So...Make sure ya read it! snoppyploptart 59 — 10y
0
Is it inside a local script? Does it show any errors? gskw 1046 — 10y
0
it was in reg...ill try local tho...thx snoppyploptart 59 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

try Teleport(player,8473728). But im no expert, If it doesent work i'm sorry :P

Ad

Answer this question