Written for Luau.
Highlighting follows Luau rather than stock Lua: continue is a keyword, backtick strings are recognised, and Roblox names like workspace, Vector3 and task get their own colour. Find opens in the corner, and Ctrl+click adds a cursor.
-- Creates a part and fades it between two colours.local TweenService = game:GetService("TweenService")local part = Instance.new("Part")part.Anchored = truepart.Size = Vector3.new(4, 4, 4)part.Position = Vector3.new(0, 6, 0)part.Color = Color3.fromRGB(186, 123, 234)part.Parent = workspacelocal info = TweenInfo.new(2, Enum.EasingStyle.Sine)local goal = { Color = Color3.fromRGB(96, 160, 220) }TweenService:Create(part, info, goal):Play()