#include tmaxScripts\watchMoveButtons; //watchmovebuttons, ismovebuttonpressed #include tmaxScripts\doubleJump; //doublejump init() { if(getDvarInt("sv_doubleJumpMult") == 0) setDvar("sv_doubleJumpMult", 500); if(getDvarInt("sv_dashMult") == 0) setDvar("sv_dashMult", 500); if(getDvarInt("bg_fallDamageMaxHeight") == 300) setDvar("bg_fallDamageMaxHeight", 9999); thread onPlayerConnect(); } onPlayerConnect() { while(1){ level waittill("connected", plr); wait 0.05; plr thread onSpawnedPlayer(); plr thread watchMoveButtons(); } } onSpawnedPlayer() { while(isDefined(self)){ self waittill("spawned_player"); self thread doublejump(); } }