Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function Instance_2(a,b)local c=Instance.new(a);for d,e in pairs(b)do
- pcall(function()c[d]=e;end);end;return c;end;
- local function Union(a,b,c)if not a or not b then return;end;if typeof(b)=='Instance'then
- b={b};end;local d={a};table.foreach(b,function(_,e)table.insert(d,e);end);for _,e in pairs(d)do
- (function()if type(e)=='boolean'then return;end;
- for _,f in pairs({'Material';'Color';'Reflectance';'Transparency'})do e[f]=a[f];end;
- d.Anchored=true;d.CanCollide=false;d.Massless=true;end)();end;
- local e=(c and a:SubtractAsync(b))or a:UnionAsync(b);for _,f in pairs(d)do
- if typeof(f)=='Instance'then f:Destroy();end;end;return e;end;
- print'https://pastebin.com/raw/5QSqffmx';
- local function Instance_2(c,p)if not c then return;end;p=p or {};
- local a=Instance.new(c,p.Parent);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;
- local function Ragdoll_v2(model)local hum=model:FindFirstChildWhichIsA'Humanoid';if not hum then
- return;end;hum.BreakJointsOnDeath=false;
- local LArm,RArm,LLeg,RLeg,torso,head,LUA,LLA,LH,RUA,RLA,RH,LUL,LLL,LF,RUL,RLL,RF,UT,LT=
- model:FindFirstChild'Left Arm',model:FindFirstChild'Right Arm',model:FindFirstChild
- 'Left Leg',model:FindFirstChild'Right Leg',model:FindFirstChild'Torso',model:
- FindFirstChild'Head',model:FindFirstChild'LeftUpperArm',model:FindFirstChild'LeftLowerArm',
- model:FindFirstChild'LeftHand',model:FindFirstChild'RightUpperArm',model:FindFirstChild
- 'RightLowerArm',model:FindFirstChild'RightHand',model:FindFirstChild'LeftUpperLeg',model:
- FindFirstChild'LeftLowerLeg',model:FindFirstChild'LeftFoot',model:FindFirstChild
- 'RightUpperLeg',model:FindFirstChild'RightLowerLeg',model:FindFirstChild'RightFoot',model:
- FindFirstChild'UpperTorso',model:FindFirstChild'LowerTorso';
- local Set={{{LArm;{Orientation=Vector3.new(0,180,0);Position=Vector3.new(-1,1,0)};
- {Orientation=Vector3.new(0,180,0);Position=Vector3.new(.5,1,0)};{LimitsEnabled=true;
- UpperAngle=15;TwistLimitsEnabled=true;UpperAngle=-45;TwistLowerAngle=-45;};};{RArm;
- {Orientation=Vector3.new(0,0,0);Position=Vector3.new(1,1,0);};{Orientation=
- Vector3.new(0,0,0);Position=Vector3.new(-.5,1,0);};{LimitsEnabled=true;UpperAngle=15;
- TwistLimitsEnabled=true;UpperAngle=-45;TwistLowerAngle=-45;};};{RLeg;{Orientation=
- Vector3.new(90,0,-90);Position=Vector3.new(.5,-1,0);};{Orientation=Vector3.new(90,0,-90);
- Position=Vector3.new(0,1,0);};{LimitsEnabled=true;UpperAngle=165;};};{LLeg;{Orientation=
- Vector3.new(90,0,-90);Position=Vector3.new(-.5,-1,0);};{Orientation=Vector3.new(90,0,-90);
- Position=Vector3.new(0,1,0);};{LimitsEnabled=true;UpperAngle=165;};};{head;{Orientation=
- Vector3.new(180,90,0);Position=Vector3.new(0,1,0);};{Orientation=Vector3.new(180,90,0);
- Position=Vector3.new(0,-.5,0);};{LimitsEnabled=true;UpperAngle=75;TwistLimitsEnabled=true;
- UpperAngle=-45;TwistLowerAngle=-45};};};{{LF;LLL;'LeftAnkleRigAttachment';};{LLL;LUL;
- 'LeftKneeRigAttachment';};{LUL;LT;'LeftHipRigAttachment';};{RF;RLL;'RightAnkleRigAttachment'
- ;};{RLL;RUL;'RightKneeRigAttachment';};{RUL;LT;'RightHipRigAttachment';};{LH;LLA;
- 'LeftWristRigAttachment';};{LLA;LUA;'LeftElbowRigAttachment';};{LUA;UT;
- 'LeftShoulderAttachment';'LeftCollarAttachment'};{RH;RLA;'RightWristRigAttachment';};{RLA;
- RUA;'RightElbowRigAttachment';};{RUA;UT;'RightShoulderAttachment';'RightCollarAttachment'};
- {LT;UT;'WaistRigAttachment'};{UT;head;'NeckRigAttachment';nil;{LimitsEnabled=true;
- UpperAngle=-75;TwistLimitsEnabled=true;UpperAngle=-45;TwistLowerAngle=-45;};};};};
- hum.Died:Connect(function()for _,a in pairs(model:GetDescendants())do if a:IsA'Motor6D'then
- a:Destroy();end;end;if hum.RigType==Enum.HumanoidRigType.R6 then for _,a in pairs(Set[1])do
- local b,c;if torso then a[2].Parent,a[2].Orientation=torso,a[2].Orientation+torso.Orientation;
- b=Instance_2('Attachment',a[2]);end;if a[1]then
- a[3].Parent,a[3].Orientation=a[1],a[3].Orientation+a[1].Orientation;
- c=Instance_2('Attachment',a[3])end;a[4].Parent,a[4].Attachment0,a[4].Attachment1=torso,b,c;
- Instance_2('BallSocketConstraint',a[4])end;else for _,a in pairs(Set[2])do local b=a[5]or{};
- if a[1]then b.Attachment0=a[1][a[3]];end;if a[2]then b.Attachment1=a[2][a[4]or a[3]];end;
- b.Parent=UT;Instance_2('BallSocketConstraint',b);end;end;end);
- end;
- for _,a in pairs(workspace:GetChildren())do
- Ragdoll_v2(a)
- end;
- workspace.ChildAdded:Connect(Ragdoll_v2)
- local name_number_1=0
- local function Slide_Time()name_number_1=name_number_1+1;local Object_0=Instance_2("Model",{
- Parent=workspace;Name='Slide_'..name_number_1});local Object_1=Instance_2("Part",{Color=
- Color3.new(0,1,0);CFrame=CFrame.new(-35,1,-4,1,0,0,0,1,0,0,0,1);Parent=Object_0;Anchored=
- true;Shape='Ball';Material='ForceField';Size=Vector3.new(2,2,2);});
- local Object_1_1=Instance_2("ClickDetector",{Parent=Object_1;MaxActivationDistance=4});
- local Object_2=Instance_2("Model",{Parent=Object_0;});
- Instance_2("Part",{Color=Color3.new(.627451,.372549,.207843);CFrame=CFrame.new(-32.5,27,-6.5,
- 0,1,0,-1,0,0,0,0,1);Parent=Object_2;Anchored=true;Shape='Cylinder';Material='Wood';Size=
- Vector3.new(54,1,1);});Instance_2("Part",{Color=Color3.new(.627451,.372549,.207843);CFrame=
- CFrame.new(-32.5,27,-1.5,0,1,0,-1,0,0,0,0,1);Parent=Object_2;Anchored=true;Shape=
- 'Cylinder';Material='Wood';Size=Vector3.new(54,1,1);});Instance_2("Part",{Color=
- Color3.new(.627451,.372549,.207843);CFrame=CFrame.new(-37.5,27,-1.5,0,1,0,-1,0,0,0,0,1);
- Parent=Object_2;Anchored=true;Shape='Cylinder';Material='Wood';Size=Vector3.new(54,1,1);
- });Instance_2("Part",{Color=Color3.new(.627451,.372549,.207843);CFrame=CFrame.new(-37.5,
- 27,-6.5,0,1,0,-1,0,0,0,0,1);Parent=Object_2;Anchored=true;Shape='Cylinder';Material=
- 'Wood';Size=Vector3.new(54,1,1);});Instance_2("Part",{Color=Color3.new(.627451,.372549,
- .207843);CFrame=CFrame.new(-35,50.4875183,-4,1,0,0,0,1,0,0,0,1);Parent=Object_2;Anchored=
- true;Material='Wood';Size=Vector3.new(6,1,6);});Instance_2("Part",{Color=Color3.new(.627451,
- .372549,.207843);CFrame=CFrame.new(-35,52.4875183,-1.5,1,0,0,0,1,0,0,0,1);Parent=Object_2;
- Anchored=true;Shape='Cylinder';Material='Wood';Size=Vector3.new(6,1,1);});Instance_2("Part",{
- Color=Color3.new(.627451,.372549,.207843);CFrame=CFrame.new(-35,52.4875183,-6.5,1,0,0,0,1,0,
- 0,0,1);Parent=Object_2;Anchored=true;Shape='Cylinder';Material='Wood';Size=Vector3.new(6,1,1)
- ;});Instance_2("Part",{Color=Color3.new(.627451,.372549,.207843);CFrame=CFrame.new(-32.5,
- 52.4875183,-4,0,0,1,0,1,0,-1,0,0);Parent=Object_2;Anchored=true;Shape='Cylinder';Material=
- 'Wood';Size=Vector3.new(6,1,1);});Instance_2("Part",{Color=Color3.new(.627451,.372549,
- .207843);CFrame=CFrame.new(-46.7175217,43.8913193,-7.5,.707106829,-.707106829,0,.707106829,
- .707106829,0,0,0,1);Parent=Object_2;Anchored=true;Material='Wood';Size=Vector3.new(22,2,1);});
- Instance_2("Part",{Color=Color3.new(.627451,.372549,.207843);CFrame=CFrame.new(-55.6568604,
- 27.830658,0,0,0,1,.707106829,.707106829,0,-.707106829,.707106829,0);Parent=Object_2;Anchored=
- true;Material='Wood';Size=Vector3.new(22,1,8);});Instance_2("Part",{Color=Color3.new(.627451,
- .372549,.207843);CFrame=CFrame.new(-47.8284302,10.0022278,11,-.707106829,.707106829,0,
- .707106829,.707106829,0,0,0,-1);Parent=Object_2;Anchored=true;Material='Wood';Size=Vector3.
- new(30,1,8);});Instance_2("Part",{Color=Color3.new(.627451,.372549,.207843);CFrame=CFrame.
- new(-45.6568604,42.830658,-4,.707106829,-.707106829,0,.707106829,.707106829,0,0,0,1);Parent=
- Object_2;Anchored=true;Material='Wood';Size=Vector3.new(22,1,8);});Instance_2("Part",{Color=
- Color3.new(.627451,.372549,.207843);CFrame=CFrame.new(-46.7175217,43.8913193,-.5,.707106829,
- -.707106829,0,.707106829,.707106829,0,0,0,1);Parent=Object_2;Anchored=true;Material='Wood';
- Size=Vector3.new(22,2,1);});Instance_2("Part",{Color=Color3.new(.627451,.372549,.207843);
- CFrame=CFrame.new(-59.1568604,28.8913193,1.06065965,0,0,1,.707106829,.707106829,0,
- -.707106829,.707106829,0);Parent=Object_2;Anchored=true;Material='Wood';Size=Vector3.new(
- 22,2,1);});Instance_2("Part",{Color=Color3.new(.627451,.372549,.207843);CFrame=CFrame.new(
- -52.1568604,28.8913193,1.06065965,0,0,1,.707106829,.707106829,0,-.707106829,.707106829,0);
- Parent=Object_2;Anchored=true;Material='Wood';Size=Vector3.new(22,2,1);});Instance_2("Part",{
- Color=Color3.new(.627451,.372549,.207843);CFrame=CFrame.new(-45,9.29511833,7.5,-.707106829,
- .707106829,0,.707106829,.707106829,0,0,0,-1);Parent=Object_2;Anchored=true;Material='Wood';
- Size=Vector3.new(29,2,1);});Instance_2("Part",{Color=Color3.new(.627451,.372549,.207843);
- CFrame=CFrame.new(-46.0606613,10.3557796,14.5,-.707106829,.707106829,0,.707106829,
- .707106829,0,0,0,-1);Parent=Object_2;Anchored=true;Material='Wood';Size=Vector3.new(32,2,1);});
- Object_1_1.MouseClick:Connect(function(a)
- if not a then return;end;
- local b=a.Character;
- if not b then return;end;
- local c=b:FindFirstChild'HumanoidRootPart';
- if not c then return;end;
- c.CFrame=c.CFrame*CFrame.new(0,55,0)
- end)
- end;
- Slide_Time();workspace.ChildRemoved:Connect(function(a)if a.Name:sub(1,6)=='Slide_'then
- Slide_Time();end;end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement