-
What do you want to achieve? Keep it simple and clear!
This is my first time making an admin gui all by myself soo id appreciate if you could give me feedback on what i could do, btw im aware of safety checks soo dont worry about that -
What is the issue? Include screenshots / videos if possible!
My admin gui its almost done the only thing im struggling with its getting the remote event from the commands module script -
What solutions have you tried so far? Did you look for solutions on the Creator Hub?
I tried searching on the devforum but i didnt find anything similar
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
These are the main scripts
Commands Module Script
local rs = game:GetService("ReplicatedStorage")
local AR_Folder = rs:WaitForChild("AdminRemotes")
local commands = {}
commands.Commands = {
"chaos",
"explode"
}
commands.Remotes = {
["chaos"] = AR_Folder:WaitForChild("chaos")
}
return commands
Submitt Local Script
local gui = script.Parent
local container = gui:WaitForChild("Container")
local panel_textbox = container:WaitForChild("Panel")
local commands = require(gui:WaitForChild("Commands"))
panel_textbox.FocusLost:Connect(function(enter)
if enter then
for _,command in pairs(commands.Commands) do
if panel_textbox.Text == command then
local remote = --part where i struggle
else
return
end
end
end
end)
