Advertisement
43Bullets

KAT GUI

Apr 16th, 2021
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.69 KB | None | 0 0
  1. --Scripted by 43Bullets aka ARedbidderr
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local UICorner = Instance.new("UICorner")
  7. local TextButton = Instance.new("TextButton")
  8. local UICorner_2 = Instance.new("UICorner")
  9. local UICorner_3 = Instance.new("UICorner")
  10. local TextButton_2 = Instance.new("TextButton")
  11. local UICorner_4 = Instance.new("UICorner")
  12. local TextLabel_2 = Instance.new("TextLabel")
  13. local UICorner_5 = Instance.new("UICorner")
  14.  
  15. --2
  16.  
  17. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  18. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  19. ScreenGui.ResetOnSpawn = false
  20.  
  21. Frame.Parent = ScreenGui
  22. Frame.BackgroundColor3 = Color3.fromRGB(85, 85, 85)
  23. Frame.Position = UDim2.new(0.093788065, 0, 0.126953125, 0)
  24. Frame.Size = UDim2.new(0, 527, 0, 280)
  25.  
  26. TextLabel.Parent = Frame
  27. TextLabel.BackgroundColor3 = Color3.fromRGB(170, 170, 170)
  28. TextLabel.Size = UDim2.new(0, 527, 0, 50)
  29. TextLabel.Font = Enum.Font.SourceSans
  30. TextLabel.Text = "Synxo's KAT GUI"
  31. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  32. TextLabel.TextSize = 30.000
  33.  
  34. UICorner.Parent = TextLabel
  35.  
  36. TextButton.Parent = Frame
  37. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  38. TextButton.Position = UDim2.new(0.0265654624, 0, 0.235714287, 0)
  39. TextButton.Size = UDim2.new(0, 200, 0, 50)
  40. TextButton.AutoButtonColor = false
  41. TextButton.Font = Enum.Font.SourceSans
  42. TextButton.Text = "Aimbot"
  43. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  44. TextButton.TextSize = 20.000
  45.  
  46. UICorner_2.Parent = TextButton
  47.  
  48. UICorner_3.Parent = Frame
  49.  
  50. TextButton_2.Parent = Frame
  51. TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  52. TextButton_2.Position = UDim2.new(0.605313063, 0, 0.235714316, 0)
  53. TextButton_2.Size = UDim2.new(0, 200, 0, 50)
  54. TextButton_2.AutoButtonColor = false
  55. TextButton_2.Font = Enum.Font.SourceSans
  56. TextButton_2.Text = "OP GUI"
  57. TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  58. TextButton_2.TextSize = 20.000
  59.  
  60. UICorner_4.Parent = TextButton_2
  61.  
  62. TextLabel_2.Parent = Frame
  63. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  64. TextLabel_2.Position = UDim2.new(0.354838699, 0, 0.760714293, 0)
  65. TextLabel_2.Size = UDim2.new(0, 132, 0, 50)
  66. TextLabel_2.Font = Enum.Font.SourceSans
  67. TextLabel_2.Text = "w02#2226"
  68. TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  69. TextLabel_2.TextSize = 20.000
  70.  
  71. UICorner_5.Parent = TextLabel_2
  72.  
  73. -- Scripts:
  74.  
  75. local function BIAHHMN_fake_script() -- Frame.Dragify
  76. local script = Instance.new('LocalScript', Frame)
  77.  
  78. local UIS = game:GetService("UserInputService")
  79. function dragify(Frame)
  80. dragToggle = nil
  81. local dragSpeed = 0.0005
  82. dragInput = nil
  83. dragStart = nil
  84. local dragPos = nil
  85. function updateInput(input)
  86. local Delta = input.Position - dragStart
  87. local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  88. game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.30), {Position = Position}):Play()
  89. end
  90. Frame.InputBegan:Connect(function(input)
  91. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
  92. dragToggle = true
  93. dragStart = input.Position
  94. startPos = Frame.Position
  95. input.Changed:Connect(function()
  96. if input.UserInputState == Enum.UserInputState.End then
  97. dragToggle = false
  98. end
  99. end)
  100. end
  101. end)
  102. Frame.InputChanged:Connect(function(input)
  103. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  104. dragInput = input
  105. end
  106. end)
  107. game:GetService("UserInputService").InputChanged:Connect(function(input)
  108. if input == dragInput and dragToggle then
  109. updateInput(input)
  110. end
  111. end)
  112. end
  113.  
  114. dragify(script.Parent)
  115. end
  116. coroutine.wrap(BIAHHMN_fake_script)()
  117. local function NYBY_fake_script() -- Frame.LocalScript
  118. local script = Instance.new('LocalScript', Frame)
  119.  
  120. while true do
  121. for a = 1,360,1 do
  122. wait(0.01)
  123. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  124. end
  125. end
  126.  
  127. end
  128. coroutine.wrap(NYBY_fake_script)()
  129. local function BCIR_fake_script() -- TextButton.LocalScript
  130. local script = Instance.new('LocalScript', TextButton)
  131.  
  132. while true do
  133. for a = 1,360,1 do
  134. wait(0.1)
  135. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  136. end
  137. end
  138.  
  139. end
  140. coroutine.wrap(BCIR_fake_script)()
  141. local function PFYYJS_fake_script() -- TextButton.Script
  142. local script = Instance.new('Script', TextButton)
  143.  
  144. script.Parent.MouseButton1Click:Connect(function()
  145. PLAYER = game.Players.LocalPlayer
  146. MOUSE = PLAYER:GetMouse()
  147. CC = game.Workspace.CurrentCamera
  148.  
  149. ENABLED = false
  150. ESP_ENABLED = false
  151.  
  152. _G.FREE_FOR_ALL = true
  153.  
  154. _G.BIND = 50
  155. _G.ESP_BIND = 52
  156. _G.CHANGE_AIM = 'q'
  157.  
  158. _G.AIM_AT = 'Head'
  159.  
  160. wait(1)
  161.  
  162. function GetNearestPlayerToMouse()
  163. local PLAYERS = {}
  164. local PLAYER_HOLD = {}
  165. local DISTANCES = {}
  166. for i, v in pairs(game.Players:GetPlayers()) do
  167. if v ~= PLAYER then
  168. table.insert(PLAYERS, v)
  169. end
  170. end
  171. for i, v in pairs(PLAYERS) do
  172. if _G.FREE_FOR_ALL == false then
  173. if v and (v.Character) ~= nil and v.TeamColor ~= PLAYER.TeamColor then
  174. local AIM = v.Character:FindFirstChild(_G.AIM_AT)
  175. if AIM ~= nil then
  176. local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
  177. local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
  178. local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
  179. local DIFF = math.floor((POS - AIM.Position).magnitude)
  180. PLAYER_HOLD[v.Name .. i] = {}
  181. PLAYER_HOLD[v.Name .. i].dist = DISTANCE
  182. PLAYER_HOLD[v.Name .. i].plr = v
  183. PLAYER_HOLD[v.Name .. i].diff = DIFF
  184. table.insert(DISTANCES, DIFF)
  185. end
  186. end
  187. elseif _G.FREE_FOR_ALL == true then
  188. local AIM = v.Character:FindFirstChild(_G.AIM_AT)
  189. if AIM ~= nil then
  190. local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
  191. local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
  192. local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
  193. local DIFF = math.floor((POS - AIM.Position).magnitude)
  194. PLAYER_HOLD[v.Name .. i] = {}
  195. PLAYER_HOLD[v.Name .. i].dist = DISTANCE
  196. PLAYER_HOLD[v.Name .. i].plr = v
  197. PLAYER_HOLD[v.Name .. i].diff = DIFF
  198. table.insert(DISTANCES, DIFF)
  199. end
  200. end
  201. end
  202.  
  203. if unpack(DISTANCES) == nil then
  204. return false
  205. end
  206.  
  207. local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
  208. if L_DISTANCE > 20 then
  209. return false
  210. end
  211.  
  212. for i, v in pairs(PLAYER_HOLD) do
  213. if v.diff == L_DISTANCE then
  214. return v.plr
  215. end
  216. end
  217. return false
  218. end
  219.  
  220. GUI_MAIN = Instance.new('ScreenGui', game.CoreGui)
  221. GUI_TARGET = Instance.new('TextLabel', GUI_MAIN)
  222. GUI_AIM_AT = Instance.new('TextLabel', GUI_MAIN)
  223.  
  224. GUI_MAIN.Name = 'AIMBOT'
  225.  
  226. GUI_TARGET.Size = UDim2.new(0,200,0,30)
  227. GUI_TARGET.BackgroundTransparency = 0.5
  228. GUI_TARGET.BackgroundColor = BrickColor.new('Fossil')
  229. GUI_TARGET.BorderSizePixel = 0
  230. GUI_TARGET.Position = UDim2.new(0.5,-100,0,0)
  231. GUI_TARGET.Text = 'AIMBOT : OFF'
  232. GUI_TARGET.TextColor3 = Color3.new(1,1,1)
  233. GUI_TARGET.TextStrokeTransparency = 1
  234. GUI_TARGET.TextWrapped = true
  235. GUI_TARGET.FontSize = 'Size24'
  236. GUI_TARGET.Font = 'SourceSansBold'
  237.  
  238. GUI_AIM_AT.Size = UDim2.new(0,200,0,20)
  239. GUI_AIM_AT.BackgroundTransparency = 0.5
  240. GUI_AIM_AT.BackgroundColor = BrickColor.new('Fossil')
  241. GUI_AIM_AT.BorderSizePixel = 0
  242. GUI_AIM_AT.Position = UDim2.new(0.5,-100,0,30)
  243. GUI_AIM_AT.Text = 'AIMING : HEAD'
  244. GUI_AIM_AT.TextColor3 = Color3.new(1,1,1)
  245. GUI_AIM_AT.TextStrokeTransparency = 1
  246. GUI_AIM_AT.TextWrapped = true
  247. GUI_AIM_AT.FontSize = 'Size18'
  248. GUI_AIM_AT.Font = 'SourceSansBold'
  249.  
  250. local TRACK = false
  251.  
  252. function CREATE(BASE, TEAM)
  253. local ESP_MAIN = Instance.new('BillboardGui', PLAYER.PlayerGui)
  254. local ESP_DOT = Instance.new('Frame', ESP_MAIN)
  255. local ESP_NAME = Instance.new('TextLabel', ESP_MAIN)
  256.  
  257. ESP_MAIN.Name = 'ESP'
  258. ESP_MAIN.Adornee = BASE
  259. ESP_MAIN.AlwaysOnTop = true
  260. ESP_MAIN.ExtentsOffset = Vector3.new(0, 1, 0)
  261. ESP_MAIN.Size = UDim2.new(0, 5, 0, 5)
  262.  
  263. ESP_DOT.Name = 'DOT'
  264. ESP_DOT.BackgroundColor = BrickColor.new('Bright red')
  265. ESP_DOT.BackgroundTransparency = 0.3
  266. ESP_DOT.BorderSizePixel = 0
  267. ESP_DOT.Position = UDim2.new(-0.5, 0, -0.5, 0)
  268. ESP_DOT.Size = UDim2.new(2, 0, 2, 0)
  269. ESP_DOT.Visible = true
  270. ESP_DOT.ZIndex = 10
  271.  
  272. ESP_NAME.Name = 'NAME'
  273. ESP_NAME.BackgroundColor3 = Color3.new(255, 255, 255)
  274. ESP_NAME.BackgroundTransparency = 1
  275. ESP_NAME.BorderSizePixel = 0
  276. ESP_NAME.Position = UDim2.new(0, 0, 0, -40)
  277. ESP_NAME.Size = UDim2.new(1, 0, 10, 0)
  278. ESP_NAME.Visible = true
  279. ESP_NAME.ZIndex = 10
  280. ESP_NAME.Font = 'ArialBold'
  281. ESP_NAME.FontSize = 'Size14'
  282. ESP_NAME.Text = BASE.Parent.Name:upper()
  283. ESP_NAME.TextColor = BrickColor.new('Bright red')
  284. end
  285.  
  286. function CLEAR()
  287. for _,v in pairs(PLAYER.PlayerGui:children()) do
  288. if v.Name == 'ESP' and v:IsA('BillboardGui') then
  289. v:Destroy()
  290. end
  291. end
  292. end
  293.  
  294. function FIND()
  295. CLEAR()
  296. TRACK = true
  297. spawn(function()
  298. while wait() do
  299. if TRACK then
  300. CLEAR()
  301. for i,v in pairs(game.Players:GetChildren()) do
  302. if v.Character and v.Character:FindFirstChild('Head') then
  303. if _G.FREE_FOR_ALL == false then
  304. if v.TeamColor ~= PLAYER.TeamColor then
  305. if v.Character:FindFirstChild('Head') then
  306. CREATE(v.Character.Head, true)
  307. end
  308. end
  309. else
  310. if v.Character:FindFirstChild('Head') then
  311. CREATE(v.Character.Head, true)
  312. end
  313. end
  314. end
  315. end
  316. end
  317. end
  318. wait(1)
  319. end)
  320. end
  321.  
  322. MOUSE.KeyDown:connect(function(KEY)
  323. KEY = KEY:lower():byte()
  324. if KEY == _G.BIND then
  325. ENABLED = true
  326. end
  327. end)
  328.  
  329. MOUSE.KeyUp:connect(function(KEY)
  330. KEY = KEY:lower():byte()
  331. if KEY == _G.BIND then
  332. ENABLED = false
  333. end
  334. end)
  335.  
  336. MOUSE.KeyDown:connect(function(KEY)
  337. KEY = KEY:lower():byte()
  338. if KEY == _G.ESP_BIND then
  339. if ESP_ENABLED == false then
  340. FIND()
  341. ESP_ENABLED = true
  342. print('ESP : ON')
  343. elseif ESP_ENABLED == true then
  344. wait()
  345. CLEAR()
  346. TRACK = false
  347. ESP_ENABLED = true
  348. print('ESP : OFF')
  349. end
  350. end
  351. end)
  352.  
  353. MOUSE.KeyDown:connect(function(KEY)
  354. if KEY == _G.CHANGE_AIM then
  355. if _G.AIM_AT == 'Head' then
  356. _G.AIM_AT = 'Torso'
  357. GUI_AIM_AT.Text = 'AIMING : TORSO'
  358. elseif _G.AIM_AT == 'Torso' then
  359. _G.AIM_AT = 'Head'
  360. GUI_AIM_AT.Text = 'AIMING : HEAD'
  361. end
  362. end
  363. end)
  364.  
  365. game:GetService('RunService').RenderStepped:connect(function()
  366. if ENABLED then
  367. local TARGET = GetNearestPlayerToMouse()
  368. if (TARGET ~= false) then
  369. local AIM = TARGET.Character:FindFirstChild(_G.AIM_AT)
  370. if AIM then
  371. CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
  372. end
  373. GUI_TARGET.Text = 'AIMBOT : '.. TARGET.Name:sub(1, 5)
  374. else
  375. GUI_TARGET.Text = 'AIMBOT : OFF'
  376. end
  377. end
  378. end)
  379.  
  380. repeat
  381. wait()
  382. if ESP_ENABLED == true then
  383. FIND()
  384. end
  385. until ESP_ENABLED == false
  386. wait()
  387. _G.FREE_FOR_ALL = true
  388. _G.BIND = 50 -- LEFT CTRL
  389. _G.ESP_BIND = 52 -- LEFT ALT
  390. end)
  391. end
  392. coroutine.wrap(PFYYJS_fake_script)()
  393. local function XGBTP_fake_script() -- TextButton_2.LocalScript
  394. local script = Instance.new('LocalScript', TextButton_2)
  395.  
  396. while true do
  397. for a = 1,360,1 do
  398. wait(0.1)
  399. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  400. end
  401. end
  402.  
  403. end
  404. coroutine.wrap(XGBTP_fake_script)()
  405. local function YUMSD_fake_script() -- TextButton_2.Script
  406. local script = Instance.new('Script', TextButton_2)
  407.  
  408. script.Parent.MouseButton1Click:Connect(function()
  409. loadstring(game:HttpGet(('https://raw.githubusercontent.com/mememasterboi/a-lot-of-scripts/master/Output%20(6).lua'),true))()
  410. end)
  411. end
  412. coroutine.wrap(YUMSD_fake_script)()
  413. local function JFNK_fake_script() -- TextLabel_2.LocalScript
  414. local script = Instance.new('LocalScript', TextLabel_2)
  415.  
  416. while true do
  417. for a = 1,360,1 do
  418. wait(0.1)
  419. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  420. end
  421. end
  422.  
  423. end
  424. coroutine.wrap(JFNK_fake_script)()
  425.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement