Advertisement
RandomLuaScripter

[ROBLOX] Speed Gamepass

Feb 8th, 2018
2,656
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.61 KB | None | 0 0
  1. -- Be sure to make this a Script and put it in ServerScriptStorage if you want it to work!
  2.  
  3. wait(2) --Keep at 2 for safety.
  4.  
  5.  
  6.  
  7. gpid = 1345298742 -- Change to your gamepass id.
  8. speed = 75 -- Change to your wanted VIP speed.
  9.  
  10.  
  11.  
  12.  
  13. GPS = Game:GetService("GamePassService")
  14. function respawned(char)
  15. player = game.Players:FindFirstChild(char.Name)
  16. print("Respawned")
  17. if char:FindFirstChild("Head") ~= nil then
  18. print("It's a Player!")
  19. if GPS:PlayerHasPass(player, gpid) then
  20. print("Has GPID")
  21. char.Humanoid.WalkSpeed = speed
  22. else
  23. print("No GPID")
  24. end
  25. end
  26. end
  27. game.Workspace.ChildAdded:connect(respawned)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement