I use a “IsStudio” check for datastore purposes but if I “StartServer” as Player1, is this considered Studio or do I need to add additional checks?
if game:GetService("RunService"):IsStudio() then
I use a “IsStudio” check for datastore purposes but if I “StartServer” as Player1, is this considered Studio or do I need to add additional checks?
if game:GetService("RunService"):IsStudio() then
This discussion is preserved as it was. New answers, comments, and votes are closed.
6 comments
Try this: if game:GetService('RunService'):IsStudio() then print'Wonder if this is studio.' end
If it is true, you have your answer.
I will try it when I can get to my comp...suspectshot108, yes but I meant specifically in the PlaySolo environment
Try it both ways. I THINK that if its in studio, regardless of solo or "StartServer" its still counted as studio.
Anytime you're in Studio, RunService:IsStudio() will return true. Play Solo, Testing Local Server, etc. If it's in Studio, it'll be true
So I was able to test it, prints true until you Start a server. It will print true on the server, but on the local "Player1/Place1" side it does not print true.