local id = 3672673475 local speed = 32 local gps = game:GetService("GamePassService") game.Players.PlayerAdded:connect(function(plr) plr:WaitForDataReady() if not gps:PlayerHasPass(plr, id) then plr.CharacterAdded:connect(function(chr) chr:WaitForChild("Humanoid").Walkspeed = speed end) end end)
This is the script i used. Its not a local script, and i put it in serverscriptservices.
Your problem is simply that you're checking to make sure they don't have the gamepass. Just take out the not on line 7 and you code will work fine.
Also, you may just want to make sure the ID you put in was correct.
It should look like this:
local id = 3672673475 local speed = 32 local gps = game:GetService("GamePassService") game.Players.PlayerAdded:connect(function(plr) plr:WaitForDataReady() if gps:PlayerHasPass(plr, id) then plr.CharacterAdded:connect(function(chr) chr:WaitForChild("Humanoid").WalkSpeed = speed end) end end)
And now your code should work fine.
Anyways, I hope this helps. If you have any further problems/questions, please leave a comment below, and I'll see what I can do.