How could I make a locally spawned dummy take damage locally?

Hey there! The title might be a bit confusing, so I’ll explain in a little more detail here. What I’m trying to achieve is making a dummy take damage by a local script, not a server one. The dummy is cloned by a local script. I then try to damage the dummy with a Raycast, but it doesn’t seem to work, even though it does detect the humanoid. The reason I’m doing this is because it’s supposed to be a singleplayer game, and this will reduce any lag that might happen. If you need more info, feel free to ask. Any help is appreciated!

2 Likes

Hey! If you do the ATK locally, can’t the exploiters just change their ATK damage? I would handle the ATK on server.

That’s true, but wouldn’t that be annoying when you have very laggy internet? And even if someone does exploit, I wouldn’t really care.

You can handle the animation when the dummy takes damage locally and the DMG dealt server-side (remote events, modules…).

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