IsStudio returns true from both the client and server when spinning up test servers. However, Team Test has a server which will return false, while the clients will return true. This might be a stumbling point since it may not be immediately intuitive that Team Test is a “live server”, rather than “studio server”.
The IsClient method shows a table which indicates that IsStudio will return true from Team Test:
(Also this table should probably not be under only IsClient as it pertains to multiple RunService methods.
This post by tnavarts indicates that IsStudio should in fact return false from Team Test servers:
Suggested solution:
- Under Methods > IsStudio section, add sentence - “Note: This function will return true when called from Team Test Player, but false when called from Team Test Server”
- Move method/environment table from under IsClient to the top of the RunService page just before the Code Samples section
- Add row to table for ‘Team Test Server’ or emphasize that the team test server is a live server
Thanks for looking at this!
Page URL: https://create.roblox.com/docs/reference/engine/classes/RunService