Function of Ui
ui.title
Shows a title and subtitle to everyone in the room; fades and stay are in seconds.
ui.title(opts: { title: Text?, subtitle: Text?, color: Ink?, fade_in: number?, stay: number?, fade_out: number?, })Parameters
Used in
player.ui.title{Guide: Your first packreads their name; `player.ui.title` shows them a title; `player:message`Guide: Your first packui.title{ title = "GO!", color = "gold", stay = 1 }Guide: Coin rushui.title{ title = `{winner.name} wins`, subtitle = coins_text(most), color = "gold" }Guide: Coin rushplayer.ui.title{ title = "Parkour", subtitle = "Type /play", color = "green" }Guide: Parkour, a room eachp.ui.title{ title = seconds(t), subtitle = "Finished!", color = "green" }Guide: Parkour, a room eachplayer.ui.title{ title = "Home", subtitle = "a cottage built in code", color = "gold" }Guide: Build a cottageplayer.ui.title{ title = "Home", subtitle = "a cottage built in code", color = "gold" }Guide: Build a cottage