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

leaderboards is not updating for other player's values?

Asked by
Seyfert 90
7 years ago

Is this how leaderboards is supposed to operate? If I use the "Test Server" and select 2 players, when I update the IntValue of Player1 to 500 dollars, on Player2's screen it still shows 0 dollars for Player1. Is this how it's supposed to work? How can I make it so that it will show other player's values? I thought Roblox does that for us?

here is teh code I use to make the leaderboards

    local leaderboardstats = Instance.new("Model", player)
        leaderboardstats.Name = "leaderstats"
    local moneyz = Instance.new("IntValue")
        moneyz.Parent = leaderboardstats
        moneyz.Name = "Dollars"

1 answer

Log in to vote
2
Answered by 7 years ago

Do you have FilteringEnabled turned on? This sounds like you are changing the value inside Player 1's client window and expecting it to replicate, but FilteringEnabled is blocking the replication.

0
Yes I do actually, I was wondering if that was the reason why it was not showing for other players. So, the changes will show, but only if the server issue's the changes yes? If I try editing in the little GUI as the player then it will not update right? I think I got it now. Seyfert 90 — 7y
0
The client can replicate the position and velocity of any part they have network ownership of (namely their character) and play animations (and set DesiredVelocity/CurrentVelocity of motors), and probably more which I cannot think of off the top of my head SwardGames 325 — 7y
Ad

Answer this question