Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Do leaderstats work with FE?

Do leaderstats work with FilteringEnabled? I'm using them on a place with FE and they don't seem to be working, on the player is shows all the values in leaderstats for only that player and all other players are 0 and it's like that for each player. Am I doing it wrong? I change the leaderstats from a local script in each player because I don't know any other way I could change them because this place is FE so I can't use a server script to change them.

1 answer

✓ Accepted answer

I change the leaderstats from a local script

This is exactly what FilteringEnabled prevents.

Leaderstats themselves work fine.

FilteringEnabled

With FilteringEnabled, any changes by a LocalScript are ignored by all other players and by the server.

If you want everyone to know something, it must be set by a normal Script on the server.

LocalScripts can request changes through RemoteEvents and RemoteFunctions. A Script listening for those must then actually make the change.

3 comments

0

But how? leaderstats are in a player, to a server script it doesn't exist.

2

They need to be created by the server, then parented to the player.

0

Oh, I know what I need to do now ty.

This discussion is preserved as it was. New answers, comments, and votes are closed.