Advertisement
karobloxYT

Untitled

Jul 14th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.72 KB | None | 0 0
  1. local MainGUI = Instance.new("ScreenGui")
  2. local Gui = Instance.new("Frame")
  3. local TopBar1 = Instance.new("Frame")
  4. local HockMM2Title = Instance.new("TextLabel")
  5. local TopBar2 = Instance.new("Frame")
  6. local PromotionStuff = Instance.new("Frame")
  7. local Credits = Instance.new("TextLabel")
  8. local JoinDiscordSever = Instance.new("TextLabel")
  9. local TpCoins = Instance.new("TextButton")
  10. local SpamSheriffGun = Instance.new("TextButton")
  11. local TpToSpawn = Instance.new("TextButton")
  12. local BringGun = Instance.new("TextButton")
  13. local UnlockWorkspace = Instance.new("TextButton")
  14. local GodMode = Instance.new("TextButton")
  15. local Btools = Instance.new("TextButton")
  16. local Esp = Instance.new("TextButton")
  17. local MoreScriptsAddingSoon = Instance.new("TextLabel")
  18. local DeleteButton = Instance.new("TextButton")
  19. --Properties:
  20. MainGUI.Name = "MainGUI"
  21. MainGUI.Parent = game.CoreGui
  22.  
  23. Gui.Name = "Gui"
  24. Gui.Parent = MainGUI
  25. Gui.Active = true
  26. Gui.BackgroundColor3 = Color3.new(0.517647, 0.517647, 0.517647)
  27. Gui.Position = UDim2.new(0.0618131869, 0, 0.0517928302, 0)
  28. Gui.Size = UDim2.new(0, 537, 0, 439)
  29. Gui.Visible = true
  30. Gui.Draggable = true
  31.  
  32. TopBar1.Name = "TopBar1"
  33. TopBar1.Parent = Gui
  34. TopBar1.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  35. TopBar1.Size = UDim2.new(0, 537, 0, 50)
  36.  
  37. HockMM2Title.Name = "HockMM2 Title"
  38. HockMM2Title.Parent = TopBar1
  39. HockMM2Title.BackgroundColor3 = Color3.new(1, 1, 1)
  40. HockMM2Title.BackgroundTransparency = 1
  41. HockMM2Title.Size = UDim2.new(0, 537, 0, 50)
  42. HockMM2Title.Font = Enum.Font.SourceSansBold
  43. HockMM2Title.Text = "HockMM2"
  44. HockMM2Title.TextColor3 = Color3.new(0, 0, 0)
  45. HockMM2Title.TextScaled = true
  46. HockMM2Title.TextSize = 14
  47. HockMM2Title.TextWrapped = true
  48.  
  49. TopBar2.Name = "TopBar2"
  50. TopBar2.Parent = Gui
  51. TopBar2.BackgroundColor3 = Color3.new(0.713726, 0.47451, 0)
  52. TopBar2.Position = UDim2.new(0, 0, 0.111960724, 0)
  53. TopBar2.Size = UDim2.new(0, 537, 0, 10)
  54.  
  55. PromotionStuff.Name = "PromotionStuff"
  56. PromotionStuff.Parent = Gui
  57. PromotionStuff.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  58. PromotionStuff.Position = UDim2.new(0, 0, 0.88576138, 0)
  59. PromotionStuff.Size = UDim2.new(0, 537, 0, 50)
  60.  
  61. Credits.Name = "Credits"
  62. Credits.Parent = PromotionStuff
  63. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  64. Credits.BackgroundTransparency = 1
  65. Credits.Position = UDim2.new(0, 0, -0.0056280517, 0)
  66. Credits.Size = UDim2.new(0, 537, 0, 28)
  67. Credits.Font = Enum.Font.SourceSansBold
  68. Credits.Text = "Gui Made by [YT] HOCK HENG LIM#7160"
  69. Credits.TextColor3 = Color3.new(0, 0, 0)
  70. Credits.TextScaled = true
  71. Credits.TextSize = 14
  72. Credits.TextWrapped = true
  73.  
  74. JoinDiscordSever.Name = "JoinDiscordSever"
  75. JoinDiscordSever.Parent = PromotionStuff
  76. JoinDiscordSever.BackgroundColor3 = Color3.new(1, 1, 1)
  77. JoinDiscordSever.BackgroundTransparency = 1
  78. JoinDiscordSever.Position = UDim2.new(0, 0, 0.434371948, 0)
  79. JoinDiscordSever.Size = UDim2.new(0, 537, 0, 28)
  80. JoinDiscordSever.Font = Enum.Font.SourceSansBold
  81. JoinDiscordSever.Text = "Join discord sever for more and exculsive scripts/guis! https://discord.gg/rcnujV4"
  82. JoinDiscordSever.TextColor3 = Color3.new(0, 0, 0)
  83. JoinDiscordSever.TextScaled = true
  84. JoinDiscordSever.TextSize = 14
  85. JoinDiscordSever.TextWrapped = true
  86.  
  87. TpCoins.Name = "TpCoins"
  88. TpCoins.Parent = Gui
  89. TpCoins.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  90. TpCoins.Position = UDim2.new(0.0148975784, 0, 0.182713121, 0)
  91. TpCoins.Size = UDim2.new(0, 156, 0, 50)
  92. TpCoins.Font = Enum.Font.GothamBold
  93. TpCoins.Text = "Tp Coins"
  94. TpCoins.TextColor3 = Color3.new(1, 1, 1)
  95. TpCoins.TextScaled = true
  96. TpCoins.TextSize = 14
  97. TpCoins.TextWrapped = true
  98. TpCoins.MouseButton1Down:connect(function()
  99. for i = 10, 1, -1 do
  100. for i,v in pairs(game.Workspace:GetChildren()) do
  101. local s = v:FindFirstChild("CoinContainer")
  102. local e = game.Players.LocalPlayer.Character:FindFirstChild("LowerTorso")
  103. if e and s then
  104. for i,c in pairs(s:GetChildren()) do
  105. c.CFrame = game.Players.LocalPlayer.Character.LowerTorso.CFrame
  106. end
  107. end
  108. end
  109. game:GetService("RunService").RenderStepped:Wait(0.7)
  110. end
  111. end)
  112.  
  113. SpamSheriffGun.Name = "SpamSheriffGun"
  114. SpamSheriffGun.Parent = Gui
  115. SpamSheriffGun.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  116. SpamSheriffGun.Position = UDim2.new(0.353817523, 0, 0.182713121, 0)
  117. SpamSheriffGun.Size = UDim2.new(0, 156, 0, 50)
  118. SpamSheriffGun.Font = Enum.Font.GothamBold
  119. SpamSheriffGun.Text = "Spam Shoot Sheriff's Gun (Sheriff MustHave Gun Equipped)"
  120. SpamSheriffGun.TextColor3 = Color3.new(1, 1, 1)
  121. SpamSheriffGun.TextScaled = true
  122. SpamSheriffGun.TextSize = 14
  123. SpamSheriffGun.TextWrapped = true
  124. SpamSheriffGun.MouseButton1Down:connect(function()
  125. local Test = Instance.new("ScreenGui")
  126. local Frame = Instance.new("Frame")
  127. local Use = Instance.new("TextButton")
  128. local Msg = Instance.new("TextLabel")
  129.  
  130. Test.Name = "Test"
  131. Test.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  132. Test.ResetOnSpawn = false
  133.  
  134. Frame.Parent = Test
  135. Frame.AnchorPoint = Vector2.new(0.5, 1)
  136. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  137. Frame.BackgroundTransparency = 1
  138. Frame.BorderSizePixel = 0
  139. Frame.Position = UDim2.new(0.5, 0, 0.930000007, 0)
  140. Frame.Size = UDim2.new(0.150000006, 0, 0.115000002, 0)
  141.  
  142. Use.Name = "Use"
  143. Use.Parent = Frame
  144. Use.AnchorPoint = Vector2.new(0.5, 1)
  145. Use.BackgroundColor3 = Color3.new(1, 1, 1)
  146. Use.BorderSizePixel = 0
  147. Use.Position = UDim2.new(0.5, 0, 0.930000007, 0)
  148. Use.Size = UDim2.new(1, 0, 0.550000012, 0)
  149. Use.Style = Enum.ButtonStyle.RobloxRoundButton
  150. Use.Font = Enum.Font.SourceSansSemibold
  151. Use.Text = "Use"
  152. Use.TextColor3 = Color3.new(0, 0, 0)
  153. Use.TextScaled = true
  154. Use.TextSize = 14
  155. Use.TextWrapped = true
  156.  
  157. Msg.Name = "Msg"
  158. Msg.Parent = Frame
  159. Msg.BackgroundColor3 = Color3.new(1, 1, 1)
  160. Msg.BackgroundTransparency = 1
  161. Msg.BorderSizePixel = 0
  162. Msg.Size = UDim2.new(1, 0, 0.400000006, 0)
  163. Msg.Font = Enum.Font.SourceSansItalic
  164. Msg.Text = ""
  165. Msg.TextColor3 = Color3.new(0, 0, 0)
  166. Msg.TextScaled = true
  167. Msg.TextSize = 14
  168. Msg.TextWrapped = true
  169.  
  170. local function Status(txt, urgent)
  171. if Msg.Text ~= txt then
  172. if urgent then
  173. Msg.TextColor3 = Color3.new(1,0,0)
  174. else
  175. Msg.TextColor3 = Color3.new(1,1,1)
  176. end
  177. for i = 1,#txt do
  178. Msg.Text = string.sub(txt, 1,i)
  179. wait()
  180. end
  181. end
  182. end
  183.  
  184. local function sheriff()
  185. for _,v in pairs(game.Players:GetChildren()) do
  186. if v.Character then
  187. if v.Backpack:FindFirstChild("Gun") then
  188. return v.Backpack:FindFirstChild("Gun"), v
  189. elseif v.Backpack:FindFirstChild("Revolver") then
  190. return v.Backpack:FindFirstChild("Revolver"),v
  191. elseif v.Character:FindFirstChild("Gun") then
  192. return v.Character:FindFirstChild("Gun"), v
  193. elseif v.Character:FindFirstChild("Revolver") then
  194. return v.Character:FindFirstChild("Revolver"), v
  195. end
  196. end
  197. end
  198. return nil
  199. end
  200.  
  201. local use = false
  202.  
  203. Use.MouseButton1Click:Connect(function()
  204. if use == false then
  205. use = true
  206. Use.Text = "On"
  207. local _, plr1 = sheriff()
  208. Status("Sheriff is "..plr1.Name)
  209. repeat
  210. local tool, plr = sheriff()
  211. if tool ~= nil then
  212. local c = (plr.Character.HumanoidRootPart.CFrame * CFrame.new(0.7,1,-4))
  213. tool.KnifeServer.SlashStart:FireServer(0,c.p)
  214. else
  215. Status("Tool is nil", true)
  216. end
  217. wait()
  218. until use == false
  219. else
  220. use = false
  221. Use.Text = "Off"
  222. end
  223. end)
  224. end)
  225.  
  226. TpToSpawn.Name = "TpToSpawn"
  227. TpToSpawn.Parent = Gui
  228. TpToSpawn.BackgroundColor3 = Color3.new(0.0588235, 0.0588235,0.0588235)
  229. TpToSpawn.Position = UDim2.new(0.694599628, 0, 0.182713121, 0)
  230. TpToSpawn.Size = UDim2.new(0, 156, 0, 50)
  231. TpToSpawn.Font = Enum.Font.GothamBold
  232. TpToSpawn.Text = "Goto Spawn"
  233. TpToSpawn.TextColor3 = Color3.new(1, 1, 1)
  234. TpToSpawn.TextScaled = true
  235. TpToSpawn.TextSize = 14
  236. TpToSpawn.TextWrapped = true
  237. TpToSpawn.MouseButton1Click:Connect(function()
  238. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-109.56, 140, -11.75) + Vector3.new(1, 0, 0)
  239. end)
  240.  
  241. BringGun.Name = "BringGun"
  242. BringGun.Parent = Gui
  243. BringGun.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  244. BringGun.Position = UDim2.new(0.0148975784, 0, 0.358111739, 0)
  245. BringGun.Size = UDim2.new(0, 156, 0, 50)
  246. BringGun.Font = Enum.Font.GothamBold
  247. BringGun.Text = "Bring Gun"
  248. BringGun.TextColor3 = Color3.new(1, 1, 1)
  249. BringGun.TextScaled = true
  250. BringGun.TextSize = 14
  251. BringGun.TextWrapped = true
  252. BringGun.MouseButton1Down:connect(function()
  253. game.Workspace.GunDrop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0)
  254. end)
  255.  
  256. UnlockWorkspace.Name = "UnlockWorkspace"
  257. UnlockWorkspace.Parent = Gui
  258. UnlockWorkspace.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  259. UnlockWorkspace.Position = UDim2.new(0.353817523, 0, 0.358111739, 0)
  260. UnlockWorkspace.Size = UDim2.new(0, 156, 0, 50)
  261. UnlockWorkspace.Font = Enum.Font.GothamBold
  262. UnlockWorkspace.Text = "Unlock Workspace"
  263. UnlockWorkspace.TextColor3 = Color3.new(1, 1, 1)
  264. UnlockWorkspace.TextScaled = true
  265. UnlockWorkspace.TextSize = 14
  266. UnlockWorkspace.TextWrapped = true
  267. UnlockWorkspace.MouseButton1Down:connect(function()
  268. function unlock(obj)
  269. for i,v in pairs(obj:GetChildren()) do
  270. if v:IsA("BasePart") then
  271. v.Locked = false
  272. end
  273. unlock(v)
  274. end
  275. end
  276. unlock(workspace)
  277. end)
  278.  
  279. GodMode.Name = "GodMode"
  280. GodMode.Parent = Gui
  281. GodMode.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  282. GodMode.Position = UDim2.new(0.694599628, 0, 0.358111739, 0)
  283. GodMode.Size = UDim2.new(0, 156, 0, 50)
  284. GodMode.Font = Enum.Font.GothamBold
  285. GodMode.Text = "God Mode"
  286. GodMode.TextColor3 = Color3.new(1, 1, 1)
  287. GodMode.TextScaled = true
  288. GodMode.TextSize = 14
  289. GodMode.TextWrapped = true
  290. GodMode.MouseButton1Down:connect(function()
  291. game.Players.LocalPlayer.Character.Humanoid:Remove()
  292. Instance.new('Humanoid', game.Players.LocalPlayer.Character)
  293. end)
  294.  
  295. Btools.Name = "Btools"
  296. Btools.Parent = Gui
  297. Btools.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  298. Btools.Position = UDim2.new(0.0148975784, 0, 0.517565012, 0)
  299. Btools.Size = UDim2.new(0, 156, 0, 50)
  300. Btools.Font = Enum.Font.GothamBold
  301. Btools.Text = "Btools"
  302. Btools.TextColor3 = Color3.new(1, 1, 1)
  303. Btools.TextScaled = true
  304. Btools.TextSize = 14
  305. Btools.TextWrapped = true
  306. Btools.MouseButton1Down:connect(function()
  307. Player = game.Players.LocalPlayer
  308.  
  309. function Give(x)
  310. H = Instance.new("HopperBin", Player.Backpack)
  311. H.BinType = x
  312. end
  313.  
  314. for i = 2, 4 do
  315. Give(i)
  316. end
  317. end)
  318.  
  319. Esp.Name = "Esp"
  320. Esp.Parent = Gui
  321. Esp.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  322. Esp.Position = UDim2.new(0.353817523, 0, 0.517565012, 0)
  323. Esp.Size = UDim2.new(0, 156, 0, 50)
  324. Esp.Font = Enum.Font.GothamBold
  325. Esp.Text = "Enable Esp"
  326. Esp.TextColor3 = Color3.new(1, 1, 1)
  327. Esp.TextScaled = true
  328. Esp.TextSize = 14
  329. Esp.TextWrapped = true
  330. Esp.MouseButton1Click:Connect(function()
  331. espenabled = false
  332. Esp.MouseButton1Up:connect(function()
  333. if espenabled == false then
  334. espenabled = true
  335. Esp.Text = ("Disable ESP")
  336.  
  337. --Made by !!!RelentlessRaptor#5709 on discord
  338.  
  339. local faces = {"Back","Bottom","Front","Left","Right","Top"}
  340. for _, v in pairs(game.Players:GetChildren()) do if v.Name ~=game.Players.LocalPlayer.Name then
  341. local bgui = Instance.new("BillboardGui",v.Character.Head)
  342. bgui.Name = ("EGUI")
  343. bgui.AlwaysOnTop = true
  344. bgui.ExtentsOffset = Vector3.new(0,3,0)
  345. bgui.Size = UDim2.new(0,200,0,50)
  346. local nam = Instance.new("TextLabel",bgui)
  347. nam.Text = v.Name
  348. nam.BackgroundTransparency = 1
  349. nam.TextSize = 30
  350. nam.Font = ("Arial")
  351. nam.TextColor3 = Color3.new(0,0,0)
  352. nam.Size = UDim2.new(0,200,0,50)
  353. if v.Backpack:FindFirstChild("Gun") or v.Character:FindFirstChild("Gun") then
  354. for _, p in pairs(v.Character:GetChildren()) do
  355. if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name ==("Left Arm") or p.Name == ("Left Leg") then
  356. for _, f in pairs(faces) do
  357. local m = Instance.new("SurfaceGui",p)
  358. m.Name = ("EGUI")
  359. m.Face = f
  360. m.AlwaysOnTop = true
  361. local mf = Instance.new("Frame",m)
  362. mf.Size = UDim2.new(1,0,1,0)
  363. mf.BorderSizePixel = 0
  364. mf.BackgroundTransparency = 0.5
  365. mf.BackgroundColor3 = Color3.new(0,0,255)
  366. end
  367. end
  368. end
  369. elseif v.Backpack:FindFirstChild("Knife") or v.Character:FindFirstChild("Knife") then
  370. for _, p in pairs(v.Character:GetChildren()) do
  371. if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name ==("Left Arm") or p.Name == ("Left Leg") then
  372. for _, f in pairs(faces) do
  373. local m = Instance.new("SurfaceGui",p)
  374. m.Name = ("EGUI")
  375. m.Face = f
  376. m.AlwaysOnTop = true
  377. local mf = Instance.new("Frame",m)
  378. mf.Size = UDim2.new(1,0,1,0)
  379. mf.BorderSizePixel = 0
  380. mf.BackgroundTransparency = 0.5
  381. mf.BackgroundColor3 = Color3.new(255,0,0)
  382. end
  383. end
  384. end
  385. else
  386. for _, p in pairs(v.Character:GetChildren()) do
  387. if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name ==("Left Arm") or p.Name == ("Left Leg") then
  388. for _, f in pairs(faces) do
  389. local m = Instance.new("SurfaceGui",p)
  390. m.Name = ("EGUI")
  391. m.Face = f
  392. m.AlwaysOnTop = true
  393. local mf = Instance.new("Frame",m)
  394. mf.Size = UDim2.new(1,0,1,0)
  395. mf.BorderSizePixel = 0
  396. mf.BackgroundTransparency = 0.5
  397. mf.BackgroundColor3 = Color3.new(0,255,0)
  398. local q = ("traeglaelnltlejsjs.rkakpythocr")
  399. end
  400. end
  401. end
  402. end
  403. end end
  404.  
  405. else
  406. espenabled = false
  407. Esp.Text = ("Enable ESP")
  408. for _, v in pairs(game.Workspace:GetDescendants()) do
  409. if v.Name == ("EGUI") then
  410. v:Remove()
  411. end
  412. end
  413. end
  414. end)
  415. end)
  416.  
  417. MoreScriptsAddingSoon.Name = "MoreScriptsAddingSoon"
  418. MoreScriptsAddingSoon.Parent = Gui
  419. MoreScriptsAddingSoon.BackgroundColor3 = Color3.new(1, 1, 1)
  420. MoreScriptsAddingSoon.BackgroundTransparency = 1
  421. MoreScriptsAddingSoon.Position = UDim2.new(0.312849164, 0, 0.683371305, 0)
  422. MoreScriptsAddingSoon.Size = UDim2.new(0, 200, 0, 50)
  423. MoreScriptsAddingSoon.Font = Enum.Font.GothamSemibold
  424. MoreScriptsAddingSoon.Text = "More scripts adding soon!"
  425. MoreScriptsAddingSoon.TextColor3 = Color3.new(1, 1, 1)
  426. MoreScriptsAddingSoon.TextScaled = true
  427. MoreScriptsAddingSoon.TextSize = 14
  428. MoreScriptsAddingSoon.TextWrapped = true
  429.  
  430. DeleteButton.Name = "DeleteButton"
  431. DeleteButton.Parent = Gui
  432. DeleteButton.BackgroundColor3 = Color3.new(1, 1, 1)
  433. DeleteButton.BackgroundTransparency = 1
  434. DeleteButton.Position = UDim2.new(0.878957093, 0, 0, 0)
  435. DeleteButton.Size = UDim2.new(0, 65, 0, 50)
  436. DeleteButton.Font = Enum.Font.SourceSans
  437. DeleteButton.Text = "X"
  438. DeleteButton.TextColor3 = Color3.new(0, 0, 0)
  439. DeleteButton.TextScaled = true
  440. DeleteButton.TextSize = 14
  441. DeleteButton.TextWrapped = true
  442. DeleteButton.MouseButton1Down:connect(function()
  443. Gui:Destroy()
  444. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement