One script breaks another script, help please!

Hi guys I need some help here please. So I have two scripts, one is an intro menu GUI and one is an NPC chat GUI

For some reason when I make the NPC Chat GUI work (by adding a folder in workspace called “NPCS”) the intro gui doesn’t work. Only by deleting the workspace folder does the intro gui work, but this causes the npc chat gui to not work. Please help me I have the place file below because I don’t know what the issue is. Thanks.

image


Baseplate.rbxl (39.5 KB)

1 Like

It works perfectly for me so idk what your on about

Why are you using .magnitude? First off, it’s deprecated, and also, not needed
you can use Player:DistanceFromCharacter(position)

wait magnitude was deprecated when?

Nonono, magnitude is deprecated, Magnitude isn’t. (capitalization)

@BaconMarine
It works completely fine for me, so I believe it may be related to Studio itself.

Try troubleshooting
You may want to restart Studio.
If this does not help, try restarting your computer.
Then if that does not work, it may help to switch off any Studio beta features that you may have enabled and restart Studio.
Lastly, if this doesn’t work, try uninstalling Studio and reinstalling it afterwards.

Please, let me know if any of this did or did not work.

1 Like

Ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh that makes sense