Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function ded()
- local removeHRP = false
- local leftfoot = script.Parent:FindFirstChild("LeftFoot")
- local lefthand = script.Parent:FindFirstChild("LeftHand")
- local leftlowerarm = script.Parent:FindFirstChild("LeftLowerArm")
- local leftlowerleg = script.Parent:FindFirstChild("LeftLowerLeg")
- local leftupperarm = script.Parent:FindFirstChild("LeftUpperArm")
- local leftupperleg = script.Parent:FindFirstChild("LeftUpperLeg")
- local lowertorso = script.Parent:FindFirstChild("LowerTorso")
- local rightfoot = script.Parent:FindFirstChild("RightFoot")
- local righthand = script.Parent:FindFirstChild("RightHand")
- local rightlowerarm = script.Parent:FindFirstChild("RightLowerArm")
- local rightlowerleg = script.Parent:FindFirstChild("RightLowerLeg")
- local rightupperarm = script.Parent:FindFirstChild("RightUpperArm")
- local rightupperleg = script.Parent:FindFirstChild("RightUpperLeg")
- local uppertorso = script.Parent:FindFirstChild("UpperTorso")
- local head = script.Parent:FindFirstChild("Head")
- local humanoidrootpart = script.Parent:FindFirstChild("HumanoidRootPart")
- -- Remove HumanoidRootPart --
- if removeHRP == true then
- humanoidrootpart:Destroy()
- end
- -- Attachments --
- local LFA = Instance.new("Attachment")
- LFA.Name = "LFA"
- LFA.Parent = leftfoot
- LFA.Position = Vector3.new(0.046, 0.15, -0.08)
- LFA.Rotation = Vector3.new(0, 0, 90)
- LFA.Axis = Vector3.new(0, 1, 0)
- LFA.SecondaryAxis = Vector3.new(-1, 0, 0)
- local LHA = Instance.new("Attachment")
- LHA.Name = "LHA"
- LHA.Parent = lefthand
- LHA.Position = Vector3.new(-0.003, 0.1, 0.026)
- LHA.Rotation = Vector3.new(0, 0, 90)
- LHA.Axis = Vector3.new(0, 1, 0)
- LHA.SecondaryAxis = Vector3.new(-1, 0, 0)
- local LLAA = Instance.new("Attachment")
- LLAA.Name = "LLAA"
- LLAA.Parent = leftlowerarm
- LLAA.Position = Vector3.new(0.019, -0.7, -0.014)
- LLAA.Rotation = Vector3.new(0, 0, -90)
- LLAA.Axis = Vector3.new(0, -1, 0)
- LLAA.SecondaryAxis = Vector3.new(1, 0, 0)
- local LLAA1 = Instance.new("Attachment")
- LLAA1.Name = "LLAA1"
- LLAA1.Parent = leftlowerarm
- LLAA1.Position = Vector3.new(-0.006, 0.162, 0.055)
- LLAA1.Rotation = Vector3.new(-180, 0, -180)
- LLAA1.Axis = Vector3.new(-1, 0, 0)
- LLAA1.SecondaryAxis = Vector3.new(0, 1, 0)
- local LLLA = Instance.new("Attachment")
- LLLA.Name = "LLLA"
- LLLA.Parent = leftlowerleg
- LLLA.Position = Vector3.new(0.046, -0.7, -0.1)
- LLLA.Rotation = Vector3.new(0, 0, 90)
- LLLA.Axis = Vector3.new(0, 1, 0)
- LLLA.SecondaryAxis = Vector3.new(-1, 0, 0)
- local LLLA1 = Instance.new("Attachment")
- LLLA1.Name = "LLLA1"
- LLLA1.Parent = leftlowerleg
- LLLA1.Position = Vector3.new(0.005, 0.214, 0.024)
- LLLA1.Rotation = Vector3.new(-180, 0, -180)
- LLLA1.Axis = Vector3.new(-1, 0, 0)
- LLLA1.SecondaryAxis = Vector3.new(0, 1, 0)
- local LUAA = Instance.new("Attachment")
- LUAA.Name = "LUAA"
- LUAA.Parent = leftupperarm
- LUAA.Position = Vector3.new(0.042, -0.27, 0.068)
- LUAA.Rotation = Vector3.new(-180, 0, -180)
- LUAA.Axis = Vector3.new(-1, 0, 0)
- LUAA.SecondaryAxis = Vector3.new(0, 1, 0)
- local LUAA1 = Instance.new("Attachment")
- LUAA1.Name = "LUAA1"
- LUAA1.Parent = leftupperarm
- LUAA1.Position = Vector3.new(0.5, 0.525, -0.064)
- LUAA1.Rotation = Vector3.new(-180, 0, -180)
- LUAA1.Axis = Vector3.new(-1, 0, 0)
- LUAA1.SecondaryAxis = Vector3.new(0, 1, 0)
- local LULA = Instance.new("Attachment")
- LULA.Name = "LULA"
- LULA.Parent = leftupperleg
- LULA.Position = Vector3.new(0.01, -0.26, 0.039)
- LULA.Rotation = Vector3.new(-180, 0, -180)
- LULA.Axis = Vector3.new(-1, 0, 0)
- LULA.SecondaryAxis = Vector3.new(0, 1, 0)
- local LULA1 = Instance.new("Attachment")
- LULA1.Name = "LULA1"
- LULA1.Parent = leftupperleg
- LULA1.Position = Vector3.new(0.002, 0.55, -0.016)
- LULA1.Rotation = Vector3.new(0, 0, 90)
- LULA1.Axis = Vector3.new(0, 1, 0)
- LULA1.SecondaryAxis = Vector3.new(-1, 0, 0)
- local LTA = Instance.new("Attachment")
- LTA.Name = "LTA"
- LTA.Parent = lowertorso
- LTA.Position = Vector3.new(0.512, -0.2, -0.027)
- LTA.Rotation = Vector3.new(0, 0, -90)
- LTA.Axis = Vector3.new(0, -1, 0)
- LTA.SecondaryAxis = Vector3.new(1, 0, 0)
- local LTA1 = Instance.new("Attachment")
- LTA1.Name = "LTA1"
- LTA1.Parent = lowertorso
- LTA1.Position = Vector3.new(-0.48, -0.2, -0.002)
- LTA1.Rotation = Vector3.new(0, 0, -90)
- LTA1.Axis = Vector3.new(0, -1, 0)
- LTA1.SecondaryAxis = Vector3.new(1, 0, 0)
- local LTA2 = Instance.new("Attachment")
- LTA2.Name = "LTA2"
- LTA2.Parent = lowertorso
- LTA2.Position = Vector3.new(-0.011, 0.2, -0.071)
- LTA2.Rotation = Vector3.new(0, 0, 90)
- LTA2.Axis = Vector3.new(0, 1, 0)
- LTA2.SecondaryAxis = Vector3.new(-1, 0, 0)
- local RFA = Instance.new("Attachment")
- RFA.Name = "RFA"
- RFA.Parent = rightfoot
- RFA.Position = Vector3.new(-0.022, 0.15, -0.052)
- RFA.Rotation = Vector3.new(0, 0, 90)
- RFA.Axis = Vector3.new(0, 1, 0)
- RFA.SecondaryAxis = Vector3.new(-1, 0, 0)
- local RHA = Instance.new("Attachment")
- RHA.Name = "RHA"
- RHA.Parent = righthand
- RHA.Position = Vector3.new(-0.004, 0.05, -0.015)
- RHA.Rotation = Vector3.new(0, 0, 90)
- RHA.Axis = Vector3.new(0, 1, 0)
- RHA.SecondaryAxis = Vector3.new(-1, 0, 0)
- local RLAA = Instance.new("Attachment")
- RLAA.Name = "RLAA"
- RLAA.Parent = rightlowerarm
- RLAA.Position = Vector3.new(-0.012, -0.686, 0.027)
- RLAA.Rotation = Vector3.new(0, 0, -90)
- RLAA.Axis = Vector3.new(0, -1, 0)
- RLAA.SecondaryAxis = Vector3.new(1, 0, 0)
- local RLAA1 = Instance.new("Attachment")
- RLAA1.Name = "RLAA1"
- RLAA1.Parent = rightlowerarm
- RLAA1.Position = Vector3.new(0.02, 0.174, 0.04)
- RLAA1.Rotation = Vector3.new(-180, 0, -180)
- RLAA1.Axis = Vector3.new(-1, 0, 0)
- RLAA1.SecondaryAxis = Vector3.new(0, 1, 0)
- local RLLA = Instance.new("Attachment")
- RLLA.Name = "RLLA"
- RLLA.Parent = rightlowerleg
- RLLA.Position = Vector3.new(-0.005, 0.25, -0.021)
- RLLA.Rotation = Vector3.new(-90, 0, -180)
- RLLA.Axis = Vector3.new(-1, 0, 0)
- RLLA.SecondaryAxis = Vector3.new(0, 0, 1)
- local RLLA1 = Instance.new("Attachment")
- RLLA1.Name = "RLLA1"
- RLLA1.Parent = rightlowerleg
- RLLA1.Position = Vector3.new(-0.018, -0.665, -0.06)
- RLLA1.Rotation = Vector3.new(0, 0, 90)
- RLLA1.Axis = Vector3.new(0, 1, 0)
- RLLA1.SecondaryAxis = Vector3.new(-1, 0, 0)
- local RUAA = Instance.new("Attachment")
- RUAA.Name = "RUAA"
- RUAA.Parent = rightupperarm
- RUAA.Position = Vector3.new(0.074, -0.257, 0.037)
- RUAA.Rotation = Vector3.new(-180, 0, -180)
- RUAA.Axis = Vector3.new(-1, 0, 0)
- RUAA.SecondaryAxis = Vector3.new(0, 1, 0)
- local RUAA1 = Instance.new("Attachment")
- RUAA1.Name = "RUAA1"
- RUAA1.Parent = rightupperarm
- RUAA1.Position = Vector3.new(-0.5, 0.472, -0.055)
- RUAA1.Rotation = Vector3.new(-180, 0, -180)
- RUAA1.Axis = Vector3.new(-1, 0, 0)
- RUAA1.SecondaryAxis = Vector3.new(0, 1, 0)
- local RULA = Instance.new("Attachment")
- RULA.Name = "RULA"
- RULA.Parent = rightupperleg
- RULA.Position = Vector3.new(-0.006, 0.55, -0.046)
- RULA.Rotation = Vector3.new(0, 0, 90)
- RULA.Axis = Vector3.new(0, 1, 0)
- RULA.SecondaryAxis = Vector3.new(-1, 0, 0)
- local RULA1 = Instance.new("Attachment")
- RULA1.Name = "RULA1"
- RULA1.Parent = rightupperleg
- RULA1.Position = Vector3.new(-0.028, -0.25, -0.077)
- RULA1.Rotation = Vector3.new(90, 0, -180)
- RULA1.Axis = Vector3.new(-1, 0, 0)
- RULA1.SecondaryAxis = Vector3.new(0, 0, -1)
- local UTA = Instance.new("Attachment")
- UTA.Name = "UTA"
- UTA.Parent = uppertorso
- UTA.Position = Vector3.new(-0.006, 0.8, -0.024)
- UTA.Rotation = Vector3.new(0, 0, 90)
- UTA.Axis = Vector3.new(0, 1, 0)
- UTA.SecondaryAxis = Vector3.new(-1, 0, 0)
- local UTA1 = Instance.new("Attachment")
- UTA1.Name = "UTA1"
- UTA1.Parent = uppertorso
- UTA1.Position = Vector3.new(0.018, -0.8, -0.004)
- UTA1.Rotation = Vector3.new(0, 0, -90)
- UTA1.Axis = Vector3.new(0, -1, 0)
- UTA1.SecondaryAxis = Vector3.new(1, 0, 0)
- local UTA2 = Instance.new("Attachment")
- UTA2.Name = "UTA2"
- UTA2.Parent = uppertorso
- UTA2.Position = Vector3.new(-1, 0.588, -0.018)
- UTA2.Rotation = Vector3.new(-180, 0, -180)
- UTA2.Axis = Vector3.new(-1, 0, 0)
- UTA2.SecondaryAxis = Vector3.new(0, 1, 0)
- local UTA3 = Instance.new("Attachment")
- UTA3.Name = "UTA3"
- UTA3.Parent = uppertorso
- UTA3.Position = Vector3.new(1, 0.574, -0)
- UTA3.Rotation = Vector3.new(-180, 0, -180)
- UTA3.Axis = Vector3.new(-1, 0, 0)
- UTA3.SecondaryAxis = Vector3.new(0, 1, 0)
- local HA = Instance.new("Attachment")
- HA.Name = "HA"
- HA.Parent = head
- HA.Position = Vector3.new(0, -0.5, 0)
- HA.Rotation = Vector3.new(0, 0, -90)
- HA.Axis = Vector3.new(0, -1, 0)
- HA.SecondaryAxis = Vector3.new(1, 0, 0)
- -- Constraints --
- local LFA_LLLA_H = Instance.new("HingeConstraint")
- LFA_LLLA_H.Name = "LFA-LLLA_H"
- LFA_LLLA_H.Parent = leftfoot
- LFA_LLLA_H.Enabled = true
- LFA_LLLA_H.Attachment0 = LFA
- LFA_LLLA_H.Attachment1 = LLLA
- local LLAA_LHA_H = Instance.new("HingeConstraint")
- LLAA_LHA_H.Name = "LLAA-LHA_H"
- LLAA_LHA_H.Parent = leftlowerarm
- LLAA_LHA_H.Enabled = true
- LLAA_LHA_H.Attachment0 = LLAA
- LLAA_LHA_H.Attachment1 = LHA
- local LLAA1_LUAA_H = Instance.new("HingeConstraint")
- LLAA1_LUAA_H.Name = "LLAA1-LUAA_H"
- LLAA1_LUAA_H.Parent = leftlowerarm
- LLAA1_LUAA_H.Enabled = true
- LLAA1_LUAA_H.Attachment0 = LLAA1
- LLAA1_LUAA_H.Attachment1 = LUAA
- local LULA_LLLA1_H = Instance.new("HingeConstraint")
- LULA_LLLA1_H.Name = "LULA-LLLA1_H"
- LULA_LLLA1_H.Parent = leftupperleg
- LULA_LLLA1_H.Enabled = true
- LULA_LLLA1_H.Attachment0 = LULA
- LULA_LLLA1_H.Attachment1 = LLLA1
- local LULA1_LTA1_B = Instance.new("BallSocketConstraint")
- LULA1_LTA1_B.Name = "LULA1-LTA1_B"
- LULA1_LTA1_B.Parent = leftupperleg
- LULA1_LTA1_B.Enabled = true
- LULA1_LTA1_B.Attachment0 = LULA1
- LULA1_LTA1_B.Attachment1 = LTA1
- local RFA_RLLA1_H = Instance.new("HingeConstraint")
- RFA_RLLA1_H.Name = "RFA-RLLA1_H"
- RFA_RLLA1_H.Parent = leftupperleg
- RFA_RLLA1_H.Enabled = true
- RFA_RLLA1_H.Attachment0 = RFA
- RFA_RLLA1_H.Attachment1 = RLLA1
- local RHA_RLAA_H = Instance.new("HingeConstraint")
- RHA_RLAA_H.Name = "RHA-RLAA_H"
- RHA_RLAA_H.Parent = righthand
- RHA_RLAA_H.Enabled = true
- RHA_RLAA_H.Attachment0 = RHA
- RHA_RLAA_H.Attachment1 = RLAA
- local RLLA_RULA1_H = Instance.new("HingeConstraint")
- RLLA_RULA1_H.Name = "RLLA-RULA1_H"
- RLLA_RULA1_H.Parent = rightlowerleg
- RLLA_RULA1_H.Enabled = true
- RLLA_RULA1_H.Attachment0 = RLLA
- RLLA_RULA1_H.Attachment1 = RULA1
- local RLLA_RULA1_H = Instance.new("HingeConstraint")
- RLLA_RULA1_H.Name = "RLLA-RULA1_H"
- RLLA_RULA1_H.Parent = rightlowerleg
- RLLA_RULA1_H.Enabled = true
- RLLA_RULA1_H.Attachment0 = RLLA
- RLLA_RULA1_H.Attachment1 = RULA1
- local RUAA_RLAA1_H = Instance.new("HingeConstraint")
- RUAA_RLAA1_H.Name = "RUAA-RLAA1_H"
- RUAA_RLAA1_H.Parent = rightupperarm
- RUAA_RLAA1_H.Enabled = true
- RUAA_RLAA1_H.Attachment0 = RUAA
- RUAA_RLAA1_H.Attachment1 = RLAA1
- local RUAA1_UTA3_B = Instance.new("BallSocketConstraint")
- RUAA1_UTA3_B.Name = "RUAA1-UTA3_B"
- RUAA1_UTA3_B.Parent = rightupperarm
- RUAA1_UTA3_B.Enabled = true
- RUAA1_UTA3_B.Attachment0 = RUAA1
- RUAA1_UTA3_B.Attachment1 = UTA3
- local RULA_LTA_B = Instance.new("BallSocketConstraint")
- RULA_LTA_B.Name = "RULA-LTA_B"
- RULA_LTA_B.Parent = rightupperleg
- RULA_LTA_B.Enabled = true
- RULA_LTA_B.Attachment0 = RULA
- RULA_LTA_B.Attachment1 = LTA
- local UTA_HA_B = Instance.new("BallSocketConstraint")
- UTA_HA_B.Name = "UTA-HA_B"
- UTA_HA_B.Parent = uppertorso
- UTA_HA_B.Enabled = true
- UTA_HA_B.Attachment0 = UTA
- UTA_HA_B.Attachment1 = HA
- local UTA1_LTA2_B = Instance.new("BallSocketConstraint")
- UTA1_LTA2_B.Name = "UTA1-LTA2_B"
- UTA1_LTA2_B.Parent = uppertorso
- UTA1_LTA2_B.Enabled = true
- UTA1_LTA2_B.Attachment0 = UTA1
- UTA1_LTA2_B.Attachment1 = LTA2
- local UTA2_LUAA1_B = Instance.new("BallSocketConstraint")
- UTA2_LUAA1_B.Name = "UTA2-LUAA1_B"
- UTA2_LUAA1_B.Parent = uppertorso
- UTA2_LUAA1_B.Enabled = true
- UTA2_LUAA1_B.Attachment0 = UTA2
- UTA2_LUAA1_B.Attachment1 = LUAA1
- end
- Enum.KeyCode.R:connect(ded)
Add Comment
Please, Sign In to add comment