Adam_RBLX

Untitled

Dec 14th, 2022
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. local g = getgc(true)
  2. local t = {}
  3. local p = game:GetService("Players").LocalPlayer
  4. local function editCurrentGuns()
  5. for _, v in pairs(g) do
  6. if typeof(v) == "table" then
  7. if rawget(v, "Ammo") and rawget(v, "CurrentAmmo") then
  8. table.insert(t,v)
  9. end
  10. end
  11. end
  12.  
  13. for _,v in pairs(t) do
  14. v.TBS = 0
  15. end
  16. end
  17. task.spawn(editCurrentGuns)
  18.  
  19. p.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
  20. for _,v in pairs(p.Backpack:GetChildren()) do
  21. if v:IsA("Tool") and v:FindFirstChild("identifier") then
  22. v:FindFirstChild("identifier"):Destroy()
  23. end
  24. end; for _, v in pairs(game:GetService("ReplicatedStorage").GunSettings:GetChildren()) do
  25. if v:IsA("ModuleScript") then
  26. local m = require(v)
  27. if m.TBS then
  28. m.TBS = 0
  29. end
  30. end
  31. end; p.Backpack.ChildAdded:Connect(function(v)
  32. p.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
  33. if v:IsA("Tool") and v:FindFirstChild("identifier") then
  34. v:FindFirstChild("identifier"):Destroy()
  35. end
  36. end)
Advertisement
Add Comment
Please, Sign In to add comment