local Chee = script.Parent.Parent.PlayerGui:WaitForChild("ScreenGui"):WaitForChild("Frame"):WaitForChild("TextBox")
local bacon = script.Parent.Parent:WaitForChild("Folder"):WaitForChild("Timer")
local bee = script.Parent.Parent:WaitForChild("Folder"):WaitForChild("JailBreak")
local tab =60, 120, 180, 240, 300, 360, 420, 480, 540, 600
function Activate()
for i=1,bacon.Value do
wait(1)
bacon.Value = bacon.Value - 1
Chee.Text = bacon.Value
do Chee.Text = bacon.Value
if bacon.Value == 0 then
end
end
end
end
wait(0.2)
bacon.Changed:connect(function()
if bee.Value == true and Chee.Text == "0" and bacon.Value == table then
print(bacon.Value)
Activate()
else
end
end)
How do I get "local tab" To act as several variables, so that when bacon.value changes to one of the 10 variables listed in local tab, It activates Activate?
Also bonus question: how do you put a gui in a weapon?

1 comment
Dang it, I was still asleep.