hi all, so my game is filtering enabled and i've come across a problem trying to 'read' stats (which are an assortment of stringvalues, intvalues, etc.) in serverstorage under a folder with the players name. in the localscript (player's gui), the line is this:
local maxStam = repStorage.Calls.ReadStat:FireServer("maxStamina")
in the server script (serverscriptservice) which connects to the event, the function looks like this:
game:GetService("ReplicatedStorage").Calls.ReadStat.OnServerEvent:Connect(function(player, stat)
return game.ServerStorage[player.Name]:findFirstChild(stat).Value
end)
this returns a nil value and it can't be modified in any way (as it is a nil)
any help will be appreciated!
