Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print[[https://pastebin.com/raw/wFMdEEK8
- Q = Infect (within 50 studs) / Uninfect
- E = Move to point.
- R = (With infected player) Toggle control
- ]];
- local function Set_Up_Function(player)
- local Set_Up_1 = {
- Color_1=Color3.fromRGB(0,255,0);
- };
- local Set_Up_2={Name='Parasite_II_Green_Girl';Motor6d_Enabled={Left_Arm=true;Right_Arm=true;
- Left_Leg=true;Right_Leg=true;}};
- local Mode = {
- Is_Infected = false;
- Active = true;
- Host = nil;
- };
- local Players,cwrap,Wait_For_Child_2,Storage,RE,RF,clerp=
- game:GetService("Players"),function(a)local b=coroutine.wrap(a);b();return b;end,
- function(p,c,wt)wt=wt or 1/60;local a;if not p or not c then return;end;
- if typeof(p)~='Instance'or typeof(c)~='string'then return;end;repeat
- a=p:FindFirstChild(c);wait(wt);until a;return a;end,{},nil,nil,function(cf,goal,al)
- return cf:Lerp(goal,al);end;
- player=(player=='FindPlayer'and(loadstring('return owner')()or Players:
- GetPlayerFromCharacter(script.Parent)))or player;
- script.Name=Set_Up_2.Name;if not player or not Players then return;end;
- if loadstring('return owner')()then pcall(function()local NLS;NLS=loadstring('return NLS')();
- NLS([[--(
- local lp,re,rf =
- game:GetService("Players").LocalPlayer,script:WaitForChild('RE_Client'),
- script:WaitForChild('RF_Client');
- local mouse = lp:GetMouse();
- mouse.KeyDown:Connect(function(k)
- re:FireServer('KD',k,mouse.Hit,mouse.Target);
- end);
- mouse.Button1Down:Connect(function()
- re:FireServer('MB_Down',mouse.Hit,mouse.Target);
- end);
- rf.OnClientInvoke = function(...)
- local args = {...}
- if args[1]=='Get_Mouse_CF'then return mouse.Hit;
- elseif args[1]=='Get_Mouse_Target'then return mouse.Target;
- end
- end;
- --)]],script);
- script.Parent=loadstring('return owner')().Character
- end);end;
- local pchar,Instance_2,Remove =
- player.Character or(function()repeat wait(1);player:LoadCharacter();until
- player.Character;return player.Character;end)(),function(c,p)
- local a=(function()for a,b in pairs(Storage)do if b.ClassName==c then
- table.remove(Storage,a);return b;end;end;end)()or Instance.new(c);if not a then
- print'No classname';return;end;
- for b,c in pairs(p)do local _,d= pcall(function()a[b]=c;end);if d then print(d);end;
- end;return a;end,function(a)a.Parent=nil;table.insert(Storage,a);end;
- if not pchar then return;end;
- local a=(function()if loadstring('return owner')()then return{
- Instance_2('RemoteEvent',{Name='RE_Client';Parent=script:GetChildren()[1];});
- Instance_2('RemoteFunction',{Name='RF_Client';Parent=script:GetChildren()[1];})};end;
- wait(2);return{script:FindFirstChildWhichIsA('RemoteEvent',true);script:
- FindFirstChildWhichIsA('RemoteFunction',true);}end)();
- RE,RF=unpack(a);if not RE or not RF then return;end;
- local Head,HRootPart,Torso,Humanoid,Left_Arm,Right_Arm,Left_Leg,Right_Leg,Damage,Container =
- (function()local a;repeat a=pchar:FindFirstChild'Head';if a then break;end;wait(1);
- until nil;return a;end)(),(function()local a;repeat
- a=pchar:FindFirstChild'HumanoidRootPart';if a then break;end;wait(1);until nil;return a;
- end)(),(function()local a;repeat a=pchar:FindFirstChild'Torso';if a then break;end;
- wait(1);until nil;return a;end)(),(function()local a;repeat
- a=pchar:FindFirstChildWhichIsA'Humanoid';if a then break;end;wait(1);until nil;
- return a;end)(),(function()local a;repeat a=pchar:FindFirstChild'Left Arm';if a then
- break;end;wait(1);until nil;return a;end)(),(function()local a;repeat
- a=pchar:FindFirstChild'Right Arm';if a then break;end;wait(1);until nil;return a;
- end)(),(function()local a;repeat a=pchar:FindFirstChild'Left Leg';if a then break;end;
- wait(1);until nil;return a;end)(),(function()local a;repeat
- a=pchar:FindFirstChild'Right Leg';if a then break;end;wait(1);until nil;return a;
- end)(),function(h,d,f)if not h then return;end;d=d or 10;f=f or function()end;
- local a=h:FindFirstAncestorWhichIsA'Model';if not a or a==workspace or a==pchar then
- return;end;local b,c=a:FindFirstChildWhichIsA'Humanoid',a:FindFirstChild'Head'or a:
- FindFirstChild'Torso'or a:FindFirstChild'UpperTorso'or a:
- FindFirstChild'HumanoidRootPart';
- if b then if b.Health>150 then b.Health=0;else b:TakeDamage(d);end;elseif c then
- Remove(c);else pcall(function()a:BreakJoints();end);end;end, Instance_2('Folder',{
- Parent=pchar});
- local Left_Hip,Left_Shoulder,Neck,Right_Hip,Right_Shoulder,RootJoint =
- (not Set_Up_2.Motor6d_Enabled.Left_Leg and(function()
- local a=Torso:FindFirstChild'Left Hip';if a then Remove(a)end;local b=Instance_2('Weld',
- {Part0=Torso;Part1=Left_Leg;Parent=Torso;});return b;end)())or Torso:
- FindFirstChild'Left Hip',(not Set_Up_2.Motor6d_Enabled.Left_Arm and(function()
- local a=Torso:FindFirstChild'Left Shoulder';if a then Remove(a)end;
- local b=Instance_2('Weld',{Part0=Torso;Part1=Left_Arm;Parent=Torso;});return b;end)())or
- Torso:FindFirstChild'Left Shoulder',Torso:FindFirstChild'Neck',(not Set_Up_2.
- Motor6d_Enabled.Right_Leg and(function()local a=Torso:FindFirstChild'Right Hip';
- if a then Remove(a)end;local b=Instance_2('Weld',{Part0=Torso;Part1=Right_Leg;
- Parent=Torso;});return b;end)())or Torso:FindFirstChild'Right Hip',(not Set_Up_2.
- Motor6d_Enabled.Right_Arm and(function()local a=Torso:FindFirstChild'Right Shoulder';
- if a then Remove(a)end;local b=Instance_2('Weld',{Part0=Torso;Part1=Right_Arm;
- Parent=Torso;});return b;end)())or Torso:FindFirstChild'Right Shoulder',
- HRootPart:FindFirstChild'RootJoint';
- if not Left_Hip or not Left_Shoulder or not Neck or not Right_Hip or not Right_Shoulder or
- not RootJoint then return;end;
- local Joints={Left_Hip;Left_Shoulder;Neck;Right_Hip;Right_Shoulder};
- local CFrames,CFrame_Mode={
- },{};
- (function()for _,a in pairs(pchar:GetChildren())do(function()
- if a:IsA'Accessory'then
- local b,c=a:FindFirstChild'Handle',a:FindFirstChildWhichIsA('SpecialMesh',true);
- if a:FindFirstChild('HairAttachment',true)and b then if c then c.TextureId='';end;
- b.Color=Set_Up_1.Color_1;return;end;Remove(a);elseif a:IsA'CharacterMesh'then Remove(a);
- end;end)();end;
- (pchar:FindFirstChildWhichIsA'Shirt'or Instance_2('Shirt',{Parent=pchar})).ShirtTemplate=
- 'http://www.roblox.com/asset/?id=175305300';
- (pchar:FindFirstChildWhichIsA'Pants'or Instance_2('Pants',{Parent=pchar})).PantsTemplate=
- 'http://www.roblox.com/asset/?id=2755931300';
- local eye_part_1=Instance_2('Part',{Size=Vector3.new(.2,.3,.1);Color=Set_Up_1.Color_1;
- Material='Neon';Massless=true;CanCollide=false;Anchored=false;Parent=Container;
- Name='Eye'});
- Instance_2('SpecialMesh',{MeshType='Sphere';Parent=eye_part_1;});Instance_2('Weld',{
- Part1=eye_part_1;Part0=Head;Parent=eye_part_1;C0=CFrame.new(-.0791487694,.250023842,
- -.549007416,.999999702,-1.2239941e-20,2.98023171e-08,0,.999999344,-2.37426846e-07,0,
- 2.3742605e-07,1.00000012)});Instance_2('CharacterMesh',{MeshId=48112070;
- BodyPart='Torso';Parent=pchar;});
- end)();
- local function Animation(cfs,In_Action)for _,c in pairs(Joints)do for a,b in pairs(cfs)do
- if c.Name==a then for d,e in pairs(b)do if In_Action[a]==d then
- c.C0,c.C1=clerp(c.C0,e.C0,e[3]or.5),clerp(c.C1,e.C1,e[3]or.5);end;end;break;end;end;end;end;
- Humanoid.MaxHealth=math.huge;Humanoid.Health=Humanoid.MaxHealth;
- local function ServerHandler(pl,...)local args={...};
- if args[1]=='KD'then
- if args[2]=='q'and Mode.Active then
- Mode.Active=false;Mode.Is_Infected=not Mode.Is_Infected;
- if Mode.Is_Infected and not Mode.Host then local a4=args[4];if not a4 then
- return;end;local a=a4:FindFirstAncestorWhichIsA'Model';if not a then
- Mode.Is_Infected=false;Mode.Active=true;return;end;
- local b,c=a:FindFirstChild'HumanoidRootPart',a:
- FindFirstChildWhichIsA'Humanoid';
- if a==workspace or a==pchar or not b or not c then
- Mode.Is_Infected=false;Mode.Active=true;return;end;
- if(b.Position-HRootPart.Position).Magnitude>50 then Mode.Is_Infected=false;
- Mode.Active=true;return;end;HRootPart.Anchored=true;b.Anchored=true;
- for _,d in pairs(pchar:GetDescendants())do
- if(d:IsA'BasePart'or d:IsA'Decal')and d~=HRootPart then
- d.Transparency=0;end;end;for d=1,60 do
- HRootPart.CFrame=clerp(HRootPart.CFrame,b.CFrame,.1);
- for _,e in pairs(pchar:GetDescendants())do
- if(e:IsA'BasePart'or e:IsA'Decal')and e~=HRootPart then
- e.Transparency=e.Transparency+(6/100);end;end;wait();end;
- Instance_2('WeldConstraint',{Part0=HRootPart;Part1=b;Parent=Container;Name=
- 'Connection'});for _,d in pairs(pchar:GetDescendants())do
- if d:IsA'BasePart'then d.CanCollide=false;d.Massless=true;end;end;
- HRootPart.Anchored=false;b.Anchored=false;Mode.Host=a;
- elseif Mode.Host and not Mode.Is_Infected then
- local a,b=Mode.Host:FindFirstChild'HumanoidRootPart',Container:
- FindFirstChild'Connection';if b then Remove(b);end;
- wait();HRootPart.CFrame=HRootPart.CFrame*CFrame.new(0,0,1);
- HRootPart.Anchored=true;if a then a.Anchored=true;end;
- for _,d in pairs(pchar:GetDescendants())do
- if(d:IsA'BasePart'or d:IsA'Decal')and d~=HRootPart then
- d.Transparency=1;end;end;for c=1,60 do
- for _,d in pairs(pchar:GetDescendants())do
- if(d:IsA'BasePart'or d:IsA'Decal')and d~=HRootPart then
- d.Transparency=d.Transparency-(6/100);end;end;
- HRootPart.CFrame=HRootPart.CFrame*CFrame.new(0,0,.1);wait();end;
- for _,d in pairs(pchar:GetDescendants())do if d:IsA'BasePart'then
- d.CanCollide=true;d.Massless=false;end;end;HRootPart.Anchored=false;
- wait(.25);if a then a.Anchored=false;end;Mode.Host=nil;
- end;Mode.Active=true;for _,b in pairs(Players:GetPlayers())do
- b.DevComputerMovementMode=Enum.DevComputerMovementMode.UserChoice;
- b.DevTouchMovementMode=Enum.DevTouchMovementMode.UserChoice;
- end;
- elseif args[2]=='e'and Mode.Host then local point,host=args[3],Mode.Host;
- if not host or not point then return;end;
- local hum_1=host:FindFirstChildWhichIsA'Humanoid';if not hum_1 then return;end;
- hum_1:MoveTo(point.Position);
- elseif args[2]==' 'and Mode.Host then local host=Mode.Host;if not host then
- return;end;local hum_1=host:FindFirstChildWhichIsA'Humanoid';if not hum_1 then
- return;end;hum_1.Jump=true;
- elseif args[2]=='r'and Mode.Host and Mode.Active then
- local c=Players:GetPlayerFromCharacter(Mode.Host);
- if not c then return;end;Mode.Active=false;
- local d=Instance_2('Part',{Shape='Ball';Anchored=true;Material='Ice';
- CanCollide=false;Size=Vector3.new(.01,.01,.01);Shape='Ball';Transparency=0;
- Parent=Container;Position=HRootPart.Position});
- if c.DevComputerMovementMode~=Enum.DevComputerMovementMode.Scriptable then
- c.DevComputerMovementMode=Enum.DevComputerMovementMode.Scriptable;
- c.DevTouchMovementMode=Enum.DevTouchMovementMode.Scriptable;
- d.Color=Color3.fromRGB(255,0,0);else
- c.DevComputerMovementMode=Enum.DevComputerMovementMode.UserChoice;
- c.DevTouchMovementMode=Enum.DevTouchMovementMode.UserChoice;
- d.Color=Color3.fromRGB(0,255,0);end;local tw=game:GetService("TweenService");
- tw:Create(d,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut,
- 0,false,0),{Size=Vector3.new(10,10,10),Transparency=1}):Play();
- wait(1);Remove(d);Mode.Active=true;
- end;
- end;
- end;
- Humanoid.Died:Connect(function()if Mode.Host then
- local a=Mode.Host:FindFirstChild'HumanoidRootPart';Damage(a,math.huge);
- for _,b in pairs(Players:GetPlayers())do
- b.DevComputerMovementMode=Enum.DevComputerMovementMode.UserChoice;
- b.DevTouchMovementMode=Enum.DevTouchMovementMode.UserChoice;end;end;
- end);
- RE.OnServerEvent:Connect(ServerHandler);RF.OnServerInvoke=ServerHandler;
- end;
- Set_Up_Function'FindPlayer';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement