Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.farm = true
- local plr = game:GetService("Players").LocalPlayer
- local hint = Instance.new('Hint', game:GetService("CoreGui"))
- local Happiness = plr.leaderstats["πΆ Happiness"]
- local Rebirths = plr.Rebirths
- local RS = game:GetService("ReplicatedStorage")
- local Remotes = RS.Remotes
- local Input = Remotes.Input
- local Rebirth = Remotes.Rebirth
- while _G.farm do
- local Me = Happiness.Value
- local rebirths = Rebirths.Value
- local price = rebirths * 1000 + 10000
- local difference = price - Me
- hint.Text = "You need: " .. difference .. " to rebirth"
- local bottle = plr.Backpack:FindFirstChild("Baby Bottle") or plr.Character and plr.Character:FindFirstChild("Baby Bottle")
- if bottle then
- local hum = plr.Character:FindFirstChildOfClass("Humanoid")
- if hum then
- hum:EquipTool(bottle)
- Input:FireServer(bottle)
- end
- end
- if Me >= price then
- Rebirth:FireServer()
- end
- wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement