Advertisement
Guest User

A5

a guest
Aug 25th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. local tool = script.Parent
  2. local player = game:GetService("Players").LocalPlayer
  3.  
  4. tool.Equipped:Connect(function(mouse)
  5. print("Tool equipped!")
  6.  
  7. mouse.Button1Down:Connect(function()
  8. print("Mouse pressed!")
  9. local ray = Ray.new(tool.Handle.CFrame.p, (mouse.Hit.p - tool.Handle.CFrame.p).unit * 300)
  10. game.ReplicatedStorage.BLUSHFACECUTIE:FireServer(tool, ray)
  11. end)
  12. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement