Advertisement
Sinderblock

e

Jun 4th, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.74 KB | None | 0 0
  1. --Walkspeed
  2. game:GetService("Players").LocalPlayer.Character.LocalHumanoid.WalkSpeed = 100
  3. --Aimlock
  4. --[AimBot Settings]--
  5. local FreeForAll = false
  6.  
  7. local AimingFor = "Head"
  8.  
  9. local AutoAim = false
  10.  
  11. local Chams = true
  12.  
  13. local PointToAiming = false
  14.  
  15. local IgnoreFOV = false
  16. --[End AimBot Settings]--
  17.  
  18. --[AimBot HotKeys]--
  19. local ModeSwitch = "Q" --Changes whether games FFA or TDM (shoot at all or only enemies).
  20.  
  21. local AimSwitch = "E" --Change where to shoot at the 'Head' or 'HumanoidRootPart'.
  22.  
  23. local AutoAimKey = "P" --Change whether you manually lockon or auto-lockon.
  24.  
  25. local ChamSwitch = "T" --Change whether chams(esp) is disabled or enabled)
  26.  
  27. local PointSwitch = "I" --Change wherer to render a line between you and who you're aiming at.
  28.  
  29. local WallSwitch = "Y" --Change whether to be able to aim at people through walls.
  30. --[End AimBot HotKeys]--
  31.  
  32. --[[
  33. NOTHING BELOW HERE NEEDS TO BE EDITED
  34. NOTHING BELOW HERE NEEDS TO BE EDITED
  35. NOTHING BELOW HERE NEEDS TO BE EDITED
  36. NOTHING BELOW HERE NEEDS TO BE EDITED
  37. --]]
  38.  
  39. --[[
  40.  
  41. /$$$$$$ /$$ /$$ /$$$$$$$ /$$$$$$ /$$
  42. /$$__ $$ | $$ | $$ | $$__ $$ /$$__ $$ | $$
  43. | $$ \__/ /$$$$$$ /$$$$$$$ /$$$$$$ /$$$$$$$ | $$ \ $$ /$$ /$$ /$$ | $$ \__/ /$$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$
  44. | $$ /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$ | $$$$$$$ | $$ | $$|__/ | $$$$$$ /$$_____/ |____ $$ /$$__ $$|_ $$_/ /$$__ $$ /$$__ $$
  45. | $$ | $$ \ $$| $$ | $$| $$$$$$$$| $$ | $$ | $$__ $$| $$ | $$ \____ $$| $$ /$$$$$$$| $$ \ $$ | $$ | $$$$$$$$| $$ \__/
  46. | $$ $$| $$ | $$| $$ | $$| $$_____/| $$ | $$ | $$ \ $$| $$ | $$ /$$ /$$ \ $$| $$ /$$__ $$| $$ | $$ | $$ /$$| $$_____/| $$
  47. | $$$$$$/| $$$$$$/| $$$$$$$| $$$$$$$| $$$$$$$ | $$$$$$$/| $$$$$$$|__/ | $$$$$$/| $$$$$$$| $$$$$$$| $$$$$$$/ | $$$$/| $$$$$$$| $$
  48. \______/ \______/ \_______/ \_______/ \_______/ |_______/ \____ $$ \______/ \_______/ \_______/| $$____/ \___/ \_______/|__/
  49. /$$ | $$ | $$
  50. | $$$$$$/ | $$
  51. \______/ |__/
  52.  
  53. --]]
  54.  
  55. warn("[ScapAssist] Your Hotkeys Are: ModeSwitch["..ModeSwitch.."], AimSwitch["..AimSwitch.."], AutoAimKey["..AutoAimKey.."], ChamSwitch["..ChamSwitch.."], PointSwitch["..PointSwitch.."], WallSwitch["..WallSwitch.."]")
  56.  
  57. --[Aimbot Hooks]--
  58. local AimingAt = nil
  59.  
  60. local Distance = 0
  61.  
  62. local Camera = game.Workspace.CurrentCamera
  63.  
  64. local Mouse = game.Players.LocalPlayer:GetMouse()
  65.  
  66. local MouseDown = false
  67.  
  68. local Vals = {}
  69.  
  70. local Dist = {}
  71. --[End Aimbot Hooks]--
  72.  
  73. --[Aimbot Framework]--
  74. game:GetService("RunService").RenderStepped:connect(function()
  75. if game.Workspace:FindFirstChild(game.Players.LocalPlayer.Name) then
  76. for i,c in pairs(Vals) do
  77. table.remove(Vals, i)
  78. end
  79. for i,c in pairs(Dist) do
  80. table.remove(Dist, i)
  81. end
  82. for _,v in pairs(game.Players:GetChildren()) do
  83. if game.Workspace:FindFirstChild(v.Name) then
  84. if FreeForAll == true then
  85. if v.Name ~= game.Players.LocalPlayer.Name and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild(AimingFor) and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  86. local Distance = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position-v.Character.HumanoidRootPart.Position).magnitude
  87. local Position,Bool = Camera:WorldToScreenPoint(v.Character[AimingFor].Position)
  88. if IgnoreFOV == false then
  89. if Bool == true then
  90. table.insert(Vals, {v.Name, Distance})
  91. table.insert(Dist, Distance)
  92. end
  93. else
  94. table.insert(Vals, {v.Name, Distance})
  95. table.insert(Dist, Distance)
  96. end
  97. end
  98. elseif FreeForAll == false then
  99. if v.Name ~= game.Players.LocalPlayer.Name and v.TeamColor ~= game.Players.LocalPlayer.TeamColor and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild(AimingFor) and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  100. local Distance = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position-v.Character.HumanoidRootPart.Position).magnitude
  101. local Position,Bool = Camera:WorldToScreenPoint(v.Character[AimingFor].Position)
  102. if IgnoreFOV == false then
  103. if Bool == true then
  104. table.insert(Vals, {v.Name, Distance})
  105. table.insert(Dist, Distance)
  106. end
  107. else
  108. table.insert(Vals, {v.Name, Distance})
  109. table.insert(Dist, Distance)
  110. end
  111. end
  112. end
  113. end
  114. end
  115. for _,t in pairs(Vals) do
  116. if t[2] == math.min(unpack(Dist)) then
  117. AimingAt = t[1]
  118. end
  119. end
  120. if AutoAim == true or MouseDown == true and AimingAt ~= nil and game.Players[AimingAt].Character:FindFirstChild(AimingFor) and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  121. local Position,Bool = Camera:WorldToScreenPoint(game.Players[AimingAt].Character[AimingFor].Position)
  122. if IgnoreFOV == true then
  123. if game.Players[AimingAt].Character:FindFirstChild(AimingFor) then
  124. Camera.CoordinateFrame = CFrame.new(Camera.Focus.p, game.Players[AimingAt].Character[AimingFor].Position)
  125. end
  126. elseif IgnoreFOV == false then
  127. if game.Players[AimingAt].Character:FindFirstChild(AimingFor) and Bool == true then
  128. Camera.CoordinateFrame = CFrame.new(Camera.Focus.p, game.Players[AimingAt].Character[AimingFor].Position)
  129. end
  130. end
  131. end
  132.  
  133. if PointToAiming and AimingAt ~= nil and game.Players[AimingAt].Character:FindFirstChild(AimingFor) and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  134. if game.Players[AimingAt].Character[AimingFor]:FindFirstChild("Attachment") then
  135. game.Players[AimingAt].Character[AimingFor].Attachment:Destroy()
  136. end
  137. local Attach = Instance.new("Attachment")
  138. Attach.Parent = game.Players[AimingAt].Character[AimingFor]
  139. if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("Attachment") then
  140. game.Players.LocalPlayer.Character.HumanoidRootPart.Attachment:Destroy()
  141. end
  142. local Attach2 = Instance.new("Attachment")
  143. Attach.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  144. if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("RodConstraint") then
  145. game.Players.LocalPlayer.Character.HumanoidRootPart.RodConstraint:Destroy()
  146. end
  147. local Con = Instance.new("RodConstraint")
  148. Con.Attachment0 = Attach
  149. Con.Attachment1 = Attach2
  150. Con.Visible = true
  151. Con.Thickness = 5
  152. Con.Color = BrickColor.new("Lime green")
  153. Con.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  154. elseif not PointToAiming then
  155. if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("RodConstraint") then
  156. game.Players.LocalPlayer.Character.HumanoidRootPart.RodConstraint:Destroy()
  157. end
  158. end
  159.  
  160. if Chams and AimingAt ~= nil and game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  161. for _,q in pairs(Camera:GetChildren()) do
  162. if q:IsA("BoxHandleAdornment") then
  163. q:Destroy()
  164. end
  165. end
  166. for _,v in pairs(game.Players:GetChildren()) do
  167. if v.Name ~= game.Players.LocalPlayer.Name and game.Workspace:FindFirstChild(v.Name) then
  168. for _,c in pairs(v.Character:GetChildren()) do
  169. if c:IsA("BasePart") then
  170. if v.TeamColor == game.Players.LocalPlayer.TeamColor then
  171. local esp = Instance.new("BoxHandleAdornment", Camera)
  172. esp.Color3 = Color3.new(0, 255, 0)
  173. esp.Size = c.Size
  174. esp.AlwaysOnTop = true
  175. esp.ZIndex = 1
  176. esp.Adornee = c
  177. elseif v.TeamColor ~= game.Players.LocalPlayer.TeamColor then
  178. local esp = Instance.new("BoxHandleAdornment", Camera)
  179. esp.Color3 = Color3.new(255, 0, 0)
  180. esp.Size = c.Size
  181. esp.AlwaysOnTop = true
  182. esp.ZIndex = 1
  183. esp.Adornee = c
  184. end
  185. end
  186. end
  187. end
  188. end
  189. elseif not Chams then
  190. for _,q in pairs(Camera:GetChildren()) do
  191. if q:IsA("BoxHandleAdornment") then
  192. q:Destroy()
  193. end
  194. end
  195. end
  196. end
  197. end)
  198.  
  199. game:GetService("UserInputService").InputBegan:connect(function(key)
  200. if key.UserInputType == Enum.UserInputType.Keyboard then
  201. if key.KeyCode == Enum.KeyCode[ModeSwitch] then
  202. if FreeForAll == true then
  203. FreeForAll = false
  204. warn("[ScapAssist] FreeForAll set to: false")
  205. else
  206. FreeForAll = true
  207. warn("[ScapAssist] FreeForAll set to: true")
  208. end
  209. elseif key.KeyCode == Enum.KeyCode[AimSwitch] then
  210. if AimingFor == "Head" then
  211. AimingFor = "HumanoidRootPart"
  212. elseif AimingFor == "HumanoidRootPart" then
  213. AimingFor = "Head"
  214.  
  215. end
  216. warn("[ScapAssist] AimingFor set to: "..AimingFor)
  217. elseif key.KeyCode == Enum.KeyCode[AutoAimKey] then
  218. if AutoAim == true then
  219. AutoAim = false
  220. warn("[ScapAssist] AutoAim set to: false")
  221. else
  222. AutoAim = true
  223. warn("[ScapAssist] AutoAim set to: true")
  224. end
  225. elseif key.KeyCode == Enum.KeyCode[ChamSwitch] then
  226. if Chams == true then
  227. Chams = false
  228. warn("[ScapAssist] Chams set to: false")
  229. else
  230. Chams = true
  231. warn("[ScapAssist] Chams set to: true")
  232. end
  233. end
  234. end
  235. end)
  236.  
  237. Mouse.Button2Down:connect(function()
  238. MouseDown = true
  239. end)
  240.  
  241. Mouse.Button2Up:connect(function()
  242. MouseDown = false
  243. end)
  244. --ESP
  245. -- -----------------------------------
  246. -- ___ _ _ _ --
  247. -- / __| ___| |_| |_(_)_ _ __ _ ___--
  248. -- \__ \/ -_) _| _| | ' \/ _` (_-<--
  249. -- |___/\___|\__|\__|_|_||_\__, /__/--
  250. -- |___/ --
  251. -- -----------------------------------
  252. -- -----------------------------------
  253. ALLYCOLOR = {0,255,255} --//Color of the ESP of people on the same team
  254. ENEMYCOLOR = {255,0,0} --//Color of the ESP of people on NOT the same team
  255. TRANSPARENCY = 0.5 --//Transparency of the ESP
  256. HEALTHBAR_ACTIVATED = true --//Renders the Healthbar
  257. --
  258. --
  259.  
  260. -- !!!Don't Change Anything Below Here Unless You Know What You're Doing!!!
  261.  
  262. function createFlex()
  263. -- -----------------------------------------------------------------------------------
  264. --[VARIABLES] //Changing may result in Errors!
  265. players = game:GetService("Players") --//Required for PF
  266. faces = {"Front","Back","Bottom","Left","Right","Top"} --//Every possible Enum face
  267. currentPlayer = nil --//Used for the Team-Check
  268. lplayer = players.LocalPlayer --//The LocalPlayer
  269. -- -----------------------------------------------------------------------------------
  270. players.PlayerAdded:Connect(function(p)
  271. currentPlayer = p
  272. p.CharacterAdded:Connect(function(character) --//For when a new Player joins the game
  273. createESP(character)
  274. end)
  275. end)
  276. -- -----------------------------------------------------------------------------------
  277. function checkPart(obj) if (obj:IsA("Part") or obj:IsA("MeshPart")) and obj.Name~="HumanoidRootPart" then return true end end --//Check if the Part is suitable
  278. -- -----------------------------------------------------------------------------------
  279. function actualESP(obj)
  280.  
  281. for i=0,5 do
  282. surface = Instance.new("SurfaceGui",obj) --//Creates the SurfaceGui
  283. surface.Face = Enum.NormalId[faces[i+1]] --//Adjusts the Face and chooses from the face table
  284. surface.AlwaysOnTop = true
  285.  
  286. frame = Instance.new("Frame",surface) --//Creates the viewable Frame
  287. frame.Size = UDim2.new(1,0,1,0)
  288. frame.BorderSizePixel = 0
  289. frame.BackgroundTransparency = TRANSPARENCY
  290. if currentPlayer.Team == players.LocalPlayer.Team then --//Checks the Players Team
  291. frame.BackgroundColor3 = Color3.new(ALLYCOLOR[1],ALLYCOLOR[2],ALLYCOLOR[3]) --//If in same Team
  292. else
  293. frame.BackgroundColor3 = Color3.new(ENEMYCOLOR[1],ENEMYCOLOR[2],ENEMYCOLOR[3]) --//If in another Team
  294. end
  295.  
  296. end
  297. end
  298. -- -----------------------------------------------------------------------------------
  299. function createHealthbar(hrp)
  300. board =Instance.new("BillboardGui",hrp) --//Creates the BillboardGui with HumanoidRootPart as the Parent
  301. board.Name = "total"
  302. board.Size = UDim2.new(1,0,1,0)
  303. board.StudsOffset = Vector3.new(3,1,0)
  304. board.AlwaysOnTop = true
  305.  
  306. bar = Instance.new("Frame",board) --//Creates the red background
  307. bar.BackgroundColor3 = Color3.new(255,0,0)
  308. bar.BorderSizePixel = 0
  309. bar.Size = UDim2.new(0.2,0,4,0)
  310. bar.Name = "total2"
  311.  
  312. health = Instance.new("Frame",bar) --//Creates the changing green Frame
  313. health.BackgroundColor3 = Color3.new(0,255,0)
  314. health.BorderSizePixel = 0
  315. health.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0)
  316. hrp.Parent.Humanoid.Changed:Connect(function(property) --//Triggers when any Property changed
  317. hrp.total.total2.Frame.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0) --//Adjusts the size of the green Frame
  318. end)
  319. end
  320. -- -----------------------------------------------------------------------------------
  321. function createESP(c) --//Checks and calls the proper function
  322. bugfix = c:WaitForChild("Head") --// *Used so the children of the character arent nil.
  323. for i,v in pairs(c:GetChildren()) do
  324. if checkPart(v) then
  325. actualESP(v)
  326. end
  327. end
  328. if HEALTHBAR_ACTIVATED then --//If the user decided to
  329. createHealthbar(c:WaitForChild("HumanoidRootPart")) --//Calls the function of the creation
  330. end
  331. end
  332. -- -----------------------------------------------------------------------------------
  333. for i,people in pairs(players:GetChildren())do
  334. if people ~= players.LocalPlayer then
  335. currentPlayer = people
  336. --//Used for Players already in the Game
  337. createESP(people.Character)
  338. people.CharacterAdded:Connect(function(character)
  339. createESP(character)
  340. end)
  341. end
  342. end
  343. -- -----------------------------------------------------------------------------------
  344. end --//End of the entire function
  345.  
  346. createFlex() --// Does exactly that :)
  347. --CTRLCLICK delete
  348. --[[
  349. Delete With Undo v1 by angeld23
  350.  
  351. Default keybinds:
  352. [Right Click + Left Ctrl] - Deletes part that your mouse is pointing at.
  353. [Right Click + X] - Undo last deletion. Can be repeated until all parts are returned.
  354. [Right Click + C] - Undo all deletions. This will return every part at once.
  355.  
  356. (You cannot hold the key and then right click, you must hold right click first. If anyone can fix that, it would be highly appreciated!)
  357.  
  358. Set custom keybinds in the settings below.
  359.  
  360. Report any bugs to angeld23 on v3rm (or Synapse Forums).
  361.  
  362. My Discord: angeld23#5601
  363. --]]
  364.  
  365.  
  366.  
  367. --Settings
  368. deleteKey = Enum.KeyCode.LeftControl --Key to delete the part you are looking at.
  369. undoKey = Enum.KeyCode.X --Key to undo last deletion.
  370. undoAllKey = Enum.KeyCode.C --Key to undo all deletions.
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391. --Variables
  392. plr = game.Players.LocalPlayer
  393. mouse = plr:GetMouse()
  394. input = game:GetService("UserInputService")
  395. storage = game:GetService("ReplicatedStorage")
  396. undoTable = {}
  397.  
  398. --Folder to hold deleted parts
  399. if not storage:FindFirstChild("DeleteWithUndo") then
  400. folder = Instance.new("Folder", storage)
  401. folder.Name = "DeleteWithUndo"
  402. end
  403. --Click detection
  404. clicking = false
  405. mouse.Button2Down:connect(function()
  406. clicking = true
  407. end)
  408. mouse.Button2Up:connect(function()
  409. clicking = false
  410. end)
  411.  
  412. --Input detection
  413. input.InputBegan:connect(function(key)
  414. if key.KeyCode == deleteKey and clicking then
  415. local targetPart = mouse.Target
  416. print("Deleted "..targetPart.Name)
  417. if not targetPart or not targetPart:IsA("BasePart")then return end
  418. local clone = targetPart:Clone()
  419. clone.Parent = folder
  420. local savedParent = Instance.new("ObjectValue", clone)
  421. savedParent.Name = "S_P"
  422. savedParent.Value = targetPart.Parent
  423. targetPart:Destroy()
  424. table.insert(undoTable, #undoTable + 1, clone)
  425. end
  426. if key.KeyCode == undoKey and #undoTable > 0 and clicking then
  427. local targetPart = undoTable[#undoTable]
  428. if not targetPart.S_P.Value then print("This part's parent was deleted! Setting parent to game.Workspace.") targetPart.Parent = workspace targetPart.S_P:Destroy() table.remove(undoTable, #undoTable) else
  429. print("Undone deletion of "..targetPart.Name)
  430. targetPart.Parent = targetPart.S_P.Value
  431. targetPart.S_P:Destroy()
  432. table.remove(undoTable, #undoTable)
  433. end
  434. end
  435. if key.KeyCode == undoAllKey and clicking then
  436. for i = 1, #undoTable do
  437. local targetPart = undoTable[#undoTable]
  438. print(targetPart.Name)
  439. if not targetPart.S_P.Value then print("This part's parent was deleted! Setting parent to game.Workspace.") targetPart.Parent = workspace targetPart.S_P:Destroy() table.remove(undoTable, #undoTable) else
  440. targetPart.Parent = targetPart.S_P.Value
  441. targetPart.S_P:Destroy()
  442. table.remove(undoTable, #undoTable)
  443. end
  444. end
  445. print("Undone deletion of all parts.")
  446. end
  447. end)
  448. --Noclip
  449. local noclip = true char = game.Players.LocalPlayer.Character while true do if noclip == true then for _,v in pairs(char:children()) do pcall(function() if v.className == "Part" then v.CanCollide = false elseif v.ClassName == "Model" then v.Head.CanCollide = false end end) end end game:service("RunService").Stepped:wait() end
  450. --Health
  451. while wait(0)
  452. local humanoid = game:GetService"Players".LocalPlayer.Character:FindFirstChild"Humanoid"
  453. if humanoid then humanoid.Health = humanoid.MaxHealth
  454. end
  455. end
  456. --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement