Make player username in text capitalized

I’m trying to make a script for STN where if demon dies by players, the game will show who survived the night when demon died

’ Gui.TextLabel.Text = script.Parent.Name… " KILLED THE DEMON" ’ This shows the players username, except it isn’t all capitalized

For example, “SCRIPTIFIEDOVERKILL KILLED THE DEMON” .
How would i do this?

You can do string.upper() to get a capitalized string.

string.upper(script.Parent.Name) .. "KILLED THE DEMON"
6 Likes