Im trying to make it so that when you die by ice sword you get this ice death effect. Im doing it so that you insert a non collidible block that is supposed to be ice, buts its not working, here is the script.
local Players = game:GetService('Players') local toolName = 'Icesword'
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 part = torso = local.player end end) end) end)
