I am making a part of my in ServerScriptService that updates the DataStore for player leader boards. It is displaying the leaderboard's data correctly though when I use :GetPropertyChangedSignal() and change the players Coin Multiplier from the server it does not detect that. I am getting no errors in the output. Here is my script:
print("Connecting") --Prints
game:GetService("Players").PlayerAdded:Connect(function(plr)
plr:WaitForChild("playerVariables"):WaitForChild("PlayerRebirthMulti").Value:GetPropertyChangedSingal("Value"):Connect(function()
print("Changed") --Doesn't print when player's Coin Multiplier is changed.
local UserInLeaderboards = false
for a = 1, 15 do
if plr:WaitForChild("playerVariables"):WaitForChild("PlayerRebirthMulti").Value > leaderstatsUserValues[a] then
for b = 1, 15 do
if leaderstatsUserNames[b] == plr.Name then
UserInLeaderboards = true
table.remove(leaderstatsUserNames, b)
table.remove(leaderstatsUserValues, b)
table.insert(leaderstatsUserNames, a, plr.Name)
table.insert(leaderstatsUserValues, a, plr:WaitForChild("playerVariables"):WaitForChild("PlayerRebirthMulti").Value)
end
end
if UserInLeaderboards == false then
table.remove(leaderstatsUserNames, 15)
table.remove(leaderstatsUserValues, 15)
table.insert(leaderstatsUserNames, a, plr.Name)
table.insert(leaderstatsUserNames, a, plr:WaitForChild("playerVariables"):WaitForChild("PlayerRebirthMulti").Value)
end
game:GetService("DataStoreService"):GetDataStore("LeaderboardRebirthMultiUserNames"):SetAsync(0, leaderstatsUserNames)
game:GetService("DataStoreService"):GetDataStore("LeaderboardRebirthMultiUserValues"):SetAsync(0, leaderstatsUserValues)
end
end
UserInLeaderboards = false
end)
end)
print("Connection Complete") --Prints
This script is a Normal Script in ServerScriptService. I've tried other solutions as putting connecting :GetPropertyChangedSignal() To the variable when setting it but it errors saying: GetPropertyChangedSignal is not a valid member of IntValue.

8 comments
????? hover on it and select view source
Neither of those solutions fired. also take account that i'm not a idiot.
also you lagit changed like nothing
how are u changing it ? in by manually selecting it in studio ?
you are checking serversided atm, so if you make the changes clientedsided the server doesnt see that and the event wont fire
I allready change it serverside Did you not read me saying to take account that i'm not a idiot. And if I change it manually I go to the server tab to do it which should not cause any issues.
Add between line 28 and 29 a
wait(10)andplr.playerVariables.PlayerRebirthMulti.Value = 10see if its firesI figured out a different solution that works, Kinda just decided to add the data store sync to the rebirth event