Advertisement
juicedroblox

assassin op gui

Dec 6th, 2022
14,505
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.52 KB | None | 0 0
  1. super long script make sure to copy all! please like and sub! + Szlitary Scripts
  2. -------
  3.  
  4. local old = getrenv().gcinfo
  5.  
  6. getrenv().gcinfo = function(...)
  7.  
  8. return wait(9e9)
  9.  
  10. end
  11.  
  12.  
  13.  
  14. _G.Toggle = false
  15.  
  16. _G.Toggle2 = false
  17.  
  18. _G.autofarmtoggle = false
  19.  
  20.  
  21.  
  22. local noclip = false
  23.  
  24. local Camera = game:GetService("Workspace").CurrentCamera;
  25.  
  26. local Mouse = game:GetService("Players").LocalPlayer:GetMouse();
  27.  
  28. local Players = game:GetService("Players");
  29.  
  30. local Player = Players.LocalPlayer;
  31.  
  32. local CoreGui = game.CoreGui
  33.  
  34. local ContentProvider = game.ContentProvider
  35.  
  36. local RobloxGuis = {"RobloxGui", "TeleportGui", "RobloxPromptGui", "RobloxLoadingGui", "PlayerList", "RobloxNetworkPauseNotification", "PurchasePrompt", "HeadsetDisconnectedDialog", "ThemeProvider", "DevConsoleMaster"}
  37.  
  38. getgenv().noclip = false
  39.  
  40.  
  41.  
  42. FOV_Circle = Drawing.new("Circle");
  43.  
  44. FOV_Circle.Color = Color3.fromRGB(255,255,255);
  45.  
  46. FOV_Circle.Thickness = 1.5;
  47.  
  48. FOV_Circle.NumSides = 13;
  49.  
  50. FOV_Circle.Radius = 150;
  51.  
  52. FOV_Circle.Visible = false;
  53.  
  54. FOV_Circle.Filled = false;
  55.  
  56.  
  57.  
  58. FOV_Circle2 = Drawing.new("Circle");
  59.  
  60. FOV_Circle2.Color = Color3.fromRGB(255,255,255);
  61.  
  62. FOV_Circle2.Thickness = 1.5;
  63.  
  64. FOV_Circle2.NumSides = 13;
  65.  
  66. FOV_Circle2.Radius = 150;
  67.  
  68. FOV_Circle2.Visible = false;
  69.  
  70. FOV_Circle2.Filled = false;
  71.  
  72.  
  73.  
  74. game:GetService('RunService').Stepped:connect(function()
  75.  
  76. FOV_Circle.Position = Vector2.new(Mouse.X, Mouse.Y + 37)
  77.  
  78. end)
  79.  
  80.  
  81.  
  82. game:GetService('RunService').Stepped:connect(function()
  83.  
  84. FOV_Circle2.Position = Vector2.new(Mouse.X, Mouse.Y + 37)
  85.  
  86. end)
  87.  
  88.  
  89.  
  90. game:GetService("UserInputService").InputBegan:Connect(function(input)
  91.  
  92. if input.UserInputType == Enum.UserInputType.MouseButton1 and _G.Toggle == true then
  93.  
  94.  
  95.  
  96. task.wait(.35);
  97.  
  98.  
  99.  
  100. local function ClosestPlayerToCursor()
  101.  
  102. local Closest = nil;
  103.  
  104. local Distance = 9e9;
  105.  
  106. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  107.  
  108. if v ~= Player then
  109.  
  110. if Workspace[v.Name]:FindFirstChild("Humanoid") and Workspace[v.Name].Humanoid.Health ~= 0 then
  111.  
  112. local Position = Camera:WorldToViewportPoint(Workspace[v.Name].HumanoidRootPart.Position);
  113.  
  114. local Magnitude = (Vector2.new(Position.X, Position.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude;
  115.  
  116. if Magnitude < Distance and Magnitude < FOV_Circle.Radius then
  117.  
  118. Closest = workspace[v.Name];
  119.  
  120. Distance = Magnitude;
  121.  
  122. end
  123.  
  124. end
  125.  
  126. end
  127.  
  128. end
  129.  
  130. return Closest
  131.  
  132. end
  133.  
  134.  
  135.  
  136. local ThrowAtTarget = function(args1, args2, args3)
  137.  
  138. return game:GetService("ReplicatedStorage").Remotes.ThrowKnife:FireServer(args1,args2,args3);
  139.  
  140. end
  141.  
  142.  
  143.  
  144. ThrowAtTarget(workspace[ClosestPlayerToCursor().Name].Head.Position, 0, CFrame.new());
  145.  
  146.  
  147.  
  148. end
  149.  
  150. end)
  151.  
  152.  
  153.  
  154. function GetTime(Distance, Speed)
  155.  
  156. local Time = Distance / Speed
  157.  
  158. return Time
  159.  
  160. end
  161.  
  162.  
  163.  
  164. function spritzTween(targetpart,spritzspeed)
  165.  
  166. local Speed = spritzspeed local Distance = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - targetpart.Position).magnitude local Time = GetTime(Distance, Speed) local TweenService = game:GetService("TweenService") local spritzttable = TweenInfo.new( Time, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0 ) local Tween = TweenService:Create(game.Players.LocalPlayer.Character.HumanoidRootPart,spritzttable,{CFrame = targetpart.CFrame}) Tween:Play()
  167.  
  168. end
  169.  
  170.  
  171.  
  172. local function FilterTable(tbl)
  173.  
  174. local context = syn_context_get()
  175.  
  176. syn_context_set(7)
  177.  
  178. local new = {}
  179.  
  180. for i,v in ipairs(tbl) do --roblox iterates the array part
  181.  
  182. if typeof(v) ~= "Instance" then
  183.  
  184. table.insert(new, v)
  185.  
  186. else
  187.  
  188. if v == CoreGui or v == game then
  189.  
  190. --insert only the default roblox guis
  191.  
  192. for i,v in pairs(RobloxGuis) do
  193.  
  194. local gui = CoreGui:FindFirstChild(v)
  195.  
  196. if gui then
  197.  
  198. table.insert(new, gui)
  199.  
  200. end
  201.  
  202. end
  203.  
  204.  
  205.  
  206. if v == game then
  207.  
  208. for i,v in pairs(game:GetChildren()) do
  209.  
  210. if v ~= CoreGui then
  211.  
  212. table.insert(new, v)
  213.  
  214. end
  215.  
  216. end
  217.  
  218. end
  219.  
  220. else
  221.  
  222. if not CoreGui:IsAncestorOf(v) then
  223.  
  224. table.insert(new, v)
  225.  
  226. else
  227.  
  228. --don't insert it if it's a descendant of a different gui than default roblox guis
  229.  
  230. for j,k in pairs(RobloxGuis) do
  231.  
  232. local gui = CoreGui:FindFirstChild(k)
  233.  
  234. if gui then
  235.  
  236. if v == gui or gui:IsAncestorOf(v) then
  237.  
  238. table.insert(new, v)
  239.  
  240. break
  241.  
  242. end
  243.  
  244. end
  245.  
  246. end
  247.  
  248. end
  249.  
  250. end
  251.  
  252. end
  253.  
  254. end
  255.  
  256. syn_context_set(context)
  257.  
  258. return new
  259.  
  260. end
  261.  
  262.  
  263.  
  264. local old
  265.  
  266. old = hookfunc(ContentProvider.PreloadAsync, function(self, tbl, cb)
  267.  
  268. if self ~= ContentProvider or type(tbl) ~= "table" or type(cb) ~= "function" then --note: callback can be nil but in that case it's useless anyways
  269.  
  270. return old(self, tbl, cb)
  271.  
  272. end
  273.  
  274.  
  275.  
  276. --check for any errors that I might've missed (such as table being {[2] = "something"} which causes "Unable to cast to Array")
  277.  
  278. local err
  279.  
  280. task.spawn(function() --TIL pcalling a C yield function inside a C yield function is a bad idea ("cannot resume non-suspended coroutine")
  281.  
  282. local s,e = pcall(old, self, tbl)
  283.  
  284. if not s and e then
  285.  
  286. err = e
  287.  
  288. end
  289.  
  290. end)
  291.  
  292.  
  293.  
  294. if err then
  295.  
  296. return old(self, tbl) --don't pass the callback, just in case
  297.  
  298. end
  299.  
  300.  
  301.  
  302. tbl = FilterTable(tbl)
  303.  
  304. return old(self, tbl, cb)
  305.  
  306. end)
  307.  
  308.  
  309.  
  310. local old
  311.  
  312. old = hookmetamethod(game, "__namecall", function(self, ...)
  313.  
  314. local method = getnamecallmethod()
  315.  
  316. if self == ContentProvider and (method == "PreloadAsync" or method == "preloadAsync") then
  317.  
  318. local args = {...}
  319.  
  320. if type(args[1]) ~= "table" or type(args[2]) ~= "function" then
  321.  
  322. return old(self, ...)
  323.  
  324. end
  325.  
  326.  
  327.  
  328. local err
  329.  
  330. task.spawn(function()
  331.  
  332. setnamecallmethod(method) --different thread, different namecall method
  333.  
  334. local s,e = pcall(old, self, args[1])
  335.  
  336. if not s and e then
  337.  
  338. err = e
  339.  
  340. end
  341.  
  342. end)
  343.  
  344.  
  345.  
  346. if err then
  347.  
  348. return old(self, args[1])
  349.  
  350. end
  351.  
  352.  
  353.  
  354. args[1] = FilterTable(args[1])
  355.  
  356. setnamecallmethod(method)
  357.  
  358. return old(self, args[1], args[2])
  359.  
  360. end
  361.  
  362. return old(self, ...)
  363.  
  364. end)
  365.  
  366.  
  367.  
  368. local mt = getrawmetatable(game);
  369.  
  370. make_writeable(mt);
  371.  
  372. local old_index = mt.__index;
  373.  
  374.  
  375.  
  376. mt.__index = function(a, b)
  377.  
  378. if tostring(a) == "HumanoidRootPart" then
  379.  
  380. if tostring(b) == "Size" then
  381.  
  382. return Vector3.new(2, 2, 1);
  383.  
  384. end
  385.  
  386. end
  387.  
  388. return old_index(a, b);
  389.  
  390. end
  391.  
  392.  
  393.  
  394. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  395.  
  396. local Window = OrionLib:MakeWindow({Name = "SpritzSploit [ASSASSIN] Dev Access", HidePremium = false, SaveConfig = true, ConfigFolder = "🥸", IntroEnabled = false})
  397.  
  398. local CombatTab = Window:MakeTab({
  399.  
  400. Name = "Combat",
  401.  
  402. PremiumOnly = false
  403.  
  404. })
  405.  
  406. CombatTab:AddToggle({
  407.  
  408. Name = "Silent Aim",
  409.  
  410. Default = false,
  411.  
  412. Callback = function(Value)
  413.  
  414. _G.Toggle = Value
  415.  
  416. end
  417.  
  418. })
  419.  
  420. local AutoTab = Window:MakeTab({
  421.  
  422. Name = "Auto",
  423.  
  424. PremiumOnly = false
  425.  
  426. })
  427.  
  428. AutoTab:AddToggle({
  429.  
  430. Name = "Auto Farm",
  431.  
  432. Default = false,
  433.  
  434. Callback = function(Value)
  435.  
  436. _G.autofarmtoggle = Value
  437.  
  438. noclip = Value
  439.  
  440. end
  441.  
  442. })
  443.  
  444. local Tab = Window:MakeTab({
  445.  
  446. Name = "Hitbox",
  447.  
  448. PremiumOnly = false
  449.  
  450. })
  451.  
  452. local Section = Tab:AddSection({
  453.  
  454. Name = "Hitbox Settings"
  455.  
  456. })
  457.  
  458. Tab:AddToggle({
  459.  
  460. Name = "Hitbox Expander",
  461.  
  462. Default = false,
  463.  
  464. Callback = function(Value)
  465.  
  466. if Value == true then
  467.  
  468. getgenv().OFFON = true
  469.  
  470. getgenv().ReSizeXCV = getgenv().SizeXCV
  471.  
  472. getgenv().TransparencyXCV = 0.7
  473.  
  474. getgenv().ColourXCV = Color3.fromRGB(163, 162, 165)
  475.  
  476. else
  477.  
  478. if Value == false then
  479.  
  480. getgenv().OFFON = false
  481.  
  482. getgenv().SizeXCVs = Vector3.new(2,2,1)
  483.  
  484. getgenv().TransparencyXCV = 1
  485.  
  486. getgenv().ColourXCV = Color3.fromRGB(163, 162, 165)
  487.  
  488. end
  489.  
  490. end
  491.  
  492. end
  493.  
  494. })
  495.  
  496. Tab:AddSlider({
  497.  
  498. Name = "Hitbox Size",
  499.  
  500. Min = 0,
  501.  
  502. Max = 100,
  503.  
  504. Default = 2,
  505.  
  506. Color = Color3.fromRGB(255,255,255),
  507.  
  508. Increment = 1,
  509.  
  510. ValueName = "Hitbox",
  511.  
  512. Callback = function(Value)
  513.  
  514. if getgenv().OFFON == true then do
  515.  
  516. getgenv().SizeXCV = Vector3.new(Value,Value,Value)
  517.  
  518. getgenv().ReSizeXCV = SizeXCV
  519.  
  520. end
  521.  
  522. end
  523.  
  524. end
  525.  
  526. })
  527.  
  528. Tab:AddColorpicker({
  529.  
  530. Name = "Hitbox Colour",
  531.  
  532. Default = Color3.fromRGB(255, 0, 0),
  533.  
  534. Callback = function(Value)
  535.  
  536. if getgenv().OFFON == true then do
  537.  
  538. getgenv().ColourXCV = Value
  539.  
  540. end
  541.  
  542. end
  543.  
  544. end
  545.  
  546. })
  547.  
  548. local VisTab = Window:MakeTab({
  549.  
  550. Name = "Visuals",
  551.  
  552. PremiumOnly = false
  553.  
  554. })
  555.  
  556. VisTab:AddToggle({
  557.  
  558. Name = "Fov Toggle",
  559.  
  560. Default = false,
  561.  
  562. Callback = function(Value)
  563.  
  564. FOV_Circle.Visible = Value
  565.  
  566. end
  567.  
  568. })
  569.  
  570. VisTab:AddSlider({
  571.  
  572. Name = "FOV Size",
  573.  
  574. Min = 0,
  575.  
  576. Max = 300,
  577.  
  578. Default = 150,
  579.  
  580. Color = Color3.fromRGB(255,255,255),
  581.  
  582. Increment = 1,
  583.  
  584. ValueName = "Size",
  585.  
  586. Callback = function(Value)
  587.  
  588. FOV_Circle.Radius = Value
  589.  
  590. FOV_Circle2.Radius = Value
  591.  
  592. end
  593.  
  594. })
  595.  
  596. local MiscTab = Window:MakeTab({
  597.  
  598. Name = "Misc",
  599.  
  600. PremiumOnly = false
  601.  
  602. })
  603.  
  604.  
  605.  
  606. MiscTab:AddButton({
  607.  
  608. Name = "Server Hop",
  609.  
  610. Callback = function()
  611.  
  612. game:GetService("TeleportService"):Teleport(game.PlaceId, game:GetService("Players").LocalPlayer)
  613.  
  614. end
  615.  
  616. })
  617.  
  618.  
  619.  
  620. local LocalTab = Window:MakeTab({
  621.  
  622. Name = "Local Player",
  623.  
  624. premiumOnly = false
  625.  
  626. })
  627.  
  628.  
  629.  
  630. getgenv().Infjump = false
  631.  
  632. LocalTab:AddToggle({
  633.  
  634. Name = "Infinite Jump",
  635.  
  636. Default = false,
  637.  
  638. Callback = function(Value)
  639.  
  640. Infjump = Value
  641.  
  642. end
  643.  
  644. })
  645.  
  646.  
  647.  
  648. LocalTab:AddToggle({
  649.  
  650. Name = "Noclip",
  651.  
  652. Default = false,
  653.  
  654. Callback = function(Value)
  655.  
  656. noclip = Value
  657.  
  658. end
  659.  
  660. })
  661.  
  662.  
  663.  
  664. spawn(function()
  665.  
  666. game:GetService('RunService').RenderStepped:connect(function()
  667.  
  668. pcall(function()
  669.  
  670. while _G.autofarmtoggle == true do
  671.  
  672. spritzTween(game.Workspace[game.Players.LocalPlayer.PlayerGui.ScreenGui:WaitForChild("UI"):WaitForChild("Target"):WaitForChild("TargetText").Text].HumanoidRootPart,30)
  673.  
  674. game.workspace.Gravity = 0
  675.  
  676. wait(0.1)
  677.  
  678. end
  679.  
  680. end)
  681.  
  682. end)
  683.  
  684. end)
  685.  
  686.  
  687.  
  688. spawn(function()
  689.  
  690. game:GetService('RunService').RenderStepped:connect(function()
  691.  
  692. pcall(function()
  693.  
  694. while _G.autofarmtoggle == true do
  695.  
  696. wait(0.8)
  697.  
  698. mouse1click()
  699.  
  700. end
  701.  
  702. end)
  703.  
  704. end)
  705.  
  706. end)
  707.  
  708.  
  709.  
  710. spawn(function()
  711.  
  712. game:GetService('RunService').RenderStepped:connect(function()
  713.  
  714. pcall(function()
  715.  
  716. while _G.autofarmtoggle == false do
  717.  
  718. if _G.autofarmtoggle == false then
  719.  
  720. game.workspace.Gravity = 196.2
  721.  
  722. end
  723.  
  724. wait(10)
  725.  
  726. end
  727.  
  728. end)
  729.  
  730. end)
  731.  
  732. end)
  733.  
  734.  
  735.  
  736. spawn(function()
  737.  
  738. game:GetService('RunService').RenderStepped:connect(function()
  739.  
  740. pcall(function()
  741.  
  742. if _G.Toggle2 then
  743.  
  744. for i, v in pairs(game:GetService("Workspace").KnifeHost.PowerUps:GetDescendants()) do
  745.  
  746. if v:IsA("Part") then
  747.  
  748. v.Archivable = false
  749.  
  750. end
  751.  
  752. end
  753.  
  754. end
  755.  
  756. end)
  757.  
  758. end)
  759.  
  760. end)
  761.  
  762.  
  763.  
  764. spawn(function()
  765.  
  766. game:GetService('RunService').RenderStepped:connect(function()
  767.  
  768. pcall(function()
  769.  
  770. if _G.Toggle2 then
  771.  
  772. for i, v in pairs(game:GetService("Workspace").KnifeHost:GetDescendants()) do
  773.  
  774. if v:IsA("Part") then
  775.  
  776. if v.Archivable == true then
  777.  
  778. local PlayerPosition = ClosestPlayerToCursor().baseHitbox.CFrame
  779.  
  780. v.CFrame = PlayerPosition
  781.  
  782. end
  783.  
  784. end
  785.  
  786. end
  787.  
  788. end
  789.  
  790. end)
  791.  
  792. end)
  793.  
  794. end)
  795.  
  796.  
  797.  
  798. spawn(function()
  799.  
  800. game:GetService('RunService').RenderStepped:connect(function()
  801.  
  802. char = game.Players.LocalPlayer.Character
  803.  
  804. while noclip do
  805.  
  806. for _,v in pairs(char:children()) do
  807.  
  808. pcall(function() if v.className == "Part" then v.CanCollide = false elseif v.ClassName == "Model" then
  809.  
  810. v.Head.CanCollide = false end end)
  811.  
  812. end
  813.  
  814. game:service("RunService").Stepped:wait()
  815.  
  816. end
  817.  
  818. end)
  819.  
  820. end)
  821.  
  822.  
  823.  
  824. spawn(function()
  825.  
  826. game:GetService('RunService').RenderStepped:connect(function()
  827.  
  828. game:GetService("UserInputService").JumpRequest:Connect(function()
  829.  
  830. if Infjump then
  831.  
  832. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  833.  
  834. end
  835.  
  836. end)
  837.  
  838. end)
  839.  
  840. end)
  841.  
  842.  
  843.  
  844. spawn(function()
  845.  
  846. game:GetService('RunService').RenderStepped:connect(function()
  847.  
  848. for i,v in pairs(game:GetService('Players'):GetPlayers()) do
  849.  
  850. if v.Name ~= game.Players.LocalPlayer.Name then
  851.  
  852. game.Workspace[v.Name].HumanoidRootPart.Size = SizeXCV
  853.  
  854. game.Workspace[v.Name].HumanoidRootPart.Transparency = TransparencyXCV or SizeXCVs
  855.  
  856. game.Workspace[v.Name].HumanoidRootPart.Color = ColourXCV
  857.  
  858. game.Workspace[v.Name].HumanoidRootPart.Material = "Neon"
  859.  
  860. game.Workspace[v.Name].HumanoidRootPart.CanCollide = false
  861.  
  862. wait()
  863.  
  864. end
  865.  
  866. end
  867.  
  868. end)
  869.  
  870. end)
  871.  
  872.  
  873.  
  874. syn.protect_gui(Window)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement