-
What do you want to achieve? Keep it simple and clear!
I’m working on custom console for command executing -
What is the issue? Include screenshots / videos if possible!
FocusLost doesn’t seem to fire -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tryed looking though posts but idk what cause this
DevConsole.OnClientEvent:Connect(function(Console)
local text = {
["name"] = "DEVELOPER CONSOLE",
["ConsoleLog"] = function (pName, pGroup, PNStatus, Access)
return 'Username: '..pName..'\nPermission Group: '..pGroup..'\nPeal Network Status: '..PNStatus..'\nAccess..'..Access
end
}
Console.MainFrame:TweenPosition(UDim2.new(0,0,0,0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quad, 0.5)
textAnimate(Console.MainFrame.NameFrame.TextLabel, text["name"])
textAnimate(Console.MainFrame.ConsoleFrame.TextLabel, text["ConsoleLog"](Console:GetAttribute("pName"), Console:GetAttribute("pGroup"), Console:GetAttribute("PNStatus"), Console:GetAttribute("Access")))
Console.MainFrame.ConsoleFrame.TextBox.FocusLost:Connect(function(ep)
if ep then
local text = Console.MainFrame.ConsoleFrame.TextBox.Text
print(text)
Command:FireServer(text)
end
end)
end)
Also this is LOCAL SCRIPT, don’t ask me if this is server, no this is local one.