Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Script will not enable another script?

Asked by 10 years ago

For this script, the text changers work, but the script enabeler below doesnt.

a = game.Players.LocalPlayer.PlayerGui.Hacker.Frame
b = game.Workspace.Start  --Start is a bool value
function clicked()

    local text = "<EoF";
for i = 1,#text do
    a.Mes1.Text = text:sub(1,i);
    wait(0.1);
end

    wait(1.5)
    local text = "LOADING LOCAL_COMPUTER_DATA";
for i = 1,#text do
    a.Mes2.Text = text:sub(1,i);
    wait(0.1);
end

    wait(1.5)
    local text = "HARD_DRIVE";
for i = 1,#text do
    a.Mes3.Text = text:sub(1,i);
    wait(0.1);
end

    wait(1.5)
    local text = "MONITER_FRAME";
for i = 1,#text do
    a.Mes4.Text = text:sub(1,i);
    wait(0.1);
end

    wait(1.5)
    local text = "FIREWALL_SECURITY";
for i = 1,#text do
    a.Mes5.Text = text:sub(1,i);
    wait(0.1);
end

    b.Value = true
end

 if b.Value == true then --WONT ENABLE SCRIPT
    wait(0.1)  --WONT ENABLE SCRIPT
    a.ENTER.Script2.Disabled = false  --WONT ENABLE SCRIPT
end

script.Parent.MouseButton1Down:connect(clicked)
0
Hacker is the name of the ScreenGui My_Comment 95 — 10y

Answer this question