Dummy Humanoid.Health Problem

It does NOT replicate to the server.
You are watching it change health and fall to the ground on the client, not the server, which is the difference here.

1 Like

You are watching it change health and fall to the ground on the client, not the server

Yo bro watch till 1:09 i change it to server side right ?
and how about the output ? i used same code here

First of all, you are using HealthChanged on the server-side, which won’t work:
https://developer.roblox.com/en-us/api-reference/event/Humanoid/HealthChanged

Secondly, the reason why this happens is because the player instance (you) have network ownership over the test dummy (including every part inside, of course).
More about NetworkOwnership: Network Ownership | Roblox Creator Documentation

For actual players, the server will be the network owner over their character.

If you want to avoid this behavior, you can have a look at this:
https://developer.roblox.com/en-us/api-reference/function/BasePart/SetNetworkOwner

2 Likes