Here is my script, I don't see much wrong with it. Does anyone know why this might not be working?
1 | game.Players.PlayerAdded:connect( function (player) |
2 | player.CharacterAdded:connect( function (character) |
3 | if game:GetService( "GamePassService" ):PlayerHasPass(player, 4583498 ) then |
4 | character:WaitForChild( "Humanoid" ).WalkSpeed = 55 |
5 | end |
6 | end ) |
7 | end ) |
Makes 0 sense, should be working...
I've had this issue recently, it was fixed when I switched gamepassservice to marketplaceservice. The script should be fixed if you have it like this:
1 | game:GetService( "Players" ).PlayerAdded:Connect( function (Player) |
2 | if MarketplaceService:UserOwnsGamePassAsync(Player.UserId, 4583498 ) then |
3 | Player.CharacterAdded:Connect( function (Character) |
4 | Character:WaitForChild( "Humanoid" ).WalkSpeed = 55 |
5 | end ) |
6 | end |
7 | end ) |