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

How to fetch a playername in lowercase?

I am making an In-Flight-Entertainment System from my airline and I cannot seem to make a code that returns the player name in lowercase.

This is my current code:

local label = script.Parent
local playername = game.Players.LocalPlayer.DisplayName:Lower()

label.Text = "welcome "..playername.."!"

However, when I test the game it simply doesn't override the text. What would be a solution to this?

1 answer

✓ Accepted answer

:Lower() should actually be :lower(). It is case senstive.

1 comment

0

thanks :)

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