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

How do I access a member with a name with space?

I need to access player high score which is located inside of leaderstats, but it has a space in it's name so script doesn't understand what am I doing. How do I do this?

player.leaderstats. High Score

1 comment

0

player.leaderstats["High Score"] player.leaderstats:FindFirstChild("High Score")

1 answer

✓ Accepted answer

use player.leaderstats["High Score"]

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