Advertisement
Guest User

Untitled

a guest
Oct 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 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.  
  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. do --SIGHT
  22. local plr = game.Players.LocalPlayer
  23. local allsguis = {}
  24.  
  25. local enabled = false
  26.  
  27. local dohax = function(lbplr)
  28. wait() --make sure the character exists
  29. if not lbplr.Character then return end
  30. for _,obj in next,lbplr.Character:children() do
  31. if obj:IsA("BasePart") then
  32. local sguis = {}
  33. local snew = function(...)
  34. for _,face in next,{...} do
  35. local sgui = Instance.new("SurfaceGui",obj)
  36. sgui.Enabled = enabled
  37. sgui.AlwaysOnTop = true
  38. sgui.Face = face
  39. table.insert(sguis,sgui)
  40. sgui.AncestryChanged:connect(function()
  41. for i,v in next,sguis do
  42. if v == sgui then
  43. table.remove(sguis,i)
  44. sgui:destroy()
  45. end
  46. end
  47. end)
  48. end
  49. end
  50. snew("Front", "Back", "Left", "Right", "Top", "Bottom")
  51. for _,sgui in next,sguis do
  52. local sframe = Instance.new("Frame",sgui)
  53. sframe.Size = UDim2.new(1,0,1,0)
  54. sframe.BorderSizePixel = 0
  55. sframe.BackgroundTransparency = .5
  56. sframe.BackgroundColor3 = lbplr.TEEM.Value == plr.TEEM.Value and BrickColor.new("Really blue").Color or BrickColor.new("Really red").Color
  57. end
  58. table.insert(allsguis,sguis)
  59. end
  60. end
  61. end
  62.  
  63. local connectPlayer = function(lbplr)
  64. if lbplr ~= plr then
  65. dohax(lbplr)
  66. lbplr.CharacterAdded:connect(function(char)
  67. dohax(lbplr)
  68. end)
  69. end
  70. end
  71.  
  72. for _,v in next,game.Players:GetPlayers() do
  73. connectPlayer(v)
  74. end
  75.  
  76. game.Players.PlayerAdded:connect(function(p)
  77. connectPlayer(p)
  78. end)
  79.  
  80. game:GetService("UserInputService").InputBegan:connect(function(input)
  81. if input.KeyCode == Enum.KeyCode.BackSlash then
  82. enabled = not enabled
  83. for _,v in next,allsguis do
  84. for __,vv in next,v do
  85. vv.Enabled = enabled
  86. end
  87. end
  88. end
  89. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement