Scripts in plugins

What i’m trying to do: Make a setup GUI for one of my models.
The problem i’m having: UI Elements aren’t animating as they should.
Things i tried to make it work: Changing the parent of everything

If you want the plugin: simpleGatesimpleSetup.rbxmx (117.2 KB)

And to show how it would work: messing with ui - Roblox

2 Likes

Take a look on https://developer.roblox.com under the plugin tutorial. That has helpful instructions

That doesn’t talk about GUIs. It’s a basic plugin that creates a empty script and doesn’t require multiple scripts.

You’ll want to use the new stuff if you want an interface. Roblox a while back introduced docked widget plugins. Using a GUI can get in the way of the editor and can cause unwanted selecting for developers who are trying to use your plugin while working on anything in the background.

It’s supposed to be full screen, It’s a (hopefully) 1 time setup for something i made.

I’m unaware of any ability to animate a gui in a plugin. I myself haven’t seen anything on it or used any plugins that do so.

cough Archimedes 2 cough but then again thats a advanced plugin :wink:

Interesting. I guess that’s true.
I did some research. Make sure your gui is being parented to the CoreGui when the plugin runs. As for animating the interface, I’m unsure. I believe it’d be like a standard gui.

It’s animating open for me if I test it in my studio.
Also don’t ever upload assets to your place. If your imageId looks like rbxgameasset://Images/name you need to go get the actual ID from the roblox website otherwise users wont see any image.

It’s animating open however the textboxes aren’t acting as they should nor the buttons. I really don’t want to have to use 1 script for everything…