Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
- local Part = game.Workspace.SellPart
- Part.Transparency = "0.5"
- local RebirthCost = game.Players.LocalPlayer.rebirth.Need
- local Money = game.Players.LocalPlayer.leaderstats["π°Money"]
- local MelonCost = game.Players.LocalPlayer.UpgradeCosts.MelonUpgrade
- local BPCost = game.Players.LocalPlayer.UpgradeCosts.BackpackUpgrade
- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
- repeat
- wait(0.03)
- game.ReplicatedStorage.Events.Eating:FireServer(math.huge)
- game.Workspace.SellPart.Position = game.Players.LocalPlayer.Character["Left Leg"].Position
- wait(0.01)
- if _G.Rebirth == true then
- if Money.Value > RebirthCost.Value then
- game.ReplicatedStorage.Functions.Rebirth:InvokeServer()
- end
- if _G.Melon == true then
- if Money.Value > MelonCost.Value then
- game.ReplicatedStorage.Functions.UpgradeMelon:InvokeServer()
- end
- if _G.Backpack == true then
- if Money.Value > BPCost.Value then
- game.ReplicatedStorage.Functions.UpgradeBackpack:InvokeServer()
- end
- if _G.Loose == true then
- for i,v in pairs(game.Workspace.Melons:GetChildren()) do
- v.Position = game.Players.LocalPlayer.Character["Left Leg"].Position
- end
- end
- end
- end
- end
- until _G.Active == false
- repeat
- wait(0.01)
- for i,v in pairs(game.Players:GetDescendants()) do
- if v.Name == "FullBackpack" then
- v:Destroy()
- end
- end
- until nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement