local id = 3672673475
local speed = 32
local gps = game:GetService("GamePassService")

game.Players.PlayerAdded:connect(function(plr)
 if gps:PlayerHasPass(plr, id) then
    plr.CharacterAdded:connect(function(chr)
       chr:WaitForChild("Humanoid").WalkSpeed = speed
    end)
	end
end)

This is the script i used, and its a server script, not local, and i placed it in ServerScriptService. Everything seems to be correct yet i can't find the error. Help?

7 comments

1

Try resetting your character, it may be because by the time the script gets whether the player has the pass or not, the character may have already loaded.

0

^ If that's the case, I would recommend flipping the if statement and CharacterAdded lines.

0

No, still not working.

0

Still doesn't help me make a walk speed pass

0

I just tried looking it up, Item ID 3672673475 does not exist. Did you by any chance copy the ID wrong?

0

Looks like you're right, the id was wrong after all. I'll try the script again when I get a chance to go on my computer again.