To replicate this problem, follow these steps:
Open this file. https://mega.nz/file/SJAVRYyK#9xr92vqZEjhhYlSAE6AfUkapMh1XUKzHB9pGbHCUXz4
Open the rbxm.
Put the tool into the starterpack
Place a dummy
Press play and then see if you can hurt the dummy.
If nobody can hurt the dummy can any of you guys see what's wrong? I use that same script for the hitbox in other tools and it seems to work just fine. But not for this one. Thanks.
Heres the damage script.
local tool = script.Parent.Parent local event = tool:WaitForChild("RemoteEvent") local canattack = false local Music = script.Parent.Sound script.Parent.Touched:Connect(function(hit) local ehum = hit.Parent:FindFirstChildOfClass("Humanoid") if canattack and ehum then ehum:TakeDamage(math.random(25, 30)) end end)