Advertisement
TheRealHeh

Untitled

Oct 29th, 2019
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
  2. local Part = game.Workspace.SellPart
  3. Part.Transparency = "0.5"
  4. local RebirthCost = game.Players.LocalPlayer.rebirth.Need
  5. local Money = game.Players.LocalPlayer.leaderstats["πŸ’°Money"]
  6. local MelonCost = game.Players.LocalPlayer.UpgradeCosts.MelonUpgrade
  7. local BPCost = game.Players.LocalPlayer.UpgradeCosts.BackpackUpgrade
  8.  
  9. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
  10.  
  11. repeat
  12. wait(0.03)
  13. game.ReplicatedStorage.Events.Eating:FireServer(math.huge)
  14. game.Workspace.SellPart.Position = game.Players.LocalPlayer.Character["Left Leg"].Position
  15. wait(0.01)
  16. if _G.Rebirth == true then
  17. if Money.Value > RebirthCost.Value then
  18. game.ReplicatedStorage.Functions.Rebirth:InvokeServer()
  19. end
  20. if _G.Melon == true then
  21. if Money.Value > MelonCost.Value then
  22. game.ReplicatedStorage.Functions.UpgradeMelon:InvokeServer()
  23. end
  24. if _G.Backpack == true then
  25. if Money.Value > BPCost.Value then
  26. game.ReplicatedStorage.Functions.UpgradeBackpack:InvokeServer()
  27. end
  28. if _G.Loose == true then
  29. for i,v in pairs(game.Workspace.Melons:GetChildren()) do
  30. v.Position = game.Players.LocalPlayer.Character["Left Leg"].Position
  31. end
  32. end
  33. end
  34. end
  35. end
  36. until _G.Active == false
  37.  
  38.  
  39. repeat
  40. wait(0.01)
  41. for i,v in pairs(game.Players:GetDescendants()) do
  42. if v.Name == "FullBackpack" then
  43. v:Destroy()
  44. end
  45. end
  46. until nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement