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

Does the humanoid's health get replicated?

Asked by
piRadians 297 Moderation Voter
6 years ago

On which side should I call the method TakeDamage(), and why?

3 answers

Log in to vote
1
Answered by
green271 635 Moderation Voter
6 years ago
Edited 6 years ago

According to the API Reference, the Health property of a Humanoid is not replicated.

TakeDamage() will work unless the character has a ForceField on it.

0
ok piRadians 297 — 6y
Ad
Log in to vote
1
Answered by 6 years ago

It does not - call it from the server if you would like it to replicate.

Log in to vote
1
Answered by
0RKH 35
6 years ago

On the Server because the Humanoid's health does not replicate between the client-server boundary. Call it using a ServerScript.

Answer this question