if boolOne.Value and playerWhoClicked.Character.Humanoid.WalkSpeed == 0 then
print('Success')
end
I've checked and double checked that it works with just the boolOne.Value, so the problem is with checking the WalkSpeed. I'm also certain that my WalkSpeed == 0 because I went into my humanoid properties and checked it!
It's inside a MouseClick event of a ClickDetector, so playerWhoClicked is the paramater which gets the player.
There are no errors, so I'm pretty confused. Any help would be appreciated.

10 comments
The issue is likely that you didn't change it from the server mode. Studio has the option to toggle between the server and client.
Yes, it's a server script. I haven't actually included my current code inside. And yes, I've double checked that the conditions are properly met.
print(boolOne.Value) before this if statement and see what u get. then print the walkspeed too
Okay, thanks for the suggestion. WalkSpeed is printing 16, even though I am looking at it being 0 in Player.Character.Humanoid
maybe you changed the walkspeed locally??
Yeah, that's exactly what I did. I don't know why I didn't think to do it on the server script.
glad i helped
Thanks!
please mark title as [Solved]