Here is the script. Its not working. Please help me.
local Players = game:GetService('Players') local toolName = 'GoldenSword'
Players.PlayerAdded:Connect(function(Player) Player.CharacterAdded:Connect(function(Character) local Humanoid = Character:WaitForChild('Humanoid') Humanoid.Died:Connect(function() if Character:FindFirstChild(toolName) or Player.Backpack:FindFirstChild(toolName) then
local.player.torso = ("VeryYellow")-- here, after said player dies is where the effect would be
end -- check tool name
end) -- Died
end) -- CharacterAdded
end) -- PlayerAdded

2 comments
Can anyone help me please? Sorry if the text looks weird
you can fix the text looking weird by selecting your script then putting in a code block.