Console "app" module

A module for creating consoles in a game.

Usage example:

-- // Load the module
local ConsoleAPI = require(PathToModule)
-- // Create a new console
local Console = ConsoleAPI.new()
-- // Set console visible
Console:SetVisible(true)
-- // Print a message (without new line)
Console:Print("Hello World!")
-- // Print a message (with a new line)
Console:Println("Hello World!")
-- // Set console title
Console:SetTitle("ConsoleApp.exe")
-- // Set console image
Console:SetImage("rbxassetid://69420")
-- // Set console text
Console:SetText(":Text:")
-- // Clear console text
Console:Clear()
-- // Set console text size
Console:SetTextSize(14)
-- // Set console background color
Console:SetBackgroundColor(Color3.new(0, 0, 0))
-- // Set console text color
Console:SetTextColor(Color3.new(1, 1, 1))
-- // Set console parent
Console:SetParent(game)
-- // Get input from console
local text = Console:GetInput()
print(text)
-- // Destroy the console
Console:Destroy()

some thingy i made:
image

Module link: https://create.roblox.com/marketplace/asset/13669041288/ConsoleAPI

1 Like

So what is this exactly used for? I’m still not sure on what this does.

1 Like

windows like console application inside roblox for anything

2 Likes

The Draggable property was deprecated years ago and really shouldn’t be used; you should use this instead.

image

1 Like

it still works if you also set “Active” to true

your module might break any time unfortunately