DeathMessages = {"Not bad... For an idiot that is...", "Still acting stubborn?", "Do you really want that cake?"}
ChooseOne = DeathMessages[math.random(#DeathMessages)];
game:GetService('Players').PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
character:WaitForChild("Humanoid").Died:connect(function()
local bc = BrickColor.new("Neon orange")
game.StarterGui:SetCore("ChatMakeSystemMessage", {
Text = ChooseOne;
Font = Enum.Font.Arial;
Color = bc.Color;
FontSize = Enum.FontSize.Size96;
})
end)
end)
end)
so i think i got it right, but it only says in the chat: " Still acting stubborn?" every time i die it doesn't switch to the other ones.
