Shaneyboy08

Strucid F*cker do not work

Aug 19th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.30 KB | None | 0 0
  1. it do not work you can try but dont copy this part
  2.  
  3.  
  4.  
  5.  
  6.  
  7. -- Instances:
  8. local strucidhack = Instance.new("ScreenGui")
  9. local MainGUI = Instance.new("Frame")
  10. local aimbotandesp = Instance.new("TextButton")
  11. local closegui = Instance.new("TextButton")
  12. local TextLabel = Instance.new("TextLabel")
  13. local opengui = Instance.new("Frame")
  14. local open = Instance.new("TextButton")
  15. --Properties:
  16. strucidhack.Name = "strucid hack"
  17. strucidhack.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  18. MainGUI.Active = true
  19. MainGUI.Draggable = true
  20.  
  21. MainGUI.Name = "MainGUI"
  22. MainGUI.Parent = strucidhack
  23. MainGUI.BackgroundColor3 = Color3.new(1, 1, 1)
  24. MainGUI.Position = UDim2.new(0.22521247, 0, 0.195965424, 0)
  25. MainGUI.Size = UDim2.new(0, 385, 0, 371)
  26. MainGUI.Visible = false
  27.  
  28. aimbotandesp.Name = "aimbot and esp"
  29. aimbotandesp.Parent = MainGUI
  30. aimbotandesp.BackgroundColor3 = Color3.new(1, 1, 1)
  31. aimbotandesp.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  32. aimbotandesp.BorderSizePixel = 3
  33. aimbotandesp.Position = UDim2.new(0.136179864, 0, 0.310200483, 0)
  34. aimbotandesp.Size = UDim2.new(0, 257, 0, 118)
  35. aimbotandesp.Font = Enum.Font.GothamSemibold
  36. aimbotandesp.Text = "Strucid Aimbot and esp"
  37. aimbotandesp.TextColor3 = Color3.new(0, 0, 0.498039)
  38. aimbotandesp.TextSize = 23
  39. aimbotandesp.MouseButton1Click:connect(function()
  40. local plrs = game:GetService("Players")
  41. local TeamBased = true ; local teambasedswitch = "o"
  42. local presskeytoaim = true; local aimkey = "e"
  43. local raycast = false
  44.  
  45. local espupdatetime = 5; autoesp = false
  46.  
  47.  
  48.  
  49. local lockaim = true; local lockangle = 5
  50.  
  51.  
  52.  
  53. --function findwat(folder, what)
  54. -- for i, smth in pairs(folder:GetChildren()) do
  55. -- if string.find(string.lower(tostring(smth)), string.lower(what)) then
  56. -- return smth
  57. -- end
  58. -- end
  59. --end
  60. --
  61. --local plrs = findwat(game, "Players")
  62.  
  63.  
  64.  
  65.  
  66. local Gui = Instance.new("ScreenGui")
  67. local Move = Instance.new("Frame")
  68. local Main = Instance.new("Frame")
  69. local EspStatus = Instance.new("TextLabel")
  70. local st1 = Instance.new("TextLabel")
  71. local st1_2 = Instance.new("TextLabel")
  72. local st1_3 = Instance.new("TextLabel")
  73. local Name = Instance.new("TextLabel")
  74. --Properties:
  75. Gui.Name = "Gui"
  76. Gui.Parent = plrs.LocalPlayer:WaitForChild("PlayerGui")
  77.  
  78. Move.Name = "Move"
  79. Move.Parent = Gui
  80. Move.BackgroundColor3 = Color3.new(0.0431373, 1, 0.0745098)
  81. Move.BackgroundTransparency = 0.40000000596046
  82. Move.BorderSizePixel = 0
  83. Move.Position = UDim2.new(0.005, 0,0.018, 0)
  84. Move.Size = UDim2.new(0.28141585, 0, 0.0320388414, 0)
  85.  
  86. Main.Name = "Main"
  87. Main.Parent = Move
  88. Main.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  89. Main.BackgroundTransparency = 0.69999998807907
  90. Main.Position = UDim2.new(0, 0, 0.995670795, 0)
  91. Main.Size = UDim2.new(1.0000006, 0, 9.79697132, 0)
  92.  
  93. EspStatus.Name = "EspStatus"
  94. EspStatus.Parent = Main
  95. EspStatus.BackgroundColor3 = Color3.new(1, 1, 1)
  96. EspStatus.BackgroundTransparency = 1
  97. EspStatus.Size = UDim2.new(0.272955924, 0, 0.161862016, 0)
  98. EspStatus.Font = Enum.Font.ArialBold
  99. EspStatus.Text = "Press T to update Esp"
  100. EspStatus.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  101. EspStatus.TextScaled = true
  102. EspStatus.TextSize = 14
  103. EspStatus.TextWrapped = true
  104.  
  105. st1.Name = "st1"
  106. st1.Parent = Main
  107. st1.BackgroundColor3 = Color3.new(1, 1, 1)
  108. st1.BackgroundTransparency = 1
  109. st1.Position = UDim2.new(0.271787882, 0, 0, 0)
  110. st1.Size = UDim2.new(0.728211343, 0, 0.161862016, 0)
  111. st1.Font = Enum.Font.ArialBold
  112. st1.Text = "Press "..aimkey.." to lock on a person inside ur view"
  113. st1.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  114. st1.TextScaled = true
  115. st1.TextSize = 14
  116. st1.TextWrapped = true
  117.  
  118. st1_2.Name = "st1"
  119. st1_2.Parent = Main
  120. st1_2.BackgroundColor3 = Color3.new(1, 1, 1)
  121. st1_2.BackgroundTransparency = 1
  122. st1_2.Position = UDim2.new(0, 0, 0.375590861, 0)
  123. st1_2.Size = UDim2.new(0.999999881, 0, 0.161862016, 0)
  124. st1_2.Font = Enum.Font.ArialBold
  125. st1_2.Text = "Press L to enable esp loop"
  126. st1_2.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  127. st1_2.TextScaled = true
  128. st1_2.TextSize = 14
  129. st1_2.TextWrapped = true
  130.  
  131. st1_3.Name = "st1"
  132. st1_3.Parent = Main
  133. st1_3.BackgroundColor3 = Color3.new(1, 1, 1)
  134. st1_3.BackgroundTransparency = 1
  135. st1_3.Position = UDim2.new(0, 0, 0.18558608, 0)
  136. st1_3.Size = UDim2.new(0.999999881, 0, 0.161862016, 0)
  137. st1_3.Font = Enum.Font.ArialBold
  138. st1_3.Text = "Press O to change team based mode"
  139. st1_3.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  140. st1_3.TextScaled = true
  141. st1_3.TextSize = 14
  142. st1_3.TextWrapped = true
  143. local teambasedstatus = st1_3:Clone()
  144. teambasedstatus.Parent = st1_3
  145. teambasedstatus.TextScaled = true
  146. teambasedstatus.Position = UDim2.new(0, 0,0.694, 0)
  147. teambasedstatus.Text = tostring(TeamBased)
  148.  
  149. Name.Name = "Name"
  150. Name.Parent = Move
  151. Name.BackgroundColor3 = Color3.new(1, 1, 1)
  152. Name.BackgroundTransparency = 1
  153. Name.Size = UDim2.new(0.838, 0, 0.980000019, 0)
  154. Name.Font = Enum.Font.Arial
  155. Name.Text = "FPS gui v1.0"
  156. Name.TextColor3 = Color3.new(0, 0, 0)
  157. Name.TextScaled = true
  158. Name.TextSize = 14
  159. Name.TextWrapped = true
  160. Name.TextXAlignment = Enum.TextXAlignment.Left
  161. -- Scripts:
  162.  
  163.  
  164. local plrsforaim = {}
  165.  
  166. local lplr = game:GetService("Players").LocalPlayer
  167. Move.Draggable = true
  168. Gui.ResetOnSpawn = false
  169. Gui.Name = "Chat"
  170. Gui.DisplayOrder = 999
  171.  
  172. Gui.Parent = plrs.LocalPlayer.PlayerGui
  173.  
  174.  
  175. f = {}
  176. local espforlder
  177.  
  178. f.addesp = function()
  179. --print("ESP ran")
  180. if espforlder then
  181. else
  182. espforlder = Instance.new("Folder")
  183. espforlder.Parent = game.Workspace.CurrentCamera
  184. end
  185. for i, v in pairs(espforlder:GetChildren()) do
  186. vBig Grinestroy()
  187. end
  188. for _, plr in pairs(plrs:GetChildren()) do
  189. if plr.Character and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name then
  190. if TeamBased == true then
  191. if plr.Team.Name ~= plrs.LocalPlayer.Team.Name then
  192. local e = espforlder:FindFirstChild(plr.Name)
  193. if not e then
  194. --print("Added esp for team based")
  195. local bill = Instance.new("BillboardGui", espforlder)
  196. bill.Name = plr.Name
  197. bill.AlwaysOnTop = true
  198. bill.Size = UDim2.new(1,0,1,0)
  199. bill.Adornee = plr.Character.Head
  200. local Frame = Instance.new('Frame',bill)
  201. Frame.Active = true
  202. Frame.BackgroundColor3 = Color3.new(0/255,255/255,0/255)
  203. Frame.BackgroundTransparency = 0
  204. Frame.BorderSizePixel = 0
  205. Frame.AnchorPoint = Vector2.new(.5, .5)
  206. Frame.Position = UDim2.new (0.5,0,0.5,0)
  207. Frame.Size = UDim2.new (1,0,1,0)
  208. Frame.Rotation = 0
  209. plr.Character.Humanoid.Died:Connect(function()
  210. billBig Grinestroy()
  211. end)
  212. end
  213. end
  214. else
  215. local e = espforlder:FindFirstChild(plr.Name)
  216. if not e then
  217. --print("Added esp")
  218. local bill = Instance.new("BillboardGui", espforlder)
  219. bill.Name = plr.Name
  220. bill.AlwaysOnTop = true
  221. bill.Size = UDim2.new(1,0,1,0)
  222. bill.Adornee = plr.Character.Head
  223. local Frame = Instance.new('Frame',bill)
  224. Frame.Active = true
  225. Frame.BackgroundColor3 = Color3.new(0/255,255/255,0/255)
  226. Frame.BackgroundTransparency = 0
  227. Frame.BorderSizePixel = 0
  228. Frame.AnchorPoint = Vector2.new(.5, .5)
  229. Frame.Position = UDim2.new (0.5,0,0.5,0)
  230. Frame.Size = UDim2.new (1,0,1,0)
  231. Frame.Rotation = 0
  232. plr.Character.Humanoid.Died:Connect(function()
  233. billBig Grinestroy()
  234. end)
  235. end
  236. end
  237.  
  238.  
  239. end
  240. end
  241. end
  242. local cam = game.Workspace.CurrentCamera
  243.  
  244. local mouse = lplr:GetMouse()
  245. local switch = false
  246. local key = "k"
  247. local aimatpart = nil
  248. mouse.KeyDown:Connect(function(a)
  249. if a == "t" then
  250. print("worked1")
  251. f.addesp()
  252. elseif a == "u" then
  253. if raycast == true then
  254. raycast = false
  255. else
  256. raycast = true
  257. end
  258. elseif a == "l" then
  259. if autoesp == false then
  260. autoesp = true
  261. else
  262. autoesp = false
  263. end
  264. end
  265. if a == "j" then
  266. if mouse.Target then
  267. mouse.TargetBig Grinestroy()
  268. end
  269. end
  270. if a == key then
  271. if switch == false then
  272. switch = true
  273. else
  274. switch = false
  275. if aimatpart ~= nil then
  276. aimatpart = nil
  277. end
  278. end
  279. elseif a == teambasedswitch then
  280. if TeamBased == true then
  281. TeamBased = false
  282. teambasedstatus.Text = tostring(TeamBased)
  283. else
  284. TeamBased = true
  285. teambasedstatus.Text = tostring(TeamBased)
  286. end
  287. elseif a == aimkey then
  288. if not aimatpart then
  289. local maxangle = math.rad(20)
  290. for i, plr in pairs(plrs:GetChildren()) do
  291. if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then
  292. if TeamBased == true then
  293. if plr.Team.Name ~= lplr.Team.Name then
  294. local an = checkfov(plr.Character.Head)
  295. if an < maxangle then
  296. maxangle = an
  297. aimatpart = plr.Character.Head
  298. end
  299. end
  300. else
  301. local an = checkfov(plr.Character.Head)
  302. if an < maxangle then
  303. maxangle = an
  304. aimatpart = plr.Character.Head
  305. end
  306. print(plr)
  307. end
  308. plr.Character.Humanoid.Died:Connect(function()
  309. if aimatpart.Parent == plr.Character or aimatpart == nil then
  310. aimatpart = nil
  311. end
  312. end)
  313. end
  314. end
  315. else
  316. aimatpart = nil
  317. end
  318. end
  319. end)
  320.  
  321. function getfovxyz (p0, p1, deg)
  322. local x1, y1, z1 = p0:ToOrientation()
  323. local cf = CFrame.new(p0.p, p1.p)
  324. local x2, y2, z2 = cf:ToOrientation()
  325. --local d = math.deg
  326. if deg then
  327. --return Vector3.new(d(x1-x2), d(y1-y2), d(z1-z2))
  328. else
  329. return Vector3.new((x1-x2), (y1-y2), (z1-z2))
  330. end
  331. end
  332.  
  333. function getaimbotplrs()
  334. plrsforaim = {}
  335. for i, plr in pairs(plrs:GetChildren()) do
  336. if plr.Character and plr.Character.Humanoid and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name and plr.Character.Head then
  337.  
  338. if TeamBased == true then
  339. if plr.Team.Name ~= lplr.Team.Name then
  340. local cf = CFrame.new(game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
  341. local r = Ray.new(cf, cf.LookVector * 10000)
  342. local ign = {}
  343. for i, v in pairs(plrs.LocalPlayer.Character:GetChildren()) do
  344. if v:IsA("BasePart") then
  345. table.insert(ign , v)
  346. end
  347. end
  348. local obj = game.Workspace:FindPartOnRayWithIgnoreList(r, ign)
  349. if obj.Parent == plr.Character and obj.Parent ~= lplr.Character then
  350. table.insert(plrsforaim, obj)
  351. end
  352. end
  353. else
  354. local cf = CFrame.new(game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
  355. local r = Ray.new(cf, cf.LookVector * 10000)
  356. local ign = {}
  357. for i, v in pairs(plrs.LocalPlayer.Character:GetChildren()) do
  358. if v:IsA("BasePart") then
  359. table.insert(ign , v)
  360. end
  361. end
  362. local obj = game.Workspace:FindPartOnRayWithIgnoreList(r, ign)
  363. if obj.Parent == plr.Character and obj.Parent ~= lplr.Character then
  364. table.insert(plrsforaim, obj)
  365. end
  366. end
  367.  
  368.  
  369. end
  370. end
  371. end
  372.  
  373. function aimat(part)
  374. cam.CFrame = CFrame.new(cam.CFrame.p, part.CFrame.p)
  375. end
  376. function checkfov (part)
  377. local fov = getfovxyz(game.Workspace.CurrentCamera.CFrame, part.CFrame)
  378. local angle = math.abs(fov.X) + math.abs(fov.Y)
  379. return angle
  380. end
  381.  
  382. game:GetService("RunService").RenderStepped:Connect(function()
  383. if aimatpart then
  384. aimat(aimatpart)
  385. if aimatpart.Parent == plrs.LocalPlayer.Character then
  386. aimatpart = nil
  387. end
  388. end
  389.  
  390.  
  391. -- if switch == true then
  392. -- local maxangle = 99999
  393. --
  394. -- --print("Loop")
  395. -- if true and raycast == false then
  396. -- for i, plr in pairs(plrs:GetChildren()) do
  397. -- if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then
  398. -- if TeamBased then
  399. -- if plr.Team.Name ~= lplr.Team.Name or plr.Team.TeamColor ~= lplr.Team.TeamColor then
  400. -- local an = checkfov(plr.Character.Head)
  401. -- if an < maxangle then
  402. -- maxangle = an
  403. -- aimatpart = plr.Character.Head
  404. -- if an < lockangle then
  405. -- break
  406. -- end
  407. -- end
  408. -- end
  409. -- else
  410. -- local an = checkfov(plr.Character.Head)
  411. -- if an < maxangle then
  412. -- maxangle = an
  413. -- aimatpart = plr.Character.Head
  414. -- if an < lockangle then
  415. -- break
  416. -- end
  417. -- end
  418. -- end
  419. --
  420. --
  421. --
  422. --
  423. -- end
  424. -- end
  425. -- elseif raycast == true then
  426. --
  427. -- end
  428.  
  429. if raycast == true and switch == false and not aimatpart then
  430. getaimbotplrs()
  431. aimatpart = nil
  432. local maxangle = 999
  433. for i, v in ipairs(plrsforaim) do
  434. if v.Parent ~= lplr.Character then
  435. local an = checkfov(v)
  436. if an < maxangle and v ~= lplr.Character.Head then
  437. maxangle = an
  438. aimatpart = v
  439. print(v:GetFullName())
  440. v.Parent.Humanoid.Died:connect(function()
  441. aimatpart = nil
  442. end)
  443. end
  444. end
  445. end
  446.  
  447. end
  448. end)
  449. delay(0, function()
  450. while wait(espupdatetime) do
  451. if autoesp == true then
  452. pcall(function()
  453. f.addesp()
  454. end)
  455. end
  456. end
  457. end)
  458. warn("loaded")
  459. end)
  460.  
  461. closegui.Name = "close gui"
  462. closegui.Parent = MainGUI
  463. closegui.BackgroundColor3 = Color3.new(1, 1, 1)
  464. closegui.Position = UDim2.new(0.892828405, 0, 0.0474808663, 0)
  465. closegui.Size = UDim2.new(0, 28, 0, 36)
  466. closegui.Font = Enum.Font.SourceSansBold
  467. closegui.Text = "X"
  468. closegui.TextColor3 = Color3.new(0, 0, 0)
  469. closegui.TextSize = 34
  470.  
  471. TextLabel.Parent = MainGUI
  472. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  473. TextLabel.BorderSizePixel = 3
  474. TextLabel.Position = UDim2.new(0.0389667451, 0, 0.0325634778, 0)
  475. TextLabel.Size = UDim2.new(0, 313, 0, 50)
  476. TextLabel.Font = Enum.Font.SciFi
  477. TextLabel.Text = "Anti ban strcuid aimbot and esp"
  478. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  479. TextLabel.TextSize = 20
  480.  
  481. opengui.Name = "open gui"
  482. opengui.Parent = strucidhack
  483. opengui.BackgroundColor3 = Color3.new(1, 1, 1)
  484. opengui.Position = UDim2.new(0.0198300499, 0, 0.925072074, 0)
  485. opengui.Size = UDim2.new(0, 19, 0, 22)
  486.  
  487. open.Name = "open"
  488. open.Parent = opengui
  489. closegui.MouseButton1Click:connect(function()
  490. MainGUI.Visible = false
  491. opengui.Visible = true
  492. end)
  493. open.BackgroundColor3 = Color3.new(1, 1, 1)
  494. open.Position = UDim2.new(-0.746906042, 0, -0.172385469, 0)
  495. open.Size = UDim2.new(0, 65, 0, 29)
  496. open.Font = Enum.Font.SourceSans
  497. open.Text = "Open gui"
  498. open.TextColor3 = Color3.new(0, 0, 0)
  499. open.TextSize = 14
  500. open.MouseButton1Click:connect(function()
  501. MainGUI.Visible = true
  502. opengui.Visible = false
  503. end)
Add Comment
Please, Sign In to add comment