Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local TextButton = Instance.new("TextButton")
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- TextButton.Parent = ScreenGui
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.Position = UDim2.new{0, 0},{0, 0}
- TextButton.Size = UDim2.new(0, 496, 0, 135)
- TextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- TextButton.Font = Enum.Font.Arcade
- TextButton.FontSize = Enum.FontSize.Size14
- TextButton.Text = "Press ded"
- TextButton.TextColor3 = Color3.new(0.454902, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- function kys()
- ScreenGui:destroy()
- local bodyvel = Instance.new("BodyVelocity", Part4)
- bodyvel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 45
- local death = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
- death.Volume = 10
- death.SoundId = "rbxassetid://572979823"
- wait(0.2)
- death:Play()
- bodyvel:destroy()
- game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
- if game.Players.LocalPlayer.Character:findFirstChild("Torso") then
- game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 10
- for i,v in pairs(game.Players.LocalPlayer.Character.Torso:GetChildren()) do
- if v.ClassName == "Motor6D" then
- if v.Name == "Neck" then
- else
- v:destroy()
- end
- end
- end
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Right Arm") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
- attachment.Position = Vector3.new(1, 1, 0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = game.Players.LocalPlayer.Character["Right Arm"].RightShoulderAttachment
- ball.Attachment1 = attachment
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Left Arm") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
- attachment.Position = Vector3.new(-1, 1, 0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = attachment
- ball.Attachment1 = game.Players.LocalPlayer.Character["Left Arm"].LeftShoulderAttachment
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Right Leg") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
- attachment.Position = Vector3.new(0.5, -1, 0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment
- ball.Attachment1 = attachment
- game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Left Leg") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
- attachment.Position = Vector3.new(-0.5, -1, 0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment
- ball.Attachment1 = attachment
- game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if game.Players.LocalPlayer.Character:findFirstChild("Head") then
- local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Head)
- attachment.Position = Vector3.new(0, -0.5, 0)
- attachment.Name = "lol"
- attachment.Visible = false
- game.Players.LocalPlayer.Character.Torso.NeckAttachment.Visible = false
- game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position = game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
- local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
- ball.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment
- ball.Attachment1 = attachment
- ball.LimitsEnabled = true
- ball.TwistLimitsEnabled = true
- ball.UpperAngle = 90
- ball.Restitution = 0.5
- ball.TwistUpperAngle = 180
- ball.TwistLowerAngle = -180
- local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = collidepartofleftleg
- weeld.Part1 = game.Players.LocalPlayer.Character["Head"]
- if game.Players.LocalPlayer.Character.Torso:findFirstChild("Neck") then
- game.Players.LocalPlayer.Character.Torso.Neck:destroy()
- end
- if game.Players.LocalPlayer.Character.Head:findFirstChild("face") then
- game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=1001870065"
- end
- end
- game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
- game.Players.LocalPlayer.Character.Humanoid.Health = 0.1
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
- local dead = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
- dead.Volume = 1
- dead.SoundId = "rbxassetid://0"
- dead:Play()
- dead.Looped = true
- while true do
- game.Players.LocalPlayer.Character.Humanoid.Health = 0.1
- game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
- wait()
- wait()
- end
- end
- TextButton.MouseButton1Click:connect(kys)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement