#trying to make an executable command in chat.

1 messages · Page 1 of 1 (latest)

granite bluff
#

!starttraining to begin a training makes a new tab in the chat box and !endtrainining to destroy it. i have a local script in startplayerscipts. I have a server script in serverscriptservice to handle who can runthis command. I have a remoteevent in repstorage called CreateTrainingChannel. And finally i have 2 TextChatCommands in TExtChatService called StartTraining and EndTraining and both have their respective PrimariAlias. Problem is, its simply not creating a new text channel

dawn flare
#

im not sure if creating new things as a localscript makes sense (btw im also new to scripting) but if you know how to try and move the

local newChannel = Instance.New("TextChannel")
newChannel.Name = "Training"
newChannel.Parent = TextChatService

part of ur script to a server script and not a local script

#

tho i dont know anything about text chat service

#

it could be all local im not sure

rare fable
#

So after the server event,

#

its a lil confusing but you can't check for that, only in localscript