https://gyazo.com/d1156533ce593a8968e85eda4086085b
I use textbounds to know where to place the message textlabel, so that the player can have its own color. But when it gets resized, it breaks, see GIF. How would I fix this?
local Message = Instance.new("TextLabel", ChatLogsGUI)
Message.Text = "["..tostring(Player).."]"..": "
Message.TextScaled = true
Message.TextColor3 = Color3.new(1,1,1)
Message.Size = UDim2.new(0.5,0,0.012,0)
Message.Position = UDim2.new(0,0,0,0)
Message.TextXAlignment = Enum.TextXAlignment.Left
Message.BackgroundTransparency = 1
Message.TextTransparency = 0
Message.BorderSizePixel = 0
local Message2 = Instance.new("TextLabel", Message)
Message2.Text = Messager
Message2.TextScaled = true
Message2.TextColor3 = Color3.new(1,1,1)
Message2.Size = UDim2.new(10,0,1,0)
Message2.Position = UDim2.new(0,Message.TextBounds.X,0,0)
Message2.TextXAlignment = Enum.TextXAlignment.Left
Message2.BackgroundTransparency = 1
Message2.TextTransparency = 0
Message2.BorderSizePixel = 0
Message2.Name = "Dos"
^Script that creates the textlabels
