Dragging Scripts out of Roblox Studio will cause them to be Invisible

When dragging a script from Studio into another program (the program does not have to actually do anything with the script being dragged into it), the script will disappear from the Explorer, but will still be functional.

This only seems to happen when dragging a script into the Discord desktop app, but there could be more cases where it happens.

Steps to reproduce:

  • Start up Roblox Studio, a new place is fine
  • Start up Discord and go into someone’s DMs or a server, it doesn’t really matter
  • Place a script anywhere in the explorer that will cause it to run
  • Try to drag and drop the script into Discord
  • Notice how the script in the explorer dissappears
  • Try running the place and notice how the script prints “Hello world!”

Here’s what happens
https://i.gyazo.com/951cedded455d480cb8e74c5faac12b2.mp4

And here’s what happens when you hit run afterwards (it prints twice because I did it twice)

https://i.gyazo.com/8902c9678c75c139943c204a3f65bb68.mp4

4 Likes

Good catch. I’ve added this to our bug list.

4 Likes

After further investigating, it doesn’t seem like the parent is changing nor being nil. Also, restarting the place seems to fix the visibility of it.

I hope this helps! :grin:

2 Likes