How can I see if the game is in Studio test mode? I know that various admin commands such as Adonis do this. I've tried looking for bools in game, but nothing found. Thanks for the help.
if game:GetService("RunService"):IsStudio() then print("Testing in studio") else print("In game") end
I'm not sure if there's any simple way to do it, the easiest I know would be to look for localplayer in a non local environment. If you can retrieve the player, you're in offline testing.
so in a script in server storage or something server side,
if game.Players.LocalPlayer then print"Offline Mode" else print"Online Mode" end
thehybrid576s answer is probably better tbh. I only knew about IsServer/Client