No damage being done

  1. What do you want to achieve?
    for damage to be dealt to the dummy when attacked

  2. What is the issue? Include screenshots / videos if possible!
    no damage being dealt

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    well i’ve tried looking for similar problems on the web for it, but i didn’t come across any the same problem

Do you have a script for us to see? What in depth is the issue? Does it work on players but not dummies, are there any errors? Please give us a bit more info rather than these short answers without much clarification.

nope no errors appear, if a player is their he can be killed by it, and i can show you the punch and the takedamage script if needed

Can we help you if you send the script or something?

since you don’t know the problem, posting the script here would solve the problem fast

local TakeDamage = game:GetService("ReplicatedStorage").FireTakeDamage

script.Parent.Parent.Activated:Connect(function()
	local char = script.Parent.Parent.Parent

	if char.Parent == workspace then
    	local player = game.Players:GetPlayerFromCharacter(char)
    	local dmg = player.Strength.Value
	
    	script.Parent.Touched:Connect(function(hit)
	    	if hit.Parent ~= char then
	    		if game.Players:GetPlayerFromCharacter(hit.Parent) then
	    			TakeDamage:FireClient(game.Players:GetPlayerFromCharacter(hit.Parent), player)
	    		end
	    	end
    	end)
	end
end)

this is the script inside the punch tool

The script has no errors, could you show when the remote event is fired?

local event = game:GetService("ReplicatedStorage").TakeDamage

event.OnServerEvent:Connect(function(player, hitBy)
	local char = player.Character
	local hitByStrength = hitBy.Strength.Value
	local endurance = player.Endurance.Value
	local hitByChar = hitBy.Character

	if not player.Safe.Value and not hitBy.Safe.Value then
		if endurance > hitByStrength * 10 then
			hitByChar.Humanoid.Health = 0
		elseif endurance > hitByStrength then
			hitByChar.Humanoid:TakeDamage(hitByStrength * 0.1)
			char.Humanoid:TakeDamage(hitByStrength * 0.9)
		else
			char.Humanoid:TakeDamage(hitByStrength)
		end
	end
end)

this is the TakeDamageScript

was this the event you were meaning?

The takedamage effect in:

local event = game:GetService("ReplicatedStorage").TakeDamage
game:GetService("ReplicatedStorage").FireTakeDamage.OnClientEvent:Connect(function(player, hitBy)
	game:GetService("ReplicatedStorage").TakeDamage:FireServer(player, hitBy)
end)

and then theirs a TakeDamage remotevent and a FireTakeDamage remotevent