Help with plugin!

I am trying to play animations in my plugin and it works if it is in starter GUI but when it is in coreGUI it never player, it uses viewport frames and world models any help?

it uses the basic animator:loadanimation() method and animation:Play()

You cannot interact with CoreGUI or make any changes to it at all ; Viewport does not support animations.

u actually can use core gui in plugins

He is saying that it doesn’t work on the client/server side. Please read the context of his question first.

It is obvious that everything will work in the plugin, but not in the game.

u said u can’t make any changes at all but yes

Does your viewport frame have a WorldModel in it, with your character in it? Also, can you show the difference between what happens when it’s in StarterGui vs CoreGui? You should also not put plugin UI in StarterGui.

1 Like

Editing something without being able to save it will not result in any actual changes. So, in fact, I said everything correctly, and I don’t see the point in discussing “what if” scenarios.

yes, however adding children via a plugin is a change

gl with at least DOING SOMETHING with added children! :joy::joy:

i’m not sure what u mean by that but

@Spa_rkk, instead of trying to run it as a server script which I’m not sure why you would think it would work, but there are ways to debug your plugins like actually loading the plugin?

I am publishing the plugin but I am saying that I used the same setup in a reghular GUI and it worked but not in core gui

Yes you can, at least on the server

I use a world model to allow animations

I did not I am using coreGui

but when I grabbed the code and changed it into a regular GUI it worked

What is the point if it works perfectly in the studio but fails in the game (client)? :thinking: Also, please provide a more specific question to avoid misunderstandings when asking it.

1 Like

also, please don’t try to implement custom windows, as this causes lack of features such as docking and generally provides a worse experience.

tl;dr: don’t use coregui except for features which benefit from not being in a window, for example notifications that need to work whether or not the user has it open

1 Like

I never said it fails in the client, I said it fails in core gui witch is what plugin guis use

I have figured out a good way of using custom windows.

I know this

Try to think why it doesn’t work on CoreGUI and works on StarterGUI.

“good way”

its such a good way that it’s not working at all

The custom windows work fine it is the animations not playing everything else in it works