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

Level teleport part is not working any assistance?

Asked by 6 years ago
Edited 6 years ago

My Level teleport part is not working any assistance or guidance I think i've done it right.

local text = game.Players:GetChildren()
local text2 = text:FindFirstChild("leaderstats"):WaitForChild("Level")

if Level == 0 then

Place = CFrame.new(50,0,25)

script.Parent.Touched:Connect(function(plr)
    local humanoid = plr.Parent:FindFirstChild("Humanoid")
    if (humanoid ~= nil) then
        humanoid.Torso.CFrame = Place
    else
    Place2 = CFrame.new(0,0,0)
        end
    end
end)
0
What is the value of Level? lukeb50 631 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

This will not work because of a reason I see. Your character is probably R15, so there is a upper torso and a lower torso. To make it both R6 and R15 compatible, use the head.

Ad

Answer this question