I have it set where when i player grabs a weapon it forces them to chat then whenever the player dies I want it to stop sending the chat until they grab the gun again
while player.Character.Humanoid.Health > 0 do
game:GetService("Chat"):Chat(player.Character.Head, Strings[math.random(1, #Strings)])
wait(30)
end

2 comments
You can accomplish this by using the function break followed by an if statement.
how would i write that?