Advertisement
Glexteon

Untitled

Oct 16th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. local event =game:GetService("ReplicatedStorage")["WeaponItems"]["RemoteEvents"]["CreateRay"]
  2. local player = game.Players.LocalPlayer
  3. local char = player.Character
  4. local mouse = player:GetMouse()
  5. mouse.KeyDown:Connect(function(key)
  6. if key=="u" then
  7. if mouse.Target then
  8. event:FireServer(0,Vector3.new(mouse.Hit.x,mouse.Hit.y,mouse.Hit.z),Vector3.new(mouse.Hit.x,mouse.Hit.y,mouse.Hit.z),"The Black Hole")
  9. end
  10. end
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement