How to prevent cheating in Private servers?

Hello
How do you prevent cheating in private servers (speed hacks, teleport hacks, etc.), when you cannot join them?
I would like to allow people to use private servers and later to continue their game progress in a public server.

Thanks

Make a serversided and clientsided anti-cheat, ensure all your remote events/remote functions and such are secured.

1 Like

DataModel | Documentation - Roblox Creator Hub

game has PrivateServerId and PrivateServerOwnerId

there is already script one in DataModel (game) Documentation
that detects if it’s Private Server or Reserved Server or Public Server
althought to me, script looks like kinda well… wrong to my sight