Here's my script:
local open = false
local db = true
script.Parent.Parent.TextButton.MouseButton1Click:connect(function()
script.Parent.Question.Text = "ARE YOU SURE YOU WANT TO BE REBIRTH?"
if not open then
script.Parent.Visible = true
open = true
else
script.Parent.Visible = false
open = false
end
end)
script.Parent.Yes.MouseButton1Click:connect(function()
if game.Players.LocalPlayer.leaderstats["Dominus's Collected"].Value < 5000 and db then
db = false
script.Parent.Question.Text = "YOU NEED ATLEAST 5,000 Dominus's TO REBIRTH!"
wait(3)
script.Parent.Visible = false
open = false
db = true
elseif db then
game.ReplicatedStorage.Rebirth:FireServer()
script.Parent.Visible = false
open = false
end
end)
script.Parent.No.MouseButton1Click:connect(function()
if db then
script.Parent.Visible = false
open = false
end
end)
game.ReplicatedStorage.Rebirth.OnClientEvent:connect(function()
script.Parent.Parent.Text:TweenPosition((UDim2.new(0.2, 0, 0.07, 0)), "Out", "Quad", 1)
wait(3)
script.Parent.Parent.Text:TweenPosition((UDim2.new(1.8, 0, 0.07, 0)), "Out", "Quad", 1)
wait(1)
script.Parent.Parent.Text.Position = UDim2.new(-0.6, 0, 0.07, 0)
end)

3 comments
The plural of dominus is domini
lol
Incap the rebirth works but i want to know how to make it cost more every rebirth