Say I have a script where when a remote is fired I want it to change the text of 2 text labels to the main players name in all CAPS, I thought of one way of doing this by splitting it and making it caps but I couldn't think of a way to do this
local charselected = game.ReplicatedStorage.charselected local mainchar = script.Parent
local function startMain(player)
print(player.Name)
mainchar.Enabled = true
mainchar.nameblue.Text = player.Name
mainchar.namewhite.Text = player.Name
end
charselected.OnServerEvent:Connect(startMain)
This is my code currently and I just want where this is
mainchar.nameblue.Text = player.Name
mainchar.namewhite.Text = player.Name
I want that player.Name to set the text labels text in all caps.

2 comments
Try mainchar.nameblue.Text = string.upper(player.Name)
You could also use player.Name:upper()