nhokp

Gui Slaying

Jan 5th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.78 KB | None | 0 0
  1. local GuiMain = Instance.new("ScreenGui")
  2. local OpenGui = Instance.new("Frame")
  3. local Open = Instance.new("TextButton")
  4. local MAINGUI = Instance.new("Frame")
  5. local B1 = Instance.new("TextButton")
  6. local TextBox = Instance.new("TextBox")
  7. local B2 = Instance.new("TextButton")
  8. local B3 = Instance.new("TextButton")
  9. local B4 = Instance.new("TextButton")
  10. local B5 = Instance.new("TextButton")
  11. local B6 = Instance.new("TextButton")
  12. local B7 = Instance.new("TextButton")
  13. local B8 = Instance.new("TextButton")
  14. local B9 = Instance.new("TextButton")
  15. local Close = Instance.new("TextButton")
  16. --Properties:
  17. GuiMain.Name = "GuiMain"
  18. GuiMain.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  19.  
  20. OpenGui.Name = "OpenGui"
  21. OpenGui.Parent = GuiMain
  22. OpenGui.BackgroundColor3 = Color3.new(0, 0, 0)
  23. OpenGui.BorderColor3 = Color3.new(1, 1, 1)
  24. OpenGui.BorderSizePixel = 5
  25. OpenGui.Position = UDim2.new(0.0242872834, 0, 0.872440934, 0)
  26. OpenGui.Size = UDim2.new(0, 133, 0, 71)
  27.  
  28. Open.Name = "Open"
  29. Open.Parent = OpenGui
  30. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  31. Open.Position = UDim2.new(0.135338351, 0, 0.28169015, 0)
  32. Open.Size = UDim2.new(0, 97, 0, 30)
  33. Open.Font = Enum.Font.SourceSans
  34. Open.Text = "Open"
  35. Open.TextColor3 = Color3.new(0, 0, 0)
  36. Open.TextSize = 14
  37. Open.MouseButton1Down:connect(function()
  38. MAINGUI.Visible = true
  39. OpenGui.Visible = false
  40. end)
  41.  
  42. MAINGUI.Name = "MAINGUI"
  43. MAINGUI.Parent = GuiMain
  44. MAINGUI.BackgroundColor3 = Color3.new(0.355, 0.355, 0.355)
  45. MAINGUI.BorderColor3 = Color3.new(0.101961, 0.207843, 0.2)
  46. MAINGUI.BorderSizePixel = 10
  47. MAINGUI.Position = UDim2.new(0.542766571, 0, 0.199999988, 0)
  48. MAINGUI.Size = UDim2.new(0, 322, 0, 309)
  49. MAINGUI.Visible = false
  50.  
  51. B1.Name = "B1"
  52. B1.Parent = MAINGUI
  53. B1.BackgroundColor3 = Color3.new(1, 1, 1)
  54. B1.Position = UDim2.new(0, 0, 0.197411001, 0)
  55. B1.Size = UDim2.new(0, 103, 0, 50)
  56. B1.Font = Enum.Font.SciFi
  57. B1.Text = "Farm Assasins"
  58. B1.TextColor3 = Color3.new(0, 0, 0)
  59. B1.TextScaled = true
  60. B1.TextSize = 14
  61. B1.TextWrapped = true
  62. B1.MouseButton1Down:connect(function()
  63. local enemi = game.Workspace.Enemies.Assassins -- Change Assasins to Any NPC you want
  64. while _G.Fuck do
  65.  
  66. wait()
  67. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  68. for _,v in pairs(enemi:GetChildren()) do
  69. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame+Vector3.new(1, 0, 0)
  70. end
  71. end
  72.  
  73. TextBox.Parent = MAINGUI
  74. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  75. TextBox.Position = UDim2.new(0.1863354, 0, 0, 0)
  76. TextBox.Size = UDim2.new(0, 203, 0, 50)
  77. TextBox.Font = Enum.Font.SciFi
  78. TextBox.Text = "By DarkP"
  79. TextBox.TextColor3 = Color3.new(0, 0, 0)
  80. TextBox.TextScaled = true
  81. TextBox.TextSize = 14
  82. TextBox.TextWrapped = true
  83.  
  84. B2.Name = "B2"
  85. B2.Parent = MAINGUI
  86. B2.BackgroundColor3 = Color3.new(1, 1, 1)
  87. B2.Position = UDim2.new(0.680124223, 0, 0.197411001, 0)
  88. B2.Size = UDim2.new(0, 103, 0, 50)
  89. B2.Font = Enum.Font.SciFi
  90. B2.Text = "Farm Orcs"
  91. B2.TextColor3 = Color3.new(0, 0, 0)
  92. B2.TextScaled = true
  93. B2.TextSize = 14
  94. B2.TextWrapped = true
  95. B2.MouseButton1Down:connect(function()
  96. local enemi = game.Workspace.Enemies.Orcs -- Change Assasins to Any NPC you want
  97. while _G.Fuck do
  98.  
  99. wait()
  100. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  101. for _,v in pairs(enemi:GetChildren()) do
  102. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame+Vector3.new(1, 0, 0)
  103. end
  104. end
  105.  
  106. B3.Name = "B3"
  107. B3.Parent = MAINGUI
  108. B3.BackgroundColor3 = Color3.new(1, 1, 1)
  109. B3.Position = UDim2.new(0, 0, 0.407766998, 0)
  110. B3.Size = UDim2.new(0, 103, 0, 50)
  111. B3.Font = Enum.Font.SciFi
  112. B3.Text = "Farm Skeletons"
  113. B3.TextColor3 = Color3.new(0, 0, 0)
  114. B3.TextScaled = true
  115. B3.TextSize = 14
  116. B3.TextWrapped = true
  117. B3.MouseButton1Down:connect(function()
  118.  
  119. local enemi = game.Workspace.Enemies.Skeletons -- Change Assasins to Any NPC you want
  120. while _G.Fuck do
  121.  
  122. wait()
  123. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  124. for _,v in pairs(enemi:GetChildren()) do
  125. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame+Vector3.new(1, 0, 0)
  126. end
  127. end
  128. B4.Name = "B4"
  129. B4.Parent = MAINGUI
  130. B4.BackgroundColor3 = Color3.new(1, 1, 1)
  131. B4.Position = UDim2.new(0.680124223, 0, 0.407766998, 0)
  132. B4.Size = UDim2.new(0, 103, 0, 50)
  133. B4.Font = Enum.Font.SciFi
  134. B4.Text = "Farm Noobs"
  135. B4.TextColor3 = Color3.new(0, 0, 0)
  136. B4.TextScaled = true
  137. B4.TextSize = 14
  138. B4.TextWrapped = true
  139. B4.MouseButton1Down:connect(function()
  140. local enemi = game.Workspace.Enemies.Noobs -- Change Assasins to Any NPC you want
  141. while _G.Fuck do
  142.  
  143. wait()
  144. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  145. for _,v in pairs(enemi:GetChildren()) do
  146. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame+Vector3.new(1, 0, 0)
  147. end
  148. end
  149.  
  150. B5.Name = "B5"
  151. B5.Parent = MAINGUI
  152. B5.BackgroundColor3 = Color3.new(1, 1, 1)
  153. B5.Position = UDim2.new(7.4505806e-09, 0, 0.614886701, 0)
  154. B5.Size = UDim2.new(0, 103, 0, 50)
  155. B5.Font = Enum.Font.SciFi
  156. B5.Text = "Farm Chocolate Zombies"
  157. B5.TextColor3 = Color3.new(0, 0, 0)
  158. B5.TextScaled = true
  159. B5.TextSize = 14
  160. B5.TextWrapped = true
  161. B5.MouseButton1Down:connect(function()
  162. local enemi = game.Workspace.Enemies.Chocolate Zombies -- Change Assasins to Any NPC you want
  163. while _G.Fuck do
  164.  
  165. wait()
  166. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  167. for _,v in pairs(enemi:GetChildren()) do
  168. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame+Vector3.new(1, 0, 0)
  169. end
  170. end
  171. B6.Name = "B6"
  172. B6.Parent = MAINGUI
  173. B6.BackgroundColor3 = Color3.new(1, 1, 1)
  174. B6.Position = UDim2.new(0.680124223, 0, 0.614886761, 0)
  175. B6.Size = UDim2.new(0, 103, 0, 50)
  176. B6.Font = Enum.Font.SciFi
  177. B6.Text = "Farm Overlord"
  178. B6.TextColor3 = Color3.new(0, 0, 0)
  179. B6.TextScaled = true
  180. B6.TextSize = 14
  181. B6.TextWrapped = true
  182. B6.MouseButton1Down:connect(function()
  183. local enemi = game.Workspace.Enemies.Overlord -- Change Assasins to Any NPC you want
  184. while _G.Fuck do
  185.  
  186. wait()
  187. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  188. for _,v in pairs(enemi:GetChildren()) do
  189. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame+Vector3.new(1, 0, 0)
  190. end
  191. end
  192.  
  193. B7.Name = "B7"
  194. B7.Parent = MAINGUI
  195. B7.BackgroundColor3 = Color3.new(1, 1, 1)
  196. B7.Position = UDim2.new(0, 0, 0.838187695, 0)
  197. B7.Size = UDim2.new(0, 103, 0, 50)
  198. B7.Font = Enum.Font.SciFi
  199. B7.Text = "Farm Werewolf"
  200. B7.TextColor3 = Color3.new(0, 0, 0)
  201. B7.TextScaled = true
  202. B7.TextSize = 14
  203. B7.TextWrapped = true
  204. B7.MouseButton1Down:connect(function()
  205. local enemi = game.Workspace.Enemies.Werewolf -- Change Assasins to Any NPC you want
  206. while _G.Fuck do
  207.  
  208. wait()
  209. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  210. for _,v in pairs(enemi:GetChildren()) do
  211. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame+Vector3.new(1, 0, 0)
  212. end
  213. end
  214.  
  215. B8.Name = "B8"
  216. B8.Parent = MAINGUI
  217. B8.BackgroundColor3 = Color3.new(1, 1, 1)
  218. B8.Position = UDim2.new(0.680124223, 0, 0.838187695, 0)
  219. B8.Size = UDim2.new(0, 103, 0, 50)
  220. B8.Font = Enum.Font.SciFi
  221. B8.Text = "Subcribe kênh DarkP"
  222. B8.TextColor3 = Color3.new(0, 0, 0)
  223. B8.TextScaled = true
  224. B8.TextSize = 14
  225. B8.TextWrapped = true
  226. B8.MouseButton1Down:connect(function()
  227. end)
  228.  
  229.  
  230.  
  231. Close.Name = "Close"
  232. Close.Parent = MAINGUI
  233. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  234. Close.BackgroundTransparency = 1
  235. Close.Position = UDim2.new(0.931677043, 0, 0, 0)
  236. Close.Size = UDim2.new(0, 22, 0, 22)
  237. Close.Font = Enum.Font.SourceSansBold
  238. Close.Text = "Thoát"
  239. Close.TextColor3 = Color3.new(1, 0, 0.0156863)
  240. Close.TextScaled = true
  241. Close.TextSize = 14
  242. Close.TextStrokeColor3 = Color3.new(1, 0, 0.0156863)
  243. Close.TextWrapped = true
  244. Close.MouseButton1Down:connect(function()
  245. MAINGUI.Visible = false
  246. OpenGui.Visible = true
  247. end)
Add Comment
Please, Sign In to add comment