I need help with this kill effect after dying from golden sword heres the script. Its not working. Can anyone help?
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 end end) end)
end)
Pretty sure the color should be in quotes.