I know this is not a request site but I honestly have no clue. I have been trying to do this for the past 4 hours. I can't find anything on the internet that helped.
This is what I have so far:
Players = game:GetService("Players")
for i, player in pairs(Players:GetPlayers()) do
-- This is where I'm stuck
end

4 comments
The code looks correct. I will try this.
It doesn't work.
what do you mean, and what do you want it to do?
please show how you used this code.