local workspace = game:GetService("WorkSpace")
local root= SandboxNode.New('UIRoot', workspace)
local petNameText = SandboxNode.New('UITextInput', root)
petNameText.Name = "PetNameText"
petNameText.Size = Vector2.New(120, 50)
petNameText.Position = Vector2.New(400, 250)
petNameText.Visible = true
petNameText.FillColor = ColorQuad.New(97, 151, 230, 255)
petNameText.TextVAlignment = Enum.TextVAlignment.Center
petNameText.TextHAlignment = Enum.TextHAlignment.Center
petNameText.Title = "宠物狼"
petNameText.MaxLength = 20
petNameText.FontSize = 25