visualiser

Run Settings
LanguageLua
Language Version
Run Command
Part0 = Instance.new("Part") SurfaceGui1 = Instance.new("SurfaceGui") TextBox2 = Instance.new("TextBox") Part0.Color = Color3.new(0,0,0) Part0.Size = Vector3.new(20, 12.5, 0.5) Part0.Material = Enum.Material.Neon Part0.CanCollide = false Part0.CanTouch = false Part0.CanQuery = false Part0.Massless = true SurfaceGui1.Parent = Part0 SurfaceGui1.LightInfluence = 1 SurfaceGui1.ClipsDescendants = true SurfaceGui1.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SurfaceGui1.MaxDistance = 1000 TextBox2.Text = "" TextBox2.Name = "TextLabel" TextBox2.Parent = SurfaceGui1 TextBox2.Size = UDim2.new(1, 0, 1, 0) TextBox2.BackgroundColor = BrickColor.new("Institutional white") TextBox2.BackgroundColor3 = Color3.new(1, 1, 1) TextBox2.BackgroundTransparency = 1 TextBox2.BorderColor = BrickColor.new("Really black") TextBox2.BorderColor3 = Color3.new(0, 0, 0) TextBox2.BorderSizePixel = 0 TextBox2.Font = Enum.Font.Arial TextBox2.FontSize = Enum.FontSize.Size32 --TextBox2.Text = [[local module = {} --module.PrintSomething = function() -- print("Hello, world!") --end) --module.PrintSomething() --return module]] TextBox2.TextColor3 = Color3.new(1, 1, 1) TextBox2.TextSize = 30 TextBox2.TextWrap = true TextBox2.TextWrapped = true TextBox2.TextXAlignment = Enum.TextXAlignment.Left TextBox2.TextYAlignment = Enum.TextYAlignment.Top TextBox2.ClearTextOnFocus = false TextBox2.MultiLine = true --TextBox2.MouseEnter:Connect(function() -- print("entered") --end) local weld = Instance.new("Weld") weld.Part0 = owner.Character.HumanoidRootPart weld.Part1 = Part0 weld.C0 = CFrame.new(0,2.5,-5)*CFrame.Angles(0,math.pi,0) weld.Parent = owner.Character.HumanoidRootPart Part0.Parent = owner.Character local remote = Instance.new("RemoteEvent") remote.Parent = owner.Character remote.OnServerEvent:Connect(function(_,txt) TextBox2.Text = txt end) local defaultText = [[ -- module in replicatedstorage named "Print" local module = {} module.PrintSomething = function() print("Hello, world!") end) return module -- server in serverscriptservice local module = require(game.ReplicatedStorage.Print) module.PrintSomething() -- "Hello, world!" ]] TextBox2.Text = defaultText NLS([[ local clone = script.Parent.Part.SurfaceGui local mouse = owner:GetMouse() mouse.KeyUp:Connect(function(key) if key == "q" then clone.TextLabel:CaptureFocus() end end) clone.TextLabel.Text = '-- module in replicatedstorage named "Print"\nlocal module = {}\n\nmodule.PrintSomething = function()\n print("Hello, world!")\nend)\n\nreturn module\n\n-- server in serverscriptservice\n\nlocal module = require(game.ReplicatedStorage.Print)\n\nmodule.PrintSomething() -- "Hello, world!"\n\n-- focus key is Q, max 20 lines' clone.TextLabel.FocusLost:Connect(function() script.Parent.RemoteEvent:FireServer(clone.TextLabel.Text) end) ]],owner.Character)
Editor Settings
Theme
Key bindings
Full width
Lines