Hello,
I’ve been experiencing a problem since last night (~11 pm PST, though it could have been an issue earlier). The problem occurs when you reference the script of a ModuleScript when requiring it. This can be replicated in any place instance.
[in ShopModule]
i.e. it will instantly crash when you type to this point:
require(script
It does not occur when you reference the module normally (i.e. gems = script.GemPart), but only through the require()
It does not occur in a blank place with just a ModuleScript, but it does occur in every actual game of mine I’ve tested (3/3 so far).
Turning off autocomplete works to prevent this issue, so it is likely something to do with autocomplete, specifically the On-Type autocomplete setting
Detailed explanation + place file
I was able to open a 4th place and delete everything besides this stuff. There’s a folder in ReplicatedStorage called ‘Modules’, and a single ModuleScript inside it. When you type:
OtherModule = require(script
Roblox Studio Glitch - Autocomplete.rbxl (24.4 KB)
it will crash when you finish typing script. iirc this happens with any ModuleScript anywhere when done like this. I don’t know the backend of Roblox but it might have something to do with it auto-lookuping itself when the script word autocompletes, which causes an infinite loop and a memory crash.