04-19-2011, 02:43 PM
Tools damage? D=
Then you probably need
Tool.MouseDown and you need to use game.World:getPartAt(mousepos) to find out if mouse is on enemy...
But if you want like melee weapon,
Tool with Holdable on
Tool.MouseDown
and make it use getTrace function to find out if theres a player hitting the "weapon"
D:
Then you probably need
Tool.MouseDown and you need to use game.World:getPartAt(mousepos) to find out if mouse is on enemy...
But if you want like melee weapon,
Tool with Holdable on
Tool.MouseDown
and make it use getTrace function to find out if theres a player hitting the "weapon"
D: