Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Reset to become a ghost
- HUMANOID = game.Players.LocalPlayer.Character.Humanoid
- playername = game.Players.LocalPlayer.Name
- local head2 = HUMANOID.Parent.Head
- local leftarm2 = HUMANOID.Parent["Left Arm"]
- local leftleg2 = HUMANOID.Parent["Left Leg"]
- local rightleg2 = HUMANOID.Parent["Right Leg"]
- local rightarm2 = HUMANOID.Parent["Right Arm"]
- local torso2 = HUMANOID.Parent.Torso
- local root2 =HUMANOID.Parent.HumanoidRootPart
- head2.Transparency = 0.5
- leftarm2.Transparency = 0.5
- leftleg2.Transparency = 0.5
- rightleg2.Transparency = 0.5
- rightarm2.Transparency = 0.5
- torso2.Transparency = 0.5
- workspace[playername].Humanoid:Destroy()
- e = Instance.new("Humanoid")
- e.Health = 100
- e.MaxHealth = 100
- e.JumpPower = 50
- e.HipHeight = 0
- e.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOff
- e.RigType = Enum.HumanoidRigType.R6
- e.Parent = workspace[playername]
- for c = 1,1 do
- meme = workspace
- wait(0.1)
- workspace[playername].Humanoid.Health = "Inf"
- workspace[playername].Humanoid.MaxHealth = "Inf"
- workspace[playername].Humanoid.WalkSpeed = 52
- end
- --[[ This may take time, use this script in your own scripts just to add a ragdoll whenever you die, works for only r6 people
- ]]
- function createhuman()
- e:Destroy()
- head2:Destroy()
- leftarm2:Destroy()
- leftleg2:Destroy()
- rightleg2:Destroy()
- rightarm2:Destroy()
- torso2:Destroy()
- wait(2)
- mas = HUMANOID.Parent
- Part0 = Instance.new("Part")
- SpecialMesh1 = Instance.new("SpecialMesh")
- Attachment2 = Instance.new("Attachment")
- Attachment3 = Instance.new("Attachment")
- Attachment4 = Instance.new("Attachment")
- Attachment5 = Instance.new("Attachment")
- Decal6 = Instance.new("Decal")
- Part7 = Instance.new("Part")
- Motor6D8 = Instance.new("Motor6D")
- Part9 = Instance.new("Part")
- Attachment10 = Instance.new("Attachment")
- Part11 = Instance.new("Part")
- Part12 = Instance.new("Part")
- Attachment13 = Instance.new("Attachment")
- Part14 = Instance.new("Part")
- Part15 = Instance.new("Part")
- Decal16 = Instance.new("Decal")
- Attachment17 = Instance.new("Attachment")
- Attachment18 = Instance.new("Attachment")
- Attachment19 = Instance.new("Attachment")
- Attachment20 = Instance.new("Attachment")
- Attachment21 = Instance.new("Attachment")
- Attachment22 = Instance.new("Attachment")
- Attachment23 = Instance.new("Attachment")
- Attachment24 = Instance.new("Attachment")
- Motor6D25 = Instance.new("Motor6D")
- Motor6D26 = Instance.new("Motor6D")
- Motor6D27 = Instance.new("Motor6D")
- Motor6D28 = Instance.new("Motor6D")
- Motor6D29 = Instance.new("Motor6D")
- Part0.Name = "Head"
- Part0.Parent = mas
- Part0.BrickColor = BrickColor.new("Dark stone grey")
- Part0.FormFactor = Enum.FormFactor.Symmetric
- Part0.Size = Vector3.new(2, 1, 1)
- Part0.CFrame = CFrame.new(0, 4.49999905, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part0.Position = Vector3.new(0, 4.49999905, 0)
- Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh1.Parent = Part0
- SpecialMesh1.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh1.Scale = Vector3.new(1.25, 1.25, 1.25)
- Attachment2.Name = "HatAttachment"
- Attachment2.Parent = Part0
- Attachment2.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment2.Position = Vector3.new(0, 0.600000024, 0)
- Attachment3.Name = "HairAttachment"
- Attachment3.Parent = Part0
- Attachment3.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment3.Position = Vector3.new(0, 0.600000024, 0)
- Attachment4.Name = "FaceFrontAttachment"
- Attachment4.Parent = Part0
- Attachment4.CFrame = CFrame.new(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment4.Position = Vector3.new(0, 0, -0.600000024)
- Attachment5.Name = "FaceCenterAttachment"
- Attachment5.Parent = Part0
- Decal6.Name = "face"
- Decal6.Parent = Part0
- Decal6.Texture = "rbxassetid://18151722"
- Part7.Name = "HumanoidRootPart"
- Part7.Parent = mas
- Part7.Transparency = 1
- Part7.CanCollide = false
- Part7.FormFactor = Enum.FormFactor.Symmetric
- Part7.Size = Vector3.new(2, 2, 1)
- Part7.CFrame = CFrame.new(0, 2.99999905, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.Position = Vector3.new(0, 2.99999905, 0)
- Motor6D8.Name = "RootJoint"
- Motor6D8.Parent = Part7
- Motor6D8.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D8.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D8.Part0 = Part7
- Motor6D8.Part1 = Part15
- Motor6D8.MaxVelocity = 0.10000000149012
- Part9.Name = "Left Arm"
- Part9.Parent = mas
- Part9.BrickColor = BrickColor.new("Dark stone grey")
- Part9.CanCollide = false
- Part9.FormFactor = Enum.FormFactor.Symmetric
- Part9.Size = Vector3.new(1, 2, 1)
- Part9.CFrame = CFrame.new(-1.5, 2.99999905, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part9.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part9.Position = Vector3.new(-1.5, 2.99999905, 0)
- Part9.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Attachment10.Name = "LeftShoulderAttachment"
- Attachment10.Parent = Part9
- Attachment10.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment10.Position = Vector3.new(0, 1, 0)
- Part11.Name = "Left Leg"
- Part11.Parent = mas
- Part11.BrickColor = BrickColor.new("Dark stone grey")
- Part11.CanCollide = false
- Part11.FormFactor = Enum.FormFactor.Symmetric
- Part11.Size = Vector3.new(1, 2, 1)
- Part11.CFrame = CFrame.new(-0.5, 0.999999046, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part11.Position = Vector3.new(-0.5, 0.999999046, 0)
- Part11.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part12.Name = "Right Arm"
- Part12.Parent = mas
- Part12.BrickColor = BrickColor.new("Dark stone grey")
- Part12.CanCollide = false
- Part12.FormFactor = Enum.FormFactor.Symmetric
- Part12.Size = Vector3.new(1, 2, 1)
- Part12.CFrame = CFrame.new(1.5, 2.99999905, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part12.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part12.Position = Vector3.new(1.5, 2.99999905, 0)
- Part12.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Attachment13.Name = "RightShoulderAttachment"
- Attachment13.Parent = Part12
- Attachment13.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment13.Position = Vector3.new(0, 1, 0)
- Part14.Name = "Right Leg"
- Part14.Parent = mas
- Part14.BrickColor = BrickColor.new("Dark stone grey")
- Part14.CanCollide = false
- Part14.FormFactor = Enum.FormFactor.Symmetric
- Part14.Size = Vector3.new(1, 2, 1)
- Part14.CFrame = CFrame.new(0.5, 0.999999046, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part14.BottomSurface = Enum.SurfaceType.Smooth
- Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part14.Position = Vector3.new(0.5, 0.999999046, 0)
- Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part15.Name = "Torso"
- Part15.Parent = mas
- Part15.BrickColor = BrickColor.new("Dark stone grey")
- Part15.FormFactor = Enum.FormFactor.Symmetric
- Part15.Size = Vector3.new(2, 2, 1)
- Part15.CFrame = CFrame.new(0, 2.99999905, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part15.LeftSurface = Enum.SurfaceType.Weld
- Part15.RightSurface = Enum.SurfaceType.Weld
- Part15.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part15.Position = Vector3.new(0, 2.99999905, 0)
- Part15.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Decal16.Name = "roblox"
- Decal16.Parent = Part15
- Attachment17.Name = "WaistFrontAttachment"
- Attachment17.Parent = Part15
- Attachment17.CFrame = CFrame.new(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment17.Position = Vector3.new(0, -1, -0.5)
- Attachment18.Name = "WaistCenterAttachment"
- Attachment18.Parent = Part15
- Attachment18.CFrame = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment18.Position = Vector3.new(0, -1, 0)
- Attachment19.Name = "WaistBackAttachment"
- Attachment19.Parent = Part15
- Attachment19.CFrame = CFrame.new(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment19.Position = Vector3.new(0, -1, 0.5)
- Attachment20.Name = "RightCollarAttachment"
- Attachment20.Parent = Part15
- Attachment20.CFrame = CFrame.new(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment20.Position = Vector3.new(1, 1, 0)
- Attachment21.Name = "NeckAttachment"
- Attachment21.Parent = Part15
- Attachment21.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment21.Position = Vector3.new(0, 1, 0)
- Attachment22.Name = "LeftCollarAttachment"
- Attachment22.Parent = Part15
- Attachment22.CFrame = CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment22.Position = Vector3.new(-1, 1, 0)
- Attachment23.Name = "BodyFrontAttachment"
- Attachment23.Parent = Part15
- Attachment23.CFrame = CFrame.new(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment23.Position = Vector3.new(0, 0, -0.5)
- Attachment24.Name = "BodyBackAttachment"
- Attachment24.Parent = Part15
- Attachment24.CFrame = CFrame.new(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment24.Position = Vector3.new(0, 0, 0.5)
- Motor6D25.Name = "Right Hip"
- Motor6D25.Parent = Part15
- Motor6D25.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D25.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D25.Part0 = Part15
- Motor6D25.Part1 = Part14
- Motor6D25.MaxVelocity = 0.10000000149012
- Motor6D26.Name = "Right Shoulder"
- Motor6D26.Parent = Part15
- Motor6D26.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D26.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D26.Part0 = Part15
- Motor6D26.Part1 = Part12
- Motor6D26.MaxVelocity = 0.10000000149012
- Motor6D27.Name = "Left Hip"
- Motor6D27.Parent = Part15
- Motor6D27.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D27.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D27.Part0 = Part15
- Motor6D27.Part1 = Part11
- Motor6D27.MaxVelocity = 0.10000000149012
- Motor6D28.Name = "Left Shoulder"
- Motor6D28.Parent = Part15
- Motor6D28.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D28.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D28.Part0 = Part15
- Motor6D28.Part1 = Part9
- Motor6D28.MaxVelocity = 0.10000000149012
- Motor6D29.Name = "Neck"
- Motor6D29.Parent = Part15
- Motor6D29.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D29.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D29.Part0 = Part15
- Motor6D29.Part1 = Part0
- Motor6D29.MaxVelocity = 0.10000000149012
- e2 = Instance.new("Humanoid")
- e2.Health = 100
- e2.MaxHealth = 100
- e2.JumpPower = 50
- e2.HipHeight = 0
- e2.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOff
- e2.RigType = Enum.HumanoidRigType.R6
- e2.Parent = workspace[playername]
- head2.Transparency = 0.5
- leftarm2.Transparency = 0.5
- leftleg2.Transparency = 0.5
- rightleg2.Transparency = 0.5
- rightarm2.Transparency = 0.5
- torso2.Transparency = 0.5
- root2.Transparency = 0
- end
- e.Died:connect(createhuman)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement