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