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

How do I find an ActiveCaster's cosmetic bullet?

Asked by
niroqeo 123
3 years ago
Edited 3 years ago

Hello!

I've been messing around with FastCast (google it) and I'm not quite sure how to find an ActiveCaster's cosmeticbullet. I need to destroy it when the CastTerminating event runs. I'm essentially asking how to find an activecaster's cosmetic bullet..

caster.CastTerminating:Connect(function(caster)
    --provider:ReturnPart(i need to get the cosmetic bullet and put it here)
end)

1 answer

Log in to vote
0
Answered by
niroqeo 123
3 years ago

I figured it out, turns out the cosmetic bullet is hidden in the activecaster's RayInfo!

caster.CastTerminating:Connect(function(caster)
    provider:ReturnPart(caster.RayInfo.CosmeticBulletObject)
end)
Ad

Answer this question