How in code, would you create a function that is called, on death and inside the function, it plays "No ties".
I have no idea what you mean by "plays No ties" but to call a function
on death you'll want to do something like this-
function Died(char) print(char.Name .. " died.") -- play "No ties."? end Game:GetService("Players").PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) char:WaitForChild("Humanoid").Died:connect(function() Died(char) end) end) end)