Hello. I want to create a command that will change every online player group ID to group ID that i want to.
Let's say, i want everyone to have group ID 2, i will use /setgroup 2, for group 6, /setgroup 6 etc.
I wrote this script, but it doesn't set every online player group, but only mine...