Reproduction Steps
- Open your Roblox Studio application;
- Open an existing place/create a new place using templates;
- Go to the
Explorer
tab and insert a LocalScript in available classes such as StarterGui, StarterPlayer etc (in the following, I have used the StarterGui); - Opening up the script in the editor, write the first variable “Players” to indicate the game’s service and in the next lines, create an event using
Players.PlayerAdded
;
3.1. Now, with the event being written, create a simple mechanic that can identify if it works or not, for example, printing the player’s name; - Apply all of the edits in your script;
- Test the experience.
Expected Behavior
I expected that once joining the experience, it would eventually fire up the statements of the LocalScript that I wrote.
Actual Behavior
After setting up a simple mechanic to identify whether it works or not, and playing the experience inside of the engine, it does not print anything in both Output
or Developer Console.
Workaround
A workaround that can help a bit is if we create another variable called “Player” with the configuration as printing the LocalPlayer’s name/replacing Players.PlayerAdded
with Players.PlayerRemoving
(although, it would only work in case the player leaves the place):
Issue Area: Studio
Issue Type: Other
Impact: Critical
Frequency: Constantly
Date First Experienced: 2023-01-05 00:19:55 (UTC-3)
Date Last Experienced: 2023-01-24 00:01:25 (UTC-3)