Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Make a ray casting ray visible?

Asked by
6zk8 95
3 years ago
game:GetService("ReplicatedStorage").RemoteEvent.OnServerEvent:Connect(function(player)
  local ray = Ray.new(player.Character.AK47.Handle.Muzzle.Position, player.Character.AK47.Handle.Muzzle.Position + Vector3.new(100, 0, 0))
end)

This script works, but I want it to be yellow and visible. Any help?

1
You can't make a ray visible, but you can make a part that represents it. Subsz 366 — 3y
0
How? 6zk8 95 — 3y
0
You can make a beam with an attachment from your gun and put the other attachment at the player's mouse.hit.position naturedat 124 — 3y

Answer this question