#Why does this not work?

8 messages · Page 1 of 1 (latest)

trim valveBOT
#

studio** You are now Level 6! **studio

rustic vortex
#

Why are you storing the staff player list in a pastebin? A better option would be to create a Roblox group, have a staff rank, and use the Player#GetRankInGroup() method to get their group rank.

trim valveBOT
#

studio** You are now Level 5! **studio

rustic vortex
#

It's also less likely to potentially fail, and you don't have to rely on any specific formatting in the pastebin.

#

If you're having a small amount of staffed players, you could also always just create a list of their ids, and then whenever a player joins the game, check if their ID is in the list.

#

Well, that is possible. You could create a datastore with the name "StaticValues", and then inside that datastore is a key named "Staff". That staff key contains a list of all the staff. Whenever you would run the /add-staff command or whatever, you could just use the Datastore#Update function to update the "Staff" key's value.

#

I've done something similar in the past, but for storing the game's version across all of my places.

#

If you have a team called Staff, that should work I believe.