Plugin from modulescript

Hello everybody I have been wondering why modulescripts dont have plugin as a variable. and I have to use script.parent.parent to get the plugin. to have access to the mouse. But I am wondering, Is there an easy way to get access to the plugin?
Desktop Screenshot 2023.02.26 - 12.11.10.83
From this image the user_CurveAnimator.rbxmx is the plugin but I have to access it from the module scripts by script.Parent.Parent. if there is a better way to access it please let me know.

Yes,

local plugin = script:FindFirstAncestorWhichIsA("Plugin")

Not mine but forgot the source

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.