FutureIswap

Untitled

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