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

3 comments
Where is player defined?
"Here's the line of the script that gives me that error"
player is script.Parent.Parent.Parent (the script is in a tool)