Today we are making the rebirths
---------------------------------------------------scripts------------------------------------------------------
Open:
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.RebirthsFrame.Visible = true
end)
Close:
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.Visible = false
end)
Rebirth:
script.Parent.MouseButton1Click:Connect(function()
local player = game.Players.LocalPlayer
local clicks = player.leaderstats.Clicks
local rebirths = player.leaderstats.Rebirths
if clicks.Value *Greater than*= 10 then
rebirths.Value = rebirths.Value + 1
clicks.Value = 0
end
end)