Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make physical attack?

Asked by 4 years ago
Edited 4 years ago

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

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? Despayr 505 — 4y

1 answer

Log in to vote
0
Answered by
BuDeep 214 Moderation Voter
4 years ago

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

Ad

Answer this question