My script has a Function for a Disaster, but it IS NOT WORKING! No Output Error either. Here's the script:
--Vals--
local DIP = false
local Blur = game.Lighting.DisasterBlur
--Disaster Functions--
function ZombieBreakIn()
DIP = true
Blur.Enabled = true
script.Visible.Value = true
script.Notice1.Value = "DANGER! DISASTER DETECTED!"
script.Notice2.Value = "Zombie Infiltration Detected at Operations Center! Total Facility Lockdown in Progress!"
wait(3)
Blur.Enabled = false
script.Visible.Value = false
wait(0.25)
Blur.Enabled = true
script.Visible.Value = true
script.Notice1.Value = "REPORT TO VAULT ASAP!"
script.Notice2.Value = "Staff must now report to the Vault Sector for Role call! Security Team secure the location!"
game.ReplicatedStorage.NPCZombies.Script.Disabled = false
game.Workspace.Audio.Disasters.ZombificationEscape.Song:Play()
Blur.Enabled = false
script.Visible.Value = false
game.ReplicatedStorage.MainDisasterScript.Lockdown.Value = true
wait(15)
game.Workspace.ZWallExplosion.Sound:Play()
local num = 0.1
repeat
num = num +0.1
game.Workspace.ZWallExplosion.Size = Vector3.new(num, num, num)
wait(0.01)
until num == 15
game.Workspace.ZWallExplosion.Size = Vector3.new(0.1, 0.1, 0.1)
game.Workspace.ZWall.Transparency = 1
game.Workspace.ZWall.CanCollide = false
repeat
wait(0.1)
until #workspace.NPCs:GetChildren() == 0
Blur.Enabled = true
script.Visible.Value = true
script.Notice1.Value = "FACILITY CLEAR"
script.Notice2.Value = "Facility is clear of Zombies! You may return to regular Operations!"
game.ReplicatedStorage.NPCZombies.Script.Disabled = true
game.Workspace.Audio.Disasters.ZombificationEscape.Song:Stop()
Blur.Enabled = false
script.Visible.Value = false
game.ReplicatedStorage.MainDisasterScript.Lockdown.Value = false
DIP = false
end
--Module--
while true do
wait(30)
if DIP == false then
ZombieBreakIn()
end
end
Bit of help. New game is nearly ready for Beta Testing.

1 comment
add print statemetn to see if the function gets called