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

Team detection and showing a GUI for the player on the team. But it doesn’t work for me?

I am trying to make a !help command for staff, I found out how to use commands I think, but the problem is I need a script that detects who is on the team and shows a GUI for the people only on that team, so staff. So I hope someone could help me whit this. Thanks!

1 answer

✓ Accepted answer

You have a couple options. You can either hardcode the UserId's of your staff members or if applicable check if they are in your group at a certain rank.

The latter one is more reliable and won't require you to change your code when a new staff member is added but it will require you to have a group where everyone is ranked as a staff member.

2 comments

0

Its also possible to use a datastore with a in-game command

0

True, there's many more options. You can also get them from like Trello with HTTPService. But that's not the point. I like the group one most because it requires no extra work.

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