Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. local gameName = "GO:CS" -- NAME OF YOUR GAME
  2.  
  3. local backpackName = "Enhanced" -- NAME OF YOUR BAG
  4.  
  5. --------------------------------------------- EDIT HERE ^^^^
  6.  
  7. local gameTiers = {
  8. ["ROBLOX"] = "Noob",
  9. ["Breakjail"] = "Noob",
  10. ["Nitefort"] = "Casual",
  11. ["ManSpider: The Amazing"] = "Casual",
  12. ["Kombat Mortal"] = "Enthusiast",
  13. ["ToonSplat"] = "Enthusiast",
  14. ["Legends of League"] = "Pro",
  15. ["Watchover"] = "Pro",
  16. ["GO:CS"] = "Legend",
  17. ["UnknownPlayer's Groundbattle"] = "Legend",
  18. ["Starbattle Warfront 2"] = "God",
  19. ["Grab Cash Simulator"] = "God"
  20. }
  21.  
  22. local gamePrices = {
  23. ["ROBLOX"] = 0,
  24. ["Breakjail"] = 100,
  25. ["Nitefort"] = 300,
  26. ["ManSpider: The Amazing"] = 500,
  27. ["Kombat Mortal"] = 1000,
  28. ["ToonSplat"] = 1500,
  29. ["Legends of League"] = 3200,
  30. ["Watchover"] = 5500,
  31. ["GO:CS"] = 9000,
  32. ["UnknownPlayer's Groundbattle"] = 20000,
  33. ["Starbattle Warfront 2"] = 100000,
  34. ["Grab Cash Simulator"] = 5000000
  35. }
  36.  
  37. local backpackLimits = {
  38. ["Basic"] = "25",
  39. ["Enhanced"] = "75",
  40. ["Advanced"] = "300",
  41. ["Duffel"] = "800",
  42. ["Rucksack"] = "2500",
  43. ["Bank Vault"] = "10000",
  44. ["Golden Vault"] = "99999"
  45. }
  46.  
  47.  
  48. while wait() do
  49. local s = game.Workspace[game.Players.LocalPlayer.Name][backpackName].display.backpackDisplay.holder.textLabel.Text
  50. if string.find(s, backpackLimits[backpackName].. "/") ~= nil then
  51. repeat
  52. wait()
  53. game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart.CFrame = game.Workspace.deposit.CFrame
  54. until game.Workspace[game.Players.LocalPlayer.Name][backpackName].display.backpackDisplay.holder.textLabel.Text == "0/".. backpackLimits[backpackName]
  55. else
  56. for i, v in pairs(game.Workspace.customers:GetChildren()) do
  57. if v.properties ~= nil then
  58. if v.properties.tier.Value == gameTiers[gameName] then
  59. v.UpperTorso.Anchored = true
  60. v.UpperTorso.CFrame = game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart.CFrame
  61. wait()
  62. game.ReplicatedStorage.remotes.bindCustomer:FireServer(v)
  63. end
  64. end
  65. end
  66. end
  67. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement