From a0224bcae4fd99f3f54e8af7ea29dde208f2f90d Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Thu, 15 Aug 2024 19:14:54 -0600 Subject: [PATCH] Small thing - Create demo script for showcases/videos/expos/whatever. Just loops through all the states. --- Demo Stuff/DemoScript.lua | 35 +++++++++++++++++++++++++++++++++++ Demo Stuff/DemoZone.rbxm | Bin 0 -> 2431 bytes 2 files changed, 35 insertions(+) create mode 100644 Demo Stuff/DemoScript.lua create mode 100644 Demo Stuff/DemoZone.rbxm diff --git a/Demo Stuff/DemoScript.lua b/Demo Stuff/DemoScript.lua new file mode 100644 index 0000000..4558a7b --- /dev/null +++ b/Demo Stuff/DemoScript.lua @@ -0,0 +1,35 @@ +-- Place under boot() in SecuritySystem +local demoLoop = function() + while wait() do + wait(5) + toggleChime() + wait(5) + toggleChime() + wait(5) + armStay() + wait(script.Parent.Settings.exitDelay.Value + 5) + disarm() + wait(5) + armAway() + wait(script.Parent.Settings.exitDelay.Value + 5) + disarm() + wait(5) + armInstant() + wait(script.Parent.Settings.exitDelay.Value + 5) + disarm() + wait(5) + armMax() + wait(script.Parent.Settings.exitDelay.Value + 5) + disarm() + wait(5) + armAway() + wait(script.Parent.Settings.exitDelay.Value + 5) + script.Parent.Zones["1"].Sensors.Demo.Alarm.Value = true + wait(1) + script.Parent.Zones["1"].Sensors.Demo.Alarm.Value = false + repeat wait() until armState == 3 + wait(5) + disarm() + end +end +task.spawn(demoLoop) \ No newline at end of file diff --git a/Demo Stuff/DemoZone.rbxm b/Demo Stuff/DemoZone.rbxm new file mode 100644 index 0000000000000000000000000000000000000000..0f059bf0b6fcd33a121996b22dabd0af82405fc2 GIT binary patch literal 2431 zcmaJ@O>Y}T7=Cx1Ch<0Dla#cg33S{KNUGS4o3xFqe&G0{YDH5k4m|;4V~^tz>s@Pi z-1I|{DskeLKY=(^hzkd}z>!-|aODSZ*c7P5h4MaQJN--_>D`@~ecqXO-kEu3FNMLn z7u-#K{cO}Z>JSYO(LuI8ZkE>aC%JOG*AO4FxHQ35y4&_tP3e3`2R8!c>j=I&?8xgY z)wL5`zQ_jb*mx${mV>~%?Rp(~fDYO;ygg_$2JHbGE>lc61}5Vl8^a8;l>@IXLrRcE z6|UNbI?W}}ftb)esMT7i+M2_E$Q8!eFuHx8OW*_XXo8>n*{V8J{)UN#dp4M;tlp}e z=Hf@)IcEIku})L8ZAf?^7Qyc{DvbYz;P~1y^|o4v3Tz=buCRy%$n;1hFKL+A`ZZgOd(SKrC>$z9dC)=_l}seW)apDpH= zOWAaJsgO@E78c9trSeiPeLkBnESxVd=a(0XTc`QFXG<4~7mB$;x|}PQ(u<4dvgzEy zx%u>b?!r=W>1^p-sdRP=FZ22Lw`+Nye4&_sk}Nj&CJeho9re9gg!?$w|f>VR5-a z!b$q{ERpPq6UW?ey+}IA-&x#$CHp5%Ax|h{RO}WdG!5M#`i_n}$uG!~d$d zJFZrNFY5A+s>x_hJhH|b|5^_ba3n6yVh>cX7&XDT^`bsiR#(;pf8AmOuJTWZ pMbn=QTGk-{xg49iLPr+{ENkBUvyfF