Advertisement
Guest User

Arsenal#1

a guest
Apr 20th, 2019
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.76 KB | None | 0 0
  1. -- keybinds
  2.  
  3. toggle_aim = Enum.KeyCode.LeftShift
  4. toggle_aimbot = Enum.KeyCode.L
  5. toggle_trigger = Enum.KeyCode.RightAlt
  6. toggle_esp = Enum.KeyCode.End
  7. toggle_gui = Enum.KeyCode.F6
  8. toggle_bottompos = Enum.KeyCode.F7
  9. toggle_performance = Enum.KeyCode.F8
  10. toggle_bones = Enum.KeyCode.Delete
  11. toggle_chams = Enum.KeyCode.F3
  12. toggle_tracers = Enum.KeyCode.F2
  13. toggle_boxes = Enum.KeyCode.F4
  14. toggle_font = Enum.KeyCode.F1
  15. teleportall = Enum.KeyCode.LeftAlt
  16. ffatoggle = Enum.KeyCode.Home
  17. targetpart_change = Enum.KeyCode.BackSlash
  18. priority_toggle = Enum.KeyCode.Insert
  19. sethotkey = Enum.KeyCode.RightControl
  20. toggleinfjump = Enum.KeyCode.T
  21. -- aim fov
  22.  
  23. fov_increase = Enum.KeyCode.KeypadPlus
  24. fov_decrease = Enum.KeyCode.KeypadMinus
  25. -- aim sens (how smooth your crosshair will move)
  26. sens_increase = Enum.KeyCode.RightBracket
  27. sens_decrease = Enum.KeyCode.LeftBracket
  28.  
  29. _G.infJump = false
  30. --[[
  31.  
  32. ]]--
  33.  
  34.  
  35.  
  36. --[[
  37. declarations
  38. pls no toucc
  39. ]]--
  40. local UIS = game:GetService('UserInputService')
  41. local RS = game:GetService('RunService')
  42. local Players = game:GetService('Players')
  43. local StarterGui = game:GetService('StarterGui')
  44. local Player = Players.LocalPlayer
  45. local Studio = RS:IsStudio() --local PlayerGui = RS:IsStudio() and Player:WaitForChild('PlayerGui') or game.CoreGui
  46. local PlayerGui = (RS:IsStudio() and Player:FindFirstChild('PlayerGui')) or game.CoreGui
  47. local Mouse = Player:GetMouse()
  48. local old_icon = Mouse.Icon
  49. local Camera = workspace.CurrentCamera
  50. targetpart = 'Head'
  51. local target
  52. local target_old
  53. local alert = false
  54. local lockedon = false
  55. local settingkey = false
  56. local upvals = nil
  57. local val = 1
  58. local windows = {}
  59. local function hb() RS.Heartbeat:wait() end
  60.  
  61. local version = 0.01
  62. local Spawn = nil or game.PlaceId == 292439477 and workspace:WaitForChild('Lobby',2):WaitForChild('Spawn1',2)
  63. local spawned = false
  64.  
  65. script.Name = 'SkeetBlox'
  66. Mouse.TargetFilter = Camera
  67.  
  68.  
  69. -- parts
  70. parts = {
  71. 'Head';
  72. 'Torso'
  73. }
  74.  
  75. fonts = {
  76. Enum.Font.SourceSansBold,
  77. Enum.Font.Cartoon,
  78. Enum.Font.Arcade,
  79. Enum.Font.SciFi,
  80. Enum.Font.Fantasy,
  81. Enum.Font.Code,
  82. Enum.Font.Highway,
  83. Enum.Font.Bodoni
  84. }
  85.  
  86. textSet = false
  87.  
  88. currentfont = 1
  89. ffa = false
  90. hidden = false
  91. performancemode = false
  92. -- aim
  93. fov = 5
  94. sens = .25
  95. drop = .45
  96. aim_toggled = false
  97. bottompos = true
  98. aim_priority = 2
  99. -- [2] FOV or [1] Distance
  100. aimingcolor = Color3.fromRGB(0,165,255)
  101. aimbot_toggled = true
  102. aim_line = true
  103. locksoundid = 538769304
  104. mouseiconid = 18671553
  105.  
  106. -- trigger
  107. trigger_toggled = false
  108. trigger_delay = 1/20
  109.  
  110. -- esp
  111. esp_toggled = true
  112. esp_bones = false
  113. esp_chams = true
  114. esp_tracers = true
  115. -- item_esp (coming soon)
  116. linesize = 1
  117. showdists = true
  118. textsize = 14
  119. textoffset = 20
  120. visiblecolor = Color3.fromRGB(38,255,99)
  121. hiddencolor = Color3.fromRGB(255,37,40)
  122. headboxsize = 4
  123. headboxaimsize = 6
  124. headboxshape = 'diamond'
  125. -- rectangle or diamond
  126.  
  127. -- box esp
  128. bounding_box = true
  129. -- box_pointsize = 0 [UNUSED]
  130. box_line_size = 1
  131. -- box_line_size_visible = 2 [UNUSED]
  132.  
  133. local GUI = Instance.new('ScreenGui',PlayerGui) --PlayerGui
  134. GUI.Name = 'SkeetBlox '..version
  135. GUI.ResetOnSpawn = false
  136.  
  137. ESP = Instance.new('Folder',GUI)
  138. ESP.Name = 'ESP'
  139. local Bottom = Instance.new('Frame',ESP)
  140. Bottom.Name = 'Bottom'
  141. Bottom.BackgroundTransparency = 1
  142. Bottom.Size = UDim2.new(0,1,0,1)
  143. Bottom.Position = UDim2.new(.5,0,1,1)
  144.  
  145. local Status = Instance.new('TextLabel',GUI)
  146. Status.Name = 'Status'
  147. Status.BackgroundTransparency = 1
  148. Status.Size = UDim2.new(0,500,0,50)
  149. Status.Position = UDim2.new(.5,-250,.85,0)
  150. Status.TextSize = 24
  151. Status.Font = Enum.Font.SourceSansBold
  152. Status.TextColor3 = Color3.new(1,1,1)
  153. Status.TextStrokeColor3 = Color3.new(0,0,0)
  154. Status.TextStrokeTransparency = .6
  155. Status.Text = 'On Standby'
  156. Status.ZIndex = 50
  157.  
  158. local Credits = Status:Clone()
  159. Credits.Name = 'Credits'
  160. Credits.Parent = GUI
  161. Credits.Position = UDim2.new(.5,-250,.85,-20)
  162. Credits.TextSize = 16
  163. Credits.Text = 'skeetblox '..version..' by Talll and Avexus!'
  164.  
  165. local FovGui = Instance.new('ImageLabel',GUI)
  166. FovGui.Name = 'FovGui'
  167. FovGui.Image = 'rbxassetid://324848180'
  168. FovGui.Size = UDim2.new(0,(Camera.ViewportSize.X/(90/fov))*2,0,(Camera.ViewportSize.X/(90/fov))*2)
  169. FovGui.Position = UDim2.new(0.5,-FovGui.AbsoluteSize.X/2,0.5,-FovGui.AbsoluteSize.Y/2)
  170. FovGui.BackgroundTransparency = 1
  171. FovGui.ImageTransparency = .9
  172. FovGui.ImageColor3 = Color3.new(1,0,0)
  173.  
  174. local Indicator = Instance.new('TextLabel',GUI)
  175. Indicator.Name = 'Indicator'
  176. Indicator.Font = Enum.Font.SourceSans
  177. Indicator.TextSize = 14
  178. Indicator.TextXAlignment = Enum.TextXAlignment.Center
  179. Indicator.TextYAlignment = Enum.TextYAlignment.Center
  180. Indicator.TextStrokeTransparency = .75
  181. Indicator.Text = aim_priority>1 and 'FOV: '..fov or 'Distance'
  182.  
  183. local SensAdjust = Instance.new('TextBox',GUI)
  184. SensAdjust.Name = 'SensAdjust'
  185. SensAdjust.Font = Enum.Font.SourceSans
  186. SensAdjust.BackgroundTransparency = .75
  187. SensAdjust.BackgroundColor3 = Color3.new(0,0,0)
  188. SensAdjust.BorderColor3 = Color3.new(1,1,1)
  189. SensAdjust.Size = UDim2.new(0,50,0,20)
  190. SensAdjust.TextStrokeTransparency = .6
  191. SensAdjust.TextColor3 = Color3.new(1,1,1)
  192. SensAdjust.TextSize = 14
  193. SensAdjust.PlaceholderText = 'Sens'
  194. SensAdjust.Text = tonumber(sens)
  195. SensAdjust.Position = Credits.Position + UDim2.new(0,250,0,75)
  196.  
  197. local SensLabel = Instance.new('TextLabel',SensAdjust)
  198. SensLabel.Name = 'SensLabel'
  199. SensLabel.Font = Enum.Font.SourceSans
  200. SensLabel.Size = UDim2.new(1,0,1,0)
  201. SensLabel.BackgroundTransparency = 1
  202. SensLabel.TextSize = 14
  203. SensLabel.TextColor3 = Color3.new(1,1,1)
  204. SensLabel.TextStrokeColor3 = Color3.new(0,0,0)
  205. SensLabel.TextStrokeTransparency = .6
  206. SensLabel.Text = 'Sens:'
  207. SensLabel.Position = UDim2.new(-1,0,0,0)
  208. SensLabel.TextXAlignment = Enum.TextXAlignment.Left
  209.  
  210. local FovAdjust = SensAdjust:Clone()
  211. FovAdjust.Parent = GUI
  212. FovAdjust.PlaceholderText = 'FOV'
  213. FovAdjust.Name = 'FovAdjust'
  214. FovAdjust.Text = tonumber(fov)
  215. FovAdjust.Position = SensAdjust.Position + UDim2.new(0,0,0,20)
  216. FovAdjust.SensLabel.Name = 'FovLabel'
  217. FovAdjust.FovLabel.Text = 'Fov:'
  218.  
  219. local DropAdjust = SensAdjust:Clone()
  220. DropAdjust.Parent = GUI
  221. DropAdjust.PlaceholderText = 'Drop'
  222. DropAdjust.Name = 'DropAdjust'
  223. DropAdjust.Text = tonumber(drop)
  224. DropAdjust.Position = SensAdjust.Position + UDim2.new(0,0,0,40)
  225. DropAdjust.SensLabel.Name = 'DropLabel'
  226. DropAdjust.DropLabel.Text = 'Drop:'
  227.  
  228. local KeysList = Instance.new('TextLabel',GUI)
  229. KeysList.Name = 'KeysList'
  230. KeysList.Font = Enum.Font.SourceSans
  231. KeysList.TextStrokeTransparency = .6
  232. KeysList.TextSize = 15
  233. KeysList.TextColor3 = Color3.new(1,1,1)
  234. KeysList.Size = UDim2.new(0,0,1,0)
  235. KeysList.Position = UDim2.new(0,7,0,-430)
  236. KeysList.BackgroundTransparency = 1
  237. KeysList.Active = false
  238. KeysList.TextXAlignment = Enum.TextXAlignment.Left
  239. KeysList.TextYAlignment = Enum.TextYAlignment.Bottom
  240. KeysList.Text = 'AimBot Toggle: '..toggle_aimbot.Name..'\nAim Toggle: '..toggle_aim.Name..'\nAim Part Toggle: '..targetpart_change.Name..'\nPriority Toggle: '..priority_toggle.Name
  241. ..'\nESP Toggle: '..toggle_esp.Name..'\nBones Toggle: '..toggle_bones.Name..'\nChams Toggle: '..toggle_chams.Name..'\nBoxes Toggle: '..toggle_boxes.Name..'\nFOV Increase: '..fov_increase.Name..'\nFOV Decrease: '..fov_decrease.Name..'\nSens Increase: '
  242. ..sens_increase.Name..'\nSens Decrease: '..sens_decrease.Name..'\nTrigger Toggle: '..toggle_trigger.Name..'\nFFA Toggle: '..ffatoggle.Name..'\nHide Cheats: '..toggle_gui.Name
  243. ..'\nChange ESP Origin: '..toggle_bottompos.Name..'\nPerformance Mode: '..toggle_performance.Name..'\nChange Font: '..toggle_font.Name..'\nTeleport to Random Enemy: '..teleportall.Name..'\nToggle Infinite Jump: '..toggleinfjump.Name
  244.  
  245. local n = 0
  246.  
  247. spawn(function()
  248. while Status do
  249. Indicator.TextColor3 = Color3.fromHSV(n,.5,1)
  250. KeysList.TextColor3 = Color3.fromHSV(n, .5,1)
  251. FovGui.ImageColor3 = Indicator.TextColor3
  252. if not textSet then
  253. if aim_toggled and target then
  254. Status.TextColor3 = aimingcolor
  255. Status.Text = ('Aiming at '..target.Name)
  256. else
  257. Status.TextColor3 = Color3.fromHSV(n,.5,1)
  258. Status.Text = 'On Standby'
  259. end
  260. end
  261. n = (n+.005)%1
  262. hb()
  263. end
  264. end)
  265.  
  266. SensAdjust.InputEnded:Connect(function() if SensAdjust.Text~='' then sens = tonumber(SensAdjust.Text)>0 and tonumber(SensAdjust.Text) or sens end end)
  267. FovAdjust.InputEnded:Connect(function() if FovAdjust.Text~='' then fov = tonumber(FovAdjust.Text)>0 and tonumber(FovAdjust.Text) or fov
  268. FovGui:TweenSize(UDim2.new(0,(Camera.ViewportSize.X/(90/fov))*2,0,(Camera.ViewportSize.X/(90/fov))*2),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.1,true) end end)
  269. DropAdjust.InputEnded:Connect(function() if DropAdjust.Text~='' then drop = tonumber(DropAdjust.Text)>=0 and tonumber(DropAdjust.Text) or drop end end)
  270. _G.JumpHeight = 50;
  271.  
  272. function Action(Object, Function) if Object ~= nil then Function(Object); end end
  273. local function distfromspawn(x)
  274. if Spawn then
  275. return x:DistanceFromCharacter(Spawn.Position)
  276. else
  277. return 201
  278. end
  279. end
  280.  
  281. local function setText(text)
  282. spawn(function()
  283. textSet = true
  284. Status.Text = text
  285. Status.TextColor3 = Color3.new(1,1,1)
  286. wait(#text/4)
  287. textSet = false
  288. end)
  289. end
  290.  
  291. local function playsound(id)
  292. local sound = Instance.new('Sound',Camera)
  293. sound.SoundId = 'rbxassetid://'..id
  294. sound.Volume = 3
  295. sound:Play()
  296. game:GetService('Debris'):AddItem(sound,5)
  297. end
  298.  
  299. playsound(1168009121)
  300. Mouse.Icon = 'rbxassetid://'..mouseiconid
  301.  
  302. local function Notification(...)
  303. playsound(140910211)
  304. StarterGui:SetCore('SendNotification',...)
  305. end
  306.  
  307. local function DrawLine(Folder,P1,P2,Thickness,Color,LineTransparency,BorderThickness,BorderColor)
  308. -- Declare variables
  309. local Point1,Point2 = P1.Position,P2.Position
  310. if Point1 and Point2 then
  311. local X,Y = Camera.ViewportSize.X, Camera.ViewportSize.Y
  312. local X1,X2 = (X * Point1.X.Scale + Point1.X.Offset + P1.Size.X.Offset/2), (X * Point2.X.Scale + Point2.X.Offset + P2.Size.X.Offset/2)
  313. local Y1,Y2 = (Y * Point1.Y.Scale + Point1.Y.Offset + P1.Size.Y.Offset/2), (Y * Point2.Y.Scale + Point2.Y.Offset + P2.Size.Y.Offset/2)
  314. local MidX,MidY = (X1+X2)/2, (Y1+Y2)/2
  315. -- Set defaults to prevent errors
  316. Thickness = Thickness or 1
  317. Color = Color or Color3.new(1,1,1)
  318. LineTransparency = LineTransparency or 0
  319. BorderThickness = BorderThickness or 0
  320. BorderColor = BorderColor or Color3.new(0,0,0)
  321. -- Draw the line
  322. local Line = Folder:FindFirstChild(P1.Name..'-'..P2.Name) or Instance.new('Frame',Folder)
  323. Line.Visible = false
  324. Line.BackgroundTransparency = LineTransparency
  325. Line.BorderSizePixel = BorderThickness
  326. Line.BorderColor3 = BorderColor
  327. Line.Size = UDim2.new(0,(Vector2.new(X1,Y1) - Vector2.new(X2,Y2)).magnitude-1,0,Thickness)
  328. Line.Position = UDim2.new(0,MidX-Line.AbsoluteSize.X/2,0,MidY-Line.AbsoluteSize.Y)
  329. Line.BackgroundColor3 = Color
  330. Line.Rotation = math.deg(math.atan2((Y2-Y1),(X2-X1)))
  331. Line.Name = P1.Name..'-'..P2.Name
  332. Line.Visible = true
  333. return Line
  334. else
  335. return nil
  336. end
  337. end
  338.  
  339. local function GetNearest(Mode)
  340. local lowest,nearest,gui = math.huge,nil,nil
  341. if Mode==1 then
  342. for _,plr in next,Players:GetPlayers() do
  343. if plr.Name~=Player.Name and plr.Character~=nil and plr.Character:FindFirstChild(targetpart) then
  344. local dist = Player:DistanceFromCharacter(plr.Character[targetpart].Position)
  345. local ray = Ray.new(Player.Character.Head.Position,(plr.Character[targetpart].Position-Player.Character.Head.Position).unit*5000)
  346. local part,point = workspace:FindPartOnRayWithIgnoreList(ray,{Camera,Player.Character,unpack(windows)})
  347. local Z = Camera:WorldToScreenPoint(plr.Character[targetpart].Position).Z
  348. if part and part:IsDescendantOf(plr.Character) and Z>0 and dist < lowest and (ffa or plr.TeamColor~=Player.TeamColor) then lowest = dist nearest = plr.Character end
  349. end
  350. end
  351. elseif Mode==2 then
  352. for _,plr in next,Players:GetPlayers() do
  353. if plr.Name~=Player.Name and plr.Character~=nil and plr.Character:FindFirstChild(targetpart) then
  354. local pos = Camera:WorldToScreenPoint(plr.Character[targetpart].Position)
  355. local ray = Ray.new(Player.Character[targetpart].Position,(plr.Character[targetpart].Position-Player.Character[targetpart].Position).unit*2048)
  356. local part,point = workspace:FindPartOnRayWithIgnoreList(ray,{Camera,Player.Character,unpack(windows)})
  357. local dist = (Vector2.new(Mouse.X,Mouse.Y)-Vector2.new(pos.X,pos.Y)).magnitude
  358. if part and part:IsDescendantOf(plr.Character) and pos.Z>0 and dist <= Camera.ViewportSize.X/(90/fov) and dist < lowest and (ffa or plr.TeamColor~=Player.TeamColor) then lowest = dist nearest = plr.Character end
  359. end
  360. end
  361. end
  362. return nearest
  363. end
  364.  
  365. Mouse.Move:Connect(function()
  366. cursor = ESP:FindFirstChild('Cursor') or Instance.new('Frame',ESP)
  367. cursor.Name = 'Cursor'
  368. cursor.BackgroundTransparency = 1
  369. cursor.Size = UDim2.new(0,1,0,1)
  370. cursor.Position = UDim2.new(0,Mouse.X,0,Mouse.Y)
  371. end)
  372.  
  373. UIS.InputBegan:Connect(function(Input, GameProcessedEvent)
  374. if (GameProcessedEvent) then return false end;
  375. if Input.KeyCode == toggle_aim or Input.UserInputType == toggle_aim then
  376. aim_toggled = true
  377. warn('GS: aim toggled',aim_toggled and 'on' or 'off')
  378. alert = true
  379. while aim_toggled and aimbot_toggled do
  380. target = GetNearest(aim_priority)
  381. if target then
  382. local dist = Player:DistanceFromCharacter(target[targetpart].Position)
  383. local headpos = Camera:WorldToScreenPoint(target[targetpart].Position+Vector3.new(0,dist/(100/drop),0))
  384. local moveto = Vector2.new((headpos.X-Mouse.X)*sens,(headpos.Y-Mouse.Y)*sens)
  385. aimpos = GUI:FindFirstChild('AimPos') or Instance.new('Frame',GUI)
  386. if not GUI:FindFirstChild('AimPos') then
  387. aimpos.Name = 'AimPos'
  388. aimpos.BorderSizePixel = 1
  389. aimpos.BorderColor3 = Color3.new(0,0,0)
  390. aimpos.BackgroundTransparency = 0
  391. aimpos.BackgroundColor3 = Color3.new(1,1,1)
  392. aimpos.Rotation = 45
  393. aimpos.ZIndex = 4
  394. aimpos.Size = UDim2.new(0,3,0,3)
  395. end
  396. aimpos.Position = UDim2.new(0,headpos.X-aimpos.AbsoluteSize.X/2,0,headpos.Y-aimpos.AbsoluteSize.Y/2)
  397. aimpos.Visible = true
  398. mousemoverel(moveto.X,moveto.Y)
  399. if alert or target~=target_old then
  400. playsound(locksoundid)
  401. print('GS: locked onto',target.Name)
  402. lockedon = true
  403. alert = false
  404. end
  405. end
  406. RS.Heartbeat:wait()
  407. target_old = target
  408. if aimpos then
  409. aimpos.Visible = false
  410. end
  411. end
  412. lockedon = false
  413. elseif Input.KeyCode == toggle_trigger then
  414. trigger_toggled = not trigger_toggled
  415. setText('Toggled TriggerBot '..(trigger_toggled and 'On' or 'Off'))
  416. Notification({Title='TriggerBot';Text='TriggerBot was toggled '..(trigger_toggled and 'On' or 'Off');Duration=2;})
  417. warn('trigger toggled',trigger_toggled and 'on' or 'off')
  418. local Box = Instance.new('SelectionBox',PlayerGui)
  419. Box.Color3 = Color3.new(1,0,0)
  420. Box.LineThickness = .05
  421. Box.Adornee = nil
  422. if trigger_delay>0 then wait(trigger_delay) end
  423. while trigger_toggled do
  424. local Target = Mouse.Target
  425. local plr = Players:FindFirstChild(Target.Parent.Name)
  426. if Target and Target.Parent and plr~=nil and plr~=Player and ffa or plr~=nil and plr.TeamColor~=Player.TeamColor then
  427. Box.Adornee = Mouse.Target
  428. mouse1press()
  429. wait()
  430. mouse1release()
  431. end
  432. RS.Heartbeat:wait()
  433. end
  434. Box:Destroy()
  435. elseif Input.KeyCode == toggle_esp then
  436. esp_toggled = not esp_toggled
  437. Notification({Title='ESP';Text='ESP was toggled '..(esp_toggled and 'On' or 'Off');Duration=2;})
  438. setText('Toggled ESP '..(esp_toggled and 'On' or 'Off'))
  439. elseif Input.KeyCode == toggle_aimbot then
  440. aimbot_toggled = not aimbot_toggled
  441. Notification({Title='AimBot';Text='AimBot was toggled '..(aimbot_toggled and 'On' or 'Off');Duration=2;})
  442. setText('Toggled AimBot '..(aimbot_toggled and 'On' or 'Off'))
  443. elseif Input.KeyCode == fov_increase then
  444. fov = fov + .5
  445. FovAdjust.Text = tonumber(fov)
  446. if FovGui.Visible then
  447. FovGui:TweenSize(UDim2.new(0,(Camera.ViewportSize.X/(90/fov))*2,0,(Camera.ViewportSize.X/(90/fov))*2),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.1,true)
  448. end
  449. setText('Aim FOV: '..fov)
  450. elseif Input.KeyCode == fov_decrease and fov>0 then
  451. fov = fov - .5
  452. FovAdjust.Text = tonumber(fov)
  453. if FovGui.Visible then
  454. FovGui:TweenSize(UDim2.new(0,(Camera.ViewportSize.X/(90/fov))*2,0,(Camera.ViewportSize.X/(90/fov))*2),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.1,true)
  455. end
  456. setText('Aim FOV: '..fov)
  457. elseif Input.KeyCode == sens_increase then
  458. sens = sens + .05
  459. SensAdjust.Text = tonumber(sens)
  460. setText('Sens: '..sens)
  461. elseif Input.KeyCode == sens_decrease then
  462. sens = sens - .05
  463. SensAdjust.Text = tonumber(sens)
  464. setText('Sens: '..sens)
  465. elseif Input.KeyCode == targetpart_change then
  466. val = val+1
  467. targetpart = val<=#parts and parts[val] or parts[1]
  468. if parts[1]==targetpart then val = 1 end
  469. Notification({Title='Target Part';Text='Target part set to '..targetpart;Duration=2;})
  470. setText('Target Part: '..targetpart)
  471. elseif Input.KeyCode == ffatoggle then
  472. ffa = not ffa
  473. Notification({Title='FFA Mode';Text='FFA Mode is '..(ffa and 'Enabled' or 'Disabled');Duration=2;})
  474. setText('FFA Mode: '..(ffa and 'Enabled' or 'Disabled'))
  475. elseif Input.KeyCode == priority_toggle then
  476. aim_priority = aim_priority+1>2 and 0 or 1
  477. aim_priority = aim_priority+1
  478. FovGui.Visible = aim_priority>1
  479. Notification({Title='Aim Priority';Text='Aim Priority: '..(aim_priority==1 and 'Distance' or 'FOV');Duration=2;})
  480. setText('Aim Priority: '..(aim_priority==1 and 'Distance' or 'FOV'))
  481. elseif Input.KeyCode == toggle_bones then
  482. esp_bones = not esp_bones
  483. if not esp_bones then
  484. for _,v in next,ESP:GetDescendants() do
  485. if v:IsA('Frame') and v.Name:match('-') then
  486. v:Destroy()
  487. end
  488. end
  489. end
  490. Notification({Title='ESP';Text='ESP Bones: '..(esp_bones and 'Enabled' or 'Disabled');Duration=2;})
  491. setText('Toggled ESP Bones '..(esp_bones and 'Enabled' or 'Disabled'))
  492. elseif Input.KeyCode == toggle_gui then
  493. hidden = not hidden
  494. for _,gui in next,GUI:GetDescendants() do
  495. if gui:IsA('GuiObject') and not hidden and not gui.Visible then
  496. gui.Visible = true
  497. esp_toggled = true;
  498. Mouse.Icon = 'rbxassetid://'..mouseiconid
  499. elseif gui:IsA('GuiObject') and gui.Visible then
  500. gui.Visible = false
  501. esp_toggled = false
  502. Mouse.Icon = old_icon
  503. end
  504. end
  505. elseif Input.KeyCode == toggle_bottompos then
  506. bottompos = not bottompos
  507. if bottompos then
  508. Bottom.Position = UDim2.new(.5,0,1,1)
  509. end
  510. elseif Input.KeyCode == toggle_performance then
  511. performancemode = not performancemode
  512. setText('Performance Mode '..(performancemode and 'Enabled' or 'Disabled'))
  513. elseif Input.KeyCode == toggle_chams then
  514. esp_chams = not esp_chams
  515. setText('Chams '..(esp_chams and 'Enabled' or 'Disabled'))
  516. Notification({Title='ESP';Text='Chams: '..(esp_chams and 'Enabled' or 'Disabled');Duration=2;})
  517. elseif Input.KeyCode == toggle_tracers then
  518. esp_tracers = not esp_tracers
  519. setText('Tracers '..(esp_chams and 'Enabled' or 'Disabled'))
  520. Notification({Title='ESP';Text='Tracers: '..(esp_tracers and 'Enabled' or 'Disabled');Duration=2;})
  521. elseif Input.KeyCode == toggle_boxes then
  522. bounding_box = not bounding_box
  523. setText('Bounding Boxes '..(bounding_box and 'Enabled' or 'Disabled'))
  524. Notification({Title='ESP';Text='Bounding Boxes: '..(bounding_box and 'Enabled' or 'Disabled');Duration=2;})
  525. elseif Input.KeyCode == toggle_font then
  526. currentfont = (currentfont+1)>#fonts and 1 or currentfont+1
  527. for _,v in next,GUI:GetDescendants() do
  528. if v.Name~='KeysList' then
  529. if v:IsA('TextLabel') or v:IsA('TextButton') then
  530. v.Font = fonts[currentfont]
  531. end
  532. end
  533. end
  534. elseif Input.KeyCode == teleportall then
  535.  
  536. if game.Players.LocalPlayer.Team and game.Players.LocalPlayer.Team.Name:lower():match('counter') then
  537. _G.EnemyTeam = "Terrorists"
  538. else
  539. _G.EnemyTeam = "Counter-Terrorists"
  540. end
  541. local randomPlayer = game.Teams[_G.EnemyTeam]:GetPlayers()
  542. [math.random(1,#game.Teams[_G.EnemyTeam]:GetPlayers())]
  543.  
  544. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = randomPlayer.Character.HumanoidRootPart.CFrame
  545. print(game.Players.LocalPlayer.Team)
  546. print(_G.EnemyTeam)
  547. elseif Input.KeyCode == toggleinfjump then
  548. _G.infJump = not _G.infJump
  549. Notification({Title='InfJump';Text='InfJump : '..(_G.infJump and 'Enabled' or 'Disabled');Duration=2;})
  550. setText('InfJump '..(_G.infJump and 'Enabled' or 'Disabled'))
  551.  
  552. elseif Input.UserInputType == Enum.UserInputType.Keyboard and Input.KeyCode == Enum.KeyCode.Space then
  553. if _G.infJump == true then
  554. Action(Player.Character.Humanoid, function(self)
  555. if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
  556. Action(self.Parent.HumanoidRootPart, function(self)
  557. self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
  558. end)
  559. end
  560. end)
  561. end
  562.  
  563.  
  564. end
  565. end)
  566.  
  567. UIS.InputEnded:Connect(function(Input)
  568. if Input.KeyCode == toggle_aim or Input.UserInputType == toggle_aim then
  569. aim_toggled = false
  570. end
  571. end)
  572.  
  573. local function checkifspawned(x)
  574. spawned = false
  575. while not spawned and game.PlaceId==292439477 do
  576. spawned = distfromspawn(x)>200 and true or false
  577. wait(1/5)
  578. end
  579. spawned = true
  580. end
  581.  
  582. checkifspawned(Player)
  583. Player.CharacterAdded:Connect(function(c)
  584. checkifspawned(Player)
  585.  
  586. for _,v in next,ESP:GetDescendants() do
  587. if v:IsA('Frame') and v.Name:match('-') then
  588. v:Destroy()
  589. end
  590. end
  591. end)
  592.  
  593. Notification({Title='SkeetBlox '..version;Text='Cheat loaded successfully.';Icon='rbxassetid://2572157833';Duration=10;})
  594. wait(.5)
  595. Notification({Title='Main Coder';Text='TalllXD2';Duration=4;Icon='https://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&username=TalllXD2'})
  596. wait(.5)
  597. Notification({Title='Thank you!';Text='If you like this script, please leave a vouch on my thread!';Duration=4;})
  598.  
  599. RS.RenderStepped:Connect(function()
  600. if cursor then
  601. FovGui.Position = cursor.Position-UDim2.new(0,FovGui.AbsoluteSize.X/2,0,FovGui.AbsoluteSize.Y/2)
  602. Indicator.Position = cursor.Position+UDim2.new(0,0,0,40)
  603. end
  604. end)
  605.  
  606. Mouse.Button1Down:Connect(function()
  607. spawn(function()
  608. if FovGui.Visible then
  609. FovGui:TweenSize(UDim2.new(0,Camera.ViewportSize.X/(90/fov)*2.35,0,Camera.ViewportSize.X/(90/fov)*2.35),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.1,true)
  610. wait(.1)
  611. FovGui:TweenSize(UDim2.new(0,Camera.ViewportSize.X/(90/fov)*2,0,Camera.ViewportSize.X/(90/fov)*2),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.1,true)
  612. end
  613. end)
  614. end)
  615.  
  616. while true do
  617. Indicator.Text = (aim_priority>1 and 'FOV: '..fov or 'Distance') ..'\nSens: '..sens..(aim_toggled and '\nAiming' or '')
  618. if not bottompos then Bottom.Position = cursor.Position end
  619. if esp_toggled then
  620. for _,v in next,ESP:children() do
  621. if v~=Bottom and not Players:FindFirstChild(v.Name) then
  622. v:Destroy()
  623. end
  624. end
  625. for _,v in next,Players:GetPlayers() do
  626. local Char = v.Character
  627. if Char and spawned and v~=Player and Char:FindFirstChild(targetpart) and distfromspawn(v)>100 then
  628. if ffa or v.TeamColor~=Player.TeamColor then
  629. local X = Camera:GetPartsObscuringTarget({Camera.CFrame.p,Char[targetpart].CFrame.p},{v.Character,Char,Camera,unpack(windows)})
  630. local Dist = Player:DistanceFromCharacter(Char:FindFirstChild(targetpart).Position)
  631. local Color = hiddencolor
  632. local Folder = ESP:FindFirstChild(v.Name) or Instance.new('Folder',ESP)
  633. Folder.Name = v.Name
  634. -- ESP
  635. local Head = Folder:FindFirstChild('Head') or Instance.new('Frame',Folder)
  636. if not Folder:FindFirstChild('Head') then
  637. Head.Name = 'Head'
  638. Head.BorderSizePixel = 1
  639. Head.BorderColor3 = Color3.new(0,0,0)
  640. Head.BackgroundTransparency = 0
  641. end
  642. Head.BackgroundColor3 = #X>0 and hiddencolor or #X==0 and visiblecolor
  643. Head.Rotation = headboxshape=='diamond' and 45 or 0
  644. Head.ZIndex = 3
  645. local HP = Folder:FindFirstChild('HP') or Instance.new('TextLabel',Folder)
  646. if not Folder:FindFirstChild('HP') then
  647. HP.Name = 'HP'
  648. HP.TextTransparency = Head.BackgroundTransparency-.4
  649. HP.Font = fonts[currentfont]
  650. HP.TextStrokeTransparency = .6
  651. HP.BackgroundTransparency = 1
  652. HP.TextSize = 14
  653. end
  654. HP.Text = showdists and Char.Name..'\n'..math.floor(Dist+.5) or Char.Name
  655. if aim_toggled and target==Char then
  656. Head.Size = UDim2.new(0,headboxaimsize,0,headboxaimsize)
  657. Head.BackgroundColor3 = aimingcolor
  658. HP.Text = showdists and '['..Char.Name..']'..'\n'..math.floor(Dist+.5) or '['..Char.Name..']'
  659. HP.TextSize = 16
  660. else
  661. Head.Size = UDim2.new(0,headboxsize,0,headboxsize)
  662. end
  663. HP.TextColor3 = Head.BackgroundColor3
  664. local toScreen = Camera:WorldToScreenPoint(Char[targetpart].CFrame.p)
  665. if #X==0 then Color = visiblecolor end
  666. Head.Position = UDim2.new(0,toScreen.X-Head.Size.X.Offset/2,0,toScreen.Y-Head.Size.Y.Offset/2)
  667. HP.Position = Head.Position-UDim2.new(0,0,0,textoffset)
  668. if esp_tracers then
  669. local Line = DrawLine(Folder,ESP.Bottom,Head,linesize,Head.BackgroundColor3,.75,1,Color3.new(0,0,0))
  670. Line.Visible = Head.Visible
  671. else
  672. local imtired = Folder:FindFirstChild(ESP.Bottom.Name..'-'..Head.Name)
  673. if imtired then
  674. imtired:Destroy()
  675. end
  676. end
  677. if toScreen.Z<=0 then Head.Visible = false else Head.Visible = true end
  678. HP.Visible = Head.Visible
  679. if Char:FindFirstChild('Humanoid') and Char.Humanoid.RigType==Enum.HumanoidRigType.R6 then
  680. local Neck = Folder:FindFirstChild('Neck') or Instance.new('Frame',Folder)
  681. Neck.Name = 'Neck'
  682. Neck.ZIndex = 2
  683. if Char['Torso']~=nil then
  684. local Pos = (Char.Torso.CFrame*CFrame.new(0,.8,0)).p
  685. local X,Y,Z = Camera:WorldToScreenPoint(Pos).X,Camera:WorldToScreenPoint(Pos).Y,Camera:WorldToScreenPoint(Pos).Z
  686. Neck.Position = UDim2.new(0,X,0,Y)
  687. Neck.BorderSizePixel = 0
  688. if Z<=0 then Neck.Visible = false else Neck.Visible = true end
  689. else
  690. Neck.Visible = false
  691. end
  692. --
  693. local Pelvis = Folder:FindFirstChild('Pelvis') or Instance.new('Frame',Folder)
  694. Pelvis.Name = 'Pelvis'
  695. Pelvis.ZIndex = 2
  696. Pelvis.BorderSizePixel = 0
  697. if Char['Torso']~=nil then
  698. local Pos = (Char.Torso.CFrame*CFrame.new(0,-1,0)).p
  699. local X,Y,Z = Camera:WorldToScreenPoint(Pos).X,Camera:WorldToScreenPoint(Pos).Y,Camera:WorldToScreenPoint(Pos).Z
  700. Pelvis.Position = UDim2.new(0,X,0,Y)
  701. if Z<=0 then Pelvis.Visible = false else Pelvis.Visible = true end
  702. else
  703. Pelvis.Visible = false
  704. end
  705. --
  706. local RightFoot = Folder:FindFirstChild('Right Foot') or Instance.new('Frame',Folder)
  707. RightFoot.Name = 'Right Foot'
  708. RightFoot.ZIndex = 2
  709. RightFoot.BorderSizePixel = 0
  710. if Char['Right Leg']~=nil then
  711. local Pos = (Char['Right Leg'].CFrame*CFrame.new(0,-1,0)).p
  712. local X,Y,Z = Camera:WorldToScreenPoint(Pos).X,Camera:WorldToScreenPoint(Pos).Y,Camera:WorldToScreenPoint(Pos).Z
  713. RightFoot.Position = UDim2.new(0,X,0,Y)
  714. if Z<=0 then RightFoot.Visible = false else RightFoot.Visible = true end
  715. else
  716. RightFoot.Visible = false
  717. end
  718. --
  719. local LeftFoot = Folder:FindFirstChild('Left Foot') or Instance.new('Frame',Folder)
  720. LeftFoot.Name = 'Left Foot'
  721. if Char['Left Leg']~=nil then
  722. local Pos = (Char['Left Leg'].CFrame*CFrame.new(0,-1,0)).p
  723. local X,Y,Z = Camera:WorldToScreenPoint(Pos).X,Camera:WorldToScreenPoint(Pos).Y,Camera:WorldToScreenPoint(Pos).Z
  724. LeftFoot.Position = UDim2.new(0,X,0,Y)
  725. LeftFoot.BorderSizePixel = 0
  726. if Z<=0 then LeftFoot.Visible = false else LeftFoot.Visible = true end
  727. else
  728. LeftFoot.Visible = false
  729. end
  730. --
  731. local RightHand = Folder:FindFirstChild('Right Hand') or Instance.new('Frame',Folder)
  732. RightHand.Name = 'Right Hand'
  733. RightHand.ZIndex = 2
  734. RightHand.BorderSizePixel = 0
  735. if Char['Right Arm']~=nil then
  736. local Pos = (Char['Right Arm'].CFrame*CFrame.new(0,-1,0)).p
  737. local X,Y,Z = Camera:WorldToScreenPoint(Pos).X,Camera:WorldToScreenPoint(Pos).Y,Camera:WorldToScreenPoint(Pos).Z
  738. RightHand.Position = UDim2.new(0,X,0,Y)
  739. if Z<=0 then RightHand.Visible = false else RightHand.Visible = true end
  740. else
  741. RightHand.Visible = false
  742. end
  743. --
  744. local LeftHand = Folder:FindFirstChild('Left Hand') or Instance.new('Frame',Folder)
  745. LeftHand.Name = 'Left Hand'
  746. LeftHand.ZIndex = 2
  747. LeftHand.BorderSizePixel = 0
  748. if Char['Left Arm']~=nil then
  749. local Pos = (Char['Left Arm'].CFrame*CFrame.new(0,-1,0)).p
  750. local X,Y,Z = Camera:WorldToScreenPoint(Pos).X,Camera:WorldToScreenPoint(Pos).Y,Camera:WorldToScreenPoint(Pos).Z
  751. LeftHand.Position = UDim2.new(0,X,0,Y)
  752. if Z<=0 then LeftHand.Visible = false else LeftHand.Visible = true end
  753. else
  754. LeftHand.Visible = false
  755. end
  756. -- draw joints
  757. if esp_bones then
  758. if Head.Visible then DrawLine(Folder,Head,Neck,1,Color3.new(1,1,1),Head.BackgroundTransparency) end
  759. if Neck.Visible then DrawLine(Folder,Neck,Pelvis,1,Color3.new(1,1,1),Head.BackgroundTransparency) end
  760. if Neck.Visible then DrawLine(Folder,Neck,RightHand,1,Color3.new(1,1,1),Head.BackgroundTransparency) end
  761. if Neck.Visible then DrawLine(Folder,Neck,LeftHand,1,Color3.new(1,1,1),Head.BackgroundTransparency) end
  762. if Pelvis.Visible then DrawLine(Folder,Pelvis,RightFoot,1,Color3.new(1,1,1),Head.BackgroundTransparency) end
  763. if Pelvis.Visible then DrawLine(Folder,Pelvis,LeftFoot,1,Color3.new(1,1,1),Head.BackgroundTransparency) end
  764. end
  765. end
  766.  
  767. if esp_chams then
  768. for _,Part in next,Char:children() do
  769. if Part:IsA('BasePart') and Part.Name~='HumanoidRootPart' then
  770. local Adornment = Folder:FindFirstChild(Part.Name..'_Cham') or Instance.new('BoxHandleAdornment',Folder)
  771. if not Folder:FindFirstChild(Part.Name..'_Cham') then
  772. Adornment.Name = Part.Name..'_Cham'
  773. Adornment.Adornee = Part
  774. Adornment.AlwaysOnTop = true
  775. Adornment.Size = Part.Name=='Head' and Vector3.new(1,1,1) or Part.Size
  776. Adornment.ZIndex = 1
  777. end
  778. Adornment.Color3 = Head.BackgroundColor3
  779. end
  780. end
  781. else
  782. for _,v in next,Folder:GetDescendants() do
  783. if v.Name:match('Cham') then
  784. v:Destroy()
  785. end
  786. end
  787. end
  788.  
  789. if bounding_box and Char:FindFirstChild('HumanoidRootPart') then
  790. local Box = Char:FindFirstChild('Box') or Instance.new('BillboardGui',Char)
  791. if not Char:FindFirstChild('Box') then
  792. Box.Name = 'Box'
  793. Box.Adornee = Char:FindFirstChild('HumanoidRootPart')
  794. Box.AlwaysOnTop = true
  795. Box.LightInfluence = 0
  796. Box.StudsOffset = Vector3.new(0,-Box.Adornee.Size.Y/4,0)
  797. Box.Size = UDim2.new(4,1,5,1)
  798. local Top = Instance.new('Frame',Box)
  799. Top.Size = UDim2.new(1,0,0,box_line_size)
  800. Top.BorderSizePixel = 0
  801. local Bot = Top:Clone()
  802. Bot.Position = UDim2.new(0,0,1,-box_line_size)
  803. Bot.Parent = Box
  804. local Left = Top:Clone()
  805. Left.Size = UDim2.new(0,1,1,0)
  806. Left.Parent = Box
  807. local Right = Left:Clone()
  808. Right.Position = UDim2.new(1,-box_line_size,0,0)
  809. Right.Parent = Box
  810. end
  811. for _,v in next,Box:children() do
  812. if v:IsA('Frame') then
  813. v.BackgroundColor3 = Head.BackgroundColor3
  814. end
  815. end
  816. else
  817. local Box = Char:FindFirstChild('Box')
  818. if Box then
  819. Box:Destroy()
  820. end
  821. end
  822.  
  823. if lockedon and target and aim_line and ESP:FindFirstChild(target.Name) then
  824. DrawLine(ESP,cursor,ESP:FindFirstChild(target.Name).Head,1,Head.BackgroundColor3,.5)
  825. end
  826.  
  827. else
  828. if ESP:FindFirstChild(v.Name) then
  829. ESP:FindFirstChild(v.Name):Destroy()
  830. end
  831. end
  832. else
  833. if ESP:FindFirstChild(v.Name) then
  834. ESP:FindFirstChild(v.Name):Destroy()
  835. end
  836. end
  837. end
  838. else
  839. for _,v in next,ESP:children() do
  840. if v:IsA('Folder') then
  841. v:Destroy()
  842. end
  843. end
  844. end
  845. if performancemode then
  846. wait(1/(workspace:GetRealPhysicsFPS()*.75))
  847. else
  848. RS.Stepped:wait()
  849. end
  850. end
  851.  
  852. --[[ broken
  853. spawn(function()
  854. while script and game.PlaceId == 292439477 and workspace:FindFirstChild('Map') do
  855. windows = {}
  856. for _,v in next,workspace.Map:GetChildren() do
  857. if v.Name=='Window' then
  858. table.insert(windows,v)
  859. end
  860. end
  861. wait(2)
  862. end
  863. end)
  864. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement