Busted ROBLOX hitboxes making missiles explode prematurely

As you can see in the above video, I lock onto an enemy player with my attack helicopter, fire a missile, and the missile is guided to the enemy. You can see the missile hit the enemy - but the actual explosion is further back and away from the enemy, and not at the point where they collided.
When missiles are launched, I have the NetworkOwner set to the player that fired said missiles.

This is a pretty annoying bug I’ve seen before. I want to get it solved. How do I fix this?

2 Likes

This is most likely something to do with your script. Can you show us the segment of your code that does the explosions and hit detection

That’s how it looks like on the client side which in this case is you, to fix this you simply need to make the missile part on the server side, try using YourPart:SetNetworkOwner(nil).

You can review this further here Network Ownership | Documentation - Roblox Creator Hub

EDIT: This worked for me when I made my missiles, 90% sure the same thing should apply here

1 Like

Yeah, setting it to nil worked pretty well. Thank you!

It ended up being nothing to do with the script (technically), and everything to do with the NetworkOwnership.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.