game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
if game.GamePassService:PlayerHasPass(player,161394440) then
character.Humanoid.WalkSpeed = 32
end
end)
end)?
COMMUNITY QUESTION
My speed game pass isn't working I tried to put it in ServerScriptService, Any help please?
2 answers
You are using a deprecated function. It should be :Connect not :connect
Also, do game:GetService("GamePassService):PlayerHasPass()
And why is there a "?" at the end of the script? That also shouldn't be there, lol
If this doesn't work, sorry, because my :PlayerHasPass() hasn't been working for me either. I am just trying to help out.
I am also new here and learning but I think you may need to check the ID as if you made the gamepass recently it looks 1 number short to me. I have the same script and it works, looks fine to me so I suggest check ID number.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
i believe your problem is in line 2. i'm a new scripter though so i might be wrong
alright, thanks for helping ill fix it