ColdSpecs

Copies Output (Remote fire) LBU

Nov 2nd, 2025
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. -- 🏀 One-Click-Only FireServer Detector + Auto Clipboard Copy
  2. local UserInputService = game:GetService("UserInputService")
  3.  
  4. local hooked = false
  5. local old
  6.  
  7. local function setupDetector()
  8. if hooked then return end
  9. hooked = true
  10.  
  11. old = hookmetamethod(game, "__namecall", function(self, ...)
  12. local method = getnamecallmethod()
  13. if method == "FireServer" then
  14. local args = {...}
  15. local out = {}
  16. for i, v in ipairs(args) do
  17. local t = typeof(v)
  18. if t == "Vector3" then
  19. out[i] = ("Vector3.new(%.3f, %.3f, %.3f)"):format(v.X, v.Y, v.Z)
  20. elseif t == "CFrame" then
  21. out[i] = ("CFrame.new(%s)"):format(table.concat({v:GetComponents()}, ","))
  22. elseif t == "string" then
  23. out[i] = string.format("%q", v)
  24. elseif t == "Instance" then
  25. out[i] = v:GetFullName()
  26. else
  27. out[i] = tostring(v)
  28. end
  29. end
  30.  
  31. local final = string.format("%s:FireServer(%s)", self:GetFullName(), table.concat(out, ", "))
  32. print("[Detected 🔥] " .. final)
  33.  
  34. -- ✅ Auto-assign the detected remote as your shooter
  35. getgenv().shootRemote = self
  36. print("[✅] Shoot remote captured and stored as getgenv().shootRemote")
  37.  
  38. -- 📋 Auto-copy full FireServer line
  39. if setclipboard then
  40. setclipboard(final)
  41. print("[📋 Copied] The FireServer call has been copied to your clipboard!")
  42. else
  43. print("[⚠️] setclipboard not supported by your executor.")
  44. end
  45.  
  46. -- 🔒 Unhook after capture
  47. hookmetamethod(game, "__namecall", old)
  48. end
  49. return old(self, ...)
  50. end)
  51. end
  52.  
  53. -- ⏱ Wait until you left-click to arm the detector
  54. UserInputService.InputBegan:Connect(function(input, gp)
  55. if gp then return end
  56. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  57. setupDetector()
  58. end
  59. end)
  60.  
  61. print("[🕵️ Ready] Left-click once to detect your shoot remote (auto-copies to clipboard).")
  62.  
Advertisement
Add Comment
Please, Sign In to add comment