I'm getting this error ingame not in studio, play solo.I checked using shift f9 So the error is: "ServerStorage is not a valid member of DataModel" Here's the line of the script that gives me that error
I'd apreciate any help, thank you.
local folders = game.ServerStorage[".PlayerFolders"] local playerFolder = folders:FindFirstChild(player.Name) if playerFolder.DF.Value == "" or playerFolder.DF.Value == "Nothing" then local hasdf = false else hasdf = true end
If this code is in a local script, you should be aware that serverstorage is not visible to client and may only be accessed by a local script on the client.
Otherwise you can try this: local serverstorage = game:GetService("ServerStorage")