Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. local id = Coloque o numero aqui!!
  2.  
  3. game:GetService("MarketplaceService").PromptGamePassPurchaseFinished:Connect(function(plr,ido,purchased)
  4. if purchased and ido == id then
  5. plr.Character.Humanoid.WalkSpeed = 30
  6. end
  7. end)
  8.  
  9. game.Players.PlayerAdded:Connect(function(plr)
  10. plr.CharacterAdded:connect(function(char)
  11. if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(game.Players[char.Name].UserId, id) then
  12. char.Humanoid.WalkSpeed = 30
  13. end
  14. end)
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement