Login
Create
Senzr

FFA tryhard

settings
{
main
{
Description: "Code: D9977 discord.tryhardffa.eu serverhogger#2572's friendslist is full :("
Mode Name: "Tryhard FFA 2.3.0"
}

lobby
{
Allow Players Who Are In Queue: Yes
Match Voice Chat: Enabled
Max Spectators: 4
Return To Lobby: Never
}

modes
{
Deathmatch
{
enabled maps
{
Château Guillard
}
}

General
{
Game Mode Start: Immediately
Score To Win: 50
}
}

heroes
{
General
{
Ashe
{
Dynamite: Off
Ultimate Ability B.O.B.: Off
}

Baptiste
{
Immortality Field: Off
}

Cassidy
{
Secondary Fire: Off
Ultimate Ability Deadeye: Off
}

Echo
{
Ultimate Ability Duplicate: Off
}

Hanzo
{
Ultimate Ability Dragonstrike: Off
}

Mei
{
Ice Wall: Off
Primary Fire: Off
Ultimate Ability Blizzard: Off
}

Pharah
{
Ultimate Ability Barrage: Off
}

Soldier: 76
{
Ultimate Ability Tactical Visor: Off
}

Torbjörn
{
Deploy Turret: Off
Ultimate Ability Molten Core: Off
}

Zenyatta
{
Damage Dealt: 125%
Orb of Discord: Off
}

enabled heroes
{
Ana
Ashe
Baptiste
Cassidy
Echo
Genji
Hanzo
Lúcio
Mei
Pharah
Soldier: 76
Torbjörn
Tracer
Widowmaker
Zenyatta
}
}
}
}

variables
{
player:
0: gooused
1: goo
hit
2: flashused
3: flash
hit
4: threwflash
5: helix
used
6: helixhit
7: threw
helix
8: hammerkill
9: pulse
hit
10: threwpulse
11: sleep
used
12: sleephit
13: suicides
14: solodeaths
15: attackers
16: is
afk
17: disablehealonkill
18: hudtext
stats
19: hudtexthokstatus
}

rule("hold {0} to toggle heal on kill")
{
event
{
Ongoing - Each Player;
All;
All;
}

conditions
{
Is Button Held(Event Player, Button(Interact)) == True;
}

actions
{
Wait(0.500, Abort When False);
Event Player.disablehealonkill = !Event Player.disablehealonkill;
Small Message(Hero(Genji) == Hero Of(Event Player) ? Null : Event Player, Custom String("{0}",
Event Player.disablehealon_kill != True ? Custom String("hok off") : Custom String("hok on")));
}
}

rule("cass only stuns himself")
{
event
{
Player Took Damage;
All;
All;
}

conditions
{
(Hero(Cassidy) == Hero Of(Attacker) && Event Ability == Button(Ability 2)) == True;
}

actions
{
Wait Until(Has Status(Event Player, Stunned), 99999);
Clear Status(Event Player, Stunned);
Set Status(Attacker, Null, Stunned, 0.800);
}
}

rule("init")
{
event
{
Ongoing - Global;
}

actions
{
Disable Inspector Recording;
Set Match Time(5);
Wait Until(Is Game In Progress == True, 99999);
Set Match Time(1800);
Disable Built-In Game Mode Announcer;
Create HUD Text(All Players(All Teams), Null, Custom String("{2}\r\nhost: {0} afk players: {1}", Host Player, Count Of(
Filtered Array(All Players(All Teams), Current Array Element.isafk)), Custom String("hold {0} + {1} + {2} for 5 sec to leave",
Input Binding String(Button(Crouch)), Input Binding String(Button(Melee)), Input Binding String(Button(Reload)))), Null, Left,
0, Null, Color(Green), Null, Visible To and String, Visible Always);
Create HUD Text(All Players(All Teams), Null, Null, Custom String("discord.tryhardffa.eu"), Top, 1, Null, Null, Color(White),
Visible To and String, Visible Always);
Create HUD Text(Filtered Array(Local Player, Local Player.is
afk == True), Null, 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"), Null, Top, 2, Color(Yellow), Null, Null, Visible To and String,
Visible Never);
Create HUD Text(Filtered Array(Local Player, Local Player.isafk == True), Custom String("afk mode on"), Null, Null, Top, 3, Color(
Yellow), Null, Null, Visible To and String, Visible Never);
Create HUD Text(Filtered Array(Local Player, Local Player.is
afk == True), Null, Null, Custom String("move to resume"), Top, 4,
Null, Null, Color(White), Visible To and String, Visible Never);
}
}

rule("joined")
{
event
{
Player Joined Match;
All;
All;
}

actions
{
If(Array Contains(Array(Custom String("LostEmber"), Custom String("ǺȐMǺȈM0ŴȐȈŜŦ"), Custom String("Juliet"), Custom String(
"GetQuakedOn"), Custom String("CheatKillCam"), Custom String("Newo"), Custom String("Internet"), Custom String("NotWanted"),
Custom String("Sumpfmaus"), Custom String("SewerslvtFan")), Custom String("{0}", Event Player)));
Remove Player(Event Player);
End;
Create HUD Text(Event Player, Null, Hero(Genji) == Hero Of(Event Player) ? Custom String("No heal on kill for you",
Input Binding String(Button(Interact))) : (Event Player.disablehealonkill != True ? Custom String("Hold {0} to disable hok",
Input Binding String(Button(Interact))) : Custom String("Hold {0} to enable hok", Input Binding String(Button(Interact)))),
Null, Left, 1, Null, Hero(Genji) == Hero Of(Event Player) ? Color(Red) : (Event Player.disable
healonkill != True ? Color(
Sky Blue) : Color(Orange)), Null, Visible To String and Color, Visible Never);
Event Player.hudtexthokstatus = Last Text ID;
Create HUD Text(Event Player, Null, Custom String("{0}\r\n{1}\r\n{2}", Custom String("kdr: {0} solok: {1} solod: {2}",
Player Stat(Event Player, Deaths) <= 0 ? Player Stat(Event Player, Final Blows) + Player Stat(Event Player,
Environmental Kills) : (Player Stat(Event Player, Final Blows) + Player Stat(Event Player, Environmental Kills)) / Player Stat(
Event Player, Deaths), Player Stat(Event Player, Solo Kills), Event Player.solodeaths), Custom String("{0}\r\n{1}\r\n{2}",
Array Contains(Array(Hero(Reinhardt), Hero(Sigma), Hero(Winston), Hero(Brigitte), Hero(Moira)), Hero Of(Event Player))
? Empty Array : (Array Contains(Array(Hero(Zarya), Hero(Symmetra)), Hero Of(Event Player)) ? Custom String(
"secondary acc: {0}%", Round To Integer(Player Hero Stat(Event Player, Hero Of(Event Player), Weapon Accuracy) * 100,
To Nearest)) : (Array Contains(Array(Hero(Ashe), Hero(Widowmaker), Hero(Ana)), Hero Of(Event Player)) ? Custom String(
"hipfire acc: {0}%", Round To Integer((Player Hero Stat(Event Player, Hero Of(Event Player), Shots Hit) - Player Hero Stat(
Event Player, Hero Of(Event Player), Scoped Hits)) / (Player Hero Stat(Event Player, Hero Of(Event Player), Shots Fired)
- Player Hero Stat(Event Player, Hero Of(Event Player), Scoped Shots)) * 100, To Nearest)) : Custom String("weapon acc: {0}%",
Round To Integer(Player Hero Stat(Event Player, Hero Of(Event Player), Weapon Accuracy) * 100, To Nearest)))), Array Contains(
Array(Hero(Orisa), Hero(Reinhardt), Hero(Sigma), Hero(Winston), Hero(Wrecking Ball), Hero(Zarya), Hero(Junkrat), Hero(
Symmetra), Hero(Brigitte), Hero(Moira)), Hero Of(Event Player)) ? Empty Array : (Array Contains(Array(Hero(Ashe), Hero(
Widowmaker), Hero(Ana)), Hero Of(Event Player)) ? Custom String("scoped acc: {0}%", Round To Integer(Player Hero Stat(
Event Player, Hero Of(Event Player), Scoped Accuracy) * 100, To Nearest)) : (Hero(Pharah) == Hero Of(Event Player)
? Custom String("environmental kills: {0}", Player Hero Stat(Event Player, Hero Of(Event Player), Environmental Kills))
: Custom String("critical hit acc: {0}%", Round To Integer(Player Hero Stat(Event Player, Hero Of(Event Player),
Critical Hit Accuracy) * 100, To Nearest)))), Array Contains(Array(Hero(Ashe), Hero(Widowmaker)), Hero Of(Event Player))
? Custom String("scoped crit acc: {0}%", Round To Integer(Player Hero Stat(Event Player, Hero Of(Event Player),
Scoped Critical Hit Accuracy) * 100, To Nearest)) : (Array Contains(Array(Hero(Doomfist), Hero(Lúcio)), Hero Of(Event Player))
? Custom String("environmental kills: {0}", Player Hero Stat(Event Player, Hero Of(Event Player), Environmental Kills)) : (
Hero(Echo) == Hero Of(Event Player) ? Custom String("sticky direct hit acc: {0}%", Round To Integer(
Event Player.goohit / Event Player.gooused * 100, To Nearest)) : (Hero(Cassidy) == Hero Of(Event Player) ? Custom String(
"flashbang hits: {0}/{1}", Event Player.flashhit, Event Player.flashused) : (Hero(Soldier: 76) == Hero Of(Event Player)
? Custom String("helixrocket hits: {0}/{1}", Event Player.helixhit, Event Player.helixused) : (Hero(Torbjörn) == Hero Of(
Event Player) ? Custom String("hammer kills: {0}", Event Player.hammerkill) : (Hero(Tracer) == Hero Of(Event Player)
? Custom String("pulsebombs attached: {0}/{1}", Event Player.pulse
hit, Player Hero Stat(Event Player, Hero Of(Event Player),
Ultimates Used)) : (Hero(Ana) == Hero Of(Event Player) ? Custom String("sleepdart hits: {0}/{1}", Event Player.sleephit,
Event Player.sleep
used) : Empty Array)))))))), Custom String("{0}\r\n{1}\r\n{2}", Empty Array, Empty Array, Empty Array)),
Null, Left, 2, Null, Color(White), Null, Visible To and String, Visible Never);
Event Player.hudtext_stats = Last Text ID;
}
}

rule("left")
{
event
{
Player Left Match;
All;
All;
}

actions
{
Destroy HUD Text(Event Player.hudtextstats);
Destroy HUD Text(Event Player.hudtext
hok_status);
}
}

rule("died")
{
event
{
Player Died;
All;
All;
}

actions
{
If(Hero(Tracer) == Hero Of(Event Player));
Set Ability Charge(Event Player, Button(Ability 1), 3);
End;
If(Victim == Attacker);
Event Player.suicides += 1;
If(Event Player.suicides >= 10);
Big Message(Event Player, Custom String("why are you killing yourself?"));
Wait(3, Ignore Condition);
Remove Player(Event Player);
End;
End;
If(Victim != Attacker && Count Of(Event Player.attackers) == 1);
Event Player.solodeaths += 1;
End;
}
}

rule("last hit")
{
event
{
Player Dealt Final Blow;
All;
All;
}

actions
{
If(Event Player.disablehealonkill != True);
Heal(Event Player, Null, Hero(Tracer) == Hero Of(Event Player) ? 60 : (Hero(Genji) == Hero Of(Event Player) ? 0 : 250));
End;
If(Hero(Echo) == Hero Of(Event Player) && Event Ability == Button(Secondary Fire) && Event Damage < 5);
Event Player.goo
hit += 1;
End;
If(Hero(Torbjörn) == Hero Of(Event Player) && Event Ability == Button(Primary Fire) && Is In Alternate Form(Event Player) == True);
Event Player.hammerkill += 1;
End;
If(Hero(Ana) == Hero Of(Event Player) && Event Ability == Button(Ability 1) && Event Was Environment == True);
Event Player.sleep
hit -= 1;
End;
}
}

rule("dealt damage")
{
event
{
Player Dealt Damage;
All;
All;
}

conditions
{
Event Ability != Null;
}

actions
{
If(Hero(Echo) == Hero Of(Event Player) && (Event Damage == 2.500 || Event Damage == 5));
Event Player.goohit += 1;
End;
If(Hero(Cassidy) == Hero Of(Event Player) && Event Ability == Button(Ability 2) && Event Player.threw
flash == True);
Event Player.flashhit += 1;
Event Player.threw
flash = False;
End;
If(Hero(Soldier: 76) == Hero Of(Event Player) && Event Ability == Button(Secondary Fire)
&& Attacker != Victim && Event Player.threwhelix == True);
Event Player.helix
hit += 1;
Event Player.threwhelix = False;
End;
If(Hero(Tracer) == Hero Of(Event Player) && Event Ability == Button(Ultimate) && Event Player.threw
pulse == True);
Event Player.pulsehit += 1;
Event Player.threw
pulse = False;
End;
If(Hero(Ana) == Hero Of(Event Player) && Event Ability == Button(Ability 1));
Event Player.sleep_hit += 1;
End;
If(Array Contains(Victim.attackers, Attacker) != True && Victim != Attacker);
Modify Player Variable(Victim, attackers, Append To Array, Attacker);
End;
}
}

rule("homemade stats")
{
event
{
Ongoing - Each Player;
All;
All;
}

conditions
{
(Array Contains(Array(Hero(Echo), Hero(Cassidy), Hero(Soldier: 76), Hero(Tracer), Hero(Ana)), Hero Of(Event Player)) && (
Is Firing Secondary(Event Player) == True || Is Using Ability 1(Event Player) == True || Is Using Ability 2(Event Player)
== True || Is Using Ultimate(Event Player) == True)) == True;
}

actions
{
If(Hero(Echo) == Hero Of(Event Player) && Is Firing Secondary(Event Player) == True && Is Dead(Event Player) != True);
Wait(0.035, Abort When False);
Event Player.gooused += 1;
Wait(0.060, Abort When False);
Event Player.goo
used += 1;
Wait(0.060, Abort When False);
Event Player.gooused += 1;
Wait(0.060, Abort When False);
Event Player.goo
used += 1;
Wait(0.060, Abort When False);
Event Player.gooused += 1;
Wait(0.060, Abort When False);
Event Player.goo
used += 1;
End;
If(Hero(Soldier: 76) == Hero Of(Event Player) && Is Firing Secondary(Event Player) == True);
Event Player.helixused += 1;
Event Player.threw
helix = True;
Wait(1, Ignore Condition);
Event Player.threwhelix = False;
End;
If(Hero(Cassidy) == Hero Of(Event Player) && Is Using Ability 2(Event Player) == True);
Event Player.flash
used += 1;
Event Player.threwflash = True;
Wait(0.350, Ignore Condition);
Event Player.threw
flash = False;
End;
If(Hero(Tracer) == Hero Of(Event Player) && Is Using Ultimate(Event Player) == True);
Event Player.threwpulse = True;
Wait(1, Ignore Condition);
Event Player.threw
pulse = False;
End;
If(Hero(Ana) == Hero Of(Event Player) && Is Using Ability 1(Event Player) == True);
Event Player.sleep_used += 1;
End;
}
}

rule("full health")
{
event
{
Ongoing - Each Player;
All;
All;
}

conditions
{
Health(Event Player) == Max Health(Event Player);
}

actions
{
Event Player.attackers = Empty Array;
}
}

rule("enter afk mode")
{
event
{
Ongoing - Each Player;
All;
All;
}

conditions
{
Event Player.is_afk != True;
Is Moving(Event Player) != True;
Throttle Of(Event Player) == Vector(0, 0, 0);
Is Button Held(Event Player, Button(Jump)) != True;
Is Button Held(Event Player, Button(Crouch)) != True;
Is Button Held(Event Player, Button(Primary Fire)) != True;
Is Button Held(Event Player, Button(Secondary Fire)) != True;
Is Button Held(Event Player, Button(Ability 1)) != True;
Is Button Held(Event Player, Button(Ability 2)) != True;
Is Button Held(Event Player, Button(Ultimate)) != True;
Is Button Held(Event Player, Button(Interact)) != True;
Is Button Held(Event Player, Button(Melee)) != True;
Is Button Held(Event Player, Button(Reload)) != True;
Is Communicating Any(Event Player) != True;
}

actions
{
Wait(15, Abort When False);
Event Player.isafk = True;
Set Invisible(Event Player, All);
Set Status(Event Player, Null, Phased Out, 9999);
Start Forcing Throttle(Event Player, 0, 0.008, 0, 0.008, 0, 0.008);
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));
Disallow Button(Event Player, Button(Jump));
Disallow Button(Event Player, Button(Crouch));
Set Player Health(Event Player, 250);
Wait(105, Ignore Condition);
If(Number Of Players(All Teams) >= 12 && Event Player.is
afk == True);
Remove Player(Event Player);
}
}

rule("exit afk mode")
{
event
{
Ongoing - Each Player;
All;
All;
}

conditions
{
Event Player.is_afk == True;
(Throttle Of(Event Player) != Vector(0, 0, 0) || Is Communicating Any(Event Player)) == True;
}

actions
{
Event Player.is_afk = False;
Clear Status(Event Player, Phased Out);
Respawn(Event Player);
Stop Forcing Throttle(Event Player);
Wait(0.112, Ignore Condition);
Set Invisible(Event Player, None);
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));
Allow Button(Event Player, Button(Jump));
Allow Button(Event Player, Button(Crouch));
}
}

rule("hold crouch + reload + melee to kick yourself")
{
event
{
Ongoing - Each Player;
All;
All;
}

conditions
{
Is Button Held(Event Player, Button(Crouch)) == True;
Is Button Held(Event Player, Button(Reload)) == True;
Is Button Held(Event Player, Button(Melee)) == True;
}

actions
{
Wait(5, Abort When False);
Start Forcing Player Position(Event Player, Nearest Walkable Position(Event Player), False);
Small Message(Event Player, Custom String("you will be kicked in 5 seconds"));
Wait(5, Ignore Condition);
Remove Player(Event Player);
}
}

Players | 1 - 12
Categories: Free for all
Heroes: All
Created at:
Last updated:

Similar Codes

Elo Hell Logo_H-M-Dark
Join the Elo Hell Workshops Discord