Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local event =game:GetService("ReplicatedStorage")["WeaponItems"]["RemoteEvents"]["CreateRay"]
- local player = game.Players.LocalPlayer
- local char = player.Character
- local mouse = player:GetMouse()
- mouse.KeyDown:Connect(function(key)
- if key=="u" then
- if mouse.Target then
- 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")
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement