This is what I got so far:

local Player = script.Parent.Parent.Parent.Parent
local Gui = script.Parent.Parent
local Main = script.Parent

local Folder = workspace:WaitForChild( 'GuiFolder' )


while true do wait(0.095)
    script.Disabled = false
    if Folder.Shotclock.Value < Folder.Second.Value and Folder.Shotclock.Value ~= 0 then
            Folder.Shotclock.Value = Folder.Shotclock.Value - 1
            if Folder.Shotclock.Value < 10 then
                
    script.Disabled = false
    script.Parent.TextColor3 = Color3.fromRGB(255,0,0)
    wait(0.095)
    script.Parent.TextStrokeColor3 = Color3.fromRGB(255,255,255)
            if Folder.Shotclock.Value == 0 then
                script.Disabled = true
            end
end 

What is going on wrong? because it's not seeming to work.

1 comment

1

a script cant enable itself