Advertisement
Guest User

Speed Gamepass Script

a guest
Jul 11th, 2021
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. --Scripted by T Bricks
  2.  
  3. local GamepassId = 12999776 --Replace with your GamepassId
  4.  
  5. game:GetService("MarketplaceService").PromptGamePassPurchaseFinished:Connect(function(plr,ido,purchased)
  6. if purchased and ido == GamepassId then
  7. plr.Character.Humanoid.WalkSpeed = 30 --Change this number to whatever you want.
  8. end
  9. end)
  10.  
  11. game.Players.PlayerAdded:Connect(function(plr)
  12. plr.CharacterAdded:connect(function(char)
  13. if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(game.Players[char.Name].UserId, GamepassId) then
  14. char.Humanoid.WalkSpeed = 30 --Change this number to whatever you want.
  15. end
  16. end)
  17. end)
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement