Using FindFirstChild without upper and lower case?
Hi!
Im currently making a room giver for a hotel of a friend. The receptionist will then type "giveroom PLAYERNAME" in the chat.
This is a part of my script:
1 | local plrtogive = msg:sub( 10 ) |
2 | if game.Players:FindFirstChild(plrtogive) then |
3 | print ( "Opening give GUI for " .. plrtogive) |
The problem is: when i type "giveroom OKRPLAY" in the chat everything works fine.
When i type "giveroom okrplay", it dosent find it.
It is possible to use FindFirstChild without upper and lower case?