local Vuxel = require(game.ReplicatedStorage.Vuxel)
-- Define reactive state
local counter = Vuxel.State.new(0)
local CornerRad = {
Class = "UICorner", CornerRadius = UDim.new(0.02,0)
}
local Shadow = {
Class = "ImageLabel", Size = UDim2.new(1.1, 0, 1.047, 0)
}
--Main Player list
local List = {
Class = "Frame",
Name = "List",
Size = UDim2.new(0.28, 0, 1, 0),
BackgroundColor3 = Color3.fromRGB(18,18,18),
Children = {
CornerRad,
}
}
--Padding Used to make animation
local Padding = {
Class = "Frame",
Name = "Padding",
Size = UDim2.new(0.2, 0, 0.164, 0),
BackgroundTransparency = 1,
LayoutOrder = -1
}
--Profile Displayer
local Profile = {
Class = "Frame",
Name = "Profile",
Size = UDim2.new(0.263, 0, 1, 0),
BackgroundColor3 = Color3.fromRGB(17,17,17),
LayoutOrder = -2,
Children = {
CornerRad
}
}
local app = Vuxel.CreateApp(
Vuxel.Template(
{
Class = "Frame",
Size = UDim2.new(0.507, 0, 0.565, 0),
BackgroundTransparency = 1,
Position = UDim2.new(0.5, 0, 0.5, 0),
AnchorPoint = Vector2.new(0.5,0.5),
Children = {
{
Class = "UIListLayout",
HorizontalAlignment = Enum.HorizontalAlignment.Center,
VerticalAlignment = Enum.VerticalAlignment.Center,
FillDirection = Enum.FillDirection.Horizontal,
Padding = UDim.new(-0.21,0)
},
List,
Padding,
Profile
}
}
))
app.IgnoreGuiInset = true
why name is not applying to frames?