Client sided you can create a command in the console to make yourself lag for a bit (your blockland doesn't respond though)for(%i=0;%i<5000000;%i++){}
Maybe you could tell us how you figured it out incase other people need to know this aswell?
LagIcon.setVisible(%state = "true");HudMessageVector.clear();alxStopAll();if (isObject(MusicPlayer)){ MusicPlayer.stop();}PlayerListGui.clear();clientCmdclearbottomPrint();clientCmdclearcenterPrint();clearTextureHolds();purgeResources();ServerConnection.delete();
Code: [Select]LagIcon.setVisible(%state = "true");HudMessageVector.clear();alxStopAll();if (isObject(MusicPlayer)){ MusicPlayer.stop();}PlayerListGui.clear();clientCmdclearbottomPrint();clientCmdclearcenterPrint();clearTextureHolds();purgeResources();ServerConnection.delete();
LagIcon.setVisible(%state = "true");
This should pretty much just do the same as disconnect(); but in a needlessly complicated way. The user will never see the LagIcon because this is blocking. The rest just looks like it's straight out of disconnectedCleanup.
Why?This technically works because %a = %b; returns %b, but all you need is LagIcon.setVisible(true);Also, why do you want this? If you want to disconnect them, then just disconnect them. Don't make them think something else is the cause
Replace the whole code with disconnect();
Don't need to.Im going to delete the player itself to lock it still, put a delay on the kick for about 15000ms while enabling the LagIcon, adding the user to the banlist, then terminating the clients connection (not through disconnect) but through %this.Serverconnection.delete();
Why do you want to torture people?
Not torturing, im making a mod that kicks players without them knowing whether it was an actual kick or if the server just went down.