© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
9 replies
Jëskłer

Damage system isn't working

This time I've got a far more precise issue, I'm trying to get this damage system to work however when I implement it the cycle in the script with the bullet goes through properly and the bullet is removed just fine, however the health script isn't working properly, despite having the health set to 3 and the damage set to 1, the loop always goes around and thinks that 3 damage was delievered giving the "You're dead" debug.log, any help on fixing this issue?
Screenshot_2024-04-17_154249.png
Screenshot_2024-04-17_154409.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ bracket pairing isn't working
C#CC# / help
10mo ago
✅ My bot isn't working
C#CC# / help
3y ago
SendKeys Isn't Working Properly
C#CC# / help
4y ago