How to run an external gdscript?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LockManipulator

If I want users to be able to write their own .gd scripts and put them in a folder, can I run them and have them interact with nodes in game? For instance, if someone writes a script to display text in a RichTextLabel node.

:bust_in_silhouette: Reply From: Freeranger Studios

There is a tutorial for this on the godot docs: https://docs.godotengine.org/en/3.2/getting_started/workflow/export/exporting_pcks.html
Hope it helps!