I am trying to make the text force in to all caps from "test" to "TEST". Here is the script I am working with, it works fine but I am just trying to get the
songt.Text = data.Name
into CAPS
for i, id in pairs(require(list)) do pcall(function() local data = market:GetProductInfo (id); if data and data.AssetTypeId == 3 then local songt = songtext:Clone(); songt.Parent = frame; songt.Position = UDim2.new(0, 0, 0, songt.AbsoluteSize.y * (i - 1)); songt.Text = data.Name end end) end
Ex is right, you just have to apply the function to what you're setting the text to.
songt.Text = data.Name
becomes,
songt.Text = string.upper( data.Name )
or, equivalently,
songt.Text = data.Name:upper()
Try this.
string.Upper(songt.Text)