Hi! I'm new to Godot and GDScript and I'm making my own Minecraft rip-off for fun! I want to do the splash text thing from the game but I need the randomiser method but I don't know how to declare it, Here's my code
extends Label
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
var splashvar = 1
# Called when the node enters the scene tree for the first time.
func _ready():
randomise (splashvar)
set_text("COOL!!!")
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
Please help
P.S I will do an If statement for the list of text