-- Toggle GUI with P key mouse.KeyDown:Connect(function(key) if key == string.char(openKey.Value) then frame.Visible = not frame.Visible if frame.Visible then -- Refresh text from attribute textBox.Text = player:GetAttribute("PaperText") or "" end end end)
-- Visual feedback saveBtn.BackgroundColor3 = Color3.fromRGB(150, 200, 150) task.wait(0.2) saveBtn.BackgroundColor3 = Color3.fromRGB(100, 150, 100) end)
-- Initially show tutorial hint local hint = Instance.new("TextLabel") hint.Size = UDim2.new(0, 200, 0, 30) hint.Position = UDim2.new(1, -210, 1, -40) hint.BackgroundColor3 = Color3.fromRGB(0, 0, 0, 180) hint.Text = "Press P to open paper" hint.TextColor3 = Color3.fromRGB(255, 255, 255) hint.Font = Enum.Font.SourceSans hint.TextSize = 14 hint.Parent = screenGui
-- Toggle GUI with P key mouse.KeyDown:Connect(function(key) if key == string.char(openKey.Value) then frame.Visible = not frame.Visible if frame.Visible then -- Refresh text from attribute textBox.Text = player:GetAttribute("PaperText") or "" end end end)
-- Visual feedback saveBtn.BackgroundColor3 = Color3.fromRGB(150, 200, 150) task.wait(0.2) saveBtn.BackgroundColor3 = Color3.fromRGB(100, 150, 100) end)
-- Initially show tutorial hint local hint = Instance.new("TextLabel") hint.Size = UDim2.new(0, 200, 0, 30) hint.Position = UDim2.new(1, -210, 1, -40) hint.BackgroundColor3 = Color3.fromRGB(0, 0, 0, 180) hint.Text = "Press P to open paper" hint.TextColor3 = Color3.fromRGB(255, 255, 255) hint.Font = Enum.Font.SourceSans hint.TextSize = 14 hint.Parent = screenGui