MODFINDER_STOCK_MODS

Script(Private)

Dec 3rd, 2023
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.50 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local Swordfighting = Instance.new("ScreenGui")
  7. local Main = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local UICorner = Instance.new("UICorner")
  10. local Killall = Instance.new("TextButton")
  11. local UICorner_2 = Instance.new("UICorner")
  12. local Aimbot = Instance.new("TextButton")
  13. local UICorner_3 = Instance.new("UICorner")
  14. local spam = Instance.new("TextButton")
  15. local UICorner_4 = Instance.new("UICorner")
  16. local Admin = Instance.new("TextButton")
  17. local UICorner_5 = Instance.new("UICorner")
  18. local Lightabuse = Instance.new("TextButton")
  19. local UICorner_6 = Instance.new("UICorner")
  20. local UICorner_7 = Instance.new("UICorner")
  21. local Frame = Instance.new("Frame")
  22. local TextButton = Instance.new("TextButton")
  23. local UICorner_8 = Instance.new("UICorner")
  24. local UICorner_9 = Instance.new("UICorner")
  25.  
  26. --Properties:
  27.  
  28. Swordfighting.Name = "Sword fighting"
  29. Swordfighting.Parent = game.CoreGui
  30. Swordfighting.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  31.  
  32. Main.Name = "Main"
  33. Main.Parent = Swordfighting
  34. Main.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  35. Main.Position = UDim2.new(0.342964828, 0, 0.244532794, 0)
  36. Main.Size = UDim2.new(0, 397, 0, 257)
  37. Main.Visible = false
  38. Main.Draggable = true
  39. Main.Active = true
  40.  
  41. TextLabel.Parent = Main
  42. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  43. TextLabel.Size = UDim2.new(0, 397, 0, 41)
  44. TextLabel.Font = Enum.Font.SourceSans
  45. TextLabel.Text = "Luckbug's Cool Hax"
  46. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  47. TextLabel.TextScaled = true
  48. TextLabel.TextSize = 14.000
  49. TextLabel.TextWrapped = true
  50.  
  51. UICorner.Parent = TextLabel
  52.  
  53. Killall.Name = "Kill all"
  54. Killall.Parent = Main
  55. Killall.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  56. Killall.Position = UDim2.new(0, 0, 0.210677594, 0)
  57. Killall.Size = UDim2.new(0, 192, 0, 50)
  58. Killall.Font = Enum.Font.SourceSans
  59. Killall.Text = "Kill all"
  60. Killall.TextColor3 = Color3.fromRGB(0, 0, 0)
  61. Killall.TextScaled = true
  62. Killall.TextSize = 14.000
  63. Killall.TextWrapped = true
  64. Killall.MouseButton1Down:connect(function()
  65. --// Setting \\--
  66. local range = 1000000
  67.  
  68. --// Variable \\--
  69. local player = game:GetService("Players").LocalPlayer
  70.  
  71. --// Script \\--
  72. game:GetService("RunService").RenderStepped:Connect(function()
  73. local p = game.Players:GetPlayers()
  74. for i = 2, #p do local v = p[i].Character
  75. if v and v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 and v:FindFirstChild("HumanoidRootPart") and player:DistanceFromCharacter(v.HumanoidRootPart.Position) <= range then
  76. local tool = player.Character and player.Character:FindFirstChildOfClass("Tool")
  77. if tool and tool:FindFirstChild("Handle") then
  78. tool:Activate()
  79. for i,v in next, v:GetChildren() do
  80. if v:IsA("BasePart") then
  81. firetouchinterest(tool.Handle,v,0)
  82. firetouchinterest(tool.Handle,v,1)
  83. end
  84. end
  85. end
  86. end
  87. end
  88. end)
  89. end)
  90.  
  91. UICorner_2.Parent = Killall
  92.  
  93. Aimbot.Name = "Aimbot"
  94. Aimbot.Parent = Main
  95. Aimbot.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  96. Aimbot.Position = UDim2.new(0.5163728, 0, 0.210677594, 0)
  97. Aimbot.Size = UDim2.new(0, 192, 0, 50)
  98. Aimbot.Font = Enum.Font.SourceSans
  99. Aimbot.Text = "Aimbot"
  100. Aimbot.TextColor3 = Color3.fromRGB(0, 0, 0)
  101. Aimbot.TextScaled = true
  102. Aimbot.TextSize = 14.000
  103. Aimbot.TextWrapped = true
  104. Aimbot.MouseButton1Down:connect(function()
  105. if not syn or not protectgui then
  106. getgenv().protectgui = function()end
  107. end
  108. local Library = loadstring(game:HttpGet('https://lindseyhost.com/UI/LinoriaLib.lua'))()
  109. Library:SetWatermark("Holy shit noam chomsky made this Noam chomsky 2.0#5573")
  110. Library:Notify('Press Right-CTRL To Toggle The UI')
  111. Library:Notify('YAY AN ACTUAL FEATURE MADE BY NOAM CHOMSKY')
  112.  
  113. local Camera = workspace.CurrentCamera
  114. local Players = game:GetService("Players")
  115. local GuiService = game:GetService("GuiService")
  116.  
  117. local LocalPlayer = Players.LocalPlayer
  118. local Mouse = LocalPlayer:GetMouse()
  119.  
  120. local GetChildren = game.GetChildren
  121. local WorldToScreen = Camera.WorldToScreenPoint
  122. local GetPartsObscuringTarget = Camera.GetPartsObscuringTarget
  123. local FindFirstChild = game.FindFirstChild
  124. local GuiInset = GuiService.GetGuiInset
  125.  
  126. local function getPositionOnScreen(Vector)
  127. local Vec3, OnScreen = WorldToScreen(Camera, Vector)
  128. return Vector2.new(Vec3.X, Vec3.Y), OnScreen
  129. end
  130.  
  131. local function ValidateArguments(Args, RayMethod)
  132. local Matches = 0
  133. if #Args < RayMethod.ArgCountRequired then
  134. return false
  135. end
  136. for Pos, Argument in next, Args do
  137. if typeof(Argument) == RayMethod.Args[Pos] then
  138. Matches = Matches + 1
  139. end
  140. end
  141. return Matches >= RayMethod.ArgCountRequired
  142. end
  143.  
  144. local function getDirection(Origin, Position)
  145. return (Position - Origin).Unit * 1000
  146. end
  147.  
  148. local function getMousePosition()
  149. return Vector2.new(Mouse.X, Mouse.Y)
  150. end
  151.  
  152. local function IsPlayerVisible(Player)
  153. local PlayerCharacter = Player.Character
  154. local LocalPlayerCharacter = LocalPlayer.Character
  155.  
  156. if not (PlayerCharacter or LocalPlayerCharacter) then return end
  157.  
  158. local PlayerRoot = FindFirstChild(PlayerCharacter, Options.TargetPart.Value) or FindFirstChild(PlayerCharacter, "HumanoidRootPart")
  159.  
  160. if not PlayerRoot then return end
  161.  
  162. local CastPoints, IgnoreList = {PlayerRoot.Position, LocalPlayerCharacter, PlayerCharacter}, {LocalPlayerCharacter, PlayerCharacter}
  163. local ObscuringObjects = #GetPartsObscuringTarget(Camera, CastPoints, IgnoreList)
  164.  
  165. return ((ObscuringObjects == 0 and true) or (ObscuringObjects > 0 and false))
  166. end
  167.  
  168. local function getClosestPlayer()
  169. if not Options.TargetPart.Value then return end
  170. local Closest
  171. local DistanceToMouse
  172. for _, Player in next, GetChildren(Players) do
  173. if Player == LocalPlayer then continue end
  174. if Toggles.TeamCheck.Value and Player.Team == LocalPlayer.Team then continue end
  175.  
  176. local Character = Player.Character
  177.  
  178. if not Character then continue end
  179.  
  180. if Toggles.VisibleCheck.Value and not IsPlayerVisible(Player) then continue end
  181.  
  182. local HumanoidRootPart = FindFirstChild(Character, "HumanoidRootPart")
  183. local Humanoid = FindFirstChild(Character, "Humanoid")
  184.  
  185. if not HumanoidRootPart or not Humanoid or Humanoid and Humanoid.Health <= 0 then continue end
  186.  
  187. local ScreenPosition, OnScreen = getPositionOnScreen(HumanoidRootPart.Position)
  188.  
  189. if not OnScreen then continue end
  190.  
  191. local Distance = (getMousePosition() - ScreenPosition).Magnitude
  192. if Distance <= (DistanceToMouse or (Toggles.fov_Enabled.Value and Options.Radius.Value) or 2000) then
  193. Closest = Character[Options.TargetPart.Value]
  194. DistanceToMouse = Distance
  195. end
  196. end
  197. return Closest
  198. end
  199.  
  200. local Window = Library:CreateWindow("Universal Silent Aim")
  201.  
  202. local GeneralTab = Window:AddTab("General")
  203. local MainBOX = GeneralTab:AddLeftTabbox("Main")
  204. do
  205. local Main = MainBOX:AddTab("Main")
  206. Main:AddToggle("aim_Enabled", {Text = "Enabled"})
  207. Main:AddToggle("TeamCheck", {Text = "Team Check"})
  208. Main:AddToggle("VisibleCheck", {Text = "Visible Check"})
  209. Main:AddDropdown("TargetPart", {Text = "Target Part", Default = 1, Values = {
  210. "Head", "HumanoidRootPart"
  211. }})
  212. Main:AddDropdown("Method", {Text = "Silent Aim Method", Default = 1, Values = {
  213. "Raycast","FindPartOnRay",
  214. "FindPartOnRayWithWhitelist",
  215. "FindPartOnRayWithIgnoreList",
  216. "Mouse.Hit/Target"
  217. }})
  218. end
  219. local FieldOfViewBOX = GeneralTab:AddLeftTabbox("Field Of View")
  220. do
  221. local fov_circle = Drawing.new("Circle")
  222. fov_circle.Thickness = 1
  223. fov_circle.NumSides = 100
  224. fov_circle.Radius = 180
  225. fov_circle.Filled = false
  226. fov_circle.Visible = false
  227. fov_circle.ZIndex = 999
  228. fov_circle.Transparency = 1
  229. fov_circle.Color = Color3.fromRGB(54, 57, 241)
  230.  
  231. local mouse_box = Drawing.new("Square")
  232. mouse_box.Visible = true
  233. mouse_box.ZIndex = 999
  234. mouse_box.Color = Color3.fromRGB(54, 57, 241)
  235. mouse_box.Thickness = 20
  236. mouse_box.Size = Vector2.new(20, 20)
  237. mouse_box.Filled = true
  238.  
  239. --[[while task.wait() do
  240. mouse_box.Position = Vector2.new(Mouse.X, Mouse.Y + GuiInset(GuiService).Y)
  241. end]]
  242.  
  243. local Main = FieldOfViewBOX:AddTab("Field Of View")
  244. Main:AddToggle("fov_Enabled", {Text = "Enabled"})
  245. Main:AddSlider("Radius", {Text = "Radius", Min = 0, Max = 360, Default = 180, Rounding = 0}):OnChanged(function()
  246. fov_circle.Radius = Options.Radius.Value
  247. end)
  248. Main:AddToggle("Visible", {Text = "Visible"}):AddColorPicker("Color", {Default = Color3.fromRGB(54, 57, 241)}):OnChanged(function()
  249. fov_circle.Visible = Toggles.Visible.Value
  250. while Toggles.Visible.Value do
  251. fov_circle.Visible = Toggles.Visible.Value
  252. fov_circle.Color = Options.Color.Value
  253. fov_circle.Position = getMousePosition() + Vector2.new(0, 36)
  254. task.wait()
  255. end
  256. end)
  257. Main:AddToggle("MousePosition", {Text = "Show Fake Mouse Position"}):AddColorPicker("MouseVisualizeColor", {Default = Color3.fromRGB(54, 57, 241)}):OnChanged(function()
  258. mouse_box.Visible = Toggles.MousePosition.Value
  259. while Toggles.MousePosition.Value do
  260. if Toggles.aim_Enabled.Value == true and Options.Method.Value == "Mouse.Hit/Target" then
  261. mouse_box.Color = Options.MouseVisualizeColor.Value
  262.  
  263. mouse_box.Visible = ((getClosestPlayer() and true) or false)
  264. mouse_box.Position = ((getClosestPlayer() and Vector2.new(Camera:WorldToViewportPoint(getClosestPlayer().Position).X, Camera:WorldToViewportPoint(getClosestPlayer().Position).Y)) or Vector2.new(0, 0))
  265. end
  266.  
  267. task.wait()
  268. end
  269. end)
  270. end
  271.  
  272. local ExpectedArguments = {
  273. FindPartOnRayWithIgnoreList = {
  274. ArgCountRequired = 3,
  275. Args = {
  276. "Instance", "Ray", "table", "boolean", "boolean"
  277. }
  278. },
  279. FindPartOnRayWithWhitelist = {
  280. ArgCountRequired = 3,
  281. Args = {
  282. "Instance", "Ray", "table", "boolean"
  283. }
  284. },
  285. FindPartOnRay = {
  286. ArgCountRequired = 2,
  287. Args = {
  288. "Instance", "Ray", "Instance", "boolean", "boolean"
  289. }
  290. },
  291. Raycast = {
  292. ArgCountRequired = 3,
  293. Args = {
  294. "Instance", "Vector3", "Vector3", "RaycastParams"
  295. }
  296. }
  297. }
  298.  
  299.  
  300. local oldNamecall
  301. oldNamecall = hookmetamethod(game, "__namecall", function(...)
  302. local Method = getnamecallmethod()
  303. local Arguments = {...}
  304. local self = Arguments[1]
  305.  
  306. if Toggles.aim_Enabled.Value and self == workspace then
  307. if Method == "FindPartOnRayWithIgnoreList" and Options.Method.Value == Method then
  308. if ValidateArguments(Arguments, ExpectedArguments.FindPartOnRayWithIgnoreList) then
  309. local A_Ray = Arguments[2]
  310.  
  311. local HitPart = getClosestPlayer()
  312. if HitPart then
  313. local Origin = A_Ray.Origin
  314. local Direction = getDirection(Origin, HitPart.Position)
  315. Arguments[2] = Ray.new(Origin, Direction)
  316.  
  317. return oldNamecall(unpack(Arguments))
  318. end
  319. end
  320. elseif Method == "FindPartOnRayWithWhitelist" and Options.Method.Value == Method then
  321. if ValidateArguments(Arguments, ExpectedArguments.FindPartOnRayWithWhitelist) then
  322. local A_Ray = Arguments[2]
  323.  
  324. local HitPart = getClosestPlayer()
  325. if HitPart then
  326. local Origin = A_Ray.Origin
  327. local Direction = getDirection(Origin, HitPart.Position)
  328. Arguments[2] = Ray.new(Origin, Direction)
  329.  
  330. return oldNamecall(unpack(Arguments))
  331. end
  332. end
  333. elseif (Method == "FindPartOnRay" or Method == "findPartOnRay") and Options.Method.Value:lower() == Method:lower() then
  334. if ValidateArguments(Arguments, ExpectedArguments.FindPartOnRay) then
  335. local A_Ray = Arguments[2]
  336.  
  337. local HitPart = getClosestPlayer()
  338. if HitPart then
  339. local Origin = A_Ray.Origin
  340. local Direction = getDirection(Origin, HitPart.Position)
  341. Arguments[2] = Ray.new(Origin, Direction)
  342.  
  343. return oldNamecall(unpack(Arguments))
  344. end
  345. end
  346. elseif Method == "Raycast" and Options.Method.Value == Method then
  347. if ValidateArguments(Arguments, ExpectedArguments.Raycast) then
  348. local A_Origin = Arguments[2]
  349.  
  350. local HitPart = getClosestPlayer()
  351. if HitPart then
  352. Arguments[3] = getDirection(A_Origin, HitPart.Position)
  353.  
  354. return oldNamecall(unpack(Arguments))
  355. end
  356. end
  357. end
  358. end
  359. return oldNamecall(...)
  360. end)
  361.  
  362. local oldIndex = nil
  363. oldIndex = hookmetamethod(game, "__index", function(self, Index)
  364. if self == Mouse and (Index == "Hit" or Index == "Target") then
  365. if Toggles.aim_Enabled.Value == true and Options.Method.Value == "Mouse.Hit/Target" and getClosestPlayer() then
  366. local HitPart = getClosestPlayer()
  367.  
  368. return ((Index == "Hit" and HitPart.CFrame) or (Index == "Target" and HitPart))
  369. end
  370. end
  371.  
  372. return oldIndex(self, Index)
  373. end)
  374. end)
  375.  
  376. UICorner_3.Parent = Aimbot
  377.  
  378. spam.Name = "spam"
  379. spam.Parent = Main
  380. spam.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  381. spam.Position = UDim2.new(0, 0, 0.481140673, 0)
  382. spam.Size = UDim2.new(0, 192, 0, 50)
  383. spam.Font = Enum.Font.SourceSans
  384. spam.Text = "Spam"
  385. spam.TextColor3 = Color3.fromRGB(0, 0, 0)
  386. spam.TextScaled = true
  387. spam.TextSize = 14.000
  388. spam.TextWrapped = true
  389. spam.MouseButton1Down:connect(function()
  390. while wait(0.5)do
  391. -- Script generated by SimpleSpy - credits to exxtremewa#9394
  392. -- This generator is IN DEVELOPMENT, not compatible with all types/classes yet
  393.  
  394. local args = {
  395. [1] = "LOL GET BETTER XDXDXDXDXD",
  396. [2] = "All",
  397. }
  398.  
  399. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
  400. end
  401.  
  402. while wait(0.5)do
  403. -- Script generated by SimpleSpy - credits to exxtremewa#9394
  404. -- This generator is IN DEVELOPMENT, not compatible with all types/classes yet
  405.  
  406. local args = {
  407. [1] = "Instead of playing this game go out side and have a lifre",
  408. [2] = "All",
  409. }
  410.  
  411. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
  412. end
  413. end)
  414.  
  415. UICorner_4.Parent = spam
  416.  
  417. Admin.Name = "Admin"
  418. Admin.Parent = Main
  419. Admin.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  420. Admin.Position = UDim2.new(0.5163728, 0, 0.481140673, 0)
  421. Admin.Size = UDim2.new(0, 192, 0, 50)
  422. Admin.Font = Enum.Font.SourceSans
  423. Admin.Text = "Infinty Admin (credit to EdgeIy For creating this WONDERFUL admin."
  424. Admin.TextColor3 = Color3.fromRGB(0, 0, 0)
  425. Admin.TextScaled = true
  426. Admin.TextSize = 14.000
  427. Admin.TextWrapped = true
  428. Admin.MouseButton1Down:connect(function()
  429. loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
  430. end)
  431.  
  432. UICorner_5.Parent = Admin
  433.  
  434. Lightabuse.Name = "Light abuse"
  435. Lightabuse.Parent = Main
  436. Lightabuse.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  437. Lightabuse.Position = UDim2.new(0, 0, 0.737949967, 0)
  438. Lightabuse.Size = UDim2.new(0, 397, 0, 50)
  439. Lightabuse.Font = Enum.Font.SourceSans
  440. Lightabuse.Text = "Light abuse (Players wont notice if ur hacking) Might need a little bit of skill for this one xd"
  441. Lightabuse.TextColor3 = Color3.fromRGB(0, 0, 0)
  442. Lightabuse.TextScaled = true
  443. Lightabuse.TextSize = 14.000
  444. Lightabuse.TextWrapped = true
  445. Lightabuse.MouseButton1Down:connect(function()
  446. --// Setting \\--
  447. local range = 10
  448.  
  449. --// Variable \\--
  450. local player = game:GetService("Players").LocalPlayer
  451.  
  452. --// Script \\--
  453. game:GetService("RunService").RenderStepped:Connect(function()
  454. local p = game.Players:GetPlayers()
  455. for i = 2, #p do local v = p[i].Character
  456. if v and v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 and v:FindFirstChild("HumanoidRootPart") and player:DistanceFromCharacter(v.HumanoidRootPart.Position) <= range then
  457. local tool = player.Character and player.Character:FindFirstChildOfClass("Tool")
  458. if tool and tool:FindFirstChild("Handle") then
  459. tool:Activate()
  460. for i,v in next, v:GetChildren() do
  461. if v:IsA("BasePart") then
  462. firetouchinterest(tool.Handle,v,0)
  463. firetouchinterest(tool.Handle,v,1)
  464. end
  465. end
  466. end
  467. end
  468. end
  469. end)
  470. end)
  471.  
  472.  
  473. UICorner_6.Parent = Lightabuse
  474.  
  475. UICorner_7.Parent = Main
  476.  
  477. Frame.Parent = Swordfighting
  478. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  479. Frame.Position = UDim2.new(0, 0, 0.39193666, 0)
  480. Frame.Size = UDim2.new(0, 100, 0, 49)
  481.  
  482. TextButton.Parent = Frame
  483. TextButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  484. TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  485. TextButton.Size = UDim2.new(0, 100, 0, 50)
  486. TextButton.Font = Enum.Font.SourceSans
  487. TextButton.Text = "Open"
  488. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  489. TextButton.TextScaled = true
  490. TextButton.TextSize = 14.000
  491. TextButton.TextWrapped = true
  492. TextButton.MouseButton1Down:connect(function()
  493. Main.Visible = true
  494. Frame.Visible = false
  495. end)
  496.  
  497.  
  498. UICorner_8.Parent = TextButton
  499.  
  500. UICorner_9.Parent = Frame
Add Comment
Please, Sign In to add comment