This script is supposed to take the value of Views, divide it by 35, and have the quotient be the value of Subscribers. It works in Studio but not in my game. I have tried many things: using WaitForChild, not using anything, putting a wait period of 5 minutes at the beginning of the script (what you see here) lots of different things. This is the script:
wait(300)
dividedby = 35
while true do
wait(1)
for _,player in pairs(game.Players:GetPlayers()) do
if player:FindFirstChild("leaderstats")then
player.leaderstats.Subscribers.Value = ( player.leaderstats.Views.Value / dividedby )
end
end
end

2 comments
I meant leaderstats lol
Can we see the leaderstats part of the script when it's being made?..