Advertisement
seeseekeepeeshee

Untitled

Jun 6th, 2025
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. local tool = script.Parent
  2. local remoteEvent = tool:WaitForChild("FireProjectile")
  3.  
  4. tool.Equipped:Connect(function(mouse)
  5. mouse.Button1Down:Connect(function()
  6. if mouse.Hit then
  7. remoteEvent:FireServer(mouse.Hit.Position)
  8. end
  9. end)
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement