Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.02 KB | None | 0 0
  1. -- Objects
  2.  
  3. local hang = Instance.new("ScreenGui")
  4. local bar = Instance.new("Frame")
  5. local title = Instance.new("TextLabel")
  6. local body = Instance.new("Frame")
  7. local hangda = Instance.new("TextButton")
  8. local name = Instance.new("TextBox")
  9. local note = Instance.new("TextLabel")
  10. local note2 = Instance.new("TextLabel")
  11. local antifraud = Instance.new("TextLabel")
  12. local dont = Instance.new("TextLabel")
  13. local bottom = Instance.new("Frame")
  14. local prompt = Instance.new("Frame")
  15. local another = Instance.new("TextLabel")
  16. local waiting = Instance.new("TextLabel")
  17. local skipbo = Instance.new("TextButton")
  18.  
  19. -- Properties
  20.  
  21. hang.Name = "hang"
  22. hang.Parent = game.CoreGui
  23.  
  24. bar.Name = "bar"
  25. bar.Parent = hang
  26. bar.Active = true
  27. bar.BackgroundColor3 = Color3.new(0.835294, 0.4, 0.0196078)
  28. bar.BorderColor3 = Color3.new(0.835294, 0.4, 0.0196078)
  29. bar.Draggable = true
  30. bar.Position = UDim2.new(0.0186799504, 0, 0.102766797, 0)
  31. bar.Size = UDim2.new(0, 271, 0, 43)
  32.  
  33. title.Name = "title"
  34. title.Parent = bar
  35. title.BackgroundColor3 = Color3.new(1, 1, 1)
  36. title.BackgroundTransparency = 1
  37. title.Size = UDim2.new(0, 140, 0, 50)
  38. title.Font = Enum.Font.Garamond
  39. title.Text = "Hang GUI V1"
  40. title.TextColor3 = Color3.new(0, 0, 0)
  41. title.TextSize = 25
  42.  
  43. body.Name = "body"
  44. body.Parent = bar
  45. body.BackgroundColor3 = Color3.new(0.835294, 0.294118, 0.0196078)
  46. body.BorderColor3 = Color3.new(0.835294, 0.294118, 0.0196078)
  47. body.Position = UDim2.new(0.000229766592, 0, 1.00974357, 0)
  48. body.Size = UDim2.new(0, 271, 0, 370)
  49.  
  50. hangda.Name = "hangda"
  51. hangda.Parent = body
  52. hangda.BackgroundColor3 = Color3.new(0.835294, 0.4, 0.0196078)
  53. hangda.BorderColor3 = Color3.new(0.835294, 0.4, 0.0196078)
  54. hangda.Position = UDim2.new(0.130996302, 0, 0.42972973, 0)
  55. hangda.Size = UDim2.new(0, 200, 0, 42)
  56. hangda.Font = Enum.Font.Garamond
  57. hangda.Text = "Hang Player"
  58. hangda.TextColor3 = Color3.new(0, 0, 0)
  59. hangda.TextSize = 25
  60.  
  61. name.Name = "name"
  62. name.Parent = body
  63. name.BackgroundColor3 = Color3.new(0.835294, 0.4, 0.0196078)
  64. name.BorderColor3 = Color3.new(0.835294, 0.4, 0.0196078)
  65. name.Position = UDim2.new(0.17896679, 0, 0.243243247, 0)
  66. name.Size = UDim2.new(0, 174, 0, 31)
  67. name.Font = Enum.Font.Garamond
  68. name.Text = "Username"
  69. name.TextColor3 = Color3.new(0, 0, 0)
  70. name.TextSize = 23
  71.  
  72. note.Name = "note"
  73. note.Parent = body
  74. note.BackgroundColor3 = Color3.new(1, 1, 1)
  75. note.BackgroundTransparency = 1
  76. note.Position = UDim2.new(0.132841334, 0, 0.0243243203, 0)
  77. note.Size = UDim2.new(0, 200, 0, 50)
  78. note.Font = Enum.Font.Garamond
  79. note.Text = "Notice: Players get kicked"
  80. note.TextColor3 = Color3.new(0, 0, 0)
  81. note.TextSize = 20
  82.  
  83. note2.Name = "note2"
  84. note2.Parent = body
  85. note2.BackgroundColor3 = Color3.new(1, 1, 1)
  86. note2.BackgroundTransparency = 1
  87. note2.Position = UDim2.new(0.132841334, 0, 0.0783783644, 0)
  88. note2.Size = UDim2.new(0, 200, 0, 50)
  89. note2.Font = Enum.Font.Garamond
  90. note2.Text = "when they die."
  91. note2.TextColor3 = Color3.new(0, 0, 0)
  92. note2.TextSize = 20
  93.  
  94. antifraud.Name = "antifraud"
  95. antifraud.Parent = body
  96. antifraud.BackgroundColor3 = Color3.new(1, 1, 1)
  97. antifraud.BackgroundTransparency = 1
  98. antifraud.BorderSizePixel = 0
  99. antifraud.Position = UDim2.new(0, 0, 0.751351357, 0)
  100. antifraud.Size = UDim2.new(0, 271, 0, 43)
  101. antifraud.Font = Enum.Font.Garamond
  102. antifraud.Text = "Made by @Kira#9348 scripted by @BbopGaming#1013"
  103. antifraud.TextColor3 = Color3.new(0, 0, 0)
  104. antifraud.TextScaled = true
  105. antifraud.TextSize = 14
  106. antifraud.TextWrapped = true
  107.  
  108. dont.Name = "dont"
  109. dont.Parent = body
  110. dont.BackgroundColor3 = Color3.new(1, 1, 1)
  111. dont.BackgroundTransparency = 1
  112. dont.BorderSizePixel = 0
  113. dont.Position = UDim2.new(0.130996317, 0, 0.635135114, 0)
  114. dont.Size = UDim2.new(0, 200, 0, 36)
  115. dont.Font = Enum.Font.Garamond
  116. dont.Text = "Do not copy this GUI."
  117. dont.TextColor3 = Color3.new(0, 0, 0)
  118. dont.TextScaled = true
  119. dont.TextSize = 14
  120. dont.TextWrapped = true
  121.  
  122. bottom.Name = "bottom"
  123. bottom.Parent = bar
  124. bottom.BackgroundColor3 = Color3.new(0.835294, 0.4, 0.0196078)
  125. bottom.BorderColor3 = Color3.new(0.835294, 0.4, 0.0196078)
  126. bottom.Position = UDim2.new(-0.000778999645, 0, 8.60864735, 0)
  127. bottom.Size = UDim2.new(0, 271, 0, 43)
  128.  
  129. prompt.Name = "prompt"
  130. prompt.Parent = hang
  131. prompt.BackgroundColor3 = Color3.new(0.835294, 0.4, 0.0196078)
  132. prompt.BorderColor3 = Color3.new(1, 0, 0)
  133. prompt.BorderSizePixel = 2
  134. prompt.Position = UDim2.new(0.360000014, 0, -1.377999991, 0)
  135. prompt.Size = UDim2.new(0, 363, 0, 257)
  136.  
  137. another.Name = "another"
  138. another.Parent = prompt
  139. another.BackgroundColor3 = Color3.new(1, 1, 1)
  140. another.BackgroundTransparency = 1
  141. another.BorderSizePixel = 0
  142. another.Position = UDim2.new(0.191460058, 0, 0.0875486359, 0)
  143. another.Size = UDim2.new(0, 224, 0, 64)
  144. another.Font = Enum.Font.Fantasy
  145. another.Text = "Another GUI by @BbopGaming#1013 and @Kira#9348"
  146. another.TextColor3 = Color3.new(0, 0, 0)
  147. another.TextScaled = true
  148. another.TextSize = 14
  149. another.TextWrapped = true
  150.  
  151. waiting.Name = "waiting"
  152. waiting.Parent = prompt
  153. waiting.BackgroundColor3 = Color3.new(1, 1, 1)
  154. waiting.BackgroundTransparency = 1
  155. waiting.BorderSizePixel = 0
  156. waiting.Position = UDim2.new(0.724517941, 0, 0.883268476, 0)
  157. waiting.Size = UDim2.new(0, 100, 0, 30)
  158. waiting.Font = Enum.Font.Fantasy
  159. waiting.Text = "Wait (5)"
  160. waiting.TextColor3 = Color3.new(0, 0, 0)
  161. waiting.TextScaled = true
  162. waiting.TextSize = 14
  163. waiting.TextWrapped = true
  164.  
  165. skipbo.Name = "skipbo"
  166. skipbo.Parent = prompt
  167. skipbo.BackgroundColor3 = Color3.new(0.670588, 0.309804, 0.0156863)
  168. skipbo.BorderSizePixel = 0
  169. skipbo.Position = UDim2.new(0.225895315, 0, 0.494163394, 0)
  170. skipbo.Size = UDim2.new(0, 200, 0, 32)
  171. skipbo.Font = Enum.Font.Fantasy
  172. skipbo.Text = "Proceed"
  173. skipbo.TextColor3 = Color3.new(0, 0, 0)
  174. skipbo.TextScaled = true
  175. skipbo.TextSize = 14
  176. skipbo.TextWrapped = true
  177.  
  178. bar.Visible = false
  179. skipbo.Visible = false
  180. hang.Parent = game.Players.LocalPlayer.PlayerGui
  181. wait(.1)
  182. prompt:TweenPosition(UDim2.new(0.36, 0,0.242, 0), "In", "Linear", 2)
  183. prompt.Visible = true
  184. wait(2)
  185. wait(1)
  186. waiting.Text = "Wait (4)"
  187. wait(1)
  188. waiting.Text = "Wait (3)"
  189. wait(1)
  190. waiting.Text = "Wait (2)"
  191. wait(1)
  192. waiting.Text = "Wait (1)"
  193. wait(1)
  194. waiting.Text = ""
  195. skipbo.Visible = true
  196. skipbo.MouseButton1Click:connect(function()
  197. prompt:TweenPosition(UDim2.new(0.36, 0, -1.378, 0), "Out", "Linear", 2)
  198. wait(2)
  199. prompt:Destroy()
  200. bar.Visible = true
  201. end)
  202.  
  203. hangda.MouseButton1Click:connect(function()
  204. local asset = 1529976727
  205. local model = game:GetService("InsertService"):LoadAsset(asset)
  206. model.Parent = game.Workspace
  207. model:MakeJoints()
  208. model.Name = "Hangar"
  209. local assetz = 1530012356
  210. local modelz = game:GetService("InsertService"):LoadAsset(assetz)
  211. modelz.Parent = game.Workspace
  212. modelz:MakeJoints()
  213. modelz.Name = "Scripz"
  214. while game.Workspace[name.Text].Humanoid.Health > 0 do
  215. wait()
  216. game.Workspace[name.Text].Head.CFrame = CFrame.new(model.Hangar.Spot.Position)
  217. game.Workspace[name.Text].Humanoid.Health = game.Workspace[name.Text].Humanoid.Health - 1
  218. game.Workspace[name.Text].Head.Anchored = true
  219. end
  220. wait(2)
  221. modelz:Destroy()
  222. game.Players[name.Text]:Kick()
  223. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement