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

Anchored player when join the server?

Asked by 5 years ago

Hello guys, I make question yesterday about how I anchored player when he join the game for 5 seconds and someone answered me and tried the script it works with me in ROBLOX Studio, but when I published the place it doesn't work, It is only work in ROBLOX Studio. Please help me guys. this is the script I used:

game.Players.PlayerAdded:Connect(function(Player)
    Player.CharacterAdded:Connect(function(character)
        Player.PlayerScripts.ControlScript.Disabled = true
        local humanoid = character:WaitForChild("Humanoid")
        if humanoid.RigType == Enum.HumanoidRigType.R15 then
            humanoid.PlatformStand = true
            wait(5)
            Player.PlayerScripts.ControlScript.Disabled = false
            humanoid.PlatformStand = false
            script:Destroy()
        end
    end)
end)
0
Is this a localscript or a server script? and where is the script located? aazkao 787 — 5y
0
As usually. If you make your own character with HumanoidRootPart Anchored. You will stuck unless you make it unanchored. PLplayz999 14 — 4y

Answer this question