Sungmingamerpro13

Broom Styled Terminal 13

Feb 11th, 2026
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.35 KB | None | 0 0
  1. local tool = script.Parent
  2. local player = game.Players.LocalPlayer
  3. local remote = tool:WaitForChild("clearEvent")
  4.  
  5. local mouse
  6.  
  7. tool.Equipped:Connect(function()
  8.     mouse = player:GetMouse()
  9. end)
  10.  
  11. tool.Activated:Connect(function()
  12.     if not mouse then return end
  13.  
  14.     local target = mouse.Target
  15.     if target then
  16.         remote:FireServer(target)
  17.     end
  18. end)
  19.  
Advertisement
Add Comment
Please, Sign In to add comment