forked from retpirato/Roblox-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBaby Simulator Auto Rebirth.lua
More file actions
30 lines (30 loc) · 996 Bytes
/
Baby Simulator Auto Rebirth.lua
File metadata and controls
30 lines (30 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
_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 .. " ? Happiness 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
for i = 1,10 do
Rebirth:FireServer()
end
end
wait()
end