@dev_gg
Roblox Oct 30, 2026

making a jujutsu kaisen style game in roblox studio, abilities wont hit

first proper project. made a cursed technique move with a hitbox part but it only damages the dummy sometimes, other players not at all. is this a server vs client thing?
2

Leave A Reply

Log in to post an answer.

2 Answers

jainn Dec 01, 2026
dev_gg
Once it's on the server you'll still see the odd hit that looks clean on your screen and misses. That's latency, the server sees other players slightly behind where you see them. Either make the server hitbox a bit bigger than the visual, or let the client say who it hit and have the server just check the distance is believable. Never let the client decide the damage though, only the target.
john_5 Nov 04, 2026
dev_gg
nine times out of ten this is hit detection running on the client. the hitbox you see on your screen doesn't count for anyone else. fire a RemoteEvent when the move is used, then do the actual hit check on the server, something like GetPartBoundsInBox or a spatial query around the player, and apply damage there. .Touched is really unreliable for fast moves too, it misses a lot. also check you're not hitting your own character first and stopping the loop