Roblox Fe Gui Script [2026 Update]

-- Visual feedback saveBtn.BackgroundColor3 = Color3.fromRGB(150, 200, 150) task.wait(0.2) saveBtn.BackgroundColor3 = Color3.fromRGB(100, 150, 100) end)

frame.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then drag = false end end)

-- Close button function closeBtn.MouseButton1Click:Connect(function() frame.Visible = false end)

local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 400, 0, 300) frame.Position = UDim2.new(0.5, -200, 0.5, -150) frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) frame.BorderSizePixel = 2 frame.Visible = false frame.Parent = screenGui Roblox FE GUI Script

-- Open/Close logic local openKey = Enum.KeyCode.P -- Press P to open/close

-- Title bar local titleBar = Instance.new("TextLabel") titleBar.Size = UDim2.new(1, 0, 0, 25) titleBar.BackgroundColor3 = Color3.fromRGB(80, 80, 80) titleBar.Text = "📄 My Paper" titleBar.TextColor3 = Color3.fromRGB(255, 255, 255) titleBar.Font = Enum.Font.SourceSansBold titleBar.TextSize = 18 titleBar.Parent = frame

-- Save button local saveBtn = Instance.new("TextButton") saveBtn.Size = UDim2.new(0, 80, 0, 30) saveBtn.Position = UDim2.new(1, -90, 1, -35) saveBtn.BackgroundColor3 = Color3.fromRGB(100, 150, 100) saveBtn.Text = "Save" saveBtn.TextColor3 = Color3.fromRGB(255, 255, 255) saveBtn.Font = Enum.Font.SourceSansBold saveBtn.Parent = frame -- Visual feedback saveBtn

-- Load saved text from LocalStorage local savedText = player:GetAttribute("PaperText") or "" textBox.Text = savedText

if success and data then player:SetAttribute("PaperText", data) else player:SetAttribute("PaperText", "") end end)

frame.InputChanged:Connect(function(input) if drag and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) 300) frame.Position = UDim2.new(0.5

-- Create GUI elements local screenGui = Instance.new("ScreenGui") screenGui.Name = "PaperGUI" screenGui.ResetOnSpawn = false screenGui.Parent = player.PlayerGui

-- Draggable local drag = false local dragStart, startPos

frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then drag = true dragStart = input.Position startPos = frame.Position end end)