LynXS_

Untitled

Dec 10th, 2022
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. --// Exploit Check \\--
  2. if #{hookmetamethod, getnamecallmethod} ~= 2 then
  3. game:Shutdown()
  4. return
  5. end
  6.  
  7. --// Exploit Fix \\--
  8. if not pcall(function() return syn.protect_gui end) then
  9. syn = {}
  10. syn.protect_gui = function(A_1)
  11. A_1.Parent = CoreGui
  12. end
  13. end
  14.  
  15. --// Services \\--
  16. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  17. local Players = game:GetService("Players")
  18.  
  19. --// Variables \\--
  20. local Player = Players.LocalPlayer
  21. local Inventory = Player:WaitForChild("Inventory")
  22. local BlockFolder = ReplicatedStorage:WaitForChild("Blocks")
  23. local Blocks = {}
  24.  
  25. --// Get Blocks \\--
  26. for _, A_1 in next, BlockFolder:GetChildren() do
  27. table.insert(Blocks, (function()
  28. local Fake = Instance.new("NumberValue")
  29. Fake.Name = A_1.Name
  30. Fake.Value = 1
  31. return Fake
  32. end)())
  33. end
  34.  
  35. --// UI Library \\--
  36. local Library = loadstring(game:HttpGetAsync('https://raw.githubusercontent.com/Jus...)
  37. local Window = Library:CreateWindow("Creative by puravramchiary")
  38. Window:AddLabel({
  39. text = "pls sub to black man gaming"
  40. })
  41. Window:AddToggle({
  42. text = "inf blocks",
  43. flag = ""
  44.  
  45. })
  46. Window:AddToggle({
  47. text = "all block",
  48. callback = function(A_1)
  49. if A_1 == true then
  50. table.foreach(Blocks, function(A_1, A_2)
  51. A_2.Parent = Inventory
  52. end)
  53. else
  54. table.foreach(Blocks, function(A_1, A_2)
  55. A_2.Parent = nil
  56. end)
  57. end
  58. end
  59. })
  60. Library:Init()
  61.  
  62. --// Block Spoof \\--
  63. local OldNameCall = nil
  64. OldNameCall = hookmetamethod(game, "__namecall", function(Self, ...)
  65. -- Variables
  66. local Args = {...}
  67. local Info = Args[2]
  68. local NamecallMethod = getnamecallmethod()
  69.  
  70. -- Fake
  71. if NamecallMethod == "FireServer" and Self.Name == "PlaceBlockE" and typeof(Info) == "table" and (Info[3].ClassName == "NumberValue" or Library.flags.Inf) then
  72. Info[3] = {Name=Info[1];Value=1}
  73. end
  74. return OldNameCall(Self, unpack(Args))
  75. end)
Add Comment
Please, Sign In to add comment