Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

It is showing Dominus is not in Folder in output i need help?

Asked by 1 year ago
Edited 1 year ago
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)
0
I don't know but I'm pretty sure it wouldn't be dominus's but it would be domini ScriptingEngine 5 — 1y
0
lol Gey4Jesus69 2472 — 1y

Answer this question