I'm getting the error RightHand is not a valid member of Model "Workspace.ItzSulfonic - line 4 R6
local DB = false game.ReplicatedStorage.PunchEvent.OnServerEvent:Connect(function(plr,Touch) plr.Character.RightHand.Touched:connect(function(hit) if hit.Parent ~= plr.Character then if hit.Parent:FindFirstChild("Humanoid") then if DB == false then DB = true hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 wait(.6) DB = false end end end end) end)
The right hand has a space in it so if you wanted it as a right-hand use this code!
Sorry it didn't work for you so I fixed it
local DB = false game.ReplicatedStorage.PunchEvent.OnServerEvent:Connect(function(plr,Touch) plr.Character:WaitForChild("Right Hand").Touched:connect(function(hit) if hit.Parent ~= plr.Character then if hit.Parent:FindFirstChild("Humanoid") then if DB == false then DB = true hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 wait(.6) DB = false end end end end) end)
It's because the right hand is not a member of your character, it's the right arm.
local DB = false game.ReplicatedStorage.PunchEvent.OnServerEvent:Connect(function(plr,Touch) plr.Character.Right Arm.Touched:Connect(function(hit) -- And yes it has a space for some reason, that's Roblox's fault if hit.Parent ~= plr.Character then if hit.Parent:FindFirstChild("Humanoid") then if DB == false then DB = true hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 wait(.6) DB = false end end end end) end)