Sinderblock

Untitled

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