Advertisement
Guest User

Counter Blox Roblox Offensive

a guest
Nov 18th, 2017
30,592
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.28 KB | None | 0 0
  1. --[[
  2. Release by Rain on V3rmillion
  3. Please leave this header intact to encourage future script releases!
  4.  
  5. Name: cbrohacks.lua
  6. Author: Autumn
  7. Desc: Hacky hacks for bad FPS players like me
  8.  
  9. Enjoy!
  10.  
  11. Usage:
  12. - Press Backslash to toggle the ability to see players through walls ("chams")
  13. - Press Caps Lock to toggle auto-aiming ("aimbot")
  14. - Press Right Alt once then start firing blindly in any direction to kill and make the server angry ("opk")
  15. a
  16. Aimbot Options:
  17. - Press Left Bracket to switch to instant aiming mode (extremely accurate, very obvious)
  18. - Press Right Bracket to switch to smooth aiming mode (eased camera movement, very natural)
  19.  
  20. ]]
  21.  
  22. do --SIGHT
  23. local plr = game.Players.LocalPlayer
  24. local allsguis = {}
  25.  
  26. local enabled = false
  27.  
  28. local dohax = function(lbplr)
  29. wait() --make sure the character exists
  30. if not lbplr.Character then return end
  31. for _,obj in next,lbplr.Character:children() do
  32. if obj:IsA("BasePart") then
  33. local sguis = {}
  34. local snew = function(...)
  35. for _,face in next,{...} do
  36. local sgui = Instance.new("SurfaceGui",obj)
  37. sgui.Enabled = enabled
  38. sgui.AlwaysOnTop = true
  39. sgui.Face = face
  40. table.insert(sguis,sgui)
  41. sgui.AncestryChanged:connect(function()
  42. for i,v in next,sguis do
  43. if v == sgui then
  44. table.remove(sguis,i)
  45. sgui:destroy()
  46. end
  47. end
  48. end)
  49. end
  50. end
  51. snew("Front", "Back", "Left", "Right", "Top", "Bottom")
  52. for _,sgui in next,sguis do
  53. local sframe = Instance.new("Frame",sgui)
  54. sframe.Size = UDim2.new(1,0,1,0)
  55. sframe.BorderSizePixel = 0
  56. sframe.BackgroundTransparency = .5
  57. sframe.BackgroundColor3 = lbplr.TEEM.Value == plr.TEEM.Value and BrickColor.new("Really blue").Color or BrickColor.new("Really red").Color
  58. end
  59. table.insert(allsguis,sguis)
  60. end
  61. end
  62. end
  63.  
  64. local connectPlayer = function(lbplr)
  65. if lbplr ~= plr then
  66. dohax(lbplr)
  67. lbplr.CharacterAdded:connect(function(char)
  68. dohax(lbplr)
  69. end)
  70. end
  71. end
  72.  
  73. for _,v in next,game.Players:GetPlayers() do
  74. connectPlayer(v)
  75. end
  76.  
  77. game.Players.PlayerAdded:connect(function(p)
  78. connectPlayer(p)
  79. end)
  80.  
  81. game:GetService("UserInputService").InputBegan:connect(function(input)
  82. if input.KeyCode == Enum.KeyCode.BackSlash then
  83. enabled = not enabled
  84. for _,v in next,allsguis do
  85. for __,vv in next,v do
  86. vv.Enabled = enabled
  87. end
  88. end
  89. end
  90. end)
  91. end
  92.  
  93. do --AIM
  94. local cam = game:GetService("Workspace").CurrentCamera
  95. local plrs = game:GetService("Players"):GetPlayers()
  96. local lplr = game:GetService("Players").LocalPlayer
  97.  
  98. local aiming = false
  99. local dolerp = true
  100.  
  101. game:GetService("RunService"):BindToRenderStep("UpdateCamera", Enum.RenderPriority.Camera.Value, function()
  102. if not aiming or not lplr.Character or not lplr.Character:FindFirstChild("Head") then return end
  103. local cchar,cdist
  104. for _,plr in next,plrs do
  105. if plr ~= lplr and plr.TEEM.Value ~= lplr.TEEM.Value then
  106. local char = plr.Character
  107. if char and char:FindFirstChild("Head") then
  108. local hit = workspace:FindPartOnRay(Ray.new((cam.CFrame*CFrame.new(0,0,-5)).p, char.Head.Position - (cam.CFrame*CFrame.new(0,0,-5)).p))
  109. if hit and hit.Parent and hit.Parent == char or hit.Parent.Parent == char then
  110. local dist = (char.Head.Position - lplr.Character.Head.Position).magnitude
  111. if cdist == nil or dist < cdist then
  112. cdist = dist
  113. cchar = char
  114. end
  115. end
  116. end
  117. end
  118. end
  119. if not cchar then return end
  120. cam.CFrame = dolerp and cam.CFrame:lerp(CFrame.new(cam.CFrame.p, cchar.Head.CFrame.p), .15) or CFrame.new(cam.CFrame.p, cchar.Head.CFrame.p)
  121. end)
  122.  
  123. game.Players.PlayerAdded:connect(function(plr)
  124. table.insert(plrs,plr)
  125. end)
  126.  
  127. game.Players.PlayerRemoving:connect(function(plr)
  128. for i,v in next,plrs do
  129. if v == plr then
  130. table.remove(plrs,i)
  131. end
  132. end
  133. end)
  134.  
  135. game:GetService("UserInputService").InputBegan:connect(function(input)
  136. if input.KeyCode == Enum.KeyCode.CapsLock then
  137. aiming = not aiming
  138. elseif input.KeyCode == Enum.KeyCode.RightBracket then
  139. dolerp = true
  140. elseif input.KeyCode == Enum.KeyCode.LeftBracket then
  141. dolerp = false
  142. end
  143. end)
  144. end
  145.  
  146. do --OMGWHAT
  147. local plr = game.Players.LocalPlayer
  148. game:GetService("UserInputService").InputBegan:connect(function(input)
  149. if input.KeyCode == Enum.KeyCode.RightAlt then
  150. if not plr.Character or not plr.Character:FindFirstChild("Head") then return end
  151. for _,v in next,game.Players:children() do
  152. if v ~= plr and v.TEEM.Value ~= plr.TEEM.Value and v.Character and v.Character:FindFirstChild("Head") and v.Character:FindFirstChild("Torso") and v.Character.Torso:FindFirstChild("Neck") then
  153. local char = v.Character
  154. local head = char.Head
  155. char.Torso["Neck"]:destroy()
  156. head.Anchored = true
  157. head.CanCollide = false
  158. head.Transparency = 1
  159. head.face:destroy()
  160. for _,vv in next,head:children() do
  161. if vv:IsA("SurfaceGui") then
  162. vv:destroy()
  163. end
  164. end
  165. local rs = game:GetService("RunService").RenderStepped:connect(function()
  166. head.CFrame = plr.Character.Head.CFrame*CFrame.new(0,0,-5)
  167. end)
  168. head.AncestryChanged:connect(function()
  169. rs:disconnect()
  170. end)
  171. plr.Character.Head.AncestryChanged:connect(function()
  172. rs:disconnect()
  173. end)
  174. end
  175. end
  176. end
  177. end)
  178. end
  179. RAW Paste Data
  180.  
  181. --[[
  182. Release by Rain on V3rmillion
  183. Please leave this header intact to encourage future script releases!
  184.  
  185. Name: cbrohacks.lua
  186. Author: Autumn
  187. Desc: Hacky hacks for bad FPS players like me
  188.  
  189. Enjoy!
  190.  
  191. Usage:
  192. - Press Backslash to toggle the ability to see players through walls ("chams")
  193. - Press Caps Lock to toggle auto-aiming ("aimbot")
  194. - Press Right Alt once then start firing blindly in any direction to kill and make the server angry ("opk")
  195. a
  196. Aimbot Options:
  197. - Press Left Bracket to switch to instant aiming mode (extremely accurate, very obvious)
  198. - Press Right Bracket to switch to smooth aiming mode (eased camera movement, very natural)
  199.  
  200. ]]
  201.  
  202. do --SIGHT
  203. local plr = game.Players.LocalPlayer
  204. local allsguis = {}
  205.  
  206. local enabled = false
  207.  
  208. local dohax = function(lbplr)
  209. wait() --make sure the character exists
  210. if not lbplr.Character then return end
  211. for _,obj in next,lbplr.Character:children() do
  212. if obj:IsA("BasePart") then
  213. local sguis = {}
  214. local snew = function(...)
  215. for _,face in next,{...} do
  216. local sgui = Instance.new("SurfaceGui",obj)
  217. sgui.Enabled = enabled
  218. sgui.AlwaysOnTop = true
  219. sgui.Face = face
  220. table.insert(sguis,sgui)
  221. sgui.AncestryChanged:connect(function()
  222. for i,v in next,sguis do
  223. if v == sgui then
  224. table.remove(sguis,i)
  225. sgui:destroy()
  226. end
  227. end
  228. end)
  229. end
  230. end
  231. snew("Front", "Back", "Left", "Right", "Top", "Bottom")
  232. for _,sgui in next,sguis do
  233. local sframe = Instance.new("Frame",sgui)
  234. sframe.Size = UDim2.new(1,0,1,0)
  235. sframe.BorderSizePixel = 0
  236. sframe.BackgroundTransparency = .5
  237. sframe.BackgroundColor3 = lbplr.TEEM.Value == plr.TEEM.Value and BrickColor.new("Really blue").Color or BrickColor.new("Really red").Color
  238. end
  239. table.insert(allsguis,sguis)
  240. end
  241. end
  242. end
  243.  
  244. local connectPlayer = function(lbplr)
  245. if lbplr ~= plr then
  246. dohax(lbplr)
  247. lbplr.CharacterAdded:connect(function(char)
  248. dohax(lbplr)
  249. end)
  250. end
  251. end
  252.  
  253. for _,v in next,game.Players:GetPlayers() do
  254. connectPlayer(v)
  255. end
  256.  
  257. game.Players.PlayerAdded:connect(function(p)
  258. connectPlayer(p)
  259. end)
  260.  
  261. game:GetService("UserInputService").InputBegan:connect(function(input)
  262. if input.KeyCode == Enum.KeyCode.BackSlash then
  263. enabled = not enabled
  264. for _,v in next,allsguis do
  265. for __,vv in next,v do
  266. vv.Enabled = enabled
  267. end
  268. end
  269. end
  270. end)
  271. end
  272.  
  273. do --AIM
  274. local cam = game:GetService("Workspace").CurrentCamera
  275. local plrs = game:GetService("Players"):GetPlayers()
  276. local lplr = game:GetService("Players").LocalPlayer
  277.  
  278. local aiming = false
  279. local dolerp = true
  280.  
  281. game:GetService("RunService"):BindToRenderStep("UpdateCamera", Enum.RenderPriority.Camera.Value, function()
  282. if not aiming or not lplr.Character or not lplr.Character:FindFirstChild("Head") then return end
  283. local cchar,cdist
  284. for _,plr in next,plrs do
  285. if plr ~= lplr and plr.TEEM.Value ~= lplr.TEEM.Value then
  286. local char = plr.Character
  287. if char and char:FindFirstChild("Head") then
  288. local hit = workspace:FindPartOnRay(Ray.new((cam.CFrame*CFrame.new(0,0,-5)).p, char.Head.Position - (cam.CFrame*CFrame.new(0,0,-5)).p))
  289. if hit and hit.Parent and hit.Parent == char or hit.Parent.Parent == char then
  290. local dist = (char.Head.Position - lplr.Character.Head.Position).magnitude
  291. if cdist == nil or dist < cdist then
  292. cdist = dist
  293. cchar = char
  294. end
  295. end
  296. end
  297. end
  298. end
  299. if not cchar then return end
  300. cam.CFrame = dolerp and cam.CFrame:lerp(CFrame.new(cam.CFrame.p, cchar.Head.CFrame.p), .15) or CFrame.new(cam.CFrame.p, cchar.Head.CFrame.p)
  301. end)
  302.  
  303. game.Players.PlayerAdded:connect(function(plr)
  304. table.insert(plrs,plr)
  305. end)
  306.  
  307. game.Players.PlayerRemoving:connect(function(plr)
  308. for i,v in next,plrs do
  309. if v == plr then
  310. table.remove(plrs,i)
  311. end
  312. end
  313. end)
  314.  
  315. game:GetService("UserInputService").InputBegan:connect(function(input)
  316. if input.KeyCode == Enum.KeyCode.CapsLock then
  317. aiming = not aiming
  318. elseif input.KeyCode == Enum.KeyCode.RightBracket then
  319. dolerp = true
  320. elseif input.KeyCode == Enum.KeyCode.LeftBracket then
  321. dolerp = false
  322. end
  323. end)
  324. end
  325.  
  326. do --OMGWHAT
  327. local plr = game.Players.LocalPlayer
  328. game:GetService("UserInputService").InputBegan:connect(function(input)
  329. if input.KeyCode == Enum.KeyCode.RightAlt then
  330. if not plr.Character or not plr.Character:FindFirstChild("Head") then return end
  331. for _,v in next,game.Players:children() do
  332. if v ~= plr and v.TEEM.Value ~= plr.TEEM.Value and v.Character and v.Character:FindFirstChild("Head") and v.Character:FindFirstChild("Torso") and v.Character.Torso:FindFirstChild("Neck") then
  333. local char = v.Character
  334. local head = char.Head
  335. char.Torso["Neck"]:destroy()
  336. head.Anchored = true
  337. head.CanCollide = false
  338. head.Transparency = 1
  339. head.face:destroy()
  340. for _,vv in next,head:children() do
  341. if vv:IsA("SurfaceGui") then
  342. vv:destroy()
  343. end
  344. end
  345. local rs = game:GetService("RunService").RenderStepped:connect(function()
  346. head.CFrame = plr.Character.Head.CFrame*CFrame.new(0,0,-5)
  347. end)
  348. head.AncestryChanged:connect(function()
  349. rs:disconnect()
  350. end)
  351. plr.Character.Head.AncestryChanged:connect(function()
  352. rs:disconnect()
  353. end)
  354. end
  355. end
  356. end
  357. end)
  358. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement