Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to display multiple string values in a Gui text?

I tried to use a table, that didn't work. There were no errors in the output so I'm confused.

local health = game.CopperOre.Health.Value
local text = game.CopperOre.Health.Value
local CopperOre = game.workspace.CopperOre
local CopperGui = game.workspace.CopperOre.BillboardGui.TextLabel

local texthealth = {text, health,}

text = "health"
health = 10
CopperGui.Text = (texthealth)

1 answer

✓ Accepted answer
local health = game.CopperOre.Health.Value
local text = game.CopperOre.Health.Value
local CopperOre = game.workspace.CopperOre
local CopperGui = game.workspace.CopperOre.BillboardGui.TextLabel

text = "health"
health = 10
CopperGui.Text = (text..":"..health)

this basically combine... yes :) cant explain :(

hope I helped lol

This discussion is preserved as it was. New answers, comments, and votes are closed.