FastCast RayHit event is not working

You can write your topic however you want, but you need to answer these questions:

  1. I Want to make a shooting spell.

  2. Simply the shooting spell shoots the projectile using the module FastCast, But the RayHit event is not working at all, It is not detecting anything.

  3. There is Nothing useful in the hub, and I usually get no answer.

Caster.RayHit:Connect(function(casterThatFired, result, segmentVelocity,cosmeticBulletObject)
	print("Hit.")
end)

This script is a part of a module script.

2 Likes

Make sure you required module script and used function that this script is part of

The RayHit event is an event that is part of the FastCast, Other events such as LengthChanged works, Work just with that event.