Hi Please I need someone fix my winners teleport script doesn't work, I want to teleport only players finished all 100 Stages to winners room when player touch the teleporter. this is my script:
function onTouched(hit)
print("Teleport")
local human = hit.Parent:findFirstChild("Torso")
brick = script.Parent
if Player.leaderstats.Stages.Value == 100 then
if (human ~=nil) then
human.CFrame= CFrame.new(Vector3.new(Position))
end
end
script.Parent.Touched:connect(onTouched)

1 comment
Well first: what's being logged in the output tab? Additionally, are you using R6 or R15?