Hey guys I need help with the current weapon I'm doing.. It's basicly a baseball bat that when you click it it plays an animation and then damages the player it touched.. But everytime it touches a player it deals ALOT of damage .. like 80+ every time. Here's the code:
--//The animation is fine so I wont include it in the code
script.Parent.MouseButton1Click:connect(function()
--//Play the animation script..
script.Parent.Handle.Touched:connect(function(smash)
smash.Parent.Humanoid:TakeDamage(15)
print("You just got hit! Too bad.")
wait(1)
end)
The prob is that I want the humanoid to only take damage ONE time ONCE it has been hitted.. I tried for i = v do, take damage... But none worked... Can someone help with this?
I aprecciate ANY help,tip or comment. Thanks alot!

1 comment
Worked 100%. Thanks alot! Why didn't I think that before?