#this code is not working for some reason

1 messages · Page 1 of 1 (latest)

fathom agate
#

game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local humanoid = character:WaitForChild("Humanoid")

    humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing, false)


end)

end)

upbeat wharf
#

not pretty sure cause i did not use humanoid state type for a lot of time now
but SetState And ChangeState
Are All As i remember ("Modified Local script Only ")

#

so maybe ad a local script
and do the same thing ?!

fathom agate
#

this is a local script

#

and i also have it in server

#

so idk

upbeat wharf
#

yep it will never work
cause game.Players.PlayerAdded
is from Server only ?
u can not do it in local scripts

fathom agate
#

oh lala

upbeat wharf
#

if u thinked about it u will find it logical

fathom agate
#

can u help with the change then

#

my guy

upbeat wharf
#

i will test this to make sure and u can try it for now

fathom agate
#

thanke u very much for giving me ur valuable time my guy:D

#

i fixed it thx