This code is in a local script inside a text label and correctly works when I try to only display the number of players, but I can't seem to find a way to display the number of players out of 10, because obviously roblox things I'm trying to divide the number of players by 10. Is there a way to display "/10" without it dividing the first number?
local players = game.Players:GetPlayers()
local playerCount = script.Parent
while true do
wait(1)
playerCount.Text = #players/10
end

3 comments
You would be better off using a PlayerAdded event on the server and firing an event to update the playerCount rather than using a while true do loop.
Yeah i agree, but sometimes i like to do things old fashoned lol and i forgot about that event lol... duh@ me xD
Thanks! The first thing was what I wanted, but thanks for the percentage of script example, I'm sure that'll come in handy future foward!