File tree Expand file tree Collapse file tree 4 files changed +11
-10
lines changed
Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1- func $Add with $a $b
2- return $a + $b
1+ func ExplodeAll
2+ Explode *
33end
44
5- $sum = run $Add 5 3
6- Print $sum
5+ run ExplodeAll # this just explodes everyone
76
87
98func @SigmasOnly
109 return RemovePlayers * @classDPlayers
1110end
1211
1312@sigmas = run @SigmasOnly
14- Explode @sigmas
13+ Explode @sigmas # after this, only class d players will be alive
1514
1615
17- func ExplodeAll
18- Explode *
16+ func $Add with $a $b
17+ return $a + $b
1918end
2019
21- run ExplodeAll
20+ $sum = run $Add 5 3 # $a will be 5, $b will be 3
21+ Print $sum # prints 8
Original file line number Diff line number Diff line change 1919@plr = @evAttacker
2020
2121# lower size by .1 when killing someone
22- SetSize @plr {{ @plr -> sizeX} - .1} {{ @plr -> sizeY} - .1} {{ @plr -> sizeZ} - .1}
22+ SetSize @plr ({ @plr -> sizeX} - .1) ({ @plr -> sizeY} - .1) ({ @plr -> sizeZ} - .1)
2323Hint @plr 5s "KILLED PLAYER - IT'S GNOMING TIME!"
2424
2525wait 15s
Original file line number Diff line number Diff line change 33if {VarExists @evAttacker} is true
44 # increment killer's streak
55 if {HasPlayerData @evAttacker "streak"}
6- $new = ( {GetPlayerData @evAttacker "streak"} + 1)
6+ $new = {GetPlayerData @evAttacker "streak"} + 1
77 else
88 $new = 1
99 end
Original file line number Diff line number Diff line change 1+ # this script makes SCP-173 drop pills or a medkit on damage, like a pinata
12!-- OnEvent Hurt
23
34# Only trigger if the victim exists
You can’t perform that action at this time.
0 commit comments