Detect if player is in studio or in game

Hi there! I have checked here and have found nothing, how would I go about making a script detect if a player is in game or is playtesting in studio? (it would be in ServerScriptService)

This is for a spreadsheet log and I do not want it to log if the player is playtesting in roblox studio.

Cheers! -Clay

1 Like


Oh I did not see that, thanks!

(character limit haha funny)

You’re welcome!!! happy coding :slight_smile:

1 Like