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

0

You can accomplish this by using the function break followed by an if statement.

0

how would i write that?