How would you check if a player was hit (took damage) during a forcefield

How would I check if a player was hit while they have a forcefield active

Ive tried checking normally if they were hit, but it didnt work

I dont think its possible to detect when a player takes damage with a forcefield (they cant take damage in the first place), so you have to try other ways to detect. Maybe instead of using :TakeDamage, try manually setting the health with humanoid.Health = --smth, which bypasses the forcefield system

Other method, but not very reliable

Detect when they touch a part that would hurt them if they didn’t have the forcefield

create a function that for when everytime a player is hit by something, send a signal saying that it has been hit, regardless if forcefield is on or not.

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