Help with an annoying die bug

Hello

Does anybody understand this bug? Im kinda confused and I can not fix this bug, so I’m hoping somebody could understand and give me an answer to this bug.

– Videos

wow. Never seen one of that kind, but i can assure you if anything it’s roblox’s fault and not your script’s

Seems like this is due to inflicting damage through the client (local script); recommend to deal damage through the server. Though just to make sure, is your damage dealt on the server or the client?

EDIT: It is most likely dealing damage through the client, (just replicated the bug)

2 Likes

I’ll see what I could have been doing wrong with the server/client sides

The damage should be dealt by the server, not the client.
The default health script is controlled by a server script as well.

Please do some research before commenting.
This is not a bug on Roblox’s side, nor their fault.

1 Like

Your damage is client sided, meaning that on your screen it will show the player’s health going down but on the server it will have no effect.

An easy way for you to fix this is to create a remote event called “Damage” and have it fire when you want to deal damage, though be warned this is not the most secure way to do so.

Always always always have whatever you can be on the server and not on the client.

Please understand the difference between Client and Server, its not roblox’s fault.

1 Like