Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you make physical attack?

like a punch or a kick to damage players or NPCs and the damage is determent by the level of the player?

1 comment

0

We need a bigger explanation. Do you mean a punch? Or an attack with loads of effects like explosions? Do you mean one that is affected by a physical stat?

1 answer

Just to give a general idea:

-Use a mouse click event to check for clicks

-Use raycasting to do damage to players/npc's. You could also do a touched event.

-Use ROBLOX's animation editor for the punch/kick animation

This discussion is preserved as it was. New answers, comments, and votes are closed.