local open = false
local db = true
script.Parent.Parent.TextButton.MouseButton1Click:connect(function()
script.Parent.Question.Text = "ARE YOU SURE YOU WANT TO BE REBORN?"
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.Value < 5000 and db then
db = false
script.Parent.Question.Text = "YOU NEED ATLEAST 5,000 Dominus's Collected 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)
COMMUNITY QUESTION
It is showing Dominus is not in Folder in output i need help?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
I don't know but I'm pretty sure it wouldn't be dominus's but it would be domini
lol