So what I've been trying to do is whenever I say c/ it says running a script but it doesn't seem to space out the textlabels in the output. Can somebody please try to help me? I want it so that the text labels space out each time in my output. My own custom made one so that they don't overlap onto each other. I've tried adding the position but it doesn't seem to work.
game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg)
if msg:lower():sub(1,2) == "c/" then
local code = loadstring(msg:sub(3)) code()
local t = Instance.new("TextLabel",player:findFirstChild("PlayerGui").Output.Main)
t.BackgroundTransparency = 1
--UDim2.new(xscale,xoffset,yscale,yoffset)
t.Size=UDim2.new(0,200,0,50)
t.Text="Running a Script(Workspace.Script)"
t.TextWrapped=true
t.Position=UDim2.new(0,4,0,2)
t.Position=t.Position+UDim2.new(0,8,0,4)
t.TextColor3=Color3.new(0,170,255)
t.Visible = true
pcall(function() end)
pcall(function() end)
end
end)
end)

1 comment
Thank you a lot! My good friend. You response was so well educated. And full of knowledge!