[ SOLVED ] Admin Commands List error

Nothing but the Source print from a different script thats not effecting this.
And module assetid is from somthing else I need to update thats not affilated with this script.

image

Is this a serverscript inside a gui?

yes, it’s under the gui. the Commands Script has been moved but commands list is still there

Serverscripts shouldn’t be ran inside Gui objects. Another reason this could be failing is the code where you detect a click for ‘titlebutton’, the server cannot detect this click.

The subject of the post doesn’t really tell me what issue you’re having.

i mean its and localscript image

I think the issue is that it is displayig under it as he has shown me https://cdn.discordapp.com/attachments/593940722814812194/616475462952026132/unknown.png

Ah in that case, .PlayerAdded event is a real bad idea for the client as the event has a really high chance of not firing when the player themselves join, it’ll only fire for other players. Also, the client can only use :Kick onthemselves.

i know, Thats why I moved all the Commands script to a normal script into workspace.

Keep your important scripts out of workspace and put them into serverscriptservice.
Also, is your Gui constantly setting itself to false on its own even by being true before runtime without any other altercations by any other script?

ok, just move the position of the labels so it isnt under the first label?

its still not workin

image

image

What is the exact issue DrxpLoxs?

It’s not cloning and Making and GUI and Changing the text and making it visible.

You are not setting the parent for each commandexample.

Also use something like UDim2.new(1, -10, 0, 0) to change the position each time!

As you are not setting the parent for each commandexample, you’d want to add after you set it to visible below:

Command1.Parent = script.Parent.CommandList
Command2.Parent = script.Parent.CommandList

He’s using a gridlayout or listlayout object.

ty now its working

image

Make sure to set the post to solved! Good luck.

didnt see that when I looked! :slight_smile:

1 Like