GDSTARSFAN49/sfd-scripts-dataset huggingface dataset:
public void OnStartup() {
	// Game.GetPlayers()[0].Remove();
	//Game.RunCommand( "/MSG SuperKick mod. Do not blame me for bugs and all. Currently I'm developing the mod." );

	// tick trigger
	CreateTimer( 100, 0, "Tick_Fast", true );
	// death tigger
	IObjectTrigger deathTrigger = (IObjectTrigger)Game.CreateObject("OnPlayerDeathTrigger"); 
	deathTrigger.SetScriptMethod("Death");
}

private IObjectTimerTrigger CreateTimer( int interval, int count, string method, bool trigger ) {
	IObjectTimerTrigger trig = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger"); 
	trig.SetIntervalTime( interval );
	trig.SetRepeatCount( count );
	trig.SetScriptMethod( method );
	if (trigger) trig.Trigger();

	return trig;
}

public void Tick_Fast( TriggerArgs args ) {
	foreach( IPlayer ply in Game.GetPlayers() ) {
		if( ply.IsKicking || ply.IsJumpKicking ) {
			float minx = 0f;
			float maxx = 0f;
			if( ply.FacingDirection == 1 ) {
				minx = -4f;
				maxx = 12f;
			} else {
				minx = -12f;
				maxx = 4f;
			}
			
			Vector2 plyPos = ply.GetWorldPosition();
			Vector2 minPos = plyPos + new Vector2( minx, -4 );
			Vector2 maxPos = plyPos + new Vector2( maxx, 8 );

			foreach( IObject obj in Game.GetObjectsByArea( new Area(minPos, maxPos) ) ) {
				if( obj is IPlayer && ply == obj ) continue;

				if( !(obj is IPlayer) || ((IPlayer)obj).IsStaggering || ((IPlayer)obj).IsFalling ) {
					float mass = 1f;
					if (obj is IPlayer) mass = 1f;

					Vector2 vel = obj.GetLinearVelocity() * 3 + new Vector2( ply.FacingDirection*3, 3 );
					obj.SetLinearVelocity( vel/mass );
				}
			}
		}
	}
}

public void Death( TriggerArgs args ) {
	
}
//=========REALITY_HARDCORE_SCRIPT=========//
//==============BY_ARMADYL5================//
//=================ENJOY===================//



// Feel Free To Use Any Script Or Method You Like //



List <IPlayer> Bleeders = new List<IPlayer>();


 
//==============STARTUP_PREPARE===============//

public void OnStartup(){
IObjectTimerTrigger Timer = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger");
Timer.SetIntervalTime(100);
Timer.SetRepeatCount(0);
Timer.SetScriptMethod("Reality");
Timer.Trigger();
IObjectTimerTrigger Timer1 = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger");
Timer1.SetIntervalTime(1600);
Timer1.SetRepeatCount(0);
Timer1.SetScriptMethod("Breath");
Timer1.Trigger();
IObjectTimerTrigger Timer2 = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger");
Timer2.SetIntervalTime(600);
Timer2.SetRepeatCount(0);
Timer2.SetScriptMethod("Bleed");
Timer2.Trigger();
IObjectTimerTrigger Timer3 = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger");
Timer3.SetIntervalTime(300);
Timer3.SetRepeatCount(0);
Timer3.SetScriptMethod("Burn");
Timer3.Trigger();
}





int TotalHits = 0;
float TotalDamage = 0;
float TotalFireDamage = 0;

public void Reality(TriggerArgs args){
foreach(IPlayer ply in Game.GetPlayers()){
TotalHits = ply.Statistics.TotalProjectilesHitBy;
TotalDamage = ply.Statistics.TotalProjectileDamageTaken;
if(TotalHits >= 2){
ply.Kill();
}
}
}



public void Bleed(TriggerArgs args){
foreach(IPlayer ply in Game.GetPlayers()){
TotalHits = ply.Statistics.TotalProjectilesHitBy;
if(TotalHits >= 1 && ply.GetHealth() >= 20){
Vector2 Here = ply.GetWorldPosition();
ply.SetHealth(ply.GetHealth() - 2);
Game.PlayEffect("BLD",Here);
}
}
}


public void Burn(TriggerArgs args){
foreach(IPlayer ply in Game.GetPlayers()){
if(ply.IsBurning && !ply.IsDead){
Vector2 Here = ply.GetWorldPosition();
ply.SetHealth(ply.GetHealth() - 2);
Game.PlayEffect("TR_D",Here);
Game.PlayEffect("TR_D",Here);
Game.PlayEffect("TR_D",Here);
}
}
}



public void Breath(TriggerArgs args){
foreach(IPlayer ply in Game.GetPlayers()){
if(ply.IsIdle && !ply.IsDead){
if(ply.FacingDirection == 1){
Vector2 Here = ply.GetWorldPosition() + new Vector2(7,10);
Game.PlayEffect("TR_D",Here);
Game.PlayEffect("TR_D",Here);
}
if(ply.FacingDirection == -1){
Vector2 Here = ply.GetWorldPosition() + new Vector2(-7,10);
Game.PlayEffect("TR_D",Here);
Game.PlayEffect("TR_D",Here);
}
}
}
}
//============REALITY_SCRIPT===========//
//=============BY_ARMADYL5=============//
//================ENJOY================//



// Feel Free To Use Any Script Or Method You Like //


 
//==============STARTUP_PREPARE===============//

public void OnStartup(){
IObjectTimerTrigger Timer = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger");
Timer.SetIntervalTime(100);
Timer.SetRepeatCount(0);
Timer.SetScriptMethod("Reality");
Timer.Trigger();
IObjectTimerTrigger Timer1 = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger");
Timer1.SetIntervalTime(2100);
Timer1.SetRepeatCount(0);
Timer1.SetScriptMethod("Breath");
Timer1.Trigger();
IObjectTimerTrigger Timer2 = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger");
Timer2.SetIntervalTime(600);
Timer2.SetRepeatCount(0);
Timer2.SetScriptMethod("Bleed");
Timer2.Trigger();
IObjectTimerTrigger Timer3 = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger");
Timer3.SetIntervalTime(400);
Timer3.SetRepeatCount(0);
Timer3.SetScriptMethod("Burn");
Timer3.Trigger();
}





int TotalHits = 0;
float TotalDamage = 0;

public void Reality(TriggerArgs args){
foreach(IPlayer ply in Game.GetPlayers()){
TotalHits = ply.Statistics.TotalProjectilesHitBy;
TotalDamage = ply.Statistics.TotalProjectileDamageTaken;
if(TotalHits >= 3){
ply.Kill();
}
}
}



public void Bleed(TriggerArgs args){
foreach(IPlayer ply in Game.GetPlayers()){
TotalHits = ply.Statistics.TotalProjectilesHitBy;
if(TotalHits == 2 && ply.GetHealth() >= 30){
Vector2 Here = ply.GetWorldPosition();
ply.SetHealth(ply.GetHealth() - 1);
Game.PlayEffect("BLD",Here);
}
}
}


public void Burn(TriggerArgs args){
foreach(IPlayer ply in Game.GetPlayers()){
if(ply.IsBurning && !ply.IsDead){
Vector2 Here = ply.GetWorldPosition();
ply.SetHealth(ply.GetHealth() - 1);
Game.PlayEffect("TR_D",Here);
}
}
}




public void Breath(TriggerArgs args){
foreach(IPlayer ply in Game.GetPlayers()){
if(ply.IsIdle && !ply.IsDead){
if(ply.FacingDirection == 1){
Vector2 Here = ply.GetWorldPosition() + new Vector2(7,10);
Game.PlayEffect("TR_D",Here);
Game.PlayEffect("TR_D",Here);
}
if(ply.FacingDirection == -1){
Vector2 Here = ply.GetWorldPosition() + new Vector2(-7,10);
Game.PlayEffect("TR_D",Here);
Game.PlayEffect("TR_D",Here);
}
}
}
}
//============MATRIX_SCRIPT============//
//============BY_ARMADYL5============//
//==============ENJOY===============//



//============CREATING NEEDED TRIGGERS============//

public void OnStartup(){
IObjectTimerTrigger Timer1 = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger");
Timer1.SetIntervalTime(300);
Timer1.SetRepeatCount(0);
Timer1.SetScriptMethod("Matrix");
Timer1.Trigger();
}




//============MATRIX E_SCRIPT============//



public void Matrix(TriggerArgs args){
foreach(IPlayer ply in Game.GetPlayers()){
if(ply.GetHealth() <= 50){
if(ply.IsMeleeAttacking || ply.IsKicking || ply.IsJumpAttacking || ply.IsJumpKicking){
Game.RunCommand("/SETTIME 0,1");
IObjectTimerTrigger FM = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger");
FM.SetIntervalTime(100);
FM.SetRepeatCount(1);
FM.SetScriptMethod("FastMo");
FM.Trigger();
}
}
}
}



public void FastMo(TriggerArgs args){
Game.RunCommand("/SETTIME 1");
}
//============JUMP_FUN_SCRIPT==========//
  //============BY_ARMADYL5==============//
 //==============ENJOY==================//


List <IPlayer> SJ = new List<IPlayer>();


//============CREATING NEEDED TRIGGERS============//

public void OnStartup(){
IObjectTimerTrigger Timer = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger");
Timer.SetIntervalTime(100);
Timer.SetRepeatCount(0);
Timer.SetScriptMethod("SuperJump");
Timer.Trigger();
}


//============CODE============//

public void SuperJump(TriggerArgs args){
foreach(IPlayer ply in Game.GetPlayers()){
if(ply.IsIdle && ply.IsOnGround && !ply.IsDead && !ply.IsCrouching && ply.FacingDirection == 1){
ply.SetLinearVelocity(new Vector2(1,10));
Game.PlayEffect("CFTXT",ply.GetWorldPosition(),"Boing");
}
if(ply.IsIdle && ply.IsOnGround && !ply.IsDead && !ply.IsCrouching && ply.FacingDirection == -1){
ply.SetLinearVelocity(new Vector2(-1,10));
Game.PlayEffect("CFTXT",ply.GetWorldPosition(),"Boing");
}
if(ply.IsCrouching){
SJ.Add(ply);
}
for (int i = SJ.Count-1;i>=0;i--){
IPlayer ply2 = SJ[i];
if(ply2.IsIdle && ply2.IsOnGround && !ply2.IsDead && !ply2.IsCrouching && ply2.FacingDirection == 1){
ply.SetLinearVelocity(new Vector2(1,15));
Game.PlayEffect("CFTXT",ply.GetWorldPosition(),"Booooing");
SJ.Remove(ply2);
}
if(ply2.IsIdle && ply2.IsOnGround && !ply2.IsDead && !ply2.IsCrouching && ply2.FacingDirection == -1){
ply.SetLinearVelocity(new Vector2(-1,15));
Game.PlayEffect("CFTXT",ply.GetWorldPosition(),"Booooing");
SJ.Remove(ply2);
}
}
}
}


   //============JUMP_FUN_SCRIPT==========//
  //============BY_ARMADYL5==============//
 //==============ENJOY==================//
public void OnStartup(){
IObjectTimerTrigger timer = (IObjectTimerTrigger)Game.CreateObject("TimerTrigger");
timer.SetIntervalTime(100);
timer.SetRepeatCount(0);
timer.SetScriptMethod("Effect");
timer.Trigger();
}

public void Effect(TriggerArgs args){
foreach(IPlayer ply in Game.GetPlayers()){
Game.PlayEffect("S_P",ply.GetWorldPosition());
}
}
public void OnStartup(){
Game.RunCommand("/MSG Welcome to my server...");
Game.RunCommand("/MSG This script by Agent");
}