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

Player Joining Script Issue?

Asked by 10 years ago

So here's a script that's supposed to on join make the player's walkspeed = 0 (frozen) but it's not working. Please help!

game.Players.PlayerAdded:connect(function(player)
    player.CharacterAdded:connect(function(character)
        character.Humanoid.Walkspeed=0
    end)
end)
0
I just realised I mispelled the WalkSpeed property, ignore my post, sorry! cainsuper3 15 — 10y

1 answer

Log in to vote
0
Answered by
hiccup111 231 Moderation Voter
10 years ago

Miss-spelt WalkSpeed.

A lot of ROBLOX objects are case-sensitive.

Ad

Answer this question