Unassign Command Using SimpleAdmin

I am trying to make a command that removes a certain Billboard GUI from a players head. I am using SimpleAdmin.

1 Like

Alright, so what is the problem?

1 Like

So, I want to know how to make an unassign script using SimpleAdmin. Here is what i have so far.

Commands, Service, Config = nil, nil, nil

return function()
	Commands.Create({
		Name = "Host"; -- Name of the command
		Aliases = {}; -- Aliases (other ways to execute the command)
		Prefix = ":"; -- You can set a custom prefix for this command. (Defaults to config prefix)
		Level = 3; -- Minimum level required to execute the command. (0 - Guest | 1 - Moderator | 2 - Admin | 3 - Owner | 4 - Developer)
		Disabled = false; -- Set to false to enable the command.
		Category = "Training Commands";-- Commands' category (Misc by default)
		Args = {
			{
				Name = "Target",
				Type = "player"
				
			}

		};
		Run = function(plr, args)
			--This is where the unassign script goes
			
		end
		
	})
	end
1 Like

So what are you trying to achieve and what is going wrong?

I don’t know what an unassign script is?

1 Like

It removes a certain billboard gui

1 Like

It’s for my session commands.

1 Like

Ok, so what is the current problem? What’s not working.

1 Like

I don’t know how to make it./

1 Like

Ok, is it removing it from a players head?

1 Like

Yes. The Billboard Gui is

game.ServerStorage.OverHeadGUI
1 Like

Nevermind, I figured it out.

I did this

args.Target.Head.OverHeadGUI
:Destroy()
1 Like

Mark your post the solution, yeh?

1 Like

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