- Make a ScreenGui in StarterGui
- Add a test local script inside.
You can use Quark.New
to create a new Instance. It takes a string (ClassName). You can then call it again with a table, to set properties.
-- Require the Quark module and the `New` function
local Quark = require(ReplicatedStorage.Quark)
local New = Quark.New
New "Frame" {
Parent = script.Parent, -- Set properties inside
Size = UDim2.fromOffset(100, 100),
BackgroundColor3 = Color3.new(1,0,0)
}
There's way more stuff you can do with this. But for more concise info on the New
object, look at
Chapter 2: New