itilva8630
(itilva8630)
October 15, 2020, 2:02am
#1
Greetings! I have this script:
OverHead['Player Rank'].Text = string.upper(Player:GetRoleInGroup(6784591))
if game:GetService('MarketplaceService'):UserOwnsGamePassAsync(Player.UserId, PREMGamepassID) == true then
OverHead['Player Name'].Text = string.upper '⭐ (Player.Name) ⭐'
end
However, when I join the game, it shows as: (Player.Name) , and not itilva8630 .
Any idea on how I can fix this?
I’m new to scripting, apologies!
OverHead['Player Rank'].Text = string.upper(Player:GetRoleInGroup(6784591))
if game:GetService('MarketplaceService'):UserOwnsGamePassAsync(Player.UserId, PREMGamepassID) == true then
OverHead['Player Name'].Text = string.upper( "⭐" .. Player.Name.. "⭐")
end
Try this.
1 Like
Why would you need string.upper
…? It has no need in this function and you can simply use a variable or remove the line. It adds to lag (Very small amounts) and it is unneeded in the script.