Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local id = 0
- game:GetService("MarketplaceService").PromptGamePassPurchaseFinished:Connect(function(plr,ido,purchased)
- if purchased and ido == id then
- plr.Character.Humanoid.WalkSpeed = 30
- end
- end)
- game.Players.PlayerAdded:Connect(function(plr)
- plr.CharacterAdded:connect(function(char)
- if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(game.Players[char.Name].UserId, id) then
- char.Humanoid.WalkSpeed = 25
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement