There are better ways to achieve this but this is as simple as it gets
var sentences = ["Hello World",
"What does the fox say?",
"Almost before we knew it, we had left the ground."]
func _on_button_one_pressed():
randomize()
$Text_node.text = sentences[randi() % sentences.size()]