Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tool = script.Parent
- local remoteEvent = tool:WaitForChild("FireProjectile")
- tool.Equipped:Connect(function(mouse)
- mouse.Button1Down:Connect(function()
- if mouse.Hit then
- remoteEvent:FireServer(mouse.Hit.Position)
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement