KevinPlayLT2

Broken Bones

Jun 27th, 2020
1,600
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.86 KB | None | 0 0
  1. local GUI = Instance.new("ScreenGui")
  2. local OpenFrame = Instance.new("Frame")
  3. local Open = Instance.new("TextButton")
  4. local Main = Instance.new("Frame")
  5. local TextOben = Instance.new("TextLabel")
  6. local TextUnten = Instance.new("TextLabel")
  7. local Start = Instance.new("TextButton")
  8. local Stop = Instance.new("TextButton")
  9. local Close = Instance.new("TextButton")
  10. local Oben = Instance.new("Frame")
  11. local Unten = Instance.new("Frame")
  12.  
  13. GUI.Name = "GUI"
  14. GUI.Parent = game.CoreGui
  15.  
  16. OpenFrame.Name = "OpenFrame"
  17. OpenFrame.Parent = GUI
  18. OpenFrame.Active = true
  19. OpenFrame.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
  20. OpenFrame.Position = UDim2.new(0, 0, 0.539840639, 0)
  21. OpenFrame.Size = UDim2.new(0, 114, 0, 30)
  22.  
  23. Open.Name = "Open"
  24. Open.Parent = OpenFrame
  25. Open.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
  26. Open.BorderSizePixel = 0
  27. Open.Position = UDim2.new(0.0370370373, 0, 0.13333334, 0)
  28. Open.Size = UDim2.new(0, 104, 0, 22)
  29. Open.Font = Enum.Font.SciFi
  30. Open.Text = "Open"
  31. Open.TextColor3 = Color3.new(0, 0, 0)
  32. Open.TextSize = 20
  33. Open.MouseButton1Down:connect(function()
  34. Main.Visible = true
  35. OpenFrame.Visible = false
  36. end)
  37.  
  38. Main.Name = "Main"
  39. Main.Parent = GUI
  40. Main.Active = true
  41. Main.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  42. Main.BackgroundTransparency = 0.20000000298023
  43. Main.BorderColor3 = Color3.new(0, 0, 0)
  44. Main.Position = UDim2.new(0.393034846, 0, 0.288844645, 0)
  45. Main.Size = UDim2.new(0, 172, 0, 211)
  46. Main.Draggable = true
  47.  
  48. TextOben.Name = "TextOben"
  49. TextOben.Parent = Main
  50. TextOben.BackgroundColor3 = Color3.new(0, 0.333333, 1)
  51. TextOben.BorderColor3 = Color3.new(0, 0, 0)
  52. TextOben.Position = UDim2.new(-0.116279073, 0, -0.0900473967, 0)
  53. TextOben.Size = UDim2.new(0, 212, 0, 31)
  54. TextOben.Font = Enum.Font.SciFi
  55. TextOben.Text = ""
  56. TextOben.TextColor3 = Color3.new(0, 0, 0)
  57. TextOben.TextSize = 30
  58.  
  59. TextUnten.Name = "TextUnten"
  60. TextUnten.Parent = Main
  61. TextUnten.BackgroundColor3 = Color3.new(0, 0.333333, 1)
  62. TextUnten.Position = UDim2.new(-0.116279073, 0, 0.928909957, 0)
  63. TextUnten.Size = UDim2.new(0, 212, 0, 31)
  64. TextUnten.Font = Enum.Font.SciFi
  65. TextUnten.Text = ""
  66. TextUnten.TextColor3 = Color3.new(0, 0, 0)
  67. TextUnten.TextSize = 24
  68.  
  69. Start.Name = "Start"
  70. Start.Parent = Main
  71. Start.BackgroundColor3 = Color3.new(1, 1, 1)
  72. Start.BackgroundTransparency = 1
  73. Start.BorderSizePixel = 0
  74. Start.Position = UDim2.new(0.0755813941, 0, 0.113744073, 0)
  75. Start.Size = UDim2.new(0, 146, 0, 54)
  76. Start.Font = Enum.Font.Cartoon
  77. Start.Text = "Start"
  78. Start.TextColor3 = Color3.new(0, 0, 0)
  79. Start.TextSize = 40
  80. Start.MouseButton1Down:connect(function()
  81. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2207, 128, -374)
  82. end)
  83. Start.MouseButton1Down:connect(function()
  84. plr = game:GetService('Players').LocalPlayer
  85. torso = plr.Character.UpperTorso
  86. hum = plr.Character.Humanoid
  87. mouse = plr:GetMouse()
  88. stop = false
  89. while stop == false do
  90. local bp = Instance.new('BodyPosition')
  91. bp.MaxForce = Vector3.new(999999,999999,999999)
  92. bp.Position = torso.Position
  93. bp.Parent = torso
  94. local bav = Instance.new('BodyAngularVelocity')
  95. bav.MaxTorque = Vector3.new(999999,999999,999999)
  96. bav.AngularVelocity = Vector3.new(200,200,200)
  97. bav.Parent = torso
  98. wait()
  99. end
  100. end)
  101. Start.MouseButton1Down:connect(function()
  102. local VirtualUser=game:service'VirtualUser'
  103. game:service'Players'.LocalPlayer.Idled:connect(function()
  104. VirtualUser:CaptureController()
  105. VirtualUser:ClickButton2(Vector2.new())
  106. end)
  107. end)
  108.  
  109. Stop.Name = "Stop"
  110. Stop.Parent = Main
  111. Stop.BackgroundColor3 = Color3.new(1, 1, 1)
  112. Stop.BackgroundTransparency = 1
  113. Stop.BorderSizePixel = 0
  114. Stop.Position = UDim2.new(0.0755813941, 0, 0.369668275, 0)
  115. Stop.Size = UDim2.new(0, 146, 0, 54)
  116. Stop.Font = Enum.Font.Cartoon
  117. Stop.Text = "Stop"
  118. Stop.TextColor3 = Color3.new(0, 0, 0)
  119. Stop.TextSize = 40
  120. Stop.MouseButton1Down:connect(function()
  121. local player = game.Players.LocalPlayer.Name
  122.  
  123. game.workspace[player]:BreakJoints()
  124. end)
  125.  
  126. Close.Name = "Close"
  127. Close.Parent = Main
  128. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  129. Close.BackgroundTransparency = 1
  130. Close.BorderSizePixel = 0
  131. Close.Position = UDim2.new(0.0755813941, 0, 0.654028475, 0)
  132. Close.Size = UDim2.new(0, 145, 0, 45)
  133. Close.Font = Enum.Font.SciFi
  134. Close.Text = "Close"
  135. Close.TextColor3 = Color3.new(0, 0, 0)
  136. Close.TextSize = 25
  137. Close.MouseButton1Down:connect(function()
  138. OpenFrame.Visible = true
  139. Main.Visible = false
  140. end)
  141.  
  142. Oben.Name = "Oben"
  143. Oben.Parent = Main
  144. Oben.BackgroundColor3 = Color3.new(1, 1, 1)
  145. Oben.BackgroundTransparency = 1
  146. Oben.BorderSizePixel = 0
  147. Oben.Position = UDim2.new(-0.116279066, 0, -0.0900473967, 0)
  148. Oben.Size = UDim2.new(0, 213, 0, 30)
  149.  
  150. Unten.Name = "Unten"
  151. Unten.Parent = Main
  152. Unten.BackgroundColor3 = Color3.new(1, 1, 1)
  153. Unten.BackgroundTransparency = 1
  154. Unten.BorderSizePixel = 0
  155. Unten.Position = UDim2.new(-0.116279073, 0, 0.933649242, 0)
  156. Unten.Size = UDim2.new(0, 212, 0, 30)
Add Comment
Please, Sign In to add comment