I am trying to make a command with HD admin, I tried a server sided and a local sided version. Neither worker. I am trying to make it so when someone says the command, it will change a GUI to say "Your server is being hosted by" then (player stated/ args[1]). When I tried it local sided, the command didn't show up in the command list. When I tried it server sided, there was no function. Could you help please? I am using the client module, but there is the server part. (Here is the server sided part.)
{
Name = "host";
Aliases = {'ho'};
Prefixes = {settings.Prefix};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {'nonAbusive'};
Description = "Host a server!";
Contributors = {};
--
Args = {'Player'};
ClientCommand = true;
FireAllClients = true;
BlockWhenPunished = true;
Function = function(speaker, args)
end;
UnFunction = function(speaker, args)
end;
--
};
(This is the function in the client module.)
["host"] = {
Function = function(speaker, args)
local player = args[1]
game.StarterGui.Hostgui.TextLabel.Text = {'There is a fashion runway being hosted by:'.. player}
end;
};

2 comments
use a remotefunction
I am a horrible scripter, how exactly would you go about this? I tries watching a youtube video but it didn't work, and i was very confused.