Hello,
A friend of mine made a game, and he enabled filtering by mistake.
Later on the guis and some stuff started to don’t work with the error player is not a valid member of datamodel.
I never used FE so i never used to have this error, any ways to fix it?
There is a great way to learn how to make Filtered games as they are highly recommended for developers to make.
you can go to the ROBLOX wiki and go to Documentation - Roblox Creator Hub
Thats how i use to make my games, but in this case i have got to make a lot of scripts again since i didn’t script em from the start etc. any possible fixed for this error?
I got a few things wrong here but I made it ages ago so I didn’t really understand it, this should help you understand why this sort of thing happens.
also excuse the extremely long opening sequence
It seems like your friend had a typo in his code.
By the sounds of the error, it appears he tried to find ‘Player’ directly under the game (e.g. game.Player
), which doesn’t exist.
(DataModel is the real name of the object represented by game
.)
If this is the case, it’s probably not an FE issue.
I’d then recommend your friend to try looking at the code that throws the error and using debugging techniques to fix it.
any suggestions?
Well, since he is probably looking for ‘Players’ not ‘Player’, he’d fix the typo.
If that doesn’t work, I’d need to see his code so I can figure out what’s wrong.
I fixed it, he invited me in the game and i rescripted it. He wanted when the player sit in the seat to clone a gui into the player.