Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Very complicated-to-explain script isn't working, why?

Asked by 6 years ago

The script was not explained in the title because an explanation of it would certainly exceed the 100 character limit in a title. What it is supposed to do is divide a leaderstats value, Views, by 35. The quotient of that problem is the value of another leaderstats value, Subscribers. For whatever reason it is not working. Here is a link to a screenshot of my code: http://prntscr.com/hup0k1

0
Just say Leaderboard script. Tomstah 401 — 6y
0
Is FilteringEnabled on? hellmatic 1523 — 6y
0
FE is on. sesamert16 31 — 6y
0
Try plr.leaderstats.Subscribers.Value = math.floor(plr.leaderstats.Views.Value) (you should also probably use GetPlayers instead of GetChildren) mattscy 3725 — 6y
View all comments (2 more)
0
Did you create a RemoteFunction? If you didn't, the script is working. Its just that only the server can see the script work, not the clients/players. hellmatic 1523 — 6y
0
When you turn FE on, and you want scripts to communicate/make changes with the clients, you ALWAYS have to create a RemoteFunction. hellmatic 1523 — 6y

Answer this question