Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local character = owner.Character
- local fhum = character:FindFirstChildOfClass("Humanoid")
- if fhum.RigType == Enum.HumanoidRigType.R6 then
- local tors = character:FindFirstChild("Torso")
- local ra = character:FindFirstChild("Right Arm")
- local la = character:FindFirstChild("Left Arm")
- local rl = character:FindFirstChild("Right Leg")
- local ll = character:FindFirstChild("Left Leg")
- if tors then
- if tors:FindFirstChild("Right Shoulder") then
- tors:FindFirstChild("Right Shoulder"):Destroy()
- end
- if tors:FindFirstChild("Left Shoulder") then
- tors:FindFirstChild("Left Shoulder"):Destroy()
- end
- if tors:FindFirstChild("Right Hip") then
- tors:FindFirstChild("Right Hip"):Destroy()
- end
- if tors:FindFirstChild("Left Hip") then
- tors:FindFirstChild("Left Hip"):Destroy()
- end
- if la then
- local c1 = Instance.new("Part", fhum.Parent)
- c1.Size = Vector3.new(1, 1 , 1)
- c1.Transparency = 1
- c1.Name = "lol"
- local weld1 = Instance.new("Weld", fhum.Parent)
- weld1.Part0 = fhum.Parent["Left Arm"]
- weld1.Part1 = c1
- weld1.C0 = CFrame.new(0,-0.5,0)
- local j3 = Instance.new("Glue", fhum.Parent)
- j3.Part0 = fhum.Parent.Torso
- j3.Part1 = fhum.Parent["Left Arm"]
- j3.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- j3.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- end
- if ll then
- local c2 = Instance.new("Part", fhum.Parent)
- c2.Size = Vector3.new(1, 1 , 1)
- c2.Transparency = 1
- c2.Name = "lol"
- local weld2 = Instance.new("Weld", fhum.Parent)
- weld2.Part0 = fhum.Parent["Left Leg"]
- weld2.Part1 = c2
- weld2.C0 = CFrame.new(0,-0.5,0)
- local j4 = Instance.new("Glue", fhum.Parent)
- j4.Part0 = fhum.Parent.Torso
- j4.Part1 = fhum.Parent["Left Leg"]
- j4.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- j4.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- end
- if ra then
- local c3 = Instance.new("Part", fhum.Parent)
- c3.Size = Vector3.new(1, 1 , 1)
- c3.Transparency = 1
- c3.Name = "lol"
- local weld3 = Instance.new("Weld", fhum.Parent)
- weld3.Part0 = fhum.Parent["Right Arm"]
- weld3.Part1 = c3
- weld3.C0 = CFrame.new(0,-0.5,0)
- local j1 = Instance.new("Glue", fhum.Parent)
- j1.Part0 = fhum.Parent.Torso
- j1.Part1 = fhum.Parent["Right Arm"]
- j1.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- j1.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- end
- if rl then
- local c4 = Instance.new("Part", fhum.Parent)
- c4.Size = Vector3.new(1, 1 , 1)
- c4.Transparency = 1
- c4.Name = "lol"
- local weld4 = Instance.new("Weld", fhum.Parent)
- weld4.Part0 = fhum.Parent["Right Leg"]
- weld4.Part1 = c4
- weld4.C0 = CFrame.new(0,-0.5,0)
- local j2 = Instance.new("Glue", fhum.Parent)
- j2.Part0 = fhum.Parent.Torso
- j2.Part1 = fhum.Parent["Right Leg"]
- j2.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- j2.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- end
- end
- else
- local tors = character:FindFirstChild("UpperTorso")
- local tors2 = character:FindFirstChild("LowerTorso")
- local ra = character:FindFirstChild("RightUpperArm")
- local la = character:FindFirstChild("LeftUpperArm")
- local rl = character:FindFirstChild("RightUpperLeg")
- local ll = character:FindFirstChild("LeftUpperLeg")
- if tors then
- if la then
- if character:FindFirstChild("LeftLowerArm") then
- local c1 = Instance.new("Part", fhum.Parent)
- c1.Size = character:FindFirstChild("LeftLowerArm").Size
- c1.Transparency = 1
- c1.Name = "lol"
- local weld1 = Instance.new("Weld", fhum.Parent)
- weld1.Part0 = fhum.Parent["LeftLowerArm"]
- weld1.Part1 = c1
- weld1.C0 = CFrame.new(0,-0.5,0)
- end
- local j3 = Instance.new("Glue", fhum.Parent)
- j3.Part0 = fhum.Parent.UpperTorso
- j3.Part1 = fhum.Parent["LeftUpperArm"]
- j3.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- j3.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- end
- local j2,j4 = nil,nil
- if tors2 then
- if ll then
- if character:FindFirstChild("LeftLowerLeg") then
- local c2 = Instance.new("Part", fhum.Parent)
- c2.Size = character:FindFirstChild("LeftLowerLeg").Size
- c2.Transparency = 1
- c2.Name = "lol"
- local weld2 = Instance.new("Weld", fhum.Parent)
- weld2.Part0 = fhum.Parent["LeftLowerLeg"]
- weld2.Part1 = c2
- weld2.C0 = CFrame.new(0,-0.5,0)
- end
- j4 = Instance.new("Glue", fhum.Parent)
- j4.Part0 = fhum.Parent.LowerTorso
- j4.Part1 = fhum.Parent["LeftUpperLeg"]
- --j4.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- --j4.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- end
- if rl then
- if character:FindFirstChild("RightLowerLeg") then
- local c4 = Instance.new("Part", fhum.Parent)
- c4.Size = character:FindFirstChild("RightLowerLeg").Size
- c4.Transparency = 1
- c4.Name = "lol"
- local weld4 = Instance.new("Weld", fhum.Parent)
- weld4.Part0 = fhum.Parent["RightLowerLeg"]
- weld4.Part1 = c4
- weld4.C0 = CFrame.new(0,-0.5,0)
- end
- j2 = Instance.new("Glue", fhum.Parent)
- j2.Part0 = fhum.Parent.LowerTorso
- j2.Part1 = fhum.Parent["RightUpperLeg"]
- --j2.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- --j2.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- end
- end
- if ra then
- if character:FindFirstChild("RightLowerArm") then
- local c3 = Instance.new("Part", fhum.Parent)
- c3.Size = character:FindFirstChild("RightLowerArm").Size
- c3.Transparency = 1
- c3.Name = "lol"
- local weld3 = Instance.new("Weld", fhum.Parent)
- weld3.Part0 = fhum.Parent["RightLowerArm"]
- weld3.Part1 = c3
- weld3.C0 = CFrame.new(0,-0.5,0)
- end
- local j1 = Instance.new("Glue", fhum.Parent)
- j1.Part0 = fhum.Parent.UpperTorso
- j1.Part1 = fhum.Parent["RightUpperArm"]
- j1.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- j1.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- end
- if ra and ra:FindFirstChild("RightShoulder") then
- if j1 then
- j1.C0 = ra:FindFirstChild("RightShoulder").C0
- j1.C1 = ra:FindFirstChild("RightShoulder").C1
- end
- ra:FindFirstChild("RightShoulder"):Destroy()
- end
- if la and la:FindFirstChild("LeftShoulder") then
- if j3 then
- j3.C0 = la:FindFirstChild("LeftShoulder").C0
- j3.C1 = la:FindFirstChild("LeftShoulder").C1
- end
- la:FindFirstChild("LeftShoulder"):Destroy()
- end
- if rl and rl:FindFirstChild("RightHip") then
- if j2 then
- j2.C0 = rl:FindFirstChild("RightHip").C0
- j2.C1 = rl:FindFirstChild("RightHip").C1
- end
- rl:FindFirstChild("RightHip"):Destroy()
- end
- if ll and ll:FindFirstChild("LeftHip") then
- if j4 then
- j4.C0 = ll:FindFirstChild("LeftHip").C0
- j4.C1 = ll:FindFirstChild("LeftHip").C1
- end
- ll:FindFirstChild("LeftHip"):Destroy()
- end
- end
- end
- fhum.PlatformStand = true
- fhum.BreakJointsOnDeath = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement