DataModel not supported...?

Hi, i’m trying to call a BoolValue in a local script which is located in playerscripts. It says that this variable is not supported…?

local GameInProgress = game.ServerStorage.GameValues:FindFirstChild("GameInProgress")

That’s because the client can not see anything in server storage. You will want to put it in replicated storage, or use a remote event to do stuff to things in server storage

1 Like