#Leaderboard of local player's score
1 messages · Page 1 of 1 (latest)
as in nothing is on the leaderboard score?
yea
You sure you've created the leaderstats folder?
dont think he did
That's one of the reason
If there are no errors
That means the problem should be in an if else statement
my friend was helping me script it and then he had to go so i had to continue it
there is
because the leaderboards is for number of rebirths
js use docs
so add some places where messages can be shown, i.e prints
also, datastores dont work in localscripts
this would error but you wrapped it in pcall and don't output the error if it fails
datastore in localscript
no no works like that
send necessary data via remote
so I can or can’t use localscript?
you can use the local script if u want
just that the datastore gotta be on server side
oh okay
so how to get it on server side?
use script instead of a localscript
(although you cant get the player via localplayer this way, so youd have to get the player elsewhere, ex: loop through all players and run the function on them)
ok thanks
idk of the issue is fixed but i dont think you van directly change that in a localScript, you have to use a script and a remotevent that sends infos to the client which updates the UI