Advertisement
Guest User

Area47 script chatter

a guest
Dec 11th, 2019
1,132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.98 KB | None | 0 0
  1. local Texts = Instance.new("ScreenGui")
  2. local main = Instance.new("Frame")
  3. local stopabusing = Instance.new("TextButton")
  4. local breachinfo = Instance.new("TextButton")
  5. local followme = Instance.new("TextButton")
  6. local waithereplease = Instance.new("TextButton")
  7. local youshouldnotbeinhere = Instance.new("TextButton")
  8. local Youarenowreported = Instance.new("TextButton")
  9. local warning2trolling = Instance.new("TextButton")
  10. local warning3trolling = Instance.new("TextButton")
  11. local warning1trolling = Instance.new("TextButton")
  12. local lineup = Instance.new("TextButton")
  13. local e1 = Instance.new("Frame")
  14. local i = Instance.new("TextLabel")
  15. local i_2 = Instance.new("TextLabel")
  16. local AIMBOT = Instance.new("TextButton")
  17. local putuniformon = Instance.new("TextButton")
  18. local Aimfire = Instance.new("TextButton")
  19. Texts.Name = "Texts"
  20. Texts.Parent = game.CoreGui
  21. main.Name = "main"
  22. main.Parent = Texts
  23. main.Active = true
  24. main.BackgroundColor3 = Color3.new(0.403922, 0.403922, 0.403922)
  25. main.BackgroundTransparency = 0.30000001192093
  26. main.BorderColor3 = Color3.new(0, 0, 0)
  27. main.BorderSizePixel = 2
  28. main.Position = UDim2.new(0.415458947, 0, 0.076305218, 0)
  29. main.Size = UDim2.new(0, 130, 0, 400)
  30. main.Draggable = true
  31. stopabusing.Name = "stopabusing"
  32. stopabusing.Parent = main
  33. stopabusing.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  34. stopabusing.BackgroundTransparency = 0.20000000298023
  35. stopabusing.BorderColor3 = Color3.new(0, 0, 0)
  36. stopabusing.Position = UDim2.new(0.0712746084, 0, 0.631295204, 0)
  37. stopabusing.Size = UDim2.new(0, 110, 0, 19)
  38. stopabusing.Font = Enum.Font.ArialBold
  39. stopabusing.Text = "Stop abusing you RC."
  40. stopabusing.TextColor3 = Color3.new(1, 1, 1)
  41. stopabusing.TextSize = 11
  42. stopabusing.TextWrapped = true
  43. breachinfo.Name = "breachinfo"
  44. breachinfo.Parent = main
  45. breachinfo.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  46. breachinfo.BackgroundTransparency = 0.20000000298023
  47. breachinfo.BorderColor3 = Color3.new(0, 0, 0)
  48. breachinfo.Position = UDim2.new(0.0712746084, 0, 0.57105422, 0)
  49. breachinfo.Size = UDim2.new(0, 110, 0, 19)
  50. breachinfo.Font = Enum.Font.ArialBold
  51. breachinfo.Text = "We have a breach info."
  52. breachinfo.TextColor3 = Color3.new(1, 1, 1)
  53. breachinfo.TextSize = 11
  54. breachinfo.TextWrapped = true
  55. followme.Name = "followme"
  56. followme.Parent = main
  57. followme.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  58. followme.BackgroundTransparency = 0.20000000298023
  59. followme.BorderColor3 = Color3.new(0, 0, 0)
  60. followme.Position = UDim2.new(0.0712746084, 0, 0.450572312, 0)
  61. followme.Size = UDim2.new(0, 110, 0, 19)
  62. followme.Font = Enum.Font.ArialBold
  63. followme.Text = "Follow me please"
  64. followme.TextColor3 = Color3.new(1, 1, 1)
  65. followme.TextSize = 11
  66. followme.TextWrapped = true
  67. waithereplease.Name = "waithereplease"
  68. waithereplease.Parent = main
  69. waithereplease.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  70. waithereplease.BackgroundTransparency = 0.20000000298023
  71. waithereplease.BorderColor3 = Color3.new(0, 0, 0)
  72. waithereplease.Position = UDim2.new(0.0712746084, 0, 0.510813296, 0)
  73. waithereplease.Size = UDim2.new(0, 110, 0, 19)
  74. waithereplease.Font = Enum.Font.ArialBold
  75. waithereplease.Text = "Wait here please"
  76. waithereplease.TextColor3 = Color3.new(1, 1, 1)
  77. waithereplease.TextSize = 11
  78. waithereplease.TextWrapped = true
  79. youshouldnotbeinhere.Name = "youshouldnotbeinhere"
  80. youshouldnotbeinhere.Parent = main
  81. youshouldnotbeinhere.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  82. youshouldnotbeinhere.BackgroundTransparency = 0.20000000298023
  83. youshouldnotbeinhere.BorderColor3 = Color3.new(0, 0, 0)
  84. youshouldnotbeinhere.Position = UDim2.new(0.0712746084, 0, 0.330090374, 0)
  85. youshouldnotbeinhere.Size = UDim2.new(0, 110, 0, 19)
  86. youshouldnotbeinhere.Font = Enum.Font.ArialBold
  87. youshouldnotbeinhere.Text = "Not correct lvl out"
  88. youshouldnotbeinhere.TextColor3 = Color3.new(1, 1, 1)
  89. youshouldnotbeinhere.TextSize = 11
  90. youshouldnotbeinhere.TextWrapped = true
  91. Youarenowreported.Name = "Youarenowreported"
  92. Youarenowreported.Parent = main
  93. Youarenowreported.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  94. Youarenowreported.BackgroundTransparency = 0.20000000298023
  95. Youarenowreported.BorderColor3 = Color3.new(0, 0, 0)
  96. Youarenowreported.Position = UDim2.new(0.0712746084, 0, 0.390331328, 0)
  97. Youarenowreported.Size = UDim2.new(0, 110, 0, 19)
  98. Youarenowreported.Font = Enum.Font.ArialBold
  99. Youarenowreported.Text = "Ok guard this"
  100. Youarenowreported.TextColor3 = Color3.new(1, 1, 1)
  101. Youarenowreported.TextSize = 11
  102. Youarenowreported.TextWrapped = true
  103. warning2trolling.Name = "warning2trolling"
  104. warning2trolling.Parent = main
  105. warning2trolling.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  106. warning2trolling.BackgroundTransparency = 0.20000000298023
  107. warning2trolling.BorderColor3 = Color3.new(0, 0, 0)
  108. warning2trolling.Position = UDim2.new(0.0712746084, 0, 0.209608436, 0)
  109. warning2trolling.Size = UDim2.new(0, 110, 0, 19)
  110. warning2trolling.Font = Enum.Font.ArialBold
  111. warning2trolling.Text = "Warning 2 trolling"
  112. warning2trolling.TextColor3 = Color3.new(1, 1, 1)
  113. warning2trolling.TextSize = 11
  114. warning2trolling.TextWrapped = true
  115. warning3trolling.Name = "warning3trolling"
  116. warning3trolling.Parent = main
  117. warning3trolling.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  118. warning3trolling.BackgroundTransparency = 0.20000000298023
  119. warning3trolling.BorderColor3 = Color3.new(0, 0, 0)
  120. warning3trolling.Position = UDim2.new(0.0712746084, 0, 0.26984942, 0)
  121. warning3trolling.Size = UDim2.new(0, 110, 0, 19)
  122. warning3trolling.Font = Enum.Font.ArialBold
  123. warning3trolling.Text = "Warning 3 trolling"
  124. warning3trolling.TextColor3 = Color3.new(1, 1, 1)
  125. warning3trolling.TextSize = 11
  126. warning3trolling.TextWrapped = true
  127. warning1trolling.Name = "warning1trolling"
  128. warning1trolling.Parent = main
  129. warning1trolling.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  130. warning1trolling.BackgroundTransparency = 0.20000000298023
  131. warning1trolling.BorderColor3 = Color3.new(0, 0, 0)
  132. warning1trolling.Position = UDim2.new(0.0712746084, 0, 0.149367481, 0)
  133. warning1trolling.Size = UDim2.new(0, 110, 0, 19)
  134. warning1trolling.Font = Enum.Font.ArialBold
  135. warning1trolling.Text = "Warning 1 trolling"
  136. warning1trolling.TextColor3 = Color3.new(1, 1, 1)
  137. warning1trolling.TextSize = 11
  138. warning1trolling.TextWrapped = true
  139. lineup.Name = "lineup"
  140. lineup.Parent = main
  141. lineup.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  142. lineup.BackgroundTransparency = 0.20000000298023
  143. lineup.BorderColor3 = Color3.new(0, 0, 0)
  144. lineup.Position = UDim2.new(0.0712746084, 0, 0.691295207, 0)
  145. lineup.Size = UDim2.new(0, 110, 0, 19)
  146. lineup.Font = Enum.Font.ArialBold
  147. lineup.Text = "Line up"
  148. lineup.TextColor3 = Color3.new(1, 1, 1)
  149. lineup.TextSize = 11
  150. lineup.TextWrapped = true
  151. e1.Name = "e1"
  152. e1.Parent = main
  153. e1.BackgroundColor3 = Color3.new(0, 0, 0)
  154. e1.BorderSizePixel = 0
  155. e1.Position = UDim2.new(0.0307691991, 0, 0.104999997, 0)
  156. e1.Size = UDim2.new(0, 121, 0, 3)
  157. i.Name = "i"
  158. i.Parent = main
  159. i.BackgroundColor3 = Color3.new(1, 1, 1)
  160. i.BackgroundTransparency = 1
  161. i.Position = UDim2.new(0, 0, 0.0199999996, 0)
  162. i.Size = UDim2.new(0, 130, 0, 45)
  163. i.Font = Enum.Font.SourceSansItalic
  164. i.Text = "CHAT MADE EASY "
  165. i.TextColor3 = Color3.new(0, 0, 0.498039)
  166. i.TextScaled = true
  167. i.TextSize = 14
  168. i.TextWrapped = true
  169. i_2.Name = "i"
  170. i_2.Parent = main
  171. i_2.BackgroundColor3 = Color3.new(1, 1, 1)
  172. i_2.BackgroundTransparency = 1
  173. i_2.Position = UDim2.new(-0.0076923077, 0, 0.952499986, 0)
  174. i_2.Size = UDim2.new(0, 130, 0, 19)
  175. i_2.Font = Enum.Font.SourceSansBold
  176. i_2.Text = "[Z] + [X] To toggle GUI"
  177. i_2.TextColor3 = Color3.new(0, 0, 0.498039)
  178. i_2.TextScaled = true
  179. i_2.TextSize = 20
  180. i_2.TextWrapped = true
  181. AIMBOT.Name = "AIMBOT"
  182. AIMBOT.Parent = main
  183. AIMBOT.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  184. AIMBOT.BackgroundTransparency = 0.20000000298023
  185. AIMBOT.BorderColor3 = Color3.new(0, 0, 0)
  186. AIMBOT.Position = UDim2.new(0.0712746084, 0, 0.871295214, 0)
  187. AIMBOT.Size = UDim2.new(0, 110, 0, 19)
  188. AIMBOT.Font = Enum.Font.ArialBold
  189. AIMBOT.Text = "AIMBOT"
  190. AIMBOT.TextColor3 = Color3.new(1, 1, 1)
  191. AIMBOT.TextSize = 11
  192. AIMBOT.TextWrapped = true
  193. putuniformon.Name = "putuniformon"
  194. putuniformon.Parent = main
  195. putuniformon.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  196. putuniformon.BackgroundTransparency = 0.20000000298023
  197. putuniformon.BorderColor3 = Color3.new(0, 0, 0)
  198. putuniformon.Position = UDim2.new(0.0712746084, 0, 0.811295211, 0)
  199. putuniformon.Size = UDim2.new(0, 110, 0, 19)
  200. putuniformon.Font = Enum.Font.ArialBold
  201. putuniformon.Text = "Put uniform on"
  202. putuniformon.TextColor3 = Color3.new(1, 1, 1)
  203. putuniformon.TextSize = 11
  204. putuniformon.TextWrapped = true
  205. Aimfire.Name = "Aimfire"
  206. Aimfire.Parent = main
  207. Aimfire.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  208. Aimfire.BackgroundTransparency = 0.20000000298023
  209. Aimfire.BorderColor3 = Color3.new(0, 0, 0)
  210. Aimfire.Position = UDim2.new(0.0712746084, 0, 0.751054227, 0)
  211. Aimfire.Size = UDim2.new(0, 110, 0, 19)
  212. Aimfire.Font = Enum.Font.ArialBold
  213. Aimfire.Text = "Aim! Fire"
  214. Aimfire.TextColor3 = Color3.new(1, 1, 1)
  215. Aimfire.TextSize = 11
  216. Aimfire.TextWrapped = true
  217. local mouse = game.Players.LocalPlayer:GetMouse()
  218. mouse.KeyDown:Connect(function(k)
  219. key = k:lower()
  220. if key == "z" then
  221. main.Visible = false
  222. end
  223. end)
  224. mouse.KeyDown:Connect(function(k)
  225. key = k:lower()
  226. if key == "x" then
  227. main.Visible = true
  228. end
  229. end)
  230. stopabusing.MouseButton1Down:connect(function()
  231. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("sir or ma'am stop abusing you are being recorded and you will be reported to the appropriate authorities if necessary.", "All")
  232. end)
  233. breachinfo.MouseButton1Down:connect(function()
  234. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Ok guys! We have a breach you know what to do. Secure it maintain a distance at all times!", "All")
  235. end)
  236. followme.MouseButton1Down:connect(function()
  237. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("sir or ma'am please follow me immediately", "All")
  238. end)
  239. waithereplease.MouseButton1Down:connect(function()
  240. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("sir or ma'am please wait here I require to speak with you.", "All")
  241. end)
  242. youshouldnotbeinhere.MouseButton1Down:connect(function()
  243. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Stop! You do not have the correct authorization to be in this room please get out immediately!", "All")
  244. end)
  245. Youarenowreported.MouseButton1Down:connect(function()
  246. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Ok my team help me guard this room!", "All")
  247. end)
  248. warning2trolling.MouseButton1Down:connect(function()
  249. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Warning II for trolling / R-K. Please stop trolling and make the site fun for everyone!", "All")
  250. end)
  251. warning1trolling.MouseButton1Down:connect(function()
  252. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Warning I for trolling / R-K. Please stop trolling and make the site fun for everyone!", "All")
  253. end)
  254. warning3trolling.MouseButton1Down:connect(function()
  255. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Warning III for trolling / R-K. Please stop trolling and make the site fun for everyone!", "All")
  256. end)
  257. lineup.MouseButton1Down:connect(function()
  258. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Ok, my team please form a line immediately", "All")
  259. end)
  260. Aimfire.MouseButton1Down:connect(function()
  261. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Ok, my team get ready to shoot!", "All")
  262. end)
  263. putuniformon.MouseButton1Down:connect(function()
  264. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Please put on uniform because you look unprofessional this is the policy for the site..", "All")
  265. end)
  266. AIMBOT.MouseButton1Down:connect(function()
  267. game:GetService("StarterGui"):SetCore("SendNotification", {
  268. Title = "INFO",
  269. Text = "Q for AIMLOCK"
  270. })
  271. game:GetService("StarterGui"):SetCore("SendNotification", {
  272. Title = "INFO",
  273. Text = "E for ESP"
  274. })
  275. local plrs = game:GetService("Players")
  276. local TeamBased = true ; local teambasedswitch = "o"
  277. local presskeytoaim = true; local aimkey = "q"
  278. local raycast = false
  279. local espupdatetime = 5; autoesp = false
  280. local lockaim = true; local lockangle = 5
  281. local plrsforaim = {}
  282. local lplr = game:GetService("Players").LocalPlayer
  283. f = {}
  284. local espforlder
  285. f.addesp = function()
  286. if espforlder then
  287. else
  288. espforlder = Instance.new("Folder")
  289. espforlder.Parent = game.Workspace.CurrentCamera
  290. end
  291. for i, v in pairs(espforlder:GetChildren()) do
  292. v:Destroy()
  293. end
  294. for _, plr in pairs(plrs:GetChildren()) do
  295. if plr.Character and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name then
  296. if TeamBased == true then
  297. if plr.Team.Name ~= plrs.LocalPlayer.Team.Name then
  298. local e = espforlder:FindFirstChild(plr.Name)
  299. if not e then
  300. local bill = Instance.new("BillboardGui", espforlder)
  301. bill.Name = plr.Name
  302. bill.AlwaysOnTop = true
  303. bill.Size = UDim2.new(1,0,1,0)
  304. bill.Adornee = plr.Character.Head
  305. local Frame = Instance.new('Frame',bill)
  306. Frame.Active = true
  307. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  308. Frame.BackgroundTransparency = 0
  309. Frame.BorderSizePixel = 0
  310. Frame.AnchorPoint = Vector2.new(.5, .5)
  311. Frame.Position = UDim2.new (0.5,0,0.5,0)
  312. Frame.Size = UDim2.new (1,0,1,0)
  313. Frame.Rotation = 0
  314. plr.Character.Humanoid.Died:Connect(function()
  315. bill:Destroy()
  316. end)
  317. end
  318. end
  319. else
  320. local e = espforlder:FindFirstChild(plr.Name)
  321. if not e then
  322. local bill = Instance.new("BillboardGui", espforlder)
  323. bill.Name = plr.Name
  324. bill.AlwaysOnTop = true
  325. bill.Size = UDim2.new(1,0,1,0)
  326. bill.Adornee = plr.Character.Head
  327. local Frame = Instance.new('Frame',bill)
  328. Frame.Active = true
  329. Frame.BackgroundColor3 = Color3.new(255, 0, 0)
  330. Frame.BackgroundTransparency = 0
  331. Frame.BorderSizePixel = 0
  332. Frame.AnchorPoint = Vector2.new(.5, .5)
  333. Frame.Position = UDim2.new (0.5,0,0.5,0)
  334. Frame.Size = UDim2.new (1,0,1,0)
  335. Frame.Rotation = 0
  336. plr.Character.Humanoid.Died:Connect(function()
  337. bill:Destroy()
  338. end)
  339. end
  340. end
  341. end
  342. end
  343. end
  344. local cam = game.Workspace.CurrentCamera
  345. local mouse = lplr:GetMouse()
  346. local switch = false
  347. local key = "k"
  348. local aimatpart = nil
  349. mouse.KeyDown:Connect(function(a)
  350. if a == "e" then
  351. print("worked1")
  352. f.addesp()
  353. elseif a == "u" then
  354. if raycast == true then
  355. raycast = false
  356. else
  357. raycast = true
  358. end
  359. elseif a == "l" then
  360. if autoesp == false then
  361. autoesp = true
  362. else
  363. autoesp = false
  364. end
  365. end
  366. if a == "j" then
  367. if mouse.Target then
  368. mouse.Target:Destroy()
  369. end
  370. end
  371. if a == key then
  372. if switch == false then
  373. switch = true
  374. else
  375. switch = false
  376. if aimatpart ~= nil then
  377. aimatpart = nil
  378. end
  379. end
  380. elseif a == teambasedswitch then
  381. if TeamBased == true then
  382. TeamBased = false
  383. teambasedstatus.Text = tostring(TeamBased)
  384. else
  385. TeamBased = true
  386. teambasedstatus.Text = tostring(TeamBased)
  387. end
  388. elseif a == aimkey then
  389. if not aimatpart then
  390. local maxangle = math.rad(20)
  391. for i, plr in pairs(plrs:GetChildren()) do
  392. if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then
  393. if TeamBased == true then
  394. if plr.Team.Name ~= lplr.Team.Name then
  395. local an = checkfov(plr.Character.Head)
  396. if an < maxangle then
  397. maxangle = an
  398. aimatpart = plr.Character.Head
  399. end
  400. end
  401. else
  402. local an = checkfov(plr.Character.Head)
  403. if an < maxangle then
  404. maxangle = an
  405. aimatpart = plr.Character.Head
  406. end
  407. print(plr)
  408. end
  409. plr.Character.Humanoid.Died:Connect(function()
  410. if aimatpart.Parent == plr.Character or aimatpart == nil then
  411. aimatpart = nil
  412. end
  413. end)
  414. end
  415. end
  416. else
  417. aimatpart = nil
  418. end
  419. end
  420. end)
  421.  
  422. function getfovxyz (p0, p1, deg)
  423. local x1, y1, z1 = p0:ToOrientation()
  424. local cf = CFrame.new(p0.p, p1.p)
  425. local x2, y2, z2 = cf:ToOrientation()
  426. if deg then
  427. else
  428. return Vector3.new((x1-x2), (y1-y2), (z1-z2))
  429. end
  430. end
  431. function getaimbotplrs()
  432. plrsforaim = {}
  433. for i, plr in pairs(plrs:GetChildren()) do
  434. if plr.Character and plr.Character.Humanoid and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name and plr.Character.Head then
  435.  
  436. if TeamBased == true then
  437. if plr.Team.Name ~= lplr.Team.Name then
  438. local cf = CFrame.new(game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
  439. local r = Ray.new(cf, cf.LookVector * 10000)
  440. local ign = {}
  441. for i, v in pairs(plrs.LocalPlayer.Character:GetChildren()) do
  442. if v:IsA("BasePart") then
  443. table.insert(ign , v)
  444. end
  445. end
  446. local obj = game.Workspace:FindPartOnRayWithIgnoreList(r, ign)
  447. if obj.Parent == plr.Character and obj.Parent ~= lplr.Character then
  448. table.insert(plrsforaim, obj)
  449. end
  450. end
  451. else
  452. local cf = CFrame.new(game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
  453. local r = Ray.new(cf, cf.LookVector * 10000)
  454. local ign = {}
  455. for i, v in pairs(plrs.LocalPlayer.Character:GetChildren()) do
  456. if v:IsA("BasePart") then
  457. table.insert(ign , v)
  458. end
  459. end
  460. local obj = game.Workspace:FindPartOnRayWithIgnoreList(r, ign)
  461. if obj.Parent == plr.Character and obj.Parent ~= lplr.Character then
  462. table.insert(plrsforaim, obj)
  463. end
  464. end
  465.  
  466.  
  467. end
  468. end
  469. end
  470. function aimat(part)
  471. cam.CFrame = CFrame.new(cam.CFrame.p, part.CFrame.p)
  472. end
  473. function checkfov (part)
  474. local fov = getfovxyz(game.Workspace.CurrentCamera.CFrame, part.CFrame)
  475. local angle = math.abs(fov.X) + math.abs(fov.Y)
  476. return angle
  477. end
  478. game:GetService("RunService").RenderStepped:Connect(function()
  479. if aimatpart then
  480. aimat(aimatpart)
  481. if aimatpart.Parent == plrs.LocalPlayer.Character then
  482. aimatpart = nil
  483. end
  484. end
  485. if raycast == true and switch == false and not aimatpart then
  486. getaimbotplrs()
  487. aimatpart = nil
  488. local maxangle = 999
  489. for i, v in ipairs(plrsforaim) do
  490. if v.Parent ~= lplr.Character then
  491. local an = checkfov(v)
  492. if an < maxangle and v ~= lplr.Character.Head then
  493. maxangle = an
  494. aimatpart = v
  495. print(v:GetFullName())
  496. v.Parent.Humanoid.Died:connect(function()
  497. aimatpart = nil
  498. end)
  499. end
  500. end
  501. end
  502. end
  503. end)
  504. delay(0, function()
  505. while wait(espupdatetime) do
  506. if autoesp == true then
  507. pcall(function()
  508. f.addesp()
  509. end)
  510. end
  511. end
  512. end)
  513. warn("loaded")
  514. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement