Advertisement
Gametoy

aha

Jun 18th, 2017
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.36 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local TextButton = Instance.new("TextButton")
  3. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  4. TextButton.Parent = ScreenGui
  5. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  6. TextButton.Position = UDim2.new{0, 0},{0, 0}
  7. TextButton.Size = UDim2.new(0, 496, 0, 135)
  8. TextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  9. TextButton.Font = Enum.Font.Arcade
  10. TextButton.FontSize = Enum.FontSize.Size14
  11. TextButton.Text = "Press ded"
  12. TextButton.TextColor3 = Color3.new(0.454902, 0, 0)
  13. TextButton.TextScaled = true
  14. TextButton.TextSize = 14
  15. TextButton.TextWrapped = true
  16. function kys()
  17. ScreenGui:destroy()
  18. local bodyvel = Instance.new("BodyVelocity", Part4)
  19. bodyvel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 45
  20. local death = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  21. death.Volume = 10
  22. death.SoundId = "rbxassetid://572979823"
  23. wait(0.2)
  24. death:Play()
  25. bodyvel:destroy()
  26. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
  27. if game.Players.LocalPlayer.Character:findFirstChild("Torso") then
  28. game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 10
  29. for i,v in pairs(game.Players.LocalPlayer.Character.Torso:GetChildren()) do
  30. if v.ClassName == "Motor6D" then
  31. if v.Name == "Neck" then
  32.  
  33. else
  34. v:destroy()
  35. end
  36. end
  37. end
  38. end
  39. if game.Players.LocalPlayer.Character:findFirstChild("Right Arm") then
  40. local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  41. attachment.Position = Vector3.new(1, 1, 0)
  42. local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  43. ball.Attachment0 = game.Players.LocalPlayer.Character["Right Arm"].RightShoulderAttachment
  44. ball.Attachment1 = attachment
  45. local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  46. collidepartofleftleg.Name = "Bone"
  47. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  48. collidepartofleftleg.Transparency = 1
  49. collidepartofleftleg:BreakJoints()
  50. local weeld = Instance.new("Weld", collidepartofleftleg)
  51. weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  52. weeld.Part1 = collidepartofleftleg
  53. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  54. end
  55. if game.Players.LocalPlayer.Character:findFirstChild("Left Arm") then
  56. local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  57. attachment.Position = Vector3.new(-1, 1, 0)
  58. local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  59. ball.Attachment0 = attachment
  60. ball.Attachment1 = game.Players.LocalPlayer.Character["Left Arm"].LeftShoulderAttachment
  61. local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  62. collidepartofleftleg.Name = "Bone"
  63. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  64. collidepartofleftleg.Transparency = 1
  65. collidepartofleftleg:BreakJoints()
  66. local weeld = Instance.new("Weld", collidepartofleftleg)
  67. weeld.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
  68. weeld.Part1 = collidepartofleftleg
  69. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  70. end
  71. if game.Players.LocalPlayer.Character:findFirstChild("Right Leg") then
  72. local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  73. attachment.Position = Vector3.new(0.5, -1, 0)
  74. local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  75. ball.Attachment0 = game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment
  76. ball.Attachment1 = attachment
  77. game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  78. local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  79. collidepartofleftleg.Name = "Bone"
  80. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  81. collidepartofleftleg.Transparency = 1
  82. collidepartofleftleg:BreakJoints()
  83. local weeld = Instance.new("Weld", collidepartofleftleg)
  84. weeld.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
  85. weeld.Part1 = collidepartofleftleg
  86. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  87. end
  88. if game.Players.LocalPlayer.Character:findFirstChild("Left Leg") then
  89. local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  90. attachment.Position = Vector3.new(-0.5, -1, 0)
  91. local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  92. ball.Attachment0 = game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment
  93. ball.Attachment1 = attachment
  94. game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  95. local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  96. collidepartofleftleg.Name = "Bone"
  97. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  98. collidepartofleftleg.Transparency = 1
  99. collidepartofleftleg:BreakJoints()
  100. local weeld = Instance.new("Weld", collidepartofleftleg)
  101. weeld.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
  102. weeld.Part1 = collidepartofleftleg
  103. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  104. end
  105. if game.Players.LocalPlayer.Character:findFirstChild("Head") then
  106. local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Head)
  107. attachment.Position = Vector3.new(0, -0.5, 0)
  108. attachment.Name = "lol"
  109. attachment.Visible = false
  110. game.Players.LocalPlayer.Character.Torso.NeckAttachment.Visible = false
  111. game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position = game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  112. local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  113. ball.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment
  114. ball.Attachment1 = attachment
  115. ball.LimitsEnabled = true
  116. ball.TwistLimitsEnabled = true
  117. ball.UpperAngle = 90
  118. ball.Restitution = 0.5
  119. ball.TwistUpperAngle = 180
  120. ball.TwistLowerAngle = -180
  121. local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  122. collidepartofleftleg.Name = "Bone"
  123. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  124. collidepartofleftleg.Transparency = 1
  125. collidepartofleftleg:BreakJoints()
  126. local weeld = Instance.new("Weld", collidepartofleftleg)
  127. weeld.Part0 = collidepartofleftleg
  128. weeld.Part1 = game.Players.LocalPlayer.Character["Head"]
  129. if game.Players.LocalPlayer.Character.Torso:findFirstChild("Neck") then
  130. game.Players.LocalPlayer.Character.Torso.Neck:destroy()
  131. end
  132. if game.Players.LocalPlayer.Character.Head:findFirstChild("face") then
  133. game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=1001870065"
  134. end
  135. end
  136. game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  137. game.Players.LocalPlayer.Character.Humanoid.Health = 0.1
  138. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  139. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  140. local dead = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  141. dead.Volume = 1
  142. dead.SoundId = "rbxassetid://0"
  143. dead:Play()
  144. dead.Looped = true
  145. while true do
  146. game.Players.LocalPlayer.Character.Humanoid.Health = 0.1
  147. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
  148. wait()
  149. wait()
  150. end
  151. end
  152. TextButton.MouseButton1Click:connect(kys)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement