Issue Type: Other
Impact: High
Frequency: Constantly
Date First Experienced: 2021-05-23 14:05:00 (-04:00)
Date Last Experienced: 2021-05-23 15:05:00 (-04:00)
Reproduction Steps:
- Create a game (or use an existing one) and enable Team Create. It can be created by a user or a group.
- Make a Script that calls
RunService:IsStudio()
on the server. When trying to reproduce this bug after discovering it, I made a Script in ServerScriptService that ranprint(game:GetService("RunService"):IsStudio())
- Make a LocalScript that calls
RunService:IsStudio()
on the client. When trying to reproduce this bug after discovering it, I made a LocalScript in StarterPlayerScripts that ranwarn(game:GetService("RunService"):IsStudio())
(I usedwarn
instead ofprint
to make it easier to differentiate the client and server) - Now publish the place and test it using Play Solo, Team Create Test and in the Roblox Client
Scripts that I used to reproduce this in my test place:
Script 1 (Script placed in ServerScriptService)
print(game:GetService("RunService"):IsStudio())
Script 2: (LocalScript placed in StarterPlayerScripts)
warn(game:GetService("RunService"):IsStudio())
Expected Behavior:
When testing the place, I expect that RunService:IsStudio()
will return true
in Play Solo and Team Create Test and return false
when playing the game from the Roblox client.
Actual Behavior:
When using Play Solo, RunService:IsStudio()
returns true
on both the client and the server and it returns false
when playing a published copy of the game in the Roblox client as it should. When I test the game using Team Test, RunService:IsStudio()
returns true
on the client and false
on the server. Also running print(game:GetService("RunService"):IsStudio()
in the Studio command bar while in Team Create Test will return true
since it is on the client and running the same code in the Developer Console command bar will return false
since it is on the server.
Screenshots
Studio output window in Play Solo:
the server is running print(game:GetService("RunService"):IsStudio())
and the client is running warn(game:GetService("RunService"):IsStudio())
14:45:10.207
is the output of Script 1
14:45:12.493
is the output of Script 2
The client side output in Team Create Test
14:49:41.204
is the output of Script 2
14.50:45.150
is the output of running print(game:GetService("RunService"):IsStudio())
in the Studio command bar
Server output in Team Test
09:43:34
is the output of Script 1
14:13:02
is the output of running print(game:GetService("RunService"):IsStudio())
in the Developer Console Command Bar