Return to post
settings
{
main
{
Description: "• FRIENDLY MODE ♥ v 3.0 (https://workshop.codes/friendly-mode) • Use Crouch+Interact ([Ctrl]+[F] Default) to enter/exit menu. • Created by IRLININ#2943, report of any bugs. :) • Code: 0ERT2 • Have fun! ^-^"
}
lobby
{
Allow Players Who Are In Queue: Yes
Max Spectators: 12
Max Team 1 Players: 12
Max Team 2 Players: 0
Return To Lobby: Never
Swap Teams After Match: No
}
modes
{
Skirmish
{
enabled maps
{
Blizzard World
Blizzard World Winter
Hanamura
Hanamura Winter
King's Row
King's Row Winter
Paris
Rialto
}
}
General
{
Game Mode Start: Manual
Hero Limit: Off
Respawn Time Scalar: 50%
Spawn Health Packs: Disabled
}
}
heroes
{
General
{
Ability Cooldown Time: 0%
No Ammunition Requirement: On
Spawn With Ultimate Ready: On
Ashe
{
Infinite Ultimate Duration: On
}
Baptiste
{
Infinite Ultimate Duration: On
}
Bastion
{
Self-Repair Maximum Time: 500%
Self-Repair Recharge Rate: 500%
}
D.Va
{
Defense Matrix Maximum Time: 500%
Defense Matrix Recharge Rate: 500%
Spawn Without Mech: On
}
Doomfist
{
Infinite Ultimate Duration: On
}
Hanzo
{
Storm Arrows Quantity: 12
}
Junkrat
{
Infinite Ultimate Duration: On
}
Moira
{
Biotic Energy Maximum: 500%
Biotic Energy Recharge Rate: 500%
}
Pharah
{
Hover Jets Unlimited Fuel: On
}
Torbjörn
{
Infinite Ultimate Duration: On
Overload Duration Scalar: 1%
}
Widowmaker
{
Infinite Ultimate Duration: On
}
}
}
}
variables
{
global:
0: MENU_POSITION
1: BAN_LIST
2: MUTE_LIST
3: VIP_LIST
4: ADMINISTRATOR_LIST
5: WORKSHOP_SETTINGS
player:
0: USING_MENU
1: USING_CONTROL_MODE
2: MODE
3: HERO
4: PLAYER_SETTINGS
5: CUSTOM_CAMERA
6: INVISIBILITY
7: GHOST_MODE
8: RELOAD_BIND
9: PLAYERS
10: PLAYER_POSITION
11: FACING_DIRECTION
12: SETTINGS_BEING_CHANGED
13: CONDITION_VALUES
14: PREFIX
}
subroutines
{
0: DISABLE_CONTROLS
}
disabled rule("# Hello! If you are reading this, it means that you want to edit something here or you are just interested. Just be careful. #")
{
event
{
Ongoing - Global;
}
}
disabled rule("#┏━━━━━━━━━┃Here a bit information for you.┃━━━━━━━━━┓#")
{
event
{
Ongoing - Global;
}
}
disabled rule("# If you want to give player autoprivilege or prefix, look for \"Initial Privilege/Prefix Giving\" rule in \"[BACKGROUND]\" #")
{
event
{
Ongoing - Global;
}
}
disabled rule("# Please, don't steal this gamemode. That's not good at all, you know. Workshop is not that hard as you may think. #")
{
event
{
Ongoing - Global;
}
}
disabled rule("# Just use your logic, don't be too lazy, be patient, practise more and you'll make really good workshop modes! :) #")
{
event
{
Ongoing - Global;
}
actions
{
disabled Create In-World Text(Null, Custom String(
"This text is left in case the game mode is stolen. Original game mode author: IRLININ#2943"), Null, 1, Do Not Clip, None,
Null, Visible Never);
}
}
disabled rule("# But i'm not saying that i'm professional in workshop scripting, i just do my best actually. #")
{
event
{
Ongoing - Global;
}
}
disabled rule("# Anyway, thanks for reading this (if you've read this far of course)! Have fun and good luck! ♥ #")
{
event
{
Ongoing - Global;
}
}
disabled rule("┏━━━━━━┃INITIAL SETTINGS┃━━━━━━┓")
{
event
{
Ongoing - Global;
}
}
rule("[INITIAL SETTINGS] • Workshop Settings")
{
event
{
Ongoing - Global;
}
actions
{
"┏━[ Main Settings ]"
Global.WORKSHOP_SETTINGS[0] = Workshop Setting Integer(Custom String("Main Settings"), Custom String("Match Time (Minutes)"), 30,
10, 60, 0);
Global.WORKSHOP_SETTINGS[1] = Workshop Setting Integer(Custom String("Main Settings"), Custom String("Straight Teleport Distance"),
10, 5, 30, 1);
Global.WORKSHOP_SETTINGS[2] = Workshop Setting Toggle(Custom String("Main Settings"), Custom String("Piano Playing Effect"), True,
2);
"┏━[ Custom Camera ]"
Global.WORKSHOP_SETTINGS[3] = Workshop Setting Toggle(Custom String("Custom Camera"), Custom String("Enabled From Start"), False,
0);
Global.WORKSHOP_SETTINGS[4] = Workshop Setting Real(Custom String("Custom Camera"), Custom String(
"Start Camera Position [X Component (Backward/Forward)]"), -3.500, -10, 0.500, 1);
Global.WORKSHOP_SETTINGS[5] = Workshop Setting Real(Custom String("Custom Camera"), Custom String(
"Start Camera Position [Y Component (Down/Up)]"), 0.500, 0, 2, 2);
Global.WORKSHOP_SETTINGS[6] = Workshop Setting Real(Custom String("Custom Camera"), Custom String(
"Start Camera Position [Z Component (Right/Left)]"), 0, -10, 10, 3);
}
}
rule("[INITIAL SETTINGS] • Menu Position")
{
event
{
Ongoing - Global;
}
actions
{
"┏━[ Paris ]"
If(Current Map == Map(Paris));
Global.MENU_POSITION = Vector(-40, 25, 10);
"┏━[ Rialto ]"
Else If(Current Map == Map(Rialto));
Global.MENU_POSITION = Vector(23, 6.200, -62);
"┏━[ Hanamura ]"
Else If(Current Map == Map(Hanamura) || Current Map == Map(Hanamura Winter));
Global.MENU_POSITION = Vector(16.900, 5, 0.600);
"┏━[ King's Row ]"
Else If(Current Map == Map(King's Row) || Current Map == Map(King's Row Winter));
Global.MENU_POSITION = Vector(-9, 9, -32);
"┏━[ Blizzard World ]"
Else If(Current Map == Map(Blizzard World) || Current Map == Map(Blizzard World Winter));
Global.MENU_POSITION = Vector(18, 15, 100);
End;
}
}
rule("[INITIAL SETTINGS] • Global")
{
event
{
Ongoing - Global;
}
actions
{
"┏━[ Variables ]"
Global.BAN_LIST = Empty Array;
Global.MUTE_LIST = Empty Array;
Global.VIP_LIST = Empty Array;
Global.ADMINISTRATOR_LIST = Empty Array;
"┏━[ Settings ]"
Disable Inspector Recording;
Set Match Time(Global.WORKSHOP_SETTINGS[0] * 60);
Set Objective Description(All Players(All Teams), Custom String("{0} • {1}", Custom String(
"Friendly Mode {0} v 3.0 • [{1}]+[{2}] To Enter/Exit Menu", Icon String(Heart), Input Binding String(Button(Crouch)),
Input Binding String(Button(Interact))), Custom String("Creator: {0} IRLININ#2943 • Code: {1} 0ERT2", Ability Icon String(Hero(
Genji), Button(Jump)), Ability Icon String(Hero(Sombra), Button(Secondary Fire)))), Visible To and String);
"┏━[ Match Restarting Text ]"
Create HUD Text(All Players(All Teams), Null, Match Time <= 31 ? Custom String(
" \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n({0}) Match Restarting Soon! Don't Go {1} ({0})",
Icon String(Exclamation Mark), Icon String(Happy)) : Custom String(
" \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"), Match Time <= 31 ? Custom String(
" • {0} Seconds Left! •", Match Time <= 10 ? Match Time : Round To Integer(Match Time, Down)) : Custom String(
""), Top, 2, Color(White), Color(White), Match Time <= 10 ? Custom Color(255, 0, 0, 100) : Custom Color(255, 255, 255, 100),
Visible To String and Color, Default Visibility);
"┏━[ Custom Camera Settings Mode Controls Text ]"
Create HUD Text(Filtered Array(All Players(All Teams), Current Array Element.CUSTOM_CAMERA[1]), Null, Custom String("┏━┃(?)┃"),
Custom String(
"• Use movements keys ({0}) to change camera position. •\r\n• Use [{1}] to change position faster. •\r\n• Use [{2}] to exit. •",
Custom String("[W], [A], [S], [D], [{0}], [{1}]", Input Binding String(Button(Jump)), Input Binding String(Button(Crouch))),
Input Binding String(Button(Ability 1)), Input Binding String(Button(Interact))), Top, 1, Color(White), Color(Yellow), Color(
White), Visible To and String, Default Visibility);
"┏━[ Mode Controls Texts ] (!) WARNING: OPENING THIS RULE CAN LEAD TO GAME CRASH. (!)"
Create HUD Text(Filtered Array(All Players(All Teams), !Current Array Element.USING_MENU), Null,
Local Player.MODE == 0 ? Custom String(" Mode: (0)〘{0}〙• Standard Mode •",
Ability Icon String(Hero(Wrecking Ball), Button(Ability 1))) : (Local Player.MODE == 1 ? Custom String(
" Mode: (1)〘{0}〙• Status Applier (Others) •", Ability Icon String(Hero(McCree), Button(
Ability 1))) : (Local Player.MODE == 2 ? Custom String(
" Mode: (2)〘{0}〙• Status Applier (Self) •", Ability Icon String(Hero(Reinhardt), Button(
Ability 2))) : (Local Player.MODE == 3 ? Custom String(
" Mode: (3)〘{0}〙• Teleport •", Ability Icon String(Hero(Sombra), Button(
Ability 2))) : (Local Player.MODE == 4 ? Custom String(
" Mode: (4)〘{0}〙• Hero Settings (Others) •", Ability Icon String(Hero(Bastion), Button(
Secondary Fire))) : (Local Player.MODE == 5 ? Custom String(
" Mode: (5)〘{0}〙• Hero Settings (Self) •", Ability Icon String(Hero(Bastion), Button(
Ability 1))) : (Local Player.MODE == 6 ? Custom String(
" Mode: (6)〘{0}〙• Miscellaneous •", Ability Icon String(Hero(Genji), Button(Jump)))
: Custom String(" Mode: (7)〘{0}〙• Access Settings •", Ability Icon String(Hero(Sombra),
Button(Secondary Fire))))))))), Custom String("({1}) Works only in control mode (Press [{0}] to enable/disable) ({1})",
Input Binding String(Button(Interact)), Icon String(Exclamation Mark)), Right, 0, Color(White), Local Player.MODE == 0 ? Color(
White) : (Local Player.MODE == 1 ? Color(Red) : (Local Player.MODE == 2 ? Color(Orange) : (Local Player.MODE == 3 ? Color(
Sky Blue) : (Local Player.MODE == 4 ? Color(Green) : (Local Player.MODE == 5 ? Color(Lime Green) : (
Local Player.MODE == 6 ? Color(Purple) : Color(Rose))))))), Color(White), Visible To String and Color, Visible Never);
"┏━[ Frames ]"
Create HUD Text(Filtered Array(All Players(All Teams), !Current Array Element.USING_MENU), Null, Custom String(
"┏━━━━━━━━━━━┃({0})┃ ━━━━━━━━━━━┓ ", Icon String(Question Mark)), Null, Right, 1, Color(White), Color(
White), Color(White), Visible To, Visible Never);
Create HUD Text(Filtered Array(All Players(All Teams), !Current Array Element.USING_MENU), Null, Custom String(
"┗━━━━━━━━━━━━━━━━━━━━━━━━━━┛ "), Null, Right, 8, Color(White), Color(White), Color(White),
Visible To, Visible Never);
"┏━[ First Key ] (!) WARNING: OPENING THIS RULE CAN LEAD TO GAME CRASH. (!)"
Create HUD Text(Filtered Array(All Players(All Teams), !Current Array Element.USING_MENU), Custom String(" {0} ",
Input Binding String(Button(Primary Fire))), Local Player.MODE == 0 ? Custom String(" 〘{0}〙", Ability Icon String(Hero(
Lúcio), Button(Secondary Fire))) : (Local Player.MODE == 1 ? Custom String(" 〘{0} / {1}〙", Icon String(Skull),
Ability Icon String(Hero(Mercy), Button(Ability 2))) : (Local Player.MODE == 2 ? Custom String(" 〘{0} / {1}〙",
Icon String(Skull), Ability Icon String(Hero(Mercy), Button(Ability 2))) : (Local Player.MODE == 3 ? Custom String(
" 〘{0}〙", Icon String(Arrow: Right)) : (Local Player.MODE == 4 ? Custom String(" 〘{0}〙", Ability Icon String(
Hero(Lúcio), Button(Secondary Fire))) : (Local Player.MODE == 5 ? Custom String(" 〘{0}〙", Ability Icon String(Hero(
Lúcio), Button(Secondary Fire))) : (Local Player.MODE == 6 ? Custom String(" 〘{0}〙", Ability Icon String(Hero(
Wrecking Ball), Button(Secondary Fire))) : Custom String("〘{0}〙", Icon String(Warning)))))))),
Local Player.MODE == 0 ? Custom String("Voice Pitch ") : (
Local Player.MODE == 1 ? Custom String("Kill/Resurrect ") : (
Local Player.MODE == 2 ? Custom String("Kill/Resurrect ") : (
Local Player.MODE == 3 ? Custom String("Teleport Yourself ") : (
Local Player.MODE == 4 ? Custom String("Voice Pitch ") : (
Local Player.MODE == 5 ? Custom String("Voice Pitch ") : (
Local Player.MODE == 6 ? Custom String("Attach/Detach ") : Custom String(
"Kick "))))))), Right, 2,
Local Player.USING_CONTROL_MODE && Is Button Held(Local Player, Button(Primary Fire)) ? (Local Player.MODE == 0 ? Custom Color(
255, 255, 255, 100) : (Local Player.MODE == 1 ? Custom Color(255, 0, 0, 100) : (Local Player.MODE == 2 ? Custom Color(240, 150,
0, 100) : (Local Player.MODE == 3 ? Custom Color(110, 190, 245, 100) : (Local Player.MODE == 4 ? Custom Color(70, 255, 90, 100)
: (Local Player.MODE == 5 ? Custom Color(160, 230, 30, 100) : (Local Player.MODE == 6 ? Custom Color(160, 75, 200, 100)
: Custom Color(255, 50, 145, 100)))))))) : Color(White), Color(White), Local Player.MODE == 0 ? Custom Color(255, 255, 255,
100) : (Local Player.MODE == 1 ? Custom Color(255, 0, 0, 100) : (Local Player.MODE == 2 ? Custom Color(240, 150, 0, 100) : (
Local Player.MODE == 3 ? Custom Color(110, 190, 245, 100) : (Local Player.MODE == 4 ? Custom Color(70, 255, 90, 100) : (
Local Player.MODE == 5 ? Custom Color(160, 230, 30, 100) : (Local Player.MODE == 6 ? Custom Color(160, 75, 200, 100)
: Custom Color(255, 50, 145, 100))))))), Visible To String and Color, Visible Never);
"┏━[ Second Key ] (!) WARNING: OPENING THIS RULE CAN LEAD TO GAME CRASH. (!)"
Create HUD Text(Filtered Array(All Players(All Teams), !Current Array Element.USING_MENU), Custom String(" {0} ",
Input Binding String(Button(Secondary Fire))), Local Player.MODE == 0 ? Custom String(" 〘{0}〙", Ability Icon String(
Hero(Pharah), Button(Ultimate))) : (Local Player.MODE == 1 ? Custom String(" 〘{0}〙", Ability Icon String(Hero(Sombra),
Button(Ultimate))) : (Local Player.MODE == 2 ? Custom String(" 〘{0}〙", Ability Icon String(Hero(Sombra), Button(
Ultimate))) : (Local Player.MODE == 3 ? Custom String(" 〘{0}〙", Icon String(Arrow: Left)) : (
Local Player.MODE == 4 ? Custom String(" 〘{0}〙", Ability Icon String(Hero(Baptiste), Button(Crouch))) : (
Local Player.MODE == 5 ? Custom String(" 〘{0}〙", Ability Icon String(Hero(Baptiste), Button(Crouch))) : (
Local Player.MODE == 6 ? Custom String(" 〘{0}〙", Ability Icon String(Hero(Moira), Button(Secondary Fire)))
: Custom String("〘{0}〙", Icon String(No)))))))), Local Player.MODE == 0 ? Custom String(
"Projectile Speed ") : (Local Player.MODE == 1 ? Custom String(
"Hack/Unhack ") : (Local Player.MODE == 2 ? Custom String(
"Hack/Unhack ") : (Local Player.MODE == 3 ? Custom String(
"Teleport Player ") : (Local Player.MODE == 4 ? Custom String(
"Hero Scale ") : (Local Player.MODE == 5 ? Custom String(
"Hero Scale ") : (Local Player.MODE == 6 ? Custom String(
"Grab/Release ") : Custom String(
"Ban "))))))), Right, 3,
Local Player.USING_CONTROL_MODE && Is Button Held(Local Player, Button(Secondary Fire)) ? (
Local Player.MODE == 0 ? Custom Color(255, 255, 255, 100) : (Local Player.MODE == 1 ? Custom Color(255, 0, 0, 100) : (
Local Player.MODE == 2 ? Custom Color(240, 150, 0, 100) : (Local Player.MODE == 3 ? (Array Contains(Global.ADMINISTRATOR_LIST,
Custom String("{0}", Local Player)) ? Custom Color(110, 190, 245, 100) : Color(Gray)) : (Local Player.MODE == 4 ? Custom Color(
70, 255, 90, 100) : (Local Player.MODE == 5 ? Custom Color(160, 230, 30, 100) : (Local Player.MODE == 6 ? (Array Contains(
Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Custom Color(160, 75, 200, 100) : Color(Gray)) : Custom Color(
255, 50, 145, 100)))))))) : Color(White), Color(White), Local Player.MODE == 0 ? Custom Color(255, 255, 255, 100) : (
Local Player.MODE == 1 ? Custom Color(255, 0, 0, 100) : (Local Player.MODE == 2 ? Custom Color(240, 150, 0, 100) : (
Local Player.MODE == 3 ? (Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Custom Color(110,
190, 245, 100) : Color(Gray)) : (Local Player.MODE == 4 ? Custom Color(70, 255, 90, 100) : (
Local Player.MODE == 5 ? Custom Color(160, 230, 30, 100) : (Local Player.MODE == 6 ? (Array Contains(Global.ADMINISTRATOR_LIST,
Custom String("{0}", Local Player)) ? Custom Color(160, 75, 200, 100) : Color(Gray)) : Custom Color(255, 50, 145, 100))))))),
Visible To String and Color, Visible Never);
"┏━[ Third Key ] (!) WARNING: OPENING THIS RULE CAN LEAD TO GAME CRASH. (!)"
Create HUD Text(Filtered Array(All Players(All Teams), !Current Array Element.USING_MENU), Custom String(" {0} ",
Input Binding String(Button(Ultimate))), Local Player.MODE == 0 ? Custom String(" 〘{0}〙", Icon String(Spiral)) : (
Local Player.MODE == 1 ? Custom String(" 〘{0}〙", Ability Icon String(Hero(Mei), Button(Ability 1))) : (
Local Player.MODE == 2 ? Custom String(" 〘{0}〙", Ability Icon String(Hero(Mei), Button(Ability 1))) : (
Local Player.MODE == 3 ? Custom String(" 〘{0}〙", Icon String(Spiral)) : (Local Player.MODE == 4 ? Custom String(
" 〘{0}〙", Ability Icon String(Hero(Pharah), Button(Ultimate))) : (Local Player.MODE == 5 ? Custom String(
" 〘{0}〙", Ability Icon String(Hero(Pharah), Button(Ultimate))) : (Local Player.MODE == 6 ? Custom String(
" 〘{0}〙", Ability Icon String(Hero(Moira), Button(Ability 1))) : Custom String(" 〘{0}〙",
Ability Icon String(Hero(Lúcio), Button(Ultimate))))))))), Local Player.MODE == 0 ? Custom String(
"Teleport ") : (Local Player.MODE == 1 ? Custom String(
"Freeze/Unfreeze ") : (Local Player.MODE == 2 ? Custom String(
"Freeze/Unfreeze ") : (Local Player.MODE == 3 ? Custom String(
"Teleport Straight ") : (Local Player.MODE == 4 ? Custom String(
"Projectile Speed ") : (Local Player.MODE == 5 ? Custom String(
"Projectile Speed ") : (Local Player.MODE == 6 ? Custom String(
"Ghost Mode On/Off ") : Custom String(
"Mute/Unmute "))))))), Right, 4,
Local Player.USING_CONTROL_MODE && Is Button Held(Local Player, Button(Ultimate)) ? (Local Player.MODE == 0 ? Custom Color(255,
255, 255, 100) : (Local Player.MODE == 1 ? Custom Color(255, 0, 0, 100) : (Local Player.MODE == 2 ? Custom Color(240, 150, 0,
100) : (Local Player.MODE == 3 ? Custom Color(110, 190, 245, 100) : (Local Player.MODE == 4 ? Custom Color(70, 255, 90, 100)
: (Local Player.MODE == 5 ? Custom Color(160, 230, 30, 100) : (Local Player.MODE == 6 ? Custom Color(160, 75, 200, 100)
: Custom Color(255, 50, 145, 100)))))))) : Color(White), Color(White), Local Player.MODE == 0 ? Custom Color(255, 255, 255,
100) : (Local Player.MODE == 1 ? Custom Color(255, 0, 0, 100) : (Local Player.MODE == 2 ? Custom Color(240, 150, 0, 100) : (
Local Player.MODE == 3 ? Custom Color(110, 190, 245, 100) : (Local Player.MODE == 4 ? Custom Color(70, 255, 90, 100) : (
Local Player.MODE == 5 ? Custom Color(160, 230, 30, 100) : (Local Player.MODE == 6 ? Custom Color(160, 75, 200, 100)
: Custom Color(255, 50, 145, 100))))))), Visible To String and Color, Visible Never);
"┏━[ Fourth Key ] (!) WARNING: OPENING THIS RULE CAN LEAD TO GAME CRASH. (!)"
Create HUD Text(Filtered Array(All Players(All Teams),
!Current Array Element.USING_MENU && Current Array Element.MODE != 3 && Current Array Element.MODE != 6), Custom String(
" {0} ", Input Binding String(Button(Ability 2))), Local Player.MODE == 0 ? Custom String("(+ {0} / {1}) 〘{2}〙",
Input Binding String(Button(Primary Fire)), Input Binding String(Button(Secondary Fire)), Icon String(Recycle)) : (
Local Player.MODE == 1 ? Custom String(" 〘{0}〙", Ability Icon String(Hero(Reinhardt), Button(
Ultimate))) : (Local Player.MODE == 2 ? Custom String(" 〘{0}〙", Ability Icon String(Hero(Reinhardt),
Button(Ultimate))) : (Local Player.MODE == 4 ? Custom String("(+ {0})〘{1}〙", Custom String("{0} / {1} / {2}",
Input Binding String(Button(Primary Fire)), Input Binding String(Button(Secondary Fire)), Input Binding String(Button(
Ultimate))), Icon String(Recycle)) : (Local Player.MODE == 5 ? Custom String("(+ {0})〘{1}〙", Custom String("{0} / {1} / {2}",
Input Binding String(Button(Primary Fire)), Input Binding String(Button(Secondary Fire)), Input Binding String(Button(
Ultimate))), Icon String(Recycle)) : Custom String(" 〘{0}〙", Ability Icon String(Hero(Zarya), Button(
Ability 2))))))), Local Player.MODE == 0 ? Custom String("Reset Choosen Setting ") : (
Local Player.MODE == 1 ? Custom String("Knock Down/Unknock Down ") : (
Local Player.MODE == 2 ? Custom String("Knock Down/Unknock Down ") : (
Local Player.MODE == 4 ? Custom String("Reset Choosen Setting ") : (
Local Player.MODE == 5 ? Custom String("Reset Choosen Setting ") : Custom String(
"Make/Remove Vip Player "))))), Right, 5,
Local Player.USING_CONTROL_MODE && Is Button Held(Local Player, Button(Ability 2)) ? (Local Player.MODE == 0 ? Custom Color(
255, 255, 255, 100) : (Local Player.MODE == 1 ? Custom Color(255, 0, 0, 100) : (Local Player.MODE == 2 ? Custom Color(240, 150,
0, 100) : (Local Player.MODE == 4 ? Custom Color(70, 255, 90, 100) : (Local Player.MODE == 5 ? Custom Color(160, 230, 30, 100)
: Custom Color(255, 50, 145, 100)))))) : Color(White), Color(White), Local Player.MODE == 0 ? Custom Color(255, 255, 255, 100)
: (Local Player.MODE == 1 ? Custom Color(255, 0, 0, 100) : (Local Player.MODE == 2 ? Custom Color(240, 150, 0, 100) : (
Local Player.MODE == 4 ? Custom Color(70, 255, 90, 100) : (Local Player.MODE == 5 ? Custom Color(160, 230, 30, 100)
: Custom Color(255, 50, 145, 100))))), Visible To String and Color, Visible Never);
"┏━[ Fifth Key ]"
Create HUD Text(Filtered Array(All Players(All Teams), !Current Array Element.USING_MENU && (
Current Array Element.MODE == 1 || Current Array Element.MODE == 2 || Current Array Element.MODE == 7)), Custom String(" {0} ",
Input Binding String(Button(Ability 1))), Local Player.MODE == 1 ? Custom String(" 〘{0}〙", Icon String(Fire)) : (
Local Player.MODE == 2 ? Custom String(" 〘{0}〙", Icon String(Fire)) : Custom String(" 〘{0}〙",
Ability Icon String(Hero(Zarya), Button(Ability 1)))), Local Player.MODE == 1 ? Custom String(
"Burn/Unburn ") : (Local Player.MODE == 2 ? Custom String(
"Burn/Unburn ") : Custom String("Make/Remove Administrator ")),
Right, 6, Local Player.USING_CONTROL_MODE && Is Button Held(Local Player, Button(Ability 1)) ? (
Local Player.MODE == 1 ? Custom Color(255, 0, 0, 100) : (Local Player.MODE == 2 ? Custom Color(255, 50, 145, 100) : (
Custom String("{0}", Local Player) == Custom String("IRLININ") || Local Player == Host Player ? Custom Color(255, 50, 145, 100)
: Color(Gray)))) : Color(White), Color(White), Local Player.MODE == 1 ? Custom Color(255, 0, 0, 100) : (
Local Player.MODE == 2 ? Custom Color(240, 150, 0, 100) : Custom Color(255, 50, 145, 100)), Visible To String and Color,
Default Visibility);
"┏━[ Sixth Key ]"
Create HUD Text(Filtered Array(All Players(All Teams), !Current Array Element.USING_MENU && (
Current Array Element.MODE == 1 || Current Array Element.MODE == 2)), Custom String(" {0} ", Input Binding String(Button(
Melee))), Custom String(" 〘{0}〙", Ability Icon String(Hero(Sombra), Button(Ability 1))), Custom String(
"Invisibility "), Right, 7, Local Player.USING_CONTROL_MODE && Is Button Held(
Local Player, Button(Melee)) ? (Local Player.MODE == 1 ? Custom Color(255, 0, 0, 100) : Custom Color(240, 150, 0, 100))
: Color(White), Color(White), Local Player.MODE == 1 ? Custom Color(255, 0, 0, 100) : Custom Color(240, 150, 0, 100),
Visible To String and Color, Visible Never);
"┏━[ Target Texts ] (!) WARNING: OPENING THIS RULE CAN LEAD TO GAME CRASH. (!)"
Create HUD Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_CONTROL_MODE && !Current Array Element.USING_MENU && Current Array Element.MODE != 0 && Current Array Element.MODE != 2 && Current Array Element.MODE != 5 && Entity Exists(
Local Player.PLAYERS[0])), Null, Custom String("〘{0} {1}〙{2}", Hero Icon String(Hero Of(Local Player.PLAYERS[0])),
Local Player.PLAYERS[0], Local Player.MODE == 4 && (Is Button Held(Local Player, Button(Primary Fire)) || Is Button Held(
Local Player, Button(Secondary Fire)) || Is Button Held(Local Player, Button(Ultimate))) && !Is Button Held(Local Player,
Button(Ability 2)) ? Custom String("{0} (Move Mouse Vertically)", Ability Icon String(Hero(Bastion), Button(Secondary Fire)))
: Custom String("")), Custom String("{0} {1}", Custom String("{0} [{1}] • {2}", Ability Icon String(Hero(Lúcio), Button(
Secondary Fire)), Local Player.PLAYERS[0].PLAYER_SETTINGS[0], Ability Icon String(Hero(Baptiste), Button(Crouch))),
Custom String("[{0}] • {1} [{2}]", Local Player.PLAYERS[0].PLAYER_SETTINGS[1], Ability Icon String(Hero(Pharah), Button(
Ultimate)), Local Player.PLAYERS[0].PLAYER_SETTINGS[2])), Top, 3, Color(White), Array Contains(Global.ADMINISTRATOR_LIST,
Custom String("{0}", Local Player.PLAYERS[0])) ? (Local Player.MODE == 4 && (Is Button Held(Local Player, Button(Primary Fire))
|| Is Button Held(Local Player, Button(Secondary Fire)) || Is Button Held(Local Player, Button(Ultimate))) ? Color(Rose)
: Custom Color(255, 50, 145, 100)) : (Array Contains(Global.VIP_LIST, Custom String("{0}", Local Player.PLAYERS[0])) ? (
Local Player.MODE == 4 && (Is Button Held(Local Player, Button(Primary Fire)) || Is Button Held(Local Player, Button(
Secondary Fire)) || Is Button Held(Local Player, Button(Ultimate))) ? Color(Yellow) : Custom Color(255, 255, 0, 100)) : (
Local Player.MODE == 4 && (Is Button Held(Local Player, Button(Primary Fire)) || Is Button Held(Local Player, Button(
Secondary Fire)) || Is Button Held(Local Player, Button(Ultimate))) ? Color(White) : Custom Color(255, 255, 255, 100))), Color(
White), Visible To String and Color, Default Visibility);
"(!) WARNING: OPENING THIS RULE CAN LEAD TO GAME CRASH. (!)"
Create HUD Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_CONTROL_MODE && !Current Array Element.USING_MENU && (
Current Array Element.MODE == 0 || Current Array Element.MODE == 5)), Null, Custom String("Your Settings {0}",
Local Player.MODE == 0 ? ((Is Button Held(Local Player, Button(Primary Fire)) || Is Button Held(Local Player, Button(
Secondary Fire))) && !Is Button Held(Local Player, Button(Ability 2)) ? Custom String("{0} (Move Mouse Vertically)",
Ability Icon String(Hero(Bastion), Button(Ability 1))) : Custom String("")) : ((Is Button Held(Local Player, Button(
Primary Fire)) || Is Button Held(Local Player, Button(Secondary Fire)) || Is Button Held(Local Player, Button(Ultimate)))
&& !Is Button Held(Local Player, Button(Ability 2)) ? Custom String("{0} (Move Mouse Vertically)", Ability Icon String(Hero(
Bastion), Button(Ability 1))) : Custom String(""))), Custom String("{0} {1}", Custom String("{0} [{1}] • {2}",
Ability Icon String(Hero(Lúcio), Button(Secondary Fire)), Local Player.PLAYER_SETTINGS[0], Ability Icon String(Hero(Baptiste),
Button(Crouch))), Custom String("[{0}] • {1} [{2}]", Local Player.PLAYER_SETTINGS[1], Ability Icon String(Hero(Pharah), Button(
Ultimate)), Local Player.PLAYER_SETTINGS[2])), Top, 3, Color(White), Array Contains(Global.ADMINISTRATOR_LIST, Custom String(
"{0}", Local Player)) ? (Is Button Held(Local Player, Button(Primary Fire)) || Is Button Held(Local Player, Button(
Secondary Fire)) || Is Button Held(Local Player, Button(Ultimate)) ? Color(Rose) : Custom Color(255, 50, 145, 100)) : (
Array Contains(Global.VIP_LIST, Custom String("{0}", Local Player)) ? (Is Button Held(Local Player, Button(Primary Fire))
|| Is Button Held(Local Player, Button(Secondary Fire)) || Is Button Held(Local Player, Button(Ultimate)) ? Color(Yellow)
: Custom Color(255, 255, 0, 100)) : (Is Button Held(Local Player, Button(Primary Fire)) || Is Button Held(Local Player, Button(
Secondary Fire)) ? Color(White) : Custom Color(255, 255, 255, 100))), Color(White), Visible To String and Color,
Default Visibility);
}
}
rule("[INITIAL SETTINGS] • Player")
{
event
{
Ongoing - Each Player;
All;
All;
}
actions
{
"┏━[ Variables ]"
Event Player.USING_MENU = False;
Event Player.USING_CONTROL_MODE = False;
Event Player.PLAYER_SETTINGS = Array(1, 1, 1);
Event Player.CUSTOM_CAMERA = Array(Global.WORKSHOP_SETTINGS[3], False, Vector(Global.WORKSHOP_SETTINGS[4],
Global.WORKSHOP_SETTINGS[5], Global.WORKSHOP_SETTINGS[6]));
"┏━[ Enable Camera From Start ]"
If(Global.WORKSHOP_SETTINGS[3]);
Start Camera(Event Player, Update Every Frame(Ray Cast Hit Position(Eye Position(Event Player), Eye Position(Event Player)
+ Facing Direction Of(Event Player) * X Component Of(Event Player.CUSTOM_CAMERA[2]) + World Vector Of(Left, Event Player,
Rotation) * Z Component Of(Event Player.CUSTOM_CAMERA[2]) + Cross Product(Facing Direction Of(Event Player), World Vector Of(
Left, Event Player, Rotation)) * Y Component Of(Event Player.CUSTOM_CAMERA[2]), Null, Event Player, False)),
Ray Cast Hit Position(Eye Position(Event Player), Eye Position(Event Player) + Facing Direction Of(Event Player)
* X Component Of(Event Player.CUSTOM_CAMERA[2]) + World Vector Of(Left, Event Player, Rotation) * Z Component Of(
Event Player.CUSTOM_CAMERA[2]) + Cross Product(Facing Direction Of(Event Player), World Vector Of(Left, Event Player,
Rotation)) * Y Component Of(Event Player.CUSTOM_CAMERA[2]), Null, Event Player, False) + Facing Direction Of(Event Player), 0);
End;
Event Player.INVISIBILITY = False;
Event Player.GHOST_MODE = False;
Event Player.RELOAD_BIND = False;
Event Player.SETTINGS_BEING_CHANGED = False;
Event Player.CONDITION_VALUES = Array(Null, Null);
"┏━[ Settings ]"
Start Modifying Hero Voice Lines(Event Player, Event Player.PLAYER_SETTINGS[0], True);
Start Scaling Player(Event Player, Event Player.PLAYER_SETTINGS[1], True);
Disable Movement Collision With Players(Event Player);
"┏━[ Menu Cursor ]"
Create In-World Text(Event Player.USING_MENU ? Event Player : Null, Custom String("※"), Update Every Frame(
Global.MENU_POSITION + Down * (Vertical Facing Angle Of(Event Player) / 10) + Down * 0.635 + Forward * (
Horizontal Facing Angle Of(Event Player) / 10)), 1.300, Do Not Clip, Visible To and Position, Color(White),
Default Visibility);
"┏━[ Control Mode Sound ]"
Create Effect(Event Player.USING_CONTROL_MODE ? Event Player : Null, Beacon Sound, Color(White), Event Player, 100, Visible To);
"┏━[ Teleport Effect ]"
Create Effect((Event Player.MODE == 0 || Event Player.MODE == 3) && Event Player.USING_CONTROL_MODE && Is Button Held(Event Player,
Button(Ultimate)) ? Event Player : Null, Bad Aura, Event Player.MODE == 0 ? Color(White) : Color(Sky Blue), Update Every Frame(
Eye Position(Event Player) + Facing Direction Of(Event Player) * Global.WORKSHOP_SETTINGS[1]), 0.500,
Visible To Position Radius and Color);
"┏━[ Settings Text Above Head ]"
Create In-World Text(Event Player.USING_MENU ? All Players(All Teams) : Null, Event Player.CUSTOM_CAMERA[1] ? Custom String(
" \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n{0} Is Setting Custom Camera...",
Icon String(Eye)) : Custom String(
" \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n{0} Is Using Menu...",
Ability Icon String(Hero(Torbjörn), Button(Ability 2))), Event Player, 0.800, Clip Against Surfaces,
Visible To String and Color, Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player)) ? Color(Rose) : (
Array Contains(Global.VIP_LIST, Custom String("{0}", Event Player)) ? Color(Yellow) : Color(White)), Default Visibility);
"┏━[ Welcome Message ]"
Wait Until(Has Spawned(Event Player), Match Time);
Big Message(Event Player, Custom String("Welcome, {0}! Use [{1}]+[{2}] To Enter/Exit Menu.", Custom String("{0} {1}", Event Player,
Icon String(Happy)), Input Binding String(Button(Crouch)), Input Binding String(Button(Interact))));
}
}
disabled rule("┏━━━━━━┃MENU┃━━━━━━┓")
{
event
{
Ongoing - Global;
}
}
rule("[MENU] • Enter/Exit")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Interact)) == True;
Is Button Held(Event Player, Button(Crouch)) == True;
Is Button Held(Event Player, Button(Primary Fire)) == False;
Event Player.CUSTOM_CAMERA[1] == False;
Has Status(Event Player, Knocked Down) == False;
Has Status(Event Player, Asleep) == False;
Has Status(Event Player, Frozen) == False;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Enter Menu ]"
If(Event Player.USING_MENU == False);
Event Player.USING_MENU = True;
Set Status(Event Player, Null, Stunned, 0.016);
Event Player.FACING_DIRECTION = Facing Direction Of(Event Player);
Set Facing(Event Player, Vector(0, 0, 1), To World);
Start Camera(Event Player, Global.MENU_POSITION + Left * 10, Global.MENU_POSITION, 0);
Start Rule(DISABLE_CONTROLS, Restart Rule);
Disable Hero HUD(Event Player);
Set Move Speed(Event Player, 0);
"┏━[ Exit Menu ]"
Else;
Set Facing(Event Player, Event Player.FACING_DIRECTION, To World);
Start Rule(DISABLE_CONTROLS, Restart Rule);
Enable Hero HUD(Event Player);
Set Move Speed(Event Player, 100);
"┏━[ Custom Camera Apply ]"
If(Event Player.CUSTOM_CAMERA[0]);
Start Camera(Event Player, Update Every Frame(Ray Cast Hit Position(Eye Position(Event Player), Eye Position(Event Player)
+ Facing Direction Of(Event Player) * X Component Of(Event Player.CUSTOM_CAMERA[2]) + World Vector Of(Left, Event Player,
Rotation) * Z Component Of(Event Player.CUSTOM_CAMERA[2]) + Cross Product(Facing Direction Of(Event Player), World Vector Of(
Left, Event Player, Rotation)) * Y Component Of(Event Player.CUSTOM_CAMERA[2]), Null, Event Player, False)),
Ray Cast Hit Position(Eye Position(Event Player), Eye Position(Event Player) + Facing Direction Of(Event Player)
* X Component Of(Event Player.CUSTOM_CAMERA[2]) + World Vector Of(Left, Event Player, Rotation) * Z Component Of(
Event Player.CUSTOM_CAMERA[2]) + Cross Product(Facing Direction Of(Event Player), World Vector Of(Left, Event Player,
Rotation)) * Y Component Of(Event Player.CUSTOM_CAMERA[2]), Null, Event Player, False) + Facing Direction Of(Event Player), 0);
Else;
Stop Camera(Event Player);
End;
Event Player.USING_MENU = False;
End;
}
}
rule("[MENU] • Effects/Texts")
{
event
{
Ongoing - Global;
}
actions
{
"┏━[ (1) Status Applier (Others) • Text ]"
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String("(1) • Status Applier (Others) •"),
Global.MENU_POSITION + Vector(0, 0.250, 4.500), 1.100, Do Not Clip, Visible To and Color, Array Contains(
Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(Red) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Vertical Facing Angle Of(Local Player)
<= 8.320 && Vertical Facing Angle Of(Local Player) >= -9.800 && Horizontal Facing Angle Of(Local Player)
<= 62.590 && Horizontal Facing Angle Of(Local Player) >= 27.480 ? Custom String("〘{0}〙", Ability Icon String(Hero(McCree),
Button(Ability 1))) : Custom String("{0}", Ability Icon String(Hero(McCree), Button(Ability 1))),
Global.MENU_POSITION + Vector(0, -0.400, 4.500), 2, Do Not Clip, Visible To String and Color, Array Contains(
Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(Red) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String(
" ({0}) Killing/Resurrecting | Hacking |\r\nFreezing | Knocking Down | Burning |\r\n Invisibility | (To Others) ({0})",
Icon String(Question Mark)), Global.MENU_POSITION + Vector(0, -1.400, 4.500), 0.800, Do Not Clip, Visible To, Color(White),
Default Visibility);
"┏━[ (2) Status Applier (Self) • Text ]"
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String("(2) • Status Applier (Self) •"),
Global.MENU_POSITION + Vector(0, 2.720, 3.890), 1.100, Do Not Clip, Visible To and Color, Array Contains(Global.VIP_LIST,
Custom String("{0}", Local Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(
Orange) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Vertical Facing Angle Of(Local Player)
<= -16.630 && Vertical Facing Angle Of(Local Player) >= -34.600 && Horizontal Facing Angle Of(Local Player)
<= 56.510 && Horizontal Facing Angle Of(Local Player) >= 21.460 ? Custom String("〘{0}〙", Ability Icon String(Hero(Reinhardt),
Button(Ability 2))) : Custom String("{0}", Ability Icon String(Hero(Reinhardt), Button(Ability 2))),
Global.MENU_POSITION + Vector(0, 2.070, 3.890), 2, Do Not Clip, Visible To String and Color, Array Contains(Global.VIP_LIST,
Custom String("{0}", Local Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(
Orange) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String(
" ({0}) Killing/Resurrecting | Hacking |\r\nFreezing | Knocking Down | Burning |\r\n Invisibility | (To Yourself) ({0})",
Icon String(Question Mark)), Global.MENU_POSITION + Vector(0, 1.070, 3.890), 0.800, Do Not Clip, Visible To, Color(White),
Default Visibility);
"┏━[ (3) Teleport • Text ]"
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String("(3) • Teleport •"),
Global.MENU_POSITION + Vector(0, 4.750, 0), 1.100, Do Not Clip, Visible To and Color, Array Contains(Global.VIP_LIST,
Custom String("{0}", Local Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(
Sky Blue) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Vertical Facing Angle Of(Local Player)
<= -39.420 && Vertical Facing Angle Of(Local Player) >= -54.800 && Horizontal Facing Angle Of(Local Player)
<= 16.490 && Horizontal Facing Angle Of(Local Player) >= -16.400 ? Custom String("〘{0}〙", Ability Icon String(Hero(Sombra),
Button(Ability 2))) : Custom String("{0}", Ability Icon String(Hero(Sombra), Button(Ability 2))),
Global.MENU_POSITION + Vector(0, 4.100, 0), 2, Do Not Clip, Visible To String and Color, Array Contains(Global.VIP_LIST,
Custom String("{0}", Local Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(
Sky Blue) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String(
"({0}) To Someone | Someone To You |\r\n Straight ({0})", Icon String(Question Mark)),
Global.MENU_POSITION + Vector(0, 3.350, 0), 0.800, Do Not Clip, Visible To, Color(White), Default Visibility);
"┏━[ (4) Hero Settings (Others) • Text ]"
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String("(4) • Hero Settings (Others) •"),
Global.MENU_POSITION + Vector(0, 2.720, -3.860), 1.100, Do Not Clip, Visible To and Color, Array Contains(
Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(Green) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Vertical Facing Angle Of(Local Player)
<= -18.710 && Vertical Facing Angle Of(Local Player) >= -34.600 && Horizontal Facing Angle Of(Local Player)
<= -20.640 && Horizontal Facing Angle Of(Local Player) >= -56.720 ? Custom String("〘{0}〙", Ability Icon String(Hero(Bastion),
Button(Secondary Fire))) : Custom String("{0}", Ability Icon String(Hero(Bastion), Button(Secondary Fire))),
Global.MENU_POSITION + Vector(0, 2.070, -3.860), 2, Do Not Clip, Visible To String and Color, Array Contains(
Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(Green) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String(
"({0}) Voice Pitch | Hero Scale | Projectile\r\n Speed | (To Others) ({0})", Icon String(Question Mark)),
Global.MENU_POSITION + Vector(0, 1.320, -3.860), 0.800, Do Not Clip, Visible To, Color(White), Default Visibility);
"┏━[ (5) Hero Settings (Self) • Text ]"
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String("(5) • Hero Settings (Self) •"),
Global.MENU_POSITION + Vector(0, 0.250, -4.500), 1.100, Do Not Clip, Visible To and Color, Array Contains(Global.VIP_LIST,
Custom String("{0}", Local Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(
Lime Green) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Vertical Facing Angle Of(Local Player)
<= 5.940 && Vertical Facing Angle Of(Local Player) >= -9.800 && Horizontal Facing Angle Of(Local Player)
<= -27.020 && Horizontal Facing Angle Of(Local Player) >= -63.110 ? Custom String("〘{0}〙", Ability Icon String(Hero(Bastion),
Button(Ability 1))) : Custom String("{0}", Ability Icon String(Hero(Bastion), Button(Ability 1))),
Global.MENU_POSITION + Vector(0, -0.400, -4.500), 2, Do Not Clip, Visible To String and Color, Array Contains(Global.VIP_LIST,
Custom String("{0}", Local Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(
Lime Green) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String(
"({0}) Voice Pitch | Hero Scale | Projectile\r\n Speed | (To Yourself) ({0})", Icon String(Question Mark)),
Global.MENU_POSITION + Vector(0, -1.150, -4.500), 0.800, Do Not Clip, Visible To, Color(White), Default Visibility);
"┏━[ (6) Miscellaneous • Text ]"
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String("(6) • Miscellaneous •"),
Global.MENU_POSITION + Vector(0, -2.200, -3.860), 1.100, Do Not Clip, Visible To and Color, Array Contains(Global.VIP_LIST,
Custom String("{0}", Local Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(
Purple) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Vertical Facing Angle Of(Local Player)
<= 30.150 && Vertical Facing Angle Of(Local Player) >= 14.700 && Horizontal Facing Angle Of(Local Player)
<= -21.380 && Horizontal Facing Angle Of(Local Player) >= -55.240 ? Custom String("〘{0}〙", Ability Icon String(Hero(Genji),
Button(Jump))) : Custom String("{0}", Ability Icon String(Hero(Genji), Button(Jump))), Global.MENU_POSITION + Vector(0, -2.850,
-3.860), 2, Do Not Clip, Visible To String and Color, Array Contains(Global.VIP_LIST, Custom String("{0}", Local Player))
|| Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(Purple) : Color(Gray),
Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String(
"({0}) Attaching To Player | Grabbing | \r\n Ghost Mode ({0})", Icon String(Question Mark)),
Global.MENU_POSITION + Vector(0, -3.600, -3.860), 0.800, Do Not Clip, Visible To, Color(White), Default Visibility);
"┏━[ (7) Access Settings • Text ]"
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String("(7) • Access Settings •"),
Global.MENU_POSITION + Vector(0, -4.250, 0), 1.100, Do Not Clip, Visible To and Color, Array Contains(
Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(Rose) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Vertical Facing Angle Of(Local Player)
<= 50.640 && Vertical Facing Angle Of(Local Player) >= 35.120 && Horizontal Facing Angle Of(Local Player)
<= 15.820 && Horizontal Facing Angle Of(Local Player) >= -15.220 ? Custom String("〘{0}〙", Ability Icon String(Hero(Sombra),
Button(Secondary Fire))) : Custom String("{0}", Ability Icon String(Hero(Sombra), Button(Secondary Fire))),
Global.MENU_POSITION + Vector(0, -4.900, 0), 2, Do Not Clip, Visible To String and Color, Array Contains(
Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(Rose) : Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String(
"({0}) Kick/Ban Player | Mute Voice | \r\n Give/Take Privilege ({0})", Icon String(Question Mark)),
Global.MENU_POSITION + Vector(0, -5.650, 0), 0.800, Do Not Clip, Visible To, Color(White), Default Visibility);
"┏━[ (8) Empty Slot • Text ]"
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String("• Empty Slot •"),
Global.MENU_POSITION + Vector(0, -2.200, 3.890), 1.100, Do Not Clip, Visible To, Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Vertical Facing Angle Of(Local Player)
<= 27.770 && Vertical Facing Angle Of(Local Player) >= 14.700 && Horizontal Facing Angle Of(Local Player)
<= 51.460 && Horizontal Facing Angle Of(Local Player) >= 26.140 ? Custom String("〘{0}〙", Icon String(Question Mark))
: Custom String("{0}", Icon String(Question Mark)), Global.MENU_POSITION + Vector(0, -2.850, 3.890), 2, Do Not Clip,
Visible To and String, Color(Gray), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String("({0}) In Future Updates... ({0})",
Icon String(Question Mark)), Global.MENU_POSITION + Vector(0, -3.350, 3.890), 0.800, Do Not Clip, Visible To, Color(White),
Default Visibility);
"┏━[ (1) Status Applier (Others) • Selection Effect ]"
Create Effect(Filtered Array(All Players(All Teams),
Current Array Element.MODE == 1 && Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Bad Aura,
Color(Red), Global.MENU_POSITION + Vector(0, 0.335, 4.500), 0.400, Visible To);
"┏━[ (2) Status Applier (Self) • Selection Effect ]"
Create Effect(Filtered Array(All Players(All Teams),
Current Array Element.MODE == 2 && Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Bad Aura,
Color(Orange), Global.MENU_POSITION + Vector(0, 2.805, 3.890), 0.400, Visible To);
"┏━[ (3) Teleport • Selection Effect ]"
Create Effect(Filtered Array(All Players(All Teams),
Current Array Element.MODE == 3 && Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Bad Aura,
Color(Sky Blue), Global.MENU_POSITION + Vector(0, 4.835, 0), 0.400, Visible To);
"┏━[ (4) Hero Settings (Others) • Selection Effect ]"
Create Effect(Filtered Array(All Players(All Teams),
Current Array Element.MODE == 4 && Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Bad Aura,
Color(Green), Global.MENU_POSITION + Vector(0, 2.805, -3.860), 0.400, Visible To);
"┏━[ (5) Hero Settings (Self) • Selection Effect ]"
Create Effect(Filtered Array(All Players(All Teams),
Current Array Element.MODE == 5 && Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Bad Aura,
Color(Lime Green), Global.MENU_POSITION + Vector(0, 0.335, -4.500), 0.400, Visible To);
"┏━[ (6) Miscellaneous • Selection Effect ]"
Create Effect(Filtered Array(All Players(All Teams),
Current Array Element.MODE == 6 && Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Bad Aura,
Color(Purple), Global.MENU_POSITION + Vector(0, -2.115, -3.860), 0.400, Visible To);
"┏━[ (7) Access Settings • Selection Effect ]"
Create Effect(Filtered Array(All Players(All Teams),
Current Array Element.MODE == 7 && Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Bad Aura,
Color(Rose), Global.MENU_POSITION + Vector(0, -4.165, 0), 0.400, Visible To);
"┏━[ Menu Central Texts ]"
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String("{0} • {1}", Hero Icon String(
Hero Of(Local Player)), Local Player), Global.MENU_POSITION + Vector(0, 1.835, 0), 1.800, Do Not Clip, Visible To and String,
Color(White), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Array Contains(Global.ADMINISTRATOR_LIST,
Custom String("{0}", Local Player)) ? Custom String("{0} Administrator", Ability Icon String(Hero(Zarya), Button(Ability 1)))
: (Array Contains(Global.VIP_LIST, Custom String("{0}", Local Player)) ? Custom String("{0} VIP", Ability Icon String(Hero(
Zarya), Button(Ability 2))) : Custom String("Unprivileged")), Global.MENU_POSITION + Vector(0, 1.400, 0), 0.900, Do Not Clip,
Visible To String and Color, Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) ? Color(Rose) : (
Array Contains(Global.VIP_LIST, Custom String("{0}", Local Player)) ? Color(Yellow) : Color(White)), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Vertical Facing Angle Of(Local Player)
<= -7.650 && Vertical Facing Angle Of(Local Player) >= -16.930 && Horizontal Facing Angle Of(Local Player)
<= 6.540 && Horizontal Facing Angle Of(Local Player) >= -6.750 ? Custom String("〘{0}〙", Ability Icon String(Hero(Echo), Button(
Ultimate))) : Custom String("{0}", Ability Icon String(Hero(Echo), Button(Ultimate))), Global.MENU_POSITION + Vector(0, 0.612,
0), 2, Do Not Clip, Visible To and String, Color(White), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String("Change Hero"),
Global.MENU_POSITION + Vector(0, 0.200, 0), 0.900, Do Not Clip, Visible To, Color(White), Default Visibility);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String(
"{0} • Custom Camera {1} [{2}]", Icon String(Eye), Icon String(Ring Thick), Ability Icon String(Hero(Torbjörn), Button(
Ability 2))), Global.MENU_POSITION + Vector(0, -0.635, 0.060), 1.200, Do Not Clip, Visible To, Color(White),
Default Visibility);
Create Effect(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && Current Array Element.CUSTOM_CAMERA[0] && !Current Array Element.CUSTOM_CAMERA[1]),
Good Aura, Color(White), Global.MENU_POSITION + Vector(0, 0.025, -1.065), 0.125, Visible To);
Create In-World Text(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && !Current Array Element.CUSTOM_CAMERA[1]), Custom String(
"{0} • \"Kill/Resurrect Self\" On [{1}] {2}", Ability Icon String(Hero(Reinhardt), Button(Ability 2)), Input Binding String(
Button(Reload)), Icon String(Ring Thick)), Global.MENU_POSITION + Vector(0, -1.035, 0.060), 1.200, Do Not Clip,
Visible To String and Color, Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Local Player)) || Array Contains(
Global.VIP_LIST, Custom String("{0}", Local Player)) ? Color(Orange) : Color(Gray), Default Visibility);
Create Effect(Filtered Array(All Players(All Teams),
Current Array Element.USING_MENU && Current Array Element.RELOAD_BIND && !Current Array Element.CUSTOM_CAMERA[1]), Good Aura,
Color(Orange), Global.MENU_POSITION + Vector(0, -0.375, -2.205), 0.125, Visible To);
}
}
rule("[MENU] • Select «Change Hero»")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Event Player.USING_MENU == True;
Event Player.CUSTOM_CAMERA[1] == False;
Vertical Facing Angle Of(Event Player) <= -7.650;
Vertical Facing Angle Of(Event Player) >= -16.930;
Horizontal Facing Angle Of(Event Player) <= 6.540;
Horizontal Facing Angle Of(Event Player) >= -6.750;
Is Alive(Event Player) == True;
}
actions
{
Event Player.PLAYER_POSITION = Position Of(Event Player);
Set Player Allowed Heroes(Event Player, Filtered Array(All Heroes, Current Array Element != Hero Of(Event Player)));
Reset Player Hero Availability(Event Player);
Wait Until(Array Contains(All Heroes, Hero Of(Event Player)), Match Time);
Teleport(Event Player, Event Player.PLAYER_POSITION);
}
}
rule("[MENU] • Enable/Disable «Custom Camera»")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Event Player.USING_MENU == True;
Event Player.CUSTOM_CAMERA[1] == False;
Vertical Facing Angle Of(Event Player) <= 1.780;
Vertical Facing Angle Of(Event Player) >= -2.450;
Horizontal Facing Angle Of(Event Player) <= -8.680;
Horizontal Facing Angle Of(Event Player) >= -12.840;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Disable ]"
If(Event Player.CUSTOM_CAMERA[0]);
Event Player.CUSTOM_CAMERA[0] = False;
Small Message(Event Player, Custom String("({0}) {1} Custom Camera Disabled. ({0})", Icon String(Exclamation Mark), Icon String(
Eye)));
Play Effect(Event Player, Bad Explosion, Color(White), Global.MENU_POSITION + Vector(0, 0.040, -1.070), 0.500);
Play Effect(Event Player, Ring Explosion, Color(White), Global.MENU_POSITION + Vector(0, 0.040, -1.070), 1.250);
Play Effect(Event Player, Explosion Sound, Color(White), Global.MENU_POSITION + Vector(0, 0.040, -1.070), 50);
"┏━[ Enable ]"
Else;
Event Player.CUSTOM_CAMERA[0] = True;
Small Message(Event Player, Custom String("({0}) {1} Custom Camera Enabled. ({0})", Icon String(Exclamation Mark), Icon String(
Eye)));
Play Effect(Event Player, Good Explosion, Color(White), Global.MENU_POSITION + Vector(0, 0.040, -1.070), 0.500);
Play Effect(Event Player, Ring Explosion, Color(White), Global.MENU_POSITION + Vector(0, 0.040, -1.070), 1.250);
Play Effect(Event Player, Ring Explosion Sound, Color(White), Global.MENU_POSITION + Vector(0, 0.040, -1.070), 50);
End;
}
}
rule("[MENU] • Enter «Custom Camera Setting Mode»")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Is Button Held(Event Player, Button(Interact)) == False;
Event Player.USING_MENU == True;
Vertical Facing Angle Of(Event Player) <= 1.190;
Vertical Facing Angle Of(Event Player) >= -1.330;
Horizontal Facing Angle Of(Event Player) <= -15.140;
Horizontal Facing Angle Of(Event Player) >= -20.860;
Is Alive(Event Player) == True;
}
actions
{
Event Player.CUSTOM_CAMERA[1] = True;
Disallow Button(Event Player, Button(Crouch));
Disallow Button(Event Player, Button(Jump));
Start Camera(Event Player, Update Every Frame(Ray Cast Hit Position(Eye Position(Event Player), Eye Position(Event Player)
+ Facing Direction Of(Event Player) * X Component Of(Event Player.CUSTOM_CAMERA[2]) + World Vector Of(Left, Event Player,
Rotation) * Z Component Of(Event Player.CUSTOM_CAMERA[2]) + Cross Product(Facing Direction Of(Event Player), World Vector Of(
Left, Event Player, Rotation)) * Y Component Of(Event Player.CUSTOM_CAMERA[2]), Null, Event Player, False)),
Ray Cast Hit Position(Eye Position(Event Player), Eye Position(Event Player) + Facing Direction Of(Event Player)
* X Component Of(Event Player.CUSTOM_CAMERA[2]) + World Vector Of(Left, Event Player, Rotation) * Z Component Of(
Event Player.CUSTOM_CAMERA[2]) + Cross Product(Facing Direction Of(Event Player), World Vector Of(Left, Event Player,
Rotation)) * Y Component Of(Event Player.CUSTOM_CAMERA[2]), Null, Event Player, False) + Facing Direction Of(Event Player), 0);
Small Message(Event Player, Custom String("({0}) {1} Custom Camera Setting Mode. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Torbjörn), Button(Ability 2))));
}
}
rule("[MENU] • Enable/Disable «\"Kill/Resurrect Self\" On Reload»")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Event Player.USING_MENU == True;
Event Player.CUSTOM_CAMERA[1] == False;
Vertical Facing Angle Of(Event Player) <= 5.790;
Vertical Facing Angle Of(Event Player) >= 1.560;
Horizontal Facing Angle Of(Event Player) <= -20.120;
Horizontal Facing Angle Of(Event Player) >= -24.350;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Check Privilege ]"
If(Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player)) || Array Contains(Global.VIP_LIST, Custom String(
"{0}", Event Player)));
"┏━[ Disable ]"
If(Event Player.RELOAD_BIND);
Event Player.RELOAD_BIND = False;
Small Message(Event Player, Custom String("({0}) {1} \"Kill/Resurrect Self\" On Reload Disabled. ({0})", Icon String(
Exclamation Mark), Ability Icon String(Hero(Reinhardt), Button(Ability 2))));
Play Effect(Event Player, Bad Explosion, Color(White), Global.MENU_POSITION + Vector(0, -0.375, -2.185), 0.500);
Play Effect(Event Player, Ring Explosion, Color(White), Global.MENU_POSITION + Vector(0, -0.375, -2.185), 1.250);
Play Effect(Event Player, Explosion Sound, Color(White), Global.MENU_POSITION + Vector(0, -0.375, -2.185), 50);
"┏━[ Enable ]"
Else;
Event Player.RELOAD_BIND = True;
Small Message(Event Player, Custom String("({0}) {1} \"Kill/Resurrect Self\" On Reload Enabled. ({0})", Icon String(
Exclamation Mark), Ability Icon String(Hero(Reinhardt), Button(Ability 2))));
Play Effect(Event Player, Good Explosion, Color(Orange), Global.MENU_POSITION + Vector(0, -0.375, -2.185), 0.500);
Play Effect(Event Player, Ring Explosion, Color(Orange), Global.MENU_POSITION + Vector(0, -0.375, -2.185), 1.250);
Play Effect(Event Player, Ring Explosion Sound, Color(Orange), Global.MENU_POSITION + Vector(0, -0.375, -2.185), 50);
End;
Else;
Small Message(Event Player, Custom String("({0}) Only {1} Administrators or {2} Vip Players Can Use This. ({0})", Icon String(
Exclamation Mark), Ability Icon String(Hero(Zarya), Button(Ability 1)), Ability Icon String(Hero(Zarya), Button(Ability 2))));
Play Effect(Event Player, Debuff Impact Sound, Color(White), Global.MENU_POSITION + Vector(0, -0.375, -2.185), 50);
End;
}
}
rule("[MENU] • Select «(1) Status Applier (Others)»")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Event Player.USING_MENU == True;
Event Player.CUSTOM_CAMERA[1] == False;
Event Player.MODE != 1;
Vertical Facing Angle Of(Event Player) <= 8.320;
Vertical Facing Angle Of(Event Player) >= -9.800;
Horizontal Facing Angle Of(Event Player) <= 62.590;
Horizontal Facing Angle Of(Event Player) >= 27.480;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Check Privilege ]"
If(Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player)));
Event Player.MODE = 1;
Play Effect(Event Player, Bad Explosion, Color(Red), Global.MENU_POSITION + Vector(0, 0.335, 4.500), 2);
Play Effect(Event Player, Ring Explosion, Color(Red), Global.MENU_POSITION + Vector(0, 0.335, 4.500), 2.500);
Play Effect(Event Player, Ring Explosion Sound, Color(Red), Global.MENU_POSITION + Vector(0, 0.335, 4.500), 50);
Else;
Small Message(Event Player, Custom String("({0}) Only {1} Administrators Can Use This. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Zarya), Button(Ability 1))));
Play Effect(Event Player, Debuff Impact Sound, Color(White), Global.MENU_POSITION + Vector(0, 0.335, 4.500), 50);
End;
}
}
rule("[MENU] • Select «(2) Status Applier (Self)»")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Event Player.USING_MENU == True;
Event Player.CUSTOM_CAMERA[1] == False;
Event Player.MODE != 2;
Vertical Facing Angle Of(Event Player) <= -16.630;
Vertical Facing Angle Of(Event Player) >= -34.600;
Horizontal Facing Angle Of(Event Player) <= 56.510;
Horizontal Facing Angle Of(Event Player) >= 21.460;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Check Privilege ]"
If(Array Contains(Global.VIP_LIST, Custom String("{0}", Event Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String(
"{0}", Event Player)));
Event Player.MODE = 2;
Play Effect(Event Player, Bad Explosion, Color(Orange), Global.MENU_POSITION + Vector(0, 2.805, 3.890), 2);
Play Effect(Event Player, Ring Explosion, Color(Orange), Global.MENU_POSITION + Vector(0, 2.805, 3.890), 2.500);
Play Effect(Event Player, Ring Explosion Sound, Color(Orange), Global.MENU_POSITION + Vector(0, 2.805, 3.890), 50);
Else;
Small Message(Event Player, Custom String("({0}) Only {1} Administrators or {2} Vip Players Can Use This. ({0})", Icon String(
Exclamation Mark), Ability Icon String(Hero(Zarya), Button(Ability 1)), Ability Icon String(Hero(Zarya), Button(Ability 2))));
Play Effect(Event Player, Debuff Impact Sound, Color(White), Global.MENU_POSITION + Vector(0, 2.805, 3.890), 50);
End;
}
}
rule("[MENU] • Select «(3) Teleport»")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Event Player.USING_MENU == True;
Event Player.CUSTOM_CAMERA[1] == False;
Event Player.MODE != 3;
Vertical Facing Angle Of(Event Player) <= -39.420;
Vertical Facing Angle Of(Event Player) >= -54.800;
Horizontal Facing Angle Of(Event Player) <= 16.490;
Horizontal Facing Angle Of(Event Player) >= -16.400;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Check Privilege ]"
If(Array Contains(Global.VIP_LIST, Custom String("{0}", Event Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String(
"{0}", Event Player)));
Event Player.MODE = 3;
Play Effect(Event Player, Bad Explosion, Color(Sky Blue), Global.MENU_POSITION + Vector(0, 4.835, 0), 2);
Play Effect(Event Player, Ring Explosion, Color(Sky Blue), Global.MENU_POSITION + Vector(0, 4.835, 0), 2.500);
Play Effect(Event Player, Ring Explosion Sound, Color(Sky Blue), Global.MENU_POSITION + Vector(0, 4.835, 0), 50);
Else;
Small Message(Event Player, Custom String("({0}) Only {1} Administrators or {2} Vip Players Can Use This. ({0})", Icon String(
Exclamation Mark), Ability Icon String(Hero(Zarya), Button(Ability 1)), Ability Icon String(Hero(Zarya), Button(Ability 2))));
Play Effect(Event Player, Debuff Impact Sound, Color(White), Global.MENU_POSITION + Vector(0, 4.835, 0), 50);
End;
}
}
rule("[MENU] • Select «(4) Hero Settings (Others)»")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Event Player.USING_MENU == True;
Event Player.CUSTOM_CAMERA[1] == False;
Event Player.MODE != 4;
Vertical Facing Angle Of(Event Player) <= -18.710;
Vertical Facing Angle Of(Event Player) >= -34.600;
Horizontal Facing Angle Of(Event Player) <= -20.640;
Horizontal Facing Angle Of(Event Player) >= -56.720;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Check Privilege ]"
If(Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player)));
Event Player.MODE = 4;
Play Effect(Event Player, Bad Explosion, Color(Green), Global.MENU_POSITION + Vector(0, 2.805, -3.860), 2);
Play Effect(Event Player, Ring Explosion, Color(Green), Global.MENU_POSITION + Vector(0, 2.805, -3.860), 2.500);
Play Effect(Event Player, Ring Explosion Sound, Color(Green), Global.MENU_POSITION + Vector(0, 2.805, -3.860), 50);
Else;
Small Message(Event Player, Custom String("({0}) Only {1} Administrators Can Use This. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Zarya), Button(Ability 1))));
Play Effect(Event Player, Debuff Impact Sound, Color(White), Global.MENU_POSITION + Vector(0, 2.805, -3.860), 50);
End;
}
}
rule("[MENU] • Select «(5) Hero Settings (Self)»")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Event Player.USING_MENU == True;
Event Player.CUSTOM_CAMERA[1] == False;
Event Player.MODE != 5;
Vertical Facing Angle Of(Event Player) <= 5.940;
Vertical Facing Angle Of(Event Player) >= -9.800;
Horizontal Facing Angle Of(Event Player) <= -27.020;
Horizontal Facing Angle Of(Event Player) >= -63.110;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Check Privilege ]"
If(Array Contains(Global.VIP_LIST, Custom String("{0}", Event Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String(
"{0}", Event Player)));
Event Player.MODE = 5;
Play Effect(Event Player, Bad Explosion, Color(Lime Green), Global.MENU_POSITION + Vector(0, 0.335, -4.500), 2);
Play Effect(Event Player, Ring Explosion, Color(Lime Green), Global.MENU_POSITION + Vector(0, 0.335, -4.500), 2.500);
Play Effect(Event Player, Ring Explosion Sound, Color(Lime Green), Global.MENU_POSITION + Vector(0, 0.335, -4.500), 50);
Else;
Small Message(Event Player, Custom String("({0}) Only {1} Administrators or {2} Vip Players Can Use This. ({0})", Icon String(
Exclamation Mark), Ability Icon String(Hero(Zarya), Button(Ability 1)), Ability Icon String(Hero(Zarya), Button(Ability 2))));
Play Effect(Event Player, Debuff Impact Sound, Color(White), Global.MENU_POSITION + Vector(0, 0.335, -4.500), 50);
End;
}
}
rule("[MENU] • Select «(6) Miscellaneous»")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Event Player.USING_MENU == True;
Event Player.CUSTOM_CAMERA[1] == False;
Event Player.MODE != 6;
Vertical Facing Angle Of(Event Player) <= 30.150;
Vertical Facing Angle Of(Event Player) >= 14.700;
Horizontal Facing Angle Of(Event Player) <= -21.380;
Horizontal Facing Angle Of(Event Player) >= -55.240;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Check Privilege ]"
If(Array Contains(Global.VIP_LIST, Custom String("{0}", Event Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String(
"{0}", Event Player)));
Event Player.MODE = 6;
Play Effect(Event Player, Bad Explosion, Color(Purple), Global.MENU_POSITION + Vector(0, -2.115, -3.860), 2);
Play Effect(Event Player, Ring Explosion, Color(Purple), Global.MENU_POSITION + Vector(0, -2.115, -3.860), 2.500);
Play Effect(Event Player, Ring Explosion Sound, Color(Purple), Global.MENU_POSITION + Vector(0, -2.115, -3.860), 50);
Else;
Small Message(Event Player, Custom String("({0}) Only {1} Administrators or {2} Vip Players Can Use This. ({0})", Icon String(
Exclamation Mark), Ability Icon String(Hero(Zarya), Button(Ability 1)), Ability Icon String(Hero(Zarya), Button(Ability 2))));
Play Effect(Event Player, Debuff Impact Sound, Color(White), Global.MENU_POSITION + Vector(0, -2.115, -3.860), 50);
End;
}
}
rule("[MENU] • Select «(7) Access Settings»")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Event Player.USING_MENU == True;
Event Player.CUSTOM_CAMERA[1] == False;
Event Player.MODE != 7;
Vertical Facing Angle Of(Event Player) <= 50.640;
Vertical Facing Angle Of(Event Player) >= 35.120;
Horizontal Facing Angle Of(Event Player) <= 15.820;
Horizontal Facing Angle Of(Event Player) >= -15.220;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Check Privilege ]"
If(Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player)));
Event Player.MODE = 7;
Play Effect(Event Player, Bad Explosion, Color(Rose), Global.MENU_POSITION + Vector(0, -4.165, 0), 2);
Play Effect(Event Player, Ring Explosion, Color(Rose), Global.MENU_POSITION + Vector(0, -4.165, 0), 2.500);
Play Effect(Event Player, Ring Explosion Sound, Color(Rose), Global.MENU_POSITION + Vector(0, -4.165, 0), 50);
Else;
Small Message(Event Player, Custom String("({0}) Only {1} Administrators Can Use This. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Zarya), Button(Ability 1))));
Play Effect(Event Player, Debuff Impact Sound, Color(White), Global.MENU_POSITION + Vector(0, -4.165, 0), 50);
End;
}
}
rule("[MENU] • Select «(8) Empty Slot»")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Event Player.USING_MENU == True;
Event Player.CUSTOM_CAMERA[1] == False;
Vertical Facing Angle Of(Event Player) <= 27.770;
Vertical Facing Angle Of(Event Player) >= 14.700;
Horizontal Facing Angle Of(Event Player) <= 51.460;
Horizontal Facing Angle Of(Event Player) >= 26.140;
Is Alive(Event Player) == True;
}
actions
{
Play Effect(Event Player, Debuff Impact Sound, Color(White), Global.MENU_POSITION + Vector(0, -2.115, 3.890), 50);
Small Message(Event Player, Custom String("({0}) Unavailable. ({0})", Icon String(Exclamation Mark)));
}
}
disabled rule("┏━━━━━━┃CONTROL MODE┃━━━━━━┓")
{
event
{
Ongoing - Global;
}
}
rule("[CONTROL MODE] • Enable/Disable")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Interact)) == True;
Is Button Held(Event Player, Button(Crouch)) == False;
Event Player.USING_MENU == False;
}
actions
{
"┏━[ Enable ]"
If(Event Player.USING_CONTROL_MODE == False);
Event Player.USING_CONTROL_MODE = True;
Small Message(Event Player, Custom String("({0}) {1} Control Mode Enabled. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Junkrat), Button(Ability 1))));
Start Rule(DISABLE_CONTROLS, Restart Rule);
Play Effect(Event Player, Ring Explosion Sound, Color(White), Event Player, 50);
"┏━[ Disable ]"
Else;
Event Player.USING_CONTROL_MODE = False;
Small Message(Event Player, Custom String("({0}) {1} Control Mode Disabled. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Junkrat), Button(Ability 1))));
Start Rule(DISABLE_CONTROLS, Restart Rule);
Play Effect(Event Player, Explosion Sound, Color(White), Event Player, 50);
End;
}
}
rule("[CONTROL MODE] • «(0) Standard Mode» Applying")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Is Button Held(Event Player, Button(Primary Fire)) || Is Button Held(Event Player, Button(Secondary Fire)) || Is Button Held(
Event Player, Button(Ultimate))) == True;
Event Player.MODE == 0;
Event Player.USING_CONTROL_MODE == True;
Event Player.USING_MENU == False;
}
actions
{
"┏━[ Teleport ]"
If(Is Button Held(Event Player, Button(Ultimate)));
Wait Until(!Is Button Held(Event Player, Button(Ultimate)), Match Time);
Teleport(Event Player, Eye Position(Event Player) + Facing Direction Of(Event Player) * Global.WORKSHOP_SETTINGS[1]);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(White), Event Player, 1);
Play Effect(All Players(All Teams), Ring Explosion, Color(White), Event Player, 3);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(White), Event Player, 50);
Else;
"┏━[ No Applying Conflict ]"
If(!Event Player.SETTINGS_BEING_CHANGED);
"┏━[ Reset Setting ]"
If(Is Button Held(Event Player, Button(Ability 2)));
"┏━[ Voice Pitch ]"
If(Is Button Held(Event Player, Button(Primary Fire)));
Event Player.PLAYER_SETTINGS[0] = 1;
Play Effect(Event Player, Ring Explosion Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) {1} Voice Pitch Has Reset {2}. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Lúcio), Button(Secondary Fire)), Icon String(Recycle)));
"┏━[ Projectile Speed ]"
Else If(Is Button Held(Event Player, Button(Secondary Fire)));
Event Player.PLAYER_SETTINGS[2] = 1;
Set Projectile Speed(Event Player, 100);
Set Projectile Gravity(Event Player, 100);
Play Effect(Event Player, Ring Explosion Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) {1} Projectile Speed Has Reset {2}. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Pharah), Button(Ultimate)), Icon String(Recycle)));
End;
"┏━[ Changing Setting ]"
Else;
Event Player.CONDITION_VALUES[0] = Vertical Facing Angle Of(Event Player);
Event Player.SETTINGS_BEING_CHANGED = True;
"┏━[ Voice Pitch ]"
If(Is Button Held(Event Player, Button(Primary Fire)));
Event Player.CONDITION_VALUES[1] = Event Player.PLAYER_SETTINGS[0];
While(Is Button Held(Event Player, Button(Primary Fire)));
If(Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 <= 1.500 && Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 >= 0.500);
Event Player.PLAYER_SETTINGS[0] = Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(
Event Player)) / 20;
End;
Wait(0.016, Abort When False);
End;
"┏━[ Projectile Speed ]"
Else If(Is Button Held(Event Player, Button(Secondary Fire)));
Event Player.CONDITION_VALUES[1] = Event Player.PLAYER_SETTINGS[2];
While(Is Button Held(Event Player, Button(Secondary Fire)));
If(Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 <= 3 && Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 >= 0);
Event Player.PLAYER_SETTINGS[2] = Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(
Event Player)) / 20;
Set Projectile Speed(Event Player, Event Player.PLAYER_SETTINGS[2] * 100);
Set Projectile Gravity(Event Player, Event Player.PLAYER_SETTINGS[2] * 100);
End;
Wait(0.016, Abort When False);
End;
End;
Event Player.SETTINGS_BEING_CHANGED = False;
End;
Else;
Play Effect(Event Player, Debuff Impact Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) Your Settings Are Being Changed By Someone Already. ({0})", Icon String(
Exclamation Mark)));
End;
End;
}
}
rule("[CONTROL MODE] • «(1) Status Applier (Others)» Applying")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Is Button Held(Event Player, Button(Primary Fire)) || Is Button Held(Event Player, Button(Secondary Fire)) || Is Button Held(
Event Player, Button(Ultimate)) || Is Button Held(Event Player, Button(Ability 2)) || Is Button Held(Event Player, Button(
Ability 1)) || Is Button Held(Event Player, Button(Melee))) == True;
Event Player.MODE == 1;
Event Player.USING_CONTROL_MODE == True;
Event Player.USING_MENU == False;
Entity Exists(Event Player.PLAYERS[0]) == True;
}
actions
{
"┏━[ Immune For Administrators ]"
If(Custom String("{0}", Event Player) != Custom String("IRLININ") && Event Player != Host Player ? !Array Contains(
Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player.PLAYERS[0])) : True);
"┏━[ Killing/Resurrecting ]"
If(Is Button Held(Event Player, Button(Primary Fire)));
"┏━[ Kill ]"
If(Is Alive(Event Player.PLAYERS[0]));
Kill(Event Player.PLAYERS[0], Event Player);
Play Effect(All Players(All Teams), Bad Pickup Effect, Color(Red), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Ring Explosion, Color(Red), Event Player.PLAYERS[0], 3);
Play Effect(All Players(All Teams), Explosion Sound, Color(Red), Event Player.PLAYERS[0], 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} {2} Killed You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Icon String(Skull)));
Small Message(Event Player, Custom String("({0}) {1} {2} Is Killed. ({0})", Icon String(Exclamation Mark), Custom String(
"[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Icon String(Skull)));
"┏━[ Resurrect ]"
Else;
If(Position Of(Event Player.PLAYERS[0]) != Nearest Walkable Position(Event Player.PLAYERS[0]));
Teleport(Event Player.PLAYERS[0], Nearest Walkable Position(Event Player.PLAYERS[0]));
End;
Resurrect(Event Player.PLAYERS[0]);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Yellow), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Ring Explosion, Color(Yellow), Event Player.PLAYERS[0], 3);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Yellow), Event Player.PLAYERS[0], 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} {2} Resurrected You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Mercy), Button(
Ability 2))));
Small Message(Event Player, Custom String("({0}) {1} {2} Is Resurrected. ({0})", Icon String(Exclamation Mark), Custom String(
"[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(Hero(Mercy),
Button(Ability 2))));
End;
"┏━[ Hacking ]"
Else If(Is Button Held(Event Player, Button(Secondary Fire)));
"┏━[ Unhack ]"
If(Has Status(Event Player.PLAYERS[0], Hacked));
Clear Status(Event Player.PLAYERS[0], Hacked);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Violet), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Violet), Event Player.PLAYERS[0], 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} {2} Unhacked You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Sombra), Button(
Ultimate))));
Small Message(Event Player, Custom String("({0}) {1} {2} Unhacked. ({0})", Icon String(Exclamation Mark), Custom String(
"[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(Hero(Sombra),
Button(Ultimate))));
"┏━[ Hack ]"
Else;
Set Status(Event Player.PLAYERS[0], Null, Hacked, Match Time);
Play Effect(All Players(All Teams), Bad Pickup Effect, Color(Violet), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Explosion Sound, Color(Violet), Event Player.PLAYERS[0], 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} {2} Hacked You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Sombra), Button(
Ultimate))));
Small Message(Event Player, Custom String("({0}) {1} {2} Hacked. ({0})", Icon String(Exclamation Mark), Custom String("[{0}] {1}",
Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(Hero(Sombra), Button(
Ultimate))));
End;
Play Effect(All Players(All Teams), Ring Explosion, Color(Violet), Event Player.PLAYERS[0], 3);
"┏━[ Freezing ]"
Else If(Is Button Held(Event Player, Button(Ultimate)));
"┏━[ Unfreeze ]"
If(Has Status(Event Player.PLAYERS[0], Frozen));
Clear Status(Event Player.PLAYERS[0], Frozen);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Sky Blue), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Sky Blue), Event Player.PLAYERS[0], 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} {2} Unfroze You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Mei), Button(
Ability 1))));
Small Message(Event Player, Custom String("({0}) {1} {2} Is Unfrozen. ({0})", Icon String(Exclamation Mark), Custom String(
"[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(Hero(Mei),
Button(Ability 1))));
"┏━[ Freeze ]"
Else;
Set Status(Event Player.PLAYERS[0], Null, Frozen, Match Time);
Play Effect(All Players(All Teams), Bad Pickup Effect, Color(Sky Blue), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Explosion Sound, Color(Sky Blue), Event Player.PLAYERS[0], 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} {2} Froze You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Mei), Button(
Ability 1))));
Small Message(Event Player, Custom String("({0}) {1} {2} Is Frozen. ({0})", Icon String(Exclamation Mark), Custom String(
"[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(Hero(Mei),
Button(Ability 1))));
End;
Play Effect(All Players(All Teams), Ring Explosion, Color(Sky Blue), Event Player.PLAYERS[0], 3);
"┏━[ Knocking Down ]"
Else If(Is Button Held(Event Player, Button(Ability 2)));
"┏━[ Unknock ]"
If(Has Status(Event Player.PLAYERS[0], Knocked Down));
Clear Status(Event Player.PLAYERS[0], Knocked Down);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Gray), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Gray), Event Player.PLAYERS[0], 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} {2} Unknocked Down You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Reinhardt), Button(
Ultimate))));
Small Message(Event Player, Custom String("({0}) {1} {2} Is Unknocked Down. ({0})", Icon String(Exclamation Mark), Custom String(
"[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(Hero(Reinhardt),
Button(Ultimate))));
"┏━[ Knock ]"
Else;
Set Status(Event Player.PLAYERS[0], Null, Knocked Down, Match Time);
Play Effect(All Players(All Teams), Bad Pickup Effect, Color(Gray), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Explosion Sound, Color(Gray), Event Player.PLAYERS[0], 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} {2} Knocked Down You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Reinhardt), Button(
Ultimate))));
Small Message(Event Player, Custom String("({0}) {1} {2} Is Knocked Down. ({0})", Icon String(Exclamation Mark), Custom String(
"[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(Hero(Reinhardt),
Button(Ultimate))));
End;
Play Effect(All Players(All Teams), Ring Explosion, Color(Gray), Event Player.PLAYERS[0], 3);
"┏━[ Burning ]"
Else If(Is Button Held(Event Player, Button(Ability 1)));
"┏━[ Unburn ]"
If(Has Status(Event Player.PLAYERS[0], Burning));
Clear Status(Event Player.PLAYERS[0], Burning);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Orange), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Orange), Event Player.PLAYERS[0], 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} {2} Unburned You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Icon String(Fire)));
Small Message(Event Player, Custom String("({0}) {1} {2} Is Not Burning Now. ({0})", Icon String(Exclamation Mark), Custom String(
"[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Icon String(Fire)));
"┏━[ Burn ]"
Else;
Set Status(Event Player.PLAYERS[0], Null, Burning, Match Time);
Play Effect(All Players(All Teams), Bad Pickup Effect, Color(Orange), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Explosion Sound, Color(Orange), Event Player.PLAYERS[0], 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} {2} Burned You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Icon String(Fire)));
Small Message(Event Player, Custom String("({0}) {1} {2} Is Burning. ({0})", Icon String(Exclamation Mark), Custom String(
"[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Icon String(Fire)));
End;
Play Effect(All Players(All Teams), Ring Explosion, Color(Orange), Event Player.PLAYERS[0], 3);
"┏━[ Invisibility ]"
Else If(Is Button Held(Event Player, Button(Melee)));
"┏━[ Disable ]"
If(Event Player.PLAYERS[0].INVISIBILITY);
Set Invisible(Event Player.PLAYERS[0], None);
Event Player.PLAYERS[0].INVISIBILITY = False;
Play Effect(All Players(All Teams), Explosion Sound, Color(White), Event Player.PLAYERS[0], 50);
Small Message(Event Player, Custom String("({0}) {1}'s {2} Invisibility Disabled. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(
Hero(Sombra), Button(Ability 1))));
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} Disabled Your {2} Invisibility. ({0})", Icon String(
Exclamation Mark), Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(
Sombra), Button(Ability 1))));
"┏━[ Enable ]"
Else;
Set Invisible(Event Player.PLAYERS[0], All);
Event Player.PLAYERS[0].INVISIBILITY = True;
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(White), Event Player.PLAYERS[0], 50);
Small Message(Event Player, Custom String("({0}) {1}'s {2} Invisibility Enabled. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(
Hero(Sombra), Button(Ability 1))));
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} Enabled Your {2} Invisibility. ({0})", Icon String(
Exclamation Mark), Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(
Sombra), Button(Ability 1))));
End;
End;
Else;
Play Effect(Event Player, Debuff Impact Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) Only host player and \"IRLININ\" can use this on other administrator. ({0})",
Icon String(Exclamation Mark)));
End;
}
}
rule("[CONTROL MODE] • «(2) Status Applier (Self)» Applying")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Is Button Held(Event Player, Button(Primary Fire)) || Is Button Held(Event Player, Button(Secondary Fire)) || Is Button Held(
Event Player, Button(Ultimate)) || Is Button Held(Event Player, Button(Ability 2)) || Is Button Held(Event Player, Button(
Ability 1)) || Is Button Held(Event Player, Button(Melee))) == True;
Event Player.MODE == 2;
Event Player.USING_CONTROL_MODE == True;
Event Player.USING_MENU == False;
}
actions
{
"┏━[ Killing/Resurrecting ]"
If(Is Button Held(Event Player, Button(Primary Fire)));
"┏━[ Kill ]"
If(Is Alive(Event Player));
Kill(Event Player, Null);
"┏━[ Resurrect ]"
Else;
If(Position Of(Event Player) != Nearest Walkable Position(Event Player));
Teleport(Event Player, Nearest Walkable Position(Event Player));
End;
Resurrect(Event Player);
End;
"┏━[ Hacking ]"
Else If(Is Button Held(Event Player, Button(Secondary Fire)));
"┏━[ Unhack ]"
If(Has Status(Event Player, Hacked));
Clear Status(Event Player, Hacked);
"┏━[ Hack ]"
Else;
Set Status(Event Player, Null, Hacked, Match Time);
End;
"┏━[ Freezing ]"
Else If(Is Button Held(Event Player, Button(Ultimate)));
"┏━[ Unfreeze ]"
If(Has Status(Event Player, Frozen));
Clear Status(Event Player, Frozen);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Sky Blue), Event Player, 1);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Sky Blue), Event Player, 50);
"┏━[ Freeze ]"
Else;
Set Status(Event Player, Null, Frozen, Match Time);
Play Effect(All Players(All Teams), Bad Pickup Effect, Color(Sky Blue), Event Player, 1);
Play Effect(All Players(All Teams), Explosion Sound, Color(Sky Blue), Event Player, 50);
End;
Play Effect(All Players(All Teams), Ring Explosion, Color(Sky Blue), Event Player, 3);
"┏━[ Knocking Down ]"
Else If(Is Button Held(Event Player, Button(Ability 2)));
"┏━[ Unknock Down ]"
If(Has Status(Event Player, Knocked Down));
Clear Status(Event Player, Knocked Down);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Gray), Event Player, 1);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Gray), Event Player, 50);
"┏━[ Knock Down ]"
Else;
Set Status(Event Player, Null, Knocked Down, Match Time);
Play Effect(All Players(All Teams), Bad Pickup Effect, Color(Gray), Event Player, 1);
Play Effect(All Players(All Teams), Explosion Sound, Color(Gray), Event Player, 50);
End;
Play Effect(All Players(All Teams), Ring Explosion, Color(Gray), Event Player, 3);
"┏━[ Burning ]"
Else If(Is Button Held(Event Player, Button(Ability 1)));
"┏━[ Unburn ]"
If(Has Status(Event Player, Burning));
Clear Status(Event Player, Burning);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Orange), Event Player, 1);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Orange), Event Player, 50);
"┏━[ Burn ]"
Else;
Set Status(Event Player, Null, Burning, Match Time);
Play Effect(All Players(All Teams), Bad Pickup Effect, Color(Orange), Event Player, 1);
Play Effect(All Players(All Teams), Explosion Sound, Color(Orange), Event Player, 50);
End;
Play Effect(All Players(All Teams), Ring Explosion, Color(Orange), Event Player, 3);
"┏━[ Invisibility ]"
Else If(Is Button Held(Event Player, Button(Melee)));
"┏━[ Disable ]"
If(Event Player.INVISIBILITY);
Set Invisible(Event Player, None);
Event Player.INVISIBILITY = False;
Play Effect(Event Player, Explosion Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) {1} Invisibility Disabled. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Sombra), Button(Ability 1))));
"┏━[ Enable ]"
Else;
Set Invisible(Event Player, All);
Event Player.INVISIBILITY = True;
Play Effect(Event Player, Ring Explosion Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) {1} Invisibility Enabled. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Sombra), Button(Ability 1))));
End;
End;
}
}
rule("[CONTROL MODE] • «(3) Teleport» Applying")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Is Button Held(Event Player, Button(Primary Fire)) || Is Button Held(Event Player, Button(Secondary Fire)) || Is Button Held(
Event Player, Button(Ultimate))) == True;
Event Player.MODE == 3;
Event Player.USING_CONTROL_MODE == True;
Event Player.USING_MENU == False;
(Is Button Held(Event Player, Button(Ultimate)) ? True : Entity Exists(Event Player.PLAYERS[0])) == True;
}
actions
{
"┏━[ Teleport Yourself ]"
If(Is Button Held(Event Player, Button(Primary Fire)));
Teleport(Event Player, Event Player.PLAYERS[0]);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Sky Blue), Event Player, 1);
Play Effect(All Players(All Teams), Ring Explosion, Color(Sky Blue), Event Player, 3);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Sky Blue), Event Player, 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} {2} Teleported To You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Sombra), Button(
Ability 2))));
Small Message(Event Player, Custom String("({0}) {1} Teleported To {2}. ({0})", Icon String(Exclamation Mark), Ability Icon String(
Hero(Sombra), Button(Ability 2)), Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])),
Event Player.PLAYERS[0])));
"┏━[ Teleport Player ]"
Else If(Is Button Held(Event Player, Button(Secondary Fire)));
"┏━[ Check Privilege ]"
If(Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player)));
"┏━[ Immune ]"
If(Custom String("{0}", Event Player) != Custom String("IRLININ") && Event Player != Host Player ? !Array Contains(
Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player.PLAYERS[0])) : True);
Teleport(Event Player.PLAYERS[0], Event Player);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Sky Blue), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Ring Explosion, Color(Sky Blue), Event Player.PLAYERS[0], 3);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Sky Blue), Event Player.PLAYERS[0], 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} {2} Teleported You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Sombra), Button(
Ability 2))));
Small Message(Event Player, Custom String("({0}) {1} {2} Teleported. ({0})", Icon String(Exclamation Mark), Custom String(
"[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(Hero(Sombra),
Button(Ability 2))));
Else;
Play Effect(Event Player, Debuff Impact Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) Only host player and \"IRLININ\" can use this on other administrator. ({0})",
Icon String(Exclamation Mark)));
End;
Else;
Play Effect(Event Player, Debuff Impact Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) Only {1} Administrators Can Use This. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Zarya), Button(Ability 1))));
End;
"┏━[ Straight Teleport ]"
Else If(Is Button Held(Event Player, Button(Ultimate)));
Wait Until(!Is Button Held(Event Player, Button(Ultimate)), Match Time);
Teleport(Event Player, Eye Position(Event Player) + Facing Direction Of(Event Player) * Global.WORKSHOP_SETTINGS[1]);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Sky Blue), Event Player, 1);
Play Effect(All Players(All Teams), Ring Explosion, Color(Sky Blue), Event Player, 3);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Sky Blue), Event Player, 50);
End;
}
}
rule("[CONTROL MODE] • «(4) Hero Settings (Others)» Applying")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Is Button Held(Event Player, Button(Primary Fire)) || Is Button Held(Event Player, Button(Secondary Fire)) || Is Button Held(
Event Player, Button(Ultimate))) == True;
Event Player.MODE == 4;
Event Player.USING_CONTROL_MODE == True;
Event Player.USING_MENU == False;
Entity Exists(Event Player.PLAYERS[0]) == True;
}
actions
{
"┏━[ No Applying Conflict ]"
If(!Event Player.PLAYERS[0].SETTINGS_BEING_CHANGED);
"┏━[ Immune ]"
If(Custom String("{0}", Event Player) != Custom String("IRLININ") && Event Player != Host Player ? !Array Contains(
Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player.PLAYERS[0])) : True);
"┏━[ Reset Setting ]"
If(Is Button Held(Event Player, Button(Ability 2)));
"┏━[ Voice Pitch ]"
If(Is Button Held(Event Player, Button(Primary Fire)));
Event Player.PLAYERS[0].PLAYER_SETTINGS[0] = 1;
Play Effect(Event Player, Ring Explosion Sound, Color(White), Event Player, 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} Reset Your {2} Voice Pitch. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Lúcio), Button(
Secondary Fire))));
Small Message(Event Player, Custom String("({0}) {1}'s {2} Voice Pitch Has Reset. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(
Hero(Lúcio), Button(Secondary Fire))));
"┏━[ Hero Scale ]"
Else If(Is Button Held(Event Player, Button(Secondary Fire)));
Event Player.PLAYERS[0].PLAYER_SETTINGS[1] = 1;
If(!Event Player.PLAYERS[0].GHOST_MODE);
Enable Movement Collision With Environment(Event Player.PLAYERS[0]);
End;
Play Effect(Event Player, Ring Explosion Sound, Color(White), Event Player, 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} Reset Your {2} Hero Scale. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Baptiste), Button(
Crouch))));
Small Message(Event Player, Custom String("({0}) {1}'s {2} Hero Scale Has Reset. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(
Hero(Baptiste), Button(Crouch))));
"┏━[ Projectile Speed ]"
Else If(Is Button Held(Event Player, Button(Ultimate)));
Event Player.PLAYERS[0].PLAYER_SETTINGS[2] = 1;
Set Projectile Speed(Event Player.PLAYERS[0], 100);
Set Projectile Gravity(Event Player.PLAYERS[0], 100);
Play Effect(Event Player, Ring Explosion Sound, Color(White), Event Player, 50);
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} Reset Your {2} Projectile Speed. ({0})", Icon String(
Exclamation Mark), Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(
Pharah), Button(Ultimate))));
Small Message(Event Player, Custom String("({0}) {1}'s {2} Projectile Speed Has Reset. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Ability Icon String(
Hero(Pharah), Button(Ultimate))));
End;
"┏━[ Changing Setting ]"
Else;
Event Player.CONDITION_VALUES[0] = Vertical Facing Angle Of(Event Player);
Event Player.PLAYERS[0].SETTINGS_BEING_CHANGED = True;
"┏━[ Voice Pitch ]"
If(Is Button Held(Event Player, Button(Primary Fire)));
Event Player.CONDITION_VALUES[1] = Event Player.PLAYERS[0].PLAYER_SETTINGS[0];
While(Is Button Held(Event Player, Button(Primary Fire)));
If(Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 <= 1.500 && Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 >= 0.500);
Event Player.PLAYERS[0].PLAYER_SETTINGS[0] = Event Player.CONDITION_VALUES[1] + (
Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player)) / 20;
End;
Wait(0.016, Ignore Condition);
End;
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} Changed Your {2}. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Custom String("{0} Voice Pitch To [{1}]",
Ability Icon String(Hero(Lúcio), Button(Secondary Fire)), Event Player.PLAYERS[0].PLAYER_SETTINGS[0])));
"┏━[ Hero Scale ]"
Else If(Is Button Held(Event Player, Button(Secondary Fire)));
Event Player.CONDITION_VALUES[1] = Event Player.PLAYERS[0].PLAYER_SETTINGS[1];
While(Is Button Held(Event Player, Button(Secondary Fire)));
If(Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 <= 10 && Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 >= 0.100);
Event Player.PLAYERS[0].PLAYER_SETTINGS[1] = Event Player.CONDITION_VALUES[1] + (
Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player)) / 20;
If(Event Player.PLAYERS[0].PLAYER_SETTINGS[1] >= 1.500);
Disable Movement Collision With Environment(Event Player.PLAYERS[0], False);
Else If(!Event Player.PLAYERS[0].GHOST_MODE);
Enable Movement Collision With Environment(Event Player.PLAYERS[0]);
End;
End;
Wait(0.016, Ignore Condition);
End;
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} Changed Your {2}. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Custom String("{0} Hero Scale To [{1}]",
Ability Icon String(Hero(Baptiste), Button(Crouch)), Event Player.PLAYERS[0].PLAYER_SETTINGS[1])));
"┏━[ Projectile Speed ]"
Else If(Is Button Held(Event Player, Button(Ultimate)));
Event Player.CONDITION_VALUES[1] = Event Player.PLAYERS[0].PLAYER_SETTINGS[2];
While(Is Button Held(Event Player, Button(Ultimate)));
If(Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 <= 3 && Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 >= 0);
Event Player.PLAYERS[0].PLAYER_SETTINGS[2] = Event Player.CONDITION_VALUES[1] + (
Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player)) / 20;
Set Projectile Speed(Event Player.PLAYERS[0], Event Player.PLAYERS[0].PLAYER_SETTINGS[2] * 100);
Set Projectile Gravity(Event Player.PLAYERS[0], Event Player.PLAYERS[0].PLAYER_SETTINGS[2] * 100);
End;
Wait(0.016, Ignore Condition);
End;
Small Message(Event Player.PLAYERS[0], Custom String("({0}) {1} Changed Your {2}. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Custom String(
"{0} Projectile Speed To [{1}]", Ability Icon String(Hero(Pharah), Button(Ultimate)),
Event Player.PLAYERS[0].PLAYER_SETTINGS[2])));
End;
Event Player.PLAYERS[0].SETTINGS_BEING_CHANGED = False;
End;
Else;
Play Effect(Event Player, Debuff Impact Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) Only host player and \"IRLININ\" can use this on other administrator. ({0})",
Icon String(Exclamation Mark)));
End;
Else;
Play Effect(Event Player, Debuff Impact Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) Player's Settings Are Being Changed By Someone Already. ({0})", Icon String(
Exclamation Mark)));
End;
}
}
rule("[CONTROL MODE] • «(5) Hero Settings (Self)» Applying")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Is Button Held(Event Player, Button(Primary Fire)) || Is Button Held(Event Player, Button(Secondary Fire)) || Is Button Held(
Event Player, Button(Ultimate))) == True;
Event Player.MODE == 5;
Event Player.USING_CONTROL_MODE == True;
Event Player.USING_MENU == False;
}
actions
{
"┏━[ No Applying Conflict ]"
If(!Event Player.SETTINGS_BEING_CHANGED);
"┏━[ Reset Setting ]"
If(Is Button Held(Event Player, Button(Ability 2)));
"┏━[ Voice Pitch ]"
If(Is Button Held(Event Player, Button(Primary Fire)));
Event Player.PLAYER_SETTINGS[0] = 1;
Play Effect(Event Player, Ring Explosion Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) {1} Voice Pitch Has Reset {2}. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Lúcio), Button(Secondary Fire)), Icon String(Recycle)));
"┏━[ Hero Scale ]"
Else If(Is Button Held(Event Player, Button(Secondary Fire)));
Event Player.PLAYER_SETTINGS[1] = 1;
If(!Event Player.GHOST_MODE);
Enable Movement Collision With Environment(Event Player);
End;
Play Effect(Event Player, Ring Explosion Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) {1} Hero Scale Has Reset {2}. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Baptiste), Button(Crouch)), Icon String(Recycle)));
"┏━[ Projectile Speed ]"
Else If(Is Button Held(Event Player, Button(Ultimate)));
Event Player.PLAYER_SETTINGS[2] = 1;
Set Projectile Speed(Event Player, 100);
Set Projectile Gravity(Event Player, 100);
Play Effect(Event Player, Ring Explosion Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) {1} Projectile Speed Has Reset {2}. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Pharah), Button(Ultimate)), Icon String(Recycle)));
End;
"┏━[ Changing Setting ]"
Else;
Event Player.CONDITION_VALUES[0] = Vertical Facing Angle Of(Event Player);
Event Player.SETTINGS_BEING_CHANGED = True;
"┏━[ Voice Pitch ]"
If(Is Button Held(Event Player, Button(Primary Fire)));
Event Player.CONDITION_VALUES[1] = Event Player.PLAYER_SETTINGS[0];
While(Is Button Held(Event Player, Button(Primary Fire)));
If(Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 <= 1.500 && Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 >= 0.500);
Event Player.PLAYER_SETTINGS[0] = Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(
Event Player)) / 20;
End;
Wait(0.016, Ignore Condition);
End;
"┏━[ Hero Scale ]"
Else If(Is Button Held(Event Player, Button(Secondary Fire)));
Event Player.CONDITION_VALUES[1] = Event Player.PLAYER_SETTINGS[1];
While(Is Button Held(Event Player, Button(Secondary Fire)));
If(Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 <= 10 && Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 >= 0.100);
Event Player.PLAYER_SETTINGS[1] = Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(
Event Player)) / 20;
If(Event Player.PLAYER_SETTINGS[1] >= 1.500);
Disable Movement Collision With Environment(Event Player, False);
Else If(!Event Player.GHOST_MODE);
Enable Movement Collision With Environment(Event Player);
End;
End;
Wait(0.016, Ignore Condition);
End;
"┏━[ Projectile Speed ]"
Else If(Is Button Held(Event Player, Button(Ultimate)));
Event Player.CONDITION_VALUES[1] = Event Player.PLAYER_SETTINGS[2];
While(Is Button Held(Event Player, Button(Ultimate)));
If(Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 <= 3 && Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(Event Player))
/ 20 >= 0);
Event Player.PLAYER_SETTINGS[2] = Event Player.CONDITION_VALUES[1] + (Event Player.CONDITION_VALUES[0] - Vertical Facing Angle Of(
Event Player)) / 20;
Set Projectile Speed(Event Player, Event Player.PLAYER_SETTINGS[2] * 100);
Set Projectile Gravity(Event Player, Event Player.PLAYER_SETTINGS[2] * 100);
End;
Wait(0.016, Ignore Condition);
End;
End;
Event Player.SETTINGS_BEING_CHANGED = False;
End;
Else;
Play Effect(Event Player, Debuff Impact Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) Your Settings Are Being Changed By Someone Already. ({0})", Icon String(
Exclamation Mark)));
End;
}
}
rule("[CONTROL MODE] • «(6) Miscellaneous» Applying")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Is Button Held(Event Player, Button(Primary Fire)) || Is Button Held(Event Player, Button(Secondary Fire)) || Is Button Held(
Event Player, Button(Ultimate))) == True;
Event Player.MODE == 6;
Event Player.USING_CONTROL_MODE == True;
Event Player.USING_MENU == False;
(Is Button Held(Event Player, Button(Ultimate)) ? True : Entity Exists(Event Player.PLAYERS[0])) == True;
}
actions
{
"┏━[ Attaching ]"
If(Is Button Held(Event Player, Button(Primary Fire)) && !Event Player.PLAYERS[2]);
"┏━[ Detach ]"
If(Event Player.PLAYERS[1]);
Detach Players(Event Player);
Event Player.PLAYERS[1] = False;
"┏━[ Attach ]"
Else;
Event Player.PLAYERS[1] = Event Player.PLAYERS[0];
Attach Players(Event Player, Event Player.PLAYERS[1], Vector(0, Distance Between(Event Player.PLAYERS[1], Eye Position(
Event Player.PLAYERS[1])), 0));
Small Message(Event Player.PLAYERS[1], Custom String("({0}) {1} {2} Attached To You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Wrecking Ball),
Button(Secondary Fire))));
Small Message(Event Player, Custom String("({0}) {1} Attached To {2}. ({0})", Icon String(Exclamation Mark), Ability Icon String(
Hero(Wrecking Ball), Button(Secondary Fire)), Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player.PLAYERS[1])),
Event Player.PLAYERS[1])));
End;
"┏━[ Grabbing ]"
Else If(Is Button Held(Event Player, Button(Secondary Fire)) && !Event Player.PLAYERS[1]);
"┏━[ Release ]"
If(Event Player.PLAYERS[2]);
Stop Forcing Player Position(Event Player.PLAYERS[2]);
Event Player.PLAYERS[2] = False;
Else;
"┏━[ Check Privilege ]"
If(Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player)));
"┏━[ Immune ]"
If(Custom String("{0}", Event Player) != Custom String("IRLININ") && Event Player != Host Player ? !Array Contains(
Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player.PLAYERS[0])) : True);
"┏━[ No Grabbing Conflict ]"
If(!Is True For Any(All Players(All Teams), Current Array Element.PLAYERS[2] == Event Player.PLAYERS[0]));
Event Player.PLAYERS[2] = Event Player.PLAYERS[0];
Start Forcing Player Position(Event Player.PLAYERS[2], Update Every Frame(Eye Position(Event Player) + Facing Direction Of(
Event Player) * 5 + Cross Product(World Vector Of(Left, Event Player, Rotation), Facing Direction Of(Event Player))), True);
"┏━[ Ressurect Dead Player ]"
If(Is Dead(Event Player.PLAYERS[2]));
Resurrect(Event Player.PLAYERS[2]);
End;
Small Message(Event Player.PLAYERS[2], Custom String("({0}) {1} {2} Grabbed You. ({0})", Icon String(Exclamation Mark),
Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)), Event Player), Ability Icon String(Hero(Moira), Button(
Secondary Fire))));
Small Message(Event Player, Custom String("({0}) {1} {2} Grabbed. ({0})", Icon String(Exclamation Mark), Custom String("[{0}] {1}",
Hero Icon String(Hero Of(Event Player.PLAYERS[2])), Event Player.PLAYERS[2]), Ability Icon String(Hero(Moira), Button(
Secondary Fire))));
Else;
Play Effect(Event Player, Debuff Impact Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) Player Is Grabbed By Someone Already. ({0})", Icon String(Exclamation Mark)));
End;
Else;
Play Effect(Event Player, Debuff Impact Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) Only host player and \"IRLININ\" can use this on other administrator. ({0})",
Icon String(Exclamation Mark)));
End;
Else;
Play Effect(Event Player, Debuff Impact Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) Only {1} Administrators Can Use This. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Zarya), Button(Ability 1))));
End;
End;
"┏━[ Ghost Mode ]"
Else If(Is Button Held(Event Player, Button(Ultimate)));
"┏━[ Disable ]"
If(Event Player.GHOST_MODE);
Set Gravity(Event Player, 100);
Enable Movement Collision With Environment(Event Player);
If(Event Player.PLAYER_SETTINGS[1] >= 1.500);
Disable Movement Collision With Environment(Event Player, False);
End;
Event Player.GHOST_MODE = False;
Allow Button(Event Player, Button(Crouch));
Allow Button(Event Player, Button(Jump));
Stop Accelerating(Event Player);
Play Effect(All Players(All Teams), Bad Pickup Effect, Color(White), Event Player, 1);
Play Effect(All Players(All Teams), Ring Explosion, Color(White), Event Player, 3);
Play Effect(All Players(All Teams), Explosion Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) {1} Ghost Mode Disabled. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Moira), Button(Ability 1))));
"┏━[ Enable ]"
Else;
Set Gravity(Event Player, 0);
Event Player.GHOST_MODE = True;
Disallow Button(Event Player, Button(Crouch));
Disallow Button(Event Player, Button(Jump));
Disable Movement Collision With Environment(Event Player, True);
Play Effect(All Players(All Teams), Good Pickup Effect, Color(White), Event Player, 1);
Play Effect(All Players(All Teams), Ring Explosion, Color(White), Event Player, 3);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) {1} Ghost Mode Enabled. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Moira), Button(Ability 1))));
End;
}
}
rule("[CONTROL MODE] • «(7) Access Settings» Applying")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Is Button Held(Event Player, Button(Primary Fire)) || Is Button Held(Event Player, Button(Secondary Fire)) || Is Button Held(
Event Player, Button(Ultimate)) || Is Button Held(Event Player, Button(Ability 2)) || Is Button Held(Event Player, Button(
Ability 1))) == True;
Event Player.MODE == 7;
Event Player.USING_CONTROL_MODE == True;
Event Player.USING_MENU == False;
Entity Exists(Event Player.PLAYERS[0]) == True;
}
actions
{
"┏━[ Immune ]"
If(Custom String("{0}", Event Player) != Custom String("IRLININ") && Event Player != Host Player ? !Array Contains(
Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player.PLAYERS[0])) : True);
"┏━[ Kick ]"
If(Is Button Held(Event Player, Button(Primary Fire)));
Remove Player(Event Player.PLAYERS[0]);
Big Message(All Players(All Teams), Custom String("{0} Is Kicked By {1}! {2}", Custom String("[{0}] {1}", Hero Icon String(Hero Of(
Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)),
Event Player), Icon String(Warning)));
"┏━[ Ban ]"
Else If(Is Button Held(Event Player, Button(Secondary Fire)));
"┏━[ Dublicate Values Fix ]"
If(!Array Contains(Global.BAN_LIST, Event Player.PLAYERS[0]));
Modify Global Variable(BAN_LIST, Append To Array, Custom String("{0}", Event Player.PLAYERS[0]));
Big Message(All Players(All Teams), Custom String("{0} Is Banned By {1}! {2}", Custom String("[{0}] {1}", Hero Icon String(Hero Of(
Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)),
Event Player), Icon String(No)));
End;
"┏━[ Mute Voice ]"
Else If(Is Button Held(Event Player, Button(Ultimate)));
If(Array Contains(Global.MUTE_LIST, Custom String("{0}", Event Player.PLAYERS[0])));
Modify Global Variable(MUTE_LIST, Remove From Array By Value, Custom String("{0}", Event Player.PLAYERS[0]));
Enable Voice Chat(Event Player.PLAYERS[0]);
Big Message(All Players(All Teams), Custom String("{0} Is Unmuted By {1}! {2}", Custom String("[{0}] {1}", Hero Icon String(
Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Custom String("[{0}] {1}", Hero Icon String(Hero Of(
Event Player)), Event Player), Ability Icon String(Hero(Lúcio), Button(Ultimate))));
Else;
Modify Global Variable(MUTE_LIST, Append To Array, Custom String("{0}", Event Player.PLAYERS[0]));
Big Message(All Players(All Teams), Custom String("{0} Is Muted By {1}! {2}", Custom String("[{0}] {1}", Hero Icon String(Hero Of(
Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Custom String("[{0}] {1}", Hero Icon String(Hero Of(Event Player)),
Event Player), Ability Icon String(Hero(Lúcio), Button(Ultimate))));
End;
"┏━[ Make/Remove VIP Player ]"
Else If(Is Button Held(Event Player, Button(Ability 2)));
"┏━[ Remove VIP ]"
If(Array Contains(Global.VIP_LIST, Custom String("{0}", Event Player.PLAYERS[0])));
Modify Global Variable(VIP_LIST, Remove From Array By Value, Custom String("{0}", Event Player.PLAYERS[0]));
Event Player.PLAYERS[0].MODE = 0;
Detach Players(Event Player.PLAYERS[0]);
Set Gravity(Event Player.PLAYERS[0], 100);
Enable Movement Collision With Environment(Event Player.PLAYERS[0]);
Allow Button(Event Player.PLAYERS[0], Button(Crouch));
Allow Button(Event Player.PLAYERS[0], Button(Jump));
Stop Accelerating(Event Player.PLAYERS[0]);
Event Player.PLAYERS[0].PLAYERS[1] = Null;
Event Player.PLAYERS[0].GHOST_MODE = False;
Event Player.PLAYERS[0].RELOAD_BIND = False;
Stop Forcing Player Outlines(Event Player.PLAYERS[0], All Players(All Teams));
Play Effect(All Players(All Teams), Bad Pickup Effect, Color(White), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Ring Explosion, Color(White), Event Player.PLAYERS[0], 3);
Play Effect(All Players(All Teams), Debuff Impact Sound, Color(White), Event Player.PLAYERS[0], 50);
Big Message(All Players(All Teams), Custom String("{0} Demote {1} To An Unprivileged Player! {2}", Custom String("[{0}] {1}",
Hero Icon String(Hero Of(Event Player)), Event Player), Custom String("[{0}] {1}", Hero Icon String(Hero Of(
Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Icon String(Sad)));
Else;
"┏━[ Check Administration ]"
If(Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player.PLAYERS[0])));
Modify Global Variable(ADMINISTRATOR_LIST, Remove From Array By Value, Custom String("{0}", Event Player.PLAYERS[0]));
Stop Forcing Player Position(Event Player.PLAYERS[0].PLAYERS[2]);
Event Player.PLAYERS[0].PLAYERS[2] = Null;
Big Message(All Players(All Teams), Custom String("{0} Demote {1} To A Vip Player! {2}", Custom String("[{0}] {1}",
Hero Icon String(Hero Of(Event Player)), Event Player), Custom String("[{0}] {1}", Hero Icon String(Hero Of(
Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Icon String(Sad)));
"┏━[ Make VIP ]"
Else;
Big Message(All Players(All Teams), Custom String("{1} Promote {0} To A Vip Player! {2}", Custom String("[{0}] {1}",
Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Custom String("[{0}] {1}", Hero Icon String(
Hero Of(Event Player)), Event Player), Icon String(Happy)));
End;
Modify Global Variable(VIP_LIST, Append To Array, Custom String("{0}", Event Player.PLAYERS[0]));
End;
"┏━[ Make/Remove Administrator ]"
Else If(Is Button Held(Event Player, Button(Ability 1)));
"┏━[ Immune ]"
If(Custom String("{0}", Event Player) == Custom String("IRLININ") || Event Player == Host Player);
"┏━[ Remove Administrator ]"
If(Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player.PLAYERS[0])));
Modify Global Variable(ADMINISTRATOR_LIST, Remove From Array By Value, Custom String("{0}", Event Player.PLAYERS[0]));
Event Player.PLAYERS[0].MODE = 0;
Detach Players(Event Player.PLAYERS[0]);
Stop Forcing Player Position(Event Player.PLAYERS[0].PLAYERS[2]);
Set Gravity(Event Player.PLAYERS[0], 100);
Enable Movement Collision With Environment(Event Player.PLAYERS[0]);
Allow Button(Event Player.PLAYERS[0], Button(Crouch));
Allow Button(Event Player.PLAYERS[0], Button(Jump));
Stop Accelerating(Event Player.PLAYERS[0]);
Event Player.PLAYERS[0].PLAYERS[1] = Null;
Event Player.PLAYERS[0].PLAYERS[2] = Null;
Event Player.PLAYERS[0].GHOST_MODE = False;
Event Player.PLAYERS[0].RELOAD_BIND = False;
Stop Forcing Player Outlines(Event Player.PLAYERS[0], All Players(All Teams));
Play Effect(All Players(All Teams), Bad Pickup Effect, Color(White), Event Player.PLAYERS[0], 1);
Play Effect(All Players(All Teams), Ring Explosion, Color(White), Event Player.PLAYERS[0], 3);
Play Effect(All Players(All Teams), Debuff Impact Sound, Color(White), Event Player.PLAYERS[0], 50);
Big Message(All Players(All Teams), Custom String("{0} Demote {1} To An Unprivileged Player! {2}", Custom String("[{0}] {1}",
Hero Icon String(Hero Of(Event Player)), Event Player), Custom String("[{0}] {1}", Hero Icon String(Hero Of(
Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Icon String(Sad)));
Else;
"┏━[ Check VIP ]"
If(Array Contains(Global.VIP_LIST, Custom String("{0}", Event Player.PLAYERS[0])));
Modify Global Variable(VIP_LIST, Remove From Array By Value, Custom String("{0}", Event Player.PLAYERS[0]));
"┏━[ Make Administrator ]"
End;
Modify Global Variable(ADMINISTRATOR_LIST, Append To Array, Custom String("{0}", Event Player.PLAYERS[0]));
Big Message(All Players(All Teams), Custom String("{1} Promote {0} To An Administrator! {2}", Custom String("[{0}] {1}",
Hero Icon String(Hero Of(Event Player.PLAYERS[0])), Event Player.PLAYERS[0]), Custom String("[{0}] {1}", Hero Icon String(
Hero Of(Event Player)), Event Player), Icon String(Happy)));
End;
Else;
Play Effect(Event Player, Debuff Impact Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) Only host player and \"IRLININ\" can use this. ({0})", Icon String(
Exclamation Mark)));
End;
End;
Else;
Play Effect(Event Player, Debuff Impact Sound, Color(White), Event Player, 50);
Small Message(Event Player, Custom String("({0}) Only host player and \"IRLININ\" can use this on other administrator. ({0})",
Icon String(Exclamation Mark)));
End;
}
}
disabled rule("┏━━━━━━┃BACKGROUND┃━━━━━━┓")
{
event
{
Ongoing - Global;
}
}
rule("[BACKGROUND] • Target Updating")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Event Player.PLAYERS[0] != Player Closest To Reticle(Event Player, All Teams);
Event Player.USING_CONTROL_MODE == True;
(Array Contains(Global.VIP_LIST, Custom String("{0}", Event Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String(
"{0}", Event Player))) == True;
(Event Player.MODE == 4 ? !Is Button Held(Event Player, Button(Primary Fire)) && !Is Button Held(Event Player, Button(
Secondary Fire)) && !Is Button Held(Event Player, Button(Ultimate)) : True) == True;
}
actions
{
Event Player.PLAYERS[0] = Player Closest To Reticle(Event Player, All Teams);
}
}
rule("[BACKGROUND] • Ghost Mode Vertical Controls")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Is Button Held(Event Player, Button(Jump)) || Is Button Held(Event Player, Button(Crouch))) == True;
Event Player.GHOST_MODE == True;
Event Player.USING_MENU == False;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Move Up ]"
If(Is Button Held(Event Player, Button(Jump)));
Start Accelerating(Event Player, Up, 10, 2, To World, None);
Wait Until(!Is Button Held(Event Player, Button(Jump)), Match Time);
"┏━[ Move Down ]"
Else;
Start Accelerating(Event Player, Down, 10, 2, To World, None);
Wait Until(!Is Button Held(Event Player, Button(Crouch)), Match Time);
End;
"┏━[ Stop Moving ]"
Stop Accelerating(Event Player);
}
}
rule("[BACKGROUND] • \"Kill/Resurrect Self\" On Reload")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Reload)) == True;
Event Player.USING_MENU == False;
Event Player.RELOAD_BIND == True;
}
actions
{
"┏━[ Kill ]"
If(Is Alive(Event Player));
Kill(Event Player, Event Player);
"┏━[ Resurrect ]"
Else;
If(Position Of(Event Player) != Nearest Walkable Position(Event Player));
Teleport(Event Player, Nearest Walkable Position(Event Player));
End;
Resurrect(Event Player);
End;
}
}
rule("[BACKGROUND] • Applying Ban")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Array Contains(Global.BAN_LIST, Custom String("{0}", Event Player)) == True;
}
actions
{
Wait(0.200, Ignore Condition);
"┏━[ Ban Message ]"
Small Message(All Players(All Teams), Custom String("({0}) {1} {2} Is Banned Until Next Restart. ({0})", Icon String(
Exclamation Mark), Icon String(No), Event Player));
"┏━[ Kick ]"
Remove Player(Event Player);
}
}
rule("[BACKGROUND] • Applying Mute")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Array Contains(Global.MUTE_LIST, Custom String("{0}", Event Player)) == True;
}
actions
{
Wait(0.200, Ignore Condition);
"┏━[ Mute Message ]"
Small Message(All Players(All Teams), Custom String("({0}) {1} {2} Is Muted And Can't Use Voice Chat Until Next Restart. ({0})",
Icon String(Exclamation Mark), Icon String(No), Event Player));
"┏━[ Mute ]"
Disable Voice Chat(Event Player, True, True, False);
}
}
rule("[BACKGROUND] • Applying VIP Privilege")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Array Contains(Global.VIP_LIST, Custom String("{0}", Event Player)) == True;
}
actions
{
"┏━[ VIP Message ]"
Small Message(Event Player, Custom String("({0}) {1} You got a vip privilege. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Zarya), Button(Ability 2))));
"┏━[ Change Mode ]"
Event Player.MODE = 2;
"┏━[ Outline ]"
Start Forcing Player Outlines(Event Player, All Players(All Teams), True, Color(Yellow), Always);
"┏━[ Effects ]"
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Yellow), Event Player, 1);
Play Effect(All Players(All Teams), Ring Explosion, Color(Yellow), Event Player, 3);
Play Effect(All Players(All Teams), Buff Impact Sound, Color(Yellow), Event Player, 50);
}
}
rule("[BACKGROUND] • Applying Adm*nistrator Privilege")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Array Contains(Global.ADMINISTRATOR_LIST, Custom String("{0}", Event Player)) == True;
}
actions
{
"┏━[ Administrator Message ]"
Small Message(Event Player, Custom String("({0}) {1} You got an administator privilege. ({0})", Icon String(Exclamation Mark),
Ability Icon String(Hero(Zarya), Button(Ability 1))));
"┏━[ Change Mode ]"
Event Player.MODE = 1;
"┏━[ Outline ]"
Start Forcing Player Outlines(Event Player, All Players(All Teams), True, Color(Rose), Always);
"┏━[ Effects ]"
Play Effect(All Players(All Teams), Good Pickup Effect, Color(Rose), Event Player, 1);
Play Effect(All Players(All Teams), Ring Explosion, Color(Rose), Event Player, 3);
Play Effect(All Players(All Teams), Buff Impact Sound, Color(Rose), Event Player, 50);
}
}
rule("[BACKGROUND] • Outlines Reset (Fixes Outline Disappearing Bug)")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Array Contains(Global.VIP_LIST, Custom String("{0}", Event Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String(
"{0}", Event Player))) == True;
Event Player.HERO != Hero Of(Event Player);
}
actions
{
Event Player.HERO = Hero Of(Event Player);
Stop Forcing Player Outlines(Event Player, All Players(All Teams));
Wait(0.100, Ignore Condition);
If(Array Contains(Global.VIP_LIST, Custom String("{0}", Event Player)));
Start Forcing Player Outlines(Event Player, All Players(All Teams), True, Color(Yellow), Always);
Else;
Start Forcing Player Outlines(Event Player, All Players(All Teams), True, Color(Rose), Always);
End;
}
}
rule("[BACKGROUND] • Reset Ultimate For Privilege Players")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Array Contains(Global.VIP_LIST, Custom String("{0}", Event Player)) || Array Contains(Global.ADMINISTRATOR_LIST, Custom String(
"{0}", Event Player))) == True;
Ultimate Charge Percent(Event Player) == 0;
}
actions
{
Set Ultimate Charge(Event Player, 100);
}
}
rule("[BACKGROUND] • Match Restarting Warning")
{
event
{
Ongoing - Global;
}
conditions
{
Match Time <= 30;
}
actions
{
"┏━[ If 9 Seconds Left ]"
If(Match Time <= 9);
Play Effect(Players In Slot(0, Team 1), Explosion Sound, Color(White), Players In Slot(0, Team 1), 100);
Play Effect(Players In Slot(1, Team 1), Explosion Sound, Color(White), Players In Slot(1, Team 1), 100);
Play Effect(Players In Slot(2, Team 1), Explosion Sound, Color(White), Players In Slot(2, Team 1), 100);
Play Effect(Players In Slot(3, Team 1), Explosion Sound, Color(White), Players In Slot(3, Team 1), 100);
Play Effect(Players In Slot(4, Team 1), Explosion Sound, Color(White), Players In Slot(4, Team 1), 100);
Play Effect(Players In Slot(5, Team 1), Explosion Sound, Color(White), Players In Slot(5, Team 1), 100);
Play Effect(Players In Slot(6, Team 1), Explosion Sound, Color(White), Players In Slot(6, Team 1), 100);
Play Effect(Players In Slot(7, Team 1), Explosion Sound, Color(White), Players In Slot(7, Team 1), 100);
Play Effect(Players In Slot(8, Team 1), Explosion Sound, Color(White), Players In Slot(8, Team 1), 100);
Play Effect(Players In Slot(9, Team 1), Explosion Sound, Color(White), Players In Slot(9, Team 1), 100);
Play Effect(Players In Slot(10, Team 1), Explosion Sound, Color(White), Players In Slot(10, Team 1), 100);
Play Effect(Players In Slot(11, Team 1), Explosion Sound, Color(White), Players In Slot(11, Team 1), 100);
Wait(1, Ignore Condition);
Loop;
End;
"┏━[ When Message Appears ]"
Disable Game Mode HUD(All Players(All Teams));
Play Effect(Players In Slot(0, Team 1), Buff Impact Sound, Color(White), Players In Slot(0, Team 1), 100);
Play Effect(Players In Slot(1, Team 1), Buff Impact Sound, Color(White), Players In Slot(1, Team 1), 100);
Play Effect(Players In Slot(2, Team 1), Buff Impact Sound, Color(White), Players In Slot(2, Team 1), 100);
Play Effect(Players In Slot(3, Team 1), Buff Impact Sound, Color(White), Players In Slot(3, Team 1), 100);
Play Effect(Players In Slot(4, Team 1), Buff Impact Sound, Color(White), Players In Slot(4, Team 1), 100);
Play Effect(Players In Slot(5, Team 1), Buff Impact Sound, Color(White), Players In Slot(5, Team 1), 100);
Play Effect(Players In Slot(6, Team 1), Buff Impact Sound, Color(White), Players In Slot(6, Team 1), 100);
Play Effect(Players In Slot(7, Team 1), Buff Impact Sound, Color(White), Players In Slot(7, Team 1), 100);
Play Effect(Players In Slot(8, Team 1), Buff Impact Sound, Color(White), Players In Slot(8, Team 1), 100);
Play Effect(Players In Slot(9, Team 1), Buff Impact Sound, Color(White), Players In Slot(9, Team 1), 100);
Play Effect(Players In Slot(10, Team 1), Buff Impact Sound, Color(White), Players In Slot(10, Team 1), 100);
Play Effect(Players In Slot(11, Team 1), Buff Impact Sound, Color(White), Players In Slot(11, Team 1), 100);
Wait Until(Match Time <= 9, 99999);
Loop;
}
}
rule("[BACKGROUND] • Player Left Match")
{
event
{
Player Left Match;
All;
All;
}
actions
{
"┏━[ Goodbye Message ]"
Small Message(All Players(All Teams), Random Integer(1, 2) == 1 ? Custom String("See you later, {0}! {1}", Event Player,
Icon String(Sad)) : (Random Integer(1, 2) ? Custom String("Goodbye, {0}! {1}", Event Player, Icon String(Sad)) : Custom String(
"Come back later, {0}! {1}", Event Player, Icon String(Sad))));
"┏━[ Release Player Which Was Grabbed By Left Player ]"
Stop Forcing Player Position(Event Player.PLAYERS[2]);
"┏━[ Remove Left Player From PLAYERS Array ]"
Filtered Array(All Players(All Teams), Current Array Element.PLAYERS[0] == Event Player).PLAYERS[0] = Null;
Filtered Array(All Players(All Teams), Current Array Element.PLAYERS[1] == Event Player).PLAYERS[1] = False;
Filtered Array(All Players(All Teams), Current Array Element.PLAYERS[2] == Event Player).PLAYERS[2] = False;
}
}
rule("[BACKGROUND] • Initial Privilege/Prefix Giving (Contains Only The Best People, Besides Me ^^)")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Has Spawned(Event Player) == True;
}
actions
{
"┏━[ Administrators ] (!) Press [+] in this rule, then use nickname as custom string to give him/her privilege. (!)"
If(Is True For Any(Array(Custom String("IRLININ"), Custom String("LooneyBoy"), Custom String("MysteryBall")),
Current Array Element == Custom String("{0}", Event Player)));
Wait(0.200, Ignore Condition);
Modify Global Variable(ADMINISTRATOR_LIST, Append To Array, Custom String("{0}", Event Player));
"┏━[ VIP ] (!) Press [+] in this rule, then use nickname as custom string to give him/her privilege. (!)"
Else If(Is True For Any(Array(Custom String("NeyKro"), Custom String("Hijirido"), Custom String("StaNix"), Custom String("Roei"),
Custom String("aRGeNtA"), Custom String("Pufferfish"), Custom String("CUZIMPHILIP"), Custom String("Xenicia"), Custom String(
"Alyxtar"), Custom String("Ghost"), Custom String("BabyGirl"), Custom String("Floofles"), Custom String("StanLadyGaga")),
Current Array Element == Custom String("{0}", Event Player)));
Wait(0.200, Ignore Condition);
Modify Global Variable(VIP_LIST, Append To Array, Custom String("{0}", Event Player));
End;
"┏━[ Prefixes ] (!) Copy \"Else If\" and two actions below it, paste them and move above \"End\" and wrote your data to give player the prefix. (!)"
If(Custom String("{0}", Event Player) == Custom String("IRLININ"));
Create In-World Text(!Event Player.INVISIBILITY ? All Players(All Teams) : Null, Custom String("★ CREATOR ★"), Event Player, 1.500,
Clip Against Surfaces, Visible To, Color(Red), Default Visibility);
Event Player.PREFIX = Custom String("★ CREATOR ★");
Else If(Custom String("{0}", Event Player) == Custom String("LooneyBoy"));
Create In-World Text(!Event Player.INVISIBILITY ? All Players(All Teams) : Null, Custom String("♥ Sussy Baka ♥"), Event Player,
1.175, Clip Against Surfaces, Visible To, Color(Red), Default Visibility);
Event Player.PREFIX = Custom String("♥ Sussy Baka ♥");
Else If(Custom String("{0}", Event Player) == Custom String("MysteryBall"));
Create In-World Text(!Event Player.INVISIBILITY ? All Players(All Teams) : Null, Custom String("=LooneyBoy's Shadow Clone="),
Event Player, 0.900, Clip Against Surfaces, Visible To, Color(Orange), Default Visibility);
Event Player.PREFIX = Custom String("=LooneyBoy's Shadow Clone=");
Else If(Custom String("{0}", Event Player) == Custom String("StanLadyGaga"));
Create In-World Text(!Event Player.INVISIBILITY ? All Players(All Teams) : Null, Custom String("♥ Cutie ♥"), Event Player, 1.075,
Clip Against Surfaces, Visible To, Color(Rose), Default Visibility);
Event Player.PREFIX = Custom String("♥ Cutie ♥");
Else If(Custom String("{0}", Event Player) == Custom String("LonelySpirit"));
Create In-World Text(!Event Player.INVISIBILITY ? All Players(All Teams) : Null, Custom String("♥"), Event Player, 2.500,
Clip Against Surfaces, Visible To, Color(Rose), Default Visibility);
Event Player.PREFIX = Custom String("♥");
Else If(Custom String("{0}", Event Player) == Custom String("Roei"));
Create In-World Text(!Event Player.INVISIBILITY ? All Players(All Teams) : Null, Custom String("Cool Piano Player ♪"),
Event Player, 1, Clip Against Surfaces, Visible To, Color(Sky Blue), Default Visibility);
Event Player.PREFIX = Custom String("Cool Piano Player ♪");
Else If(Custom String("{0}", Event Player) == Custom String("aRGeNtA"));
Create In-World Text(!Event Player.INVISIBILITY ? All Players(All Teams) : Null, Custom String("Cool Piano Player ♪"),
Event Player, 1, Clip Against Surfaces, Visible To, Color(Sky Blue), Default Visibility);
Event Player.PREFIX = Custom String("Cool Piano Player ♪");
Else If(Custom String("{0}", Event Player) == Custom String("Clayne"));
Create In-World Text(!Event Player.INVISIBILITY ? All Players(All Teams) : Null, Custom String("Good Old Friend {0}", Icon String(
Happy)), Event Player, 1, Clip Against Surfaces, Visible To, Color(Yellow), Default Visibility);
Event Player.PREFIX = Custom String("Good Old Friend {0}", Icon String(Happy));
Else If(Custom String("{0}", Event Player) == Custom String("BabyGirl"));
Create In-World Text(!Event Player.INVISIBILITY ? All Players(All Teams) : Null, Custom String("{0} Cutest Mercy :3", Icon String(
Heart)), Event Player, 1, Clip Against Surfaces, Visible To, Color(Rose), Default Visibility);
Event Player.PREFIX = Custom String("{0} Cutest Mercy :3", Icon String(Heart));
End;
}
}
rule("[BACKGROUND] • Blacklist")
{
event
{
Player Joined Match;
All;
All;
}
actions
{
"┏━[ Blacklist ] (!) Press [+] in this rule, then use nickname as custom string to add player to blacklist. (!)"
disabled If(Is True For Any(Array(Custom String("")), Current Array Element == Custom String("{0}", Event Player)));
disabled Wait(0.200, Ignore Condition);
disabled Small Message(All Players(All Teams), Custom String("({0}) {1} {2} Is Temporary Banned. ({0})", Icon String(Exclamation Mark),
Icon String(No), Event Player));
disabled Remove Player(Event Player);
disabled End;
}
}
rule("[BACKGROUND] • First Piano Playing Effect")
{
event
{
Ongoing - Global;
}
conditions
{
Is True For Any(All Players(All Teams), Vertical Facing Angle Of(Current Array Element) >= 45 && Distance Between(Position Of(
Current Array Element), Vector(-84.850, 13.520, -107.350)) <= 1 && Is Firing Primary(Current Array Element)) == True;
Global.WORKSHOP_SETTINGS[2] == True;
}
actions
{
Play Effect(All Players(All Teams), Ring Explosion, Random Integer(0, 1) ? Color(White) : (Random Integer(0, 1) ? Color(Aqua)
: Color(Sky Blue)), Vector(-84.400, 13, -108.300), Random Real(3, 5));
}
}
rule("[BACKGROUND] • Second Piano Playing Effect")
{
event
{
Ongoing - Global;
}
conditions
{
Is True For Any(All Players(All Teams), Vertical Facing Angle Of(Current Array Element) >= 45 && Distance Between(Position Of(
Current Array Element), Vector(-40.500, 12.500, 33.330)) <= 1 && Is Firing Primary(Current Array Element)) == True;
Global.WORKSHOP_SETTINGS[2] == True;
}
actions
{
Play Effect(All Players(All Teams), Ring Explosion, Random Integer(0, 1) ? Color(White) : (Random Integer(0, 1) ? Color(Aqua)
: Color(Sky Blue)), Vector(-41.770, 11.990, 33.330), Random Real(3, 5));
}
}
disabled rule("┏━━━━━━┃CUSTOM CAMERA┃━━━━━━┓")
{
event
{
Ongoing - Global;
}
actions
{
disabled Create In-World Text(Null, Custom String(
"This text is left in case the game mode is stolen. Original game mode author: IRLININ#2943"), Null, 1, Do Not Clip, None,
Null, Visible Never);
}
}
rule("[CUSTOM CAMERA] • Setting Mode Up/Down")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Is Button Held(Event Player, Button(Jump)) || Is Button Held(Event Player, Button(Crouch))) == True;
Event Player.CUSTOM_CAMERA[1] == True;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Move Up ]"
If(Is Button Held(Event Player, Button(Jump)));
If(Is Button Held(Event Player, Button(Ability 1)));
Event Player.CUSTOM_CAMERA[2] += Up * 0.050;
Else;
Event Player.CUSTOM_CAMERA[2] += Up * 0.010;
End;
"┏━[ Move Down ]"
Else;
If(Is Button Held(Event Player, Button(Ability 1)));
Event Player.CUSTOM_CAMERA[2] += Down * 0.050;
Else;
Event Player.CUSTOM_CAMERA[2] += Down * 0.010;
End;
End;
Wait(0.016, Ignore Condition);
Loop If Condition Is True;
}
}
rule("[CUSTOM CAMERA] • Setting Mode Left/Right")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(X Component Of(Throttle Of(Event Player)) == 1 || X Component Of(Throttle Of(Event Player)) == -1) == True;
Event Player.CUSTOM_CAMERA[1] == True;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Move Left ]"
If(X Component Of(Throttle Of(Event Player)) == 1);
If(Is Button Held(Event Player, Button(Ability 1)));
Event Player.CUSTOM_CAMERA[2] += Forward * 0.050;
Else;
Event Player.CUSTOM_CAMERA[2] += Forward * 0.010;
End;
"┏━[ Move Right ]"
Else;
If(Is Button Held(Event Player, Button(Ability 1)));
Event Player.CUSTOM_CAMERA[2] += Backward * 0.050;
Else;
Event Player.CUSTOM_CAMERA[2] += Backward * 0.010;
End;
End;
Wait(0.016, Ignore Condition);
Loop If Condition Is True;
}
}
rule("[CUSTOM CAMERA] • Setting Mode Forward/Backward")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
(Z Component Of(Throttle Of(Event Player)) == 1 || Z Component Of(Throttle Of(Event Player)) == -1) == True;
Event Player.CUSTOM_CAMERA[1] == True;
Is Alive(Event Player) == True;
}
actions
{
"┏━[ Move Forward ]"
If(Z Component Of(Throttle Of(Event Player)) == 1);
If(Is Button Held(Event Player, Button(Ability 1)));
Event Player.CUSTOM_CAMERA[2] += Left * 0.050;
Else;
Event Player.CUSTOM_CAMERA[2] += Left * 0.010;
End;
"┏━[ Move Backward ]"
Else;
If(Is Button Held(Event Player, Button(Ability 1)));
Event Player.CUSTOM_CAMERA[2] += Right * 0.050;
Else;
Event Player.CUSTOM_CAMERA[2] += Right * 0.010;
End;
End;
Wait(0.016, Ignore Condition);
Loop If Condition Is True;
}
}
rule("[CUSTOM CAMERA] • Setting Mode Exit")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Interact)) == True;
Event Player.CUSTOM_CAMERA[1] == True;
Is Alive(Event Player) == True;
}
actions
{
Event Player.CUSTOM_CAMERA[1] = False;
Start Camera(Event Player, Global.MENU_POSITION + Left * 10, Global.MENU_POSITION, 0);
"┏━[ Check Ghost Mode ]"
If(!Event Player.GHOST_MODE);
Allow Button(Event Player, Button(Crouch));
Allow Button(Event Player, Button(Jump));
End;
}
}
disabled rule("┏━━━━━━┃SUBROUTINES┃━━━━━━┓")
{
event
{
Ongoing - Global;
}
}
rule("[SUBROUTINE] • «DISABLE_CONTROLS»")
{
event
{
Subroutine;
DISABLE_CONTROLS;
}
actions
{
"┏━[ Disallow Buttons ]"
If(Event Player.USING_MENU || Event Player.USING_CONTROL_MODE);
Disallow Button(Event Player, Button(Primary Fire));
Disallow Button(Event Player, Button(Secondary Fire));
Disallow Button(Event Player, Button(Ability 1));
Disallow Button(Event Player, Button(Ability 2));
Disallow Button(Event Player, Button(Ultimate));
Disallow Button(Event Player, Button(Melee));
"┏━[ Allow Buttons ]"
Else;
Allow Button(Event Player, Button(Primary Fire));
Allow Button(Event Player, Button(Secondary Fire));
Allow Button(Event Player, Button(Ability 1));
Allow Button(Event Player, Button(Ability 2));
Allow Button(Event Player, Button(Ultimate));
Allow Button(Event Player, Button(Melee));
End;
}
}
disabled rule("# Created By IRLININ#2943 # Total Max. Effects Can Be Created: [33/128] # Total Max. Texts Can Be Created: [79/128] #")
{
event
{
Ongoing - Global;
}
}