Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- byapsteyu = ""
- LocalPlayer = game:GetService("Players").LocalPlayer -- this is fixing a script
- wait(0.001)
- function Iterate(instance, func)
- for i, v in next, instance:GetChildren() do
- func(v)
- end
- end
- limbs = {
- ["Right Leg"] = true;
- ["Right Arm"] = true;
- ["Left Leg"] = true;
- ["Left Arm"] = true;
- }
- Iterate(LocalPlayer.Character, function(v)
- if v:IsA("BasePart") then
- local attachment = Instance.new("Attachment")
- attachment.Parent = v
- attachment.Name = (v.Name .. "[Attachment]")
- if limbs[v.Name] then
- attachment.Position = Vector3.new(0, v.Size.Y/2, 0)
- elseif v.Name == "Head" then
- attachment.Position = Vector3.new(0, -v.Size.Y/2, 0)
- attachment.Rotation = Vector3.new(0, 0, -90)
- end
- end
- end)
- local leftLegAttachment = Instance.new("Attachment")
- leftLegAttachment.Position = Vector3.new(-.5, -1, 0)
- leftLegAttachment.Rotation = Vector3.new(0, -90, 0)
- local rightLegAttachment = Instance.new("Attachment")
- rightLegAttachment.Position = Vector3.new(.5, -1, 0)
- rightLegAttachment.Rotation = Vector3.new(0, -90, 0)
- rightLegAttachment.Parent, leftLegAttachment.Parent = LocalPlayer.Character.Torso, LocalPlayer.Character.Torso
- jointAttachments = {
- ['Head'] = {
- ['Attachment0'] = LocalPlayer.Character.Torso['NeckAttachment'];
- ['Attachment1'] = LocalPlayer.Character.Head['Head[Attachment]'];
- };
- ['Left Arm'] = {
- ['Attachment0'] = LocalPlayer.Character.Torso['LeftCollarAttachment'];
- ['Attachment1'] = LocalPlayer.Character['Left Arm']['Left Arm[Attachment]'];
- };
- ['Right Arm'] = {
- ['Attachment0'] = LocalPlayer.Character.Torso['RightCollarAttachment'];
- ['Attachment1'] = LocalPlayer.Character['Right Arm']['Right Arm[Attachment]'];
- };
- ['Left Leg'] = {
- ['Attachment0'] = leftLegAttachment;
- ['Attachment1'] = LocalPlayer.Character['Left Leg']['Left Leg[Attachment]'];
- };
- ['Right Leg'] = {
- ['Attachment0'] = rightLegAttachment;
- ['Attachment1'] = LocalPlayer.Character['Right Leg']['Right Leg[Attachment]'];
- };
- }
- LocalPlayer.Character.Humanoid.PlatformStand = true
- Iterate(LocalPlayer.Character, function(v)
- if v:IsA("BasePart") then
- if jointAttachments[v.Name] then
- local ballSocketJoint = Instance.new("BallSocketConstraint")
- ballSocketJoint.Parent = v
- ballSocketJoint.Radius = 0.15
- ballSocketJoint.Attachment0, ballSocketJoint.Attachment1 = jointAttachments[v.Name]['Attachment0'], jointAttachments[v.Name]['Attachment1']
- end
- end
- end)
- Iterate(LocalPlayer.Character.Torso, function(v)
- if v:IsA("Motor") then
- v:Remove()
- wait(0.01)
- local hum = LocalPlayer.Character:FindFirstChild("Humanoid")
- hum.PlatformStand = true
- hum.MaxHealth = -99e99
- hum.Health = -9e9
- wait(0.02)
- hum.Name = "ded"
- LocalPlayer.Character.Torso.Material = Enum.Material.CrackedLava
- print"still works but died" -- idk but it will works
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement