keyboard
Key RequiredUniversal

keyboard

Universal Scriptonionrzonionrz 8.5K views 36 executesUpdated Nov 3, 2025
0.0/ 5(1 votes)
010% Positive
Lua Script•1231 lines (40851 chars)
-- Gui to Lua
-- Version: 3.2

-- Instances:

local ScreenGui = Instance.new("ScreenGui")
local PCKeyboard = Instance.new("Frame")
local EscButton = Instance.new("TextButton")
local F1Button = Instance.new("TextButton")
local F2Button = Instance.new("TextButton")
local F3Button = Instance.new("TextButton")
local F4Button = Instance.new("TextButton")
local F5Button = Instance.new("TextButton")
local F6Button = Instance.new("TextButton")
local F7Button = Instance.new("TextButton")
local F8Button = Instance.new("TextButton")
local F9Button = Instance.new("TextButton")
local F10Button = Instance.new("TextButton")
local F11Button = Instance.new("TextButton")
local F12Button = Instance.new("TextButton")
local Button = Instance.new("TextButton")
local _1Button = Instance.new("TextButton")
local _2Button = Instance.new("TextButton")
local _3Button = Instance.new("TextButton")
local _4Button = Instance.new("TextButton")
local _5Button = Instance.new("TextButton")
local _6Button = Instance.new("TextButton")
local _7Button = Instance.new("TextButton")
local _8Button = Instance.new("TextButton")
local _9Button = Instance.new("TextButton")
local _0Button = Instance.new("TextButton")
local Button_2 = Instance.new("TextButton")
local Button_3 = Instance.new("TextButton")
local BackspaceButton = Instance.new("TextButton")
local TabButton = Instance.new("TextButton")
local QButton = Instance.new("TextButton")
local WButton = Instance.new("TextButton")
local EButton = Instance.new("TextButton")
local RButton = Instance.new("TextButton")
local TButton = Instance.new("TextButton")
local YButton = Instance.new("TextButton")
local UButton = Instance.new("TextButton")
local IButton = Instance.new("TextButton")
local OButton = Instance.new("TextButton")
local PButton = Instance.new("TextButton")
local Button_4 = Instance.new("TextButton")
local Button_5 = Instance.new("TextButton")
local Button_6 = Instance.new("TextButton")
local CapsButton = Instance.new("TextButton")
local AButton = Instance.new("TextButton")
local SButton = Instance.new("TextButton")
local DButton = Instance.new("TextButton")
local FButton = Instance.new("TextButton")
local GButton = Instance.new("TextButton")
local HButton = Instance.new("TextButton")
local JButton = Instance.new("TextButton")
local KButton = Instance.new("TextButton")
local LButton = Instance.new("TextButton")
local Button_7 = Instance.new("TextButton")
local Button_8 = Instance.new("TextButton")
local EnterButton = Instance.new("TextButton")
local ShiftButton = Instance.new("TextButton")
local ZButton = Instance.new("TextButton")
local XButton = Instance.new("TextButton")
local CButton = Instance.new("TextButton")
local VButton = Instance.new("TextButton")
local BButton = Instance.new("TextButton")
local NButton = Instance.new("TextButton")
local MButton = Instance.new("TextButton")
local Button_9 = Instance.new("TextButton")
local Button_10 = Instance.new("TextButton")
local Button_11 = Instance.new("TextButton")
local ShiftButton_2 = Instance.new("TextButton")
local CtrlButton = Instance.new("TextButton")
local WinButton = Instance.new("TextButton")
local AltButton = Instance.new("TextButton")
local SpaceButton = Instance.new("TextButton")
local AltButton_2 = Instance.new("TextButton")
local FnButton = Instance.new("TextButton")
local MenuButton = Instance.new("TextButton")
local CtrlButton_2 = Instance.new("TextButton")
local PCMouse = Instance.new("Frame")
local MouseBody = Instance.new("Frame")
local UICorner = Instance.new("UICorner")
local LeftButton = Instance.new("TextButton")
local UICorner_2 = Instance.new("UICorner")
local RightButton = Instance.new("TextButton")
local UICorner_3 = Instance.new("UICorner")
local ScrollWheel = Instance.new("Frame")
local UICorner_4 = Instance.new("UICorner")
local TextLabel = Instance.new("TextLabel")
local Frame = Instance.new("Frame")

--Properties:

ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

PCKeyboard.Name = "PCKeyboard"
PCKeyboard.Parent = ScreenGui
PCKeyboard.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
PCKeyboard.BorderSizePixel = 2
PCKeyboard.Position = UDim2.new(0.854465961, -350, 0.0196209308, 0)
PCKeyboard.Size = UDim2.new(0, 538, 0, 195)

EscButton.Name = "EscButton"
EscButton.Parent = PCKeyboard
EscButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
EscButton.Position = UDim2.new(0, 7, 0, 8)
EscButton.Size = UDim2.new(0, 30, 0, 27)
EscButton.Font = Enum.Font.SourceSansBold
EscButton.Text = "Esc"
EscButton.TextColor3 = Color3.fromRGB(255, 255, 255)
EscButton.TextScaled = true
EscButton.TextSize = 18.000
EscButton.TextWrapped = true

F1Button.Name = "F1Button"
F1Button.Parent = PCKeyboard
F1Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
F1Button.Position = UDim2.new(0, 42, 0, 8)
F1Button.Size = UDim2.new(0, 30, 0, 27)
F1Button.Font = Enum.Font.SourceSansBold
F1Button.Text = "F1"
F1Button.TextColor3 = Color3.fromRGB(255, 255, 255)
F1Button.TextScaled = true
F1Button.TextSize = 18.000
F1Button.TextWrapped = true

F2Button.Name = "F2Button"
F2Button.Parent = PCKeyboard
F2Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
F2Button.Position = UDim2.new(0, 76, 0, 8)
F2Button.Size = UDim2.new(0, 30, 0, 27)
F2Button.Font = Enum.Font.SourceSansBold
F2Button.Text = "F2"
F2Button.TextColor3 = Color3.fromRGB(255, 255, 255)
F2Button.TextScaled = true
F2Button.TextSize = 18.000
F2Button.TextWrapped = true

F3Button.Name = "F3Button"
F3Button.Parent = PCKeyboard
F3Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
F3Button.Position = UDim2.new(0, 111, 0, 8)
F3Button.Size = UDim2.new(0, 30, 0, 27)
F3Button.Font = Enum.Font.SourceSansBold
F3Button.Text = "F3"
F3Button.TextColor3 = Color3.fromRGB(255, 255, 255)
F3Button.TextScaled = true
F3Button.TextSize = 18.000
F3Button.TextWrapped = true

F4Button.Name = "F4Button"
F4Button.Parent = PCKeyboard
F4Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
F4Button.Position = UDim2.new(0, 145, 0, 8)
F4Button.Size = UDim2.new(0, 30, 0, 27)
F4Button.Font = Enum.Font.SourceSansBold
F4Button.Text = "F4"
F4Button.TextColor3 = Color3.fromRGB(255, 255, 255)
F4Button.TextScaled = true
F4Button.TextSize = 18.000
F4Button.TextWrapped = true

F5Button.Name = "F5Button"
F5Button.Parent = PCKeyboard
F5Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
F5Button.Position = UDim2.new(0, 180, 0, 8)
F5Button.Size = UDim2.new(0, 30, 0, 27)
F5Button.Font = Enum.Font.SourceSansBold
F5Button.Text = "F5"
F5Button.TextColor3 = Color3.fromRGB(255, 255, 255)
F5Button.TextScaled = true
F5Button.TextSize = 18.000
F5Button.TextWrapped = true

F6Button.Name = "F6Button"
F6Button.Parent = PCKeyboard
F6Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
F6Button.Position = UDim2.new(0, 215, 0, 8)
F6Button.Size = UDim2.new(0, 30, 0, 27)
F6Button.Font = Enum.Font.SourceSansBold
F6Button.Text = "F6"
F6Button.TextColor3 = Color3.fromRGB(255, 255, 255)
F6Button.TextScaled = true
F6Button.TextSize = 18.000
F6Button.TextWrapped = true

F7Button.Name = "F7Button"
F7Button.Parent = PCKeyboard
F7Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
F7Button.Position = UDim2.new(0, 249, 0, 8)
F7Button.Size = UDim2.new(0, 30, 0, 27)
F7Button.Font = Enum.Font.SourceSansBold
F7Button.Text = "F7"
F7Button.TextColor3 = Color3.fromRGB(255, 255, 255)
F7Button.TextScaled = true
F7Button.TextSize = 18.000
F7Button.TextWrapped = true

F8Button.Name = "F8Button"
F8Button.Parent = PCKeyboard
F8Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
F8Button.Position = UDim2.new(0, 284, 0, 8)
F8Button.Size = UDim2.new(0, 30, 0, 27)
F8Button.Font = Enum.Font.SourceSansBold
F8Button.Text = "F8"
F8Button.TextColor3 = Color3.fromRGB(255, 255, 255)
F8Button.TextScaled = true
F8Button.TextSize = 18.000
F8Button.TextWrapped = true

F9Button.Name = "F9Button"
F9Button.Parent = PCKeyboard
F9Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
F9Button.Position = UDim2.new(0, 319, 0, 8)
F9Button.Size = UDim2.new(0, 30, 0, 27)
F9Button.Font = Enum.Font.SourceSansBold
F9Button.Text = "F9"
F9Button.TextColor3 = Color3.fromRGB(255, 255, 255)
F9Button.TextScaled = true
F9Button.TextSize = 18.000
F9Button.TextWrapped = true

F10Button.Name = "F10Button"
F10Button.Parent = PCKeyboard
F10Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
F10Button.Position = UDim2.new(0, 353, 0, 8)
F10Button.Size = UDim2.new(0, 30, 0, 27)
F10Button.Font = Enum.Font.SourceSansBold
F10Button.Text = "F10"
F10Button.TextColor3 = Color3.fromRGB(255, 255, 255)
F10Button.TextScaled = true
F10Button.TextSize = 18.000
F10Button.TextWrapped = true

F11Button.Name = "F11Button"
F11Button.Parent = PCKeyboard
F11Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
F11Button.Position = UDim2.new(0, 388, 0, 8)
F11Button.Size = UDim2.new(0, 30, 0, 27)
F11Button.Font = Enum.Font.SourceSansBold
F11Button.Text = "F11"
F11Button.TextColor3 = Color3.fromRGB(255, 255, 255)
F11Button.TextScaled = true
F11Button.TextSize = 18.000
F11Button.TextWrapped = true

F12Button.Name = "F12Button"
F12Button.Parent = PCKeyboard
F12Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
F12Button.Position = UDim2.new(0, 422, 0, 8)
F12Button.Size = UDim2.new(0, 30, 0, 27)
F12Button.Font = Enum.Font.SourceSansBold
F12Button.Text = "F12"
F12Button.TextColor3 = Color3.fromRGB(255, 255, 255)
F12Button.TextScaled = true
F12Button.TextSize = 18.000
F12Button.TextWrapped = true

Button.Name = "`Button"
Button.Parent = PCKeyboard
Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
Button.Position = UDim2.new(0, 7, 0, 39)
Button.Size = UDim2.new(0, 30, 0, 27)
Button.Font = Enum.Font.SourceSansBold
Button.Text = "`"
Button.TextColor3 = Color3.fromRGB(255, 255, 255)
Button.TextScaled = true
Button.TextSize = 18.000
Button.TextWrapped = true

_1Button.Name = "1Button"
_1Button.Parent = PCKeyboard
_1Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
_1Button.Position = UDim2.new(0, 42, 0, 39)
_1Button.Size = UDim2.new(0, 30, 0, 27)
_1Button.Font = Enum.Font.SourceSansBold
_1Button.Text = "1"
_1Button.TextColor3 = Color3.fromRGB(255, 255, 255)
_1Button.TextScaled = true
_1Button.TextSize = 18.000
_1Button.TextWrapped = true

_2Button.Name = "2Button"
_2Button.Parent = PCKeyboard
_2Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
_2Button.Position = UDim2.new(0, 76, 0, 39)
_2Button.Size = UDim2.new(0, 30, 0, 27)
_2Button.Font = Enum.Font.SourceSansBold
_2Button.Text = "2"
_2Button.TextColor3 = Color3.fromRGB(255, 255, 255)
_2Button.TextScaled = true
_2Button.TextSize = 18.000
_2Button.TextWrapped = true

_3Button.Name = "3Button"
_3Button.Parent = PCKeyboard
_3Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
_3Button.Position = UDim2.new(0, 111, 0, 39)
_3Button.Size = UDim2.new(0, 30, 0, 27)
_3Button.Font = Enum.Font.SourceSansBold
_3Button.Text = "3"
_3Button.TextColor3 = Color3.fromRGB(255, 255, 255)
_3Button.TextScaled = true
_3Button.TextSize = 18.000
_3Button.TextWrapped = true

_4Button.Name = "4Button"
_4Button.Parent = PCKeyboard
_4Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
_4Button.Position = UDim2.new(0, 145, 0, 39)
_4Button.Size = UDim2.new(0, 30, 0, 27)
_4Button.Font = Enum.Font.SourceSansBold
_4Button.Text = "4"
_4Button.TextColor3 = Color3.fromRGB(255, 255, 255)
_4Button.TextScaled = true
_4Button.TextSize = 18.000
_4Button.TextWrapped = true

_5Button.Name = "5Button"
_5Button.Parent = PCKeyboard
_5Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
_5Button.Position = UDim2.new(0, 180, 0, 39)
_5Button.Size = UDim2.new(0, 30, 0, 27)
_5Button.Font = Enum.Font.SourceSansBold
_5Button.Text = "5"
_5Button.TextColor3 = Color3.fromRGB(255, 255, 255)
_5Button.TextScaled = true
_5Button.TextSize = 18.000
_5Button.TextWrapped = true

_6Button.Name = "6Button"
_6Button.Parent = PCKeyboard
_6Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
_6Button.Position = UDim2.new(0, 215, 0, 39)
_6Button.Size = UDim2.new(0, 30, 0, 27)
_6Button.Font = Enum.Font.SourceSansBold
_6Button.Text = "6"
_6Button.TextColor3 = Color3.fromRGB(255, 255, 255)
_6Button.TextScaled = true
_6Button.TextSize = 18.000
_6Button.TextWrapped = true

_7Button.Name = "7Button"
_7Button.Parent = PCKeyboard
_7Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
_7Button.Position = UDim2.new(0, 249, 0, 39)
_7Button.Size = UDim2.new(0, 30, 0, 27)
_7Button.Font = Enum.Font.SourceSansBold
_7Button.Text = "7"
_7Button.TextColor3 = Color3.fromRGB(255, 255, 255)
_7Button.TextScaled = true
_7Button.TextSize = 18.000
_7Button.TextWrapped = true

_8Button.Name = "8Button"
_8Button.Parent = PCKeyboard
_8Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
_8Button.Position = UDim2.new(0, 284, 0, 39)
_8Button.Size = UDim2.new(0, 30, 0, 27)
_8Button.Font = Enum.Font.SourceSansBold
_8Button.Text = "8"
_8Button.TextColor3 = Color3.fromRGB(255, 255, 255)
_8Button.TextScaled = true
_8Button.TextSize = 18.000
_8Button.TextWrapped = true

_9Button.Name = "9Button"
_9Button.Parent = PCKeyboard
_9Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
_9Button.Position = UDim2.new(0, 319, 0, 39)
_9Button.Size = UDim2.new(0, 30, 0, 27)
_9Button.Font = Enum.Font.SourceSansBold
_9Button.Text = "9"
_9Button.TextColor3 = Color3.fromRGB(255, 255, 255)
_9Button.TextScaled = true
_9Button.TextSize = 18.000
_9Button.TextWrapped = true

_0Button.Name = "0Button"
_0Button.Parent = PCKeyboard
_0Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
_0Button.Position = UDim2.new(0, 353, 0, 39)
_0Button.Size = UDim2.new(0, 30, 0, 27)
_0Button.Font = Enum.Font.SourceSansBold
_0Button.Text = "0"
_0Button.TextColor3 = Color3.fromRGB(255, 255, 255)
_0Button.TextScaled = true
_0Button.TextSize = 18.000
_0Button.TextWrapped = true

Button_2.Name = "-Button"
Button_2.Parent = PCKeyboard
Button_2.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
Button_2.Position = UDim2.new(0, 388, 0, 39)
Button_2.Size = UDim2.new(0, 30, 0, 27)
Button_2.Font = Enum.Font.SourceSansBold
Button_2.Text = "-"
Button_2.TextColor3 = Color3.fromRGB(255, 255, 255)
Button_2.TextScaled = true
Button_2.TextSize = 18.000
Button_2.TextWrapped = true

Button_3.Name = "=Button"
Button_3.Parent = PCKeyboard
Button_3.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
Button_3.Position = UDim2.new(0, 422, 0, 39)
Button_3.Size = UDim2.new(0, 30, 0, 27)
Button_3.Font = Enum.Font.SourceSansBold
Button_3.Text = "="
Button_3.TextColor3 = Color3.fromRGB(255, 255, 255)
Button_3.TextScaled = true
Button_3.TextSize = 18.000
Button_3.TextWrapped = true

BackspaceButton.Name = "BackspaceButton"
BackspaceButton.Parent = PCKeyboard
BackspaceButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
BackspaceButton.Position = UDim2.new(0, 457, 0, 39)
BackspaceButton.Size = UDim2.new(0, 60, 0, 27)
BackspaceButton.Font = Enum.Font.SourceSansBold
BackspaceButton.Text = "Backspace"
BackspaceButton.TextColor3 = Color3.fromRGB(255, 255, 255)
BackspaceButton.TextScaled = true
BackspaceButton.TextSize = 18.000
BackspaceButton.TextWrapped = true

TabButton.Name = "TabButton"
TabButton.Parent = PCKeyboard
TabButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
TabButton.Position = UDim2.new(0, 7, 0, 71)
TabButton.Size = UDim2.new(0, 45, 0, 27)
TabButton.Font = Enum.Font.SourceSansBold
TabButton.Text = "Tab"
TabButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TabButton.TextScaled = true
TabButton.TextSize = 18.000
TabButton.TextWrapped = true

QButton.Name = "QButton"
QButton.Parent = PCKeyboard
QButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
QButton.Position = UDim2.new(0, 57, 0, 71)
QButton.Size = UDim2.new(0, 30, 0, 27)
QButton.Font = Enum.Font.SourceSansBold
QButton.Text = "Q"
QButton.TextColor3 = Color3.fromRGB(255, 255, 255)
QButton.TextScaled = true
QButton.TextSize = 18.000
QButton.TextWrapped = true

WButton.Name = "WButton"
WButton.Parent = PCKeyboard
WButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
WButton.Position = UDim2.new(0, 91, 0, 71)
WButton.Size = UDim2.new(0, 30, 0, 27)
WButton.Font = Enum.Font.SourceSansBold
WButton.Text = "W"
WButton.TextColor3 = Color3.fromRGB(255, 255, 255)
WButton.TextScaled = true
WButton.TextSize = 18.000
WButton.TextWrapped = true

EButton.Name = "EButton"
EButton.Parent = PCKeyboard
EButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
EButton.Position = UDim2.new(0, 126, 0, 71)
EButton.Size = UDim2.new(0, 30, 0, 27)
EButton.Font = Enum.Font.SourceSansBold
EButton.Text = "E"
EButton.TextColor3 = Color3.fromRGB(255, 255, 255)
EButton.TextScaled = true
EButton.TextSize = 18.000
EButton.TextWrapped = true

RButton.Name = "RButton"
RButton.Parent = PCKeyboard
RButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
RButton.Position = UDim2.new(0, 161, 0, 71)
RButton.Size = UDim2.new(0, 30, 0, 27)
RButton.Font = Enum.Font.SourceSansBold
RButton.Text = "R"
RButton.TextColor3 = Color3.fromRGB(255, 255, 255)
RButton.TextScaled = true
RButton.TextSize = 18.000
RButton.TextWrapped = true

TButton.Name = "TButton"
TButton.Parent = PCKeyboard
TButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
TButton.Position = UDim2.new(0, 195, 0, 71)
TButton.Size = UDim2.new(0, 30, 0, 27)
TButton.Font = Enum.Font.SourceSansBold
TButton.Text = "T"
TButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TButton.TextScaled = true
TButton.TextSize = 18.000
TButton.TextWrapped = true

YButton.Name = "YButton"
YButton.Parent = PCKeyboard
YButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
YButton.Position = UDim2.new(0, 230, 0, 71)
YButton.Size = UDim2.new(0, 30, 0, 27)
YButton.Font = Enum.Font.SourceSansBold
YButton.Text = "Y"
YButton.TextColor3 = Color3.fromRGB(255, 255, 255)
YButton.TextScaled = true
YButton.TextSize = 18.000
YButton.TextWrapped = true

UButton.Name = "UButton"
UButton.Parent = PCKeyboard
UButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
UButton.Position = UDim2.new(0, 264, 0, 71)
UButton.Size = UDim2.new(0, 30, 0, 27)
UButton.Font = Enum.Font.SourceSansBold
UButton.Text = "U"
UButton.TextColor3 = Color3.fromRGB(255, 255, 255)
UButton.TextScaled = true
UButton.TextSize = 18.000
UButton.TextWrapped = true

IButton.Name = "IButton"
IButton.Parent = PCKeyboard
IButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
IButton.Position = UDim2.new(0, 299, 0, 71)
IButton.Size = UDim2.new(0, 30, 0, 27)
IButton.Font = Enum.Font.SourceSansBold
IButton.Text = "I"
IButton.TextColor3 = Color3.fromRGB(255, 255, 255)
IButton.TextScaled = true
IButton.TextSize = 18.000
IButton.TextWrapped = true

OButton.Name = "OButton"
OButton.Parent = PCKeyboard
OButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
OButton.Position = UDim2.new(0, 334, 0, 71)
OButton.Size = UDim2.new(0, 30, 0, 27)
OButton.Font = Enum.Font.SourceSansBold
OButton.Text = "O"
OButton.TextColor3 = Color3.fromRGB(255, 255, 255)
OButton.TextScaled = true
OButton.TextSize = 18.000
OButton.TextWrapped = true

PButton.Name = "PButton"
PButton.Parent = PCKeyboard
PButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
PButton.Position = UDim2.new(0, 368, 0, 71)
PButton.Size = UDim2.new(0, 30, 0, 27)
PButton.Font = Enum.Font.SourceSansBold
PButton.Text = "P"
PButton.TextColor3 = Color3.fromRGB(255, 255, 255)
PButton.TextScaled = true
PButton.TextSize = 18.000
PButton.TextWrapped = true

Button_4.Name = "[Button"
Button_4.Parent = PCKeyboard
Button_4.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
Button_4.Position = UDim2.new(0, 403, 0, 71)
Button_4.Size = UDim2.new(0, 30, 0, 27)
Button_4.Font = Enum.Font.SourceSansBold
Button_4.Text = "["
Button_4.TextColor3 = Color3.fromRGB(255, 255, 255)
Button_4.TextScaled = true
Button_4.TextSize = 18.000
Button_4.TextWrapped = true

Button_5.Name = "]Button"
Button_5.Parent = PCKeyboard
Button_5.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
Button_5.Position = UDim2.new(0, 437, 0, 71)
Button_5.Size = UDim2.new(0, 30, 0, 27)
Button_5.Font = Enum.Font.SourceSansBold
Button_5.Text = "]"
Button_5.TextColor3 = Color3.fromRGB(255, 255, 255)
Button_5.TextScaled = true
Button_5.TextSize = 18.000
Button_5.TextWrapped = true

Button_6.Name = "\\Button"
Button_6.Parent = PCKeyboard
Button_6.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
Button_6.Position = UDim2.new(0, 472, 0, 71)
Button_6.Size = UDim2.new(0, 30, 0, 27)
Button_6.Font = Enum.Font.SourceSansBold
Button_6.Text = "\\"
Button_6.TextColor3 = Color3.fromRGB(255, 255, 255)
Button_6.TextScaled = true
Button_6.TextSize = 18.000
Button_6.TextWrapped = true

CapsButton.Name = "CapsButton"
CapsButton.Parent = PCKeyboard
CapsButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
CapsButton.Position = UDim2.new(0, 7, 0, 102)
CapsButton.Size = UDim2.new(0, 45, 0, 27)
CapsButton.Font = Enum.Font.SourceSansBold
CapsButton.Text = "Caps"
CapsButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CapsButton.TextScaled = true
CapsButton.TextSize = 18.000
CapsButton.TextWrapped = true

AButton.Name = "AButton"
AButton.Parent = PCKeyboard
AButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
AButton.Position = UDim2.new(0, 57, 0, 102)
AButton.Size = UDim2.new(0, 30, 0, 27)
AButton.Font = Enum.Font.SourceSansBold
AButton.Text = "A"
AButton.TextColor3 = Color3.fromRGB(255, 255, 255)
AButton.TextScaled = true
AButton.TextSize = 18.000
AButton.TextWrapped = true

SButton.Name = "SButton"
SButton.Parent = PCKeyboard
SButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
SButton.Position = UDim2.new(0, 91, 0, 102)
SButton.Size = UDim2.new(0, 30, 0, 27)
SButton.Font = Enum.Font.SourceSansBold
SButton.Text = "S"
SButton.TextColor3 = Color3.fromRGB(255, 255, 255)
SButton.TextScaled = true
SButton.TextSize = 18.000
SButton.TextWrapped = true

DButton.Name = "DButton"
DButton.Parent = PCKeyboard
DButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
DButton.Position = UDim2.new(0, 126, 0, 102)
DButton.Size = UDim2.new(0, 30, 0, 27)
DButton.Font = Enum.Font.SourceSansBold
DButton.Text = "D"
DButton.TextColor3 = Color3.fromRGB(255, 255, 255)
DButton.TextScaled = true
DButton.TextSize = 18.000
DButton.TextWrapped = true

FButton.Name = "FButton"
FButton.Parent = PCKeyboard
FButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
FButton.Position = UDim2.new(0, 161, 0, 102)
FButton.Size = UDim2.new(0, 30, 0, 27)
FButton.Font = Enum.Font.SourceSansBold
FButton.Text = "F"
FButton.TextColor3 = Color3.fromRGB(255, 255, 255)
FButton.TextScaled = true
FButton.TextSize = 18.000
FButton.TextWrapped = true

GButton.Name = "GButton"
GButton.Parent = PCKeyboard
GButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
GButton.Position = UDim2.new(0, 195, 0, 102)
GButton.Size = UDim2.new(0, 30, 0, 27)
GButton.Font = Enum.Font.SourceSansBold
GButton.Text = "G"
GButton.TextColor3 = Color3.fromRGB(255, 255, 255)
GButton.TextScaled = true
GButton.TextSize = 18.000
GButton.TextWrapped = true

HButton.Name = "HButton"
HButton.Parent = PCKeyboard
HButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
HButton.Position = UDim2.new(0, 230, 0, 102)
HButton.Size = UDim2.new(0, 30, 0, 27)
HButton.Font = Enum.Font.SourceSansBold
HButton.Text = "H"
HButton.TextColor3 = Color3.fromRGB(255, 255, 255)
HButton.TextScaled = true
HButton.TextSize = 18.000
HButton.TextWrapped = true

JButton.Name = "JButton"
JButton.Parent = PCKeyboard
JButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
JButton.Position = UDim2.new(0, 264, 0, 102)
JButton.Size = UDim2.new(0, 30, 0, 27)
JButton.Font = Enum.Font.SourceSansBold
JButton.Text = "J"
JButton.TextColor3 = Color3.fromRGB(255, 255, 255)
JButton.TextScaled = true
JButton.TextSize = 18.000
JButton.TextWrapped = true

KButton.Name = "KButton"
KButton.Parent = PCKeyboard
KButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
KButton.Position = UDim2.new(0, 299, 0, 102)
KButton.Size = UDim2.new(0, 30, 0, 27)
KButton.Font = Enum.Font.SourceSansBold
KButton.Text = "K"
KButton.TextColor3 = Color3.fromRGB(255, 255, 255)
KButton.TextScaled = true
KButton.TextSize = 18.000
KButton.TextWrapped = true

LButton.Name = "LButton"
LButton.Parent = PCKeyboard
LButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
LButton.Position = UDim2.new(0, 334, 0, 102)
LButton.Size = UDim2.new(0, 30, 0, 27)
LButton.Font = Enum.Font.SourceSansBold
LButton.Text = "L"
LButton.TextColor3 = Color3.fromRGB(255, 255, 255)
LButton.TextScaled = true
LButton.TextSize = 18.000
LButton.TextWrapped = true

Button_7.Name = ";Button"
Button_7.Parent = PCKeyboard
Button_7.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
Button_7.Position = UDim2.new(0, 368, 0, 102)
Button_7.Size = UDim2.new(0, 30, 0, 27)
Button_7.Font = Enum.Font.SourceSansBold
Button_7.Text = ";"
Button_7.TextColor3 = Color3.fromRGB(255, 255, 255)
Button_7.TextScaled = true
Button_7.TextSize = 18.000
Button_7.TextWrapped = true

Button_8.Name = "'Button"
Button_8.Parent = PCKeyboard
Button_8.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
Button_8.Position = UDim2.new(0, 403, 0, 102)
Button_8.Size = UDim2.new(0, 30, 0, 27)
Button_8.Font = Enum.Font.SourceSansBold
Button_8.Text = "'"
Button_8.TextColor3 = Color3.fromRGB(255, 255, 255)
Button_8.TextScaled = true
Button_8.TextSize = 18.000
Button_8.TextWrapped = true

EnterButton.Name = "EnterButton"
EnterButton.Parent = PCKeyboard
EnterButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
EnterButton.Position = UDim2.new(0, 437, 0, 102)
EnterButton.Size = UDim2.new(0, 45, 0, 27)
EnterButton.Font = Enum.Font.SourceSansBold
EnterButton.Text = "Enter"
EnterButton.TextColor3 = Color3.fromRGB(255, 255, 255)
EnterButton.TextScaled = true
EnterButton.TextSize = 18.000
EnterButton.TextWrapped = true

ShiftButton.Name = "ShiftButton"
ShiftButton.Parent = PCKeyboard
ShiftButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
ShiftButton.Position = UDim2.new(0, 7, 0, 133)
ShiftButton.Size = UDim2.new(0, 60, 0, 27)
ShiftButton.Font = Enum.Font.SourceSansBold
ShiftButton.Text = "Shift"
ShiftButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ShiftButton.TextScaled = true
ShiftButton.TextSize = 18.000
ShiftButton.TextWrapped = true

ZButton.Name = "ZButton"
ZButton.Parent = PCKeyboard
ZButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
ZButton.Position = UDim2.new(0, 72, 0, 133)
ZButton.Size = UDim2.new(0, 30, 0, 27)
ZButton.Font = Enum.Font.SourceSansBold
ZButton.Text = "Z"
ZButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ZButton.TextScaled = true
ZButton.TextSize = 18.000
ZButton.TextWrapped = true

XButton.Name = "XButton"
XButton.Parent = PCKeyboard
XButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
XButton.Position = UDim2.new(0, 106, 0, 133)
XButton.Size = UDim2.new(0, 30, 0, 27)
XButton.Font = Enum.Font.SourceSansBold
XButton.Text = "X"
XButton.TextColor3 = Color3.fromRGB(255, 255, 255)
XButton.TextScaled = true
XButton.TextSize = 18.000
XButton.TextWrapped = true

CButton.Name = "CButton"
CButton.Parent = PCKeyboard
CButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
CButton.Position = UDim2.new(0, 141, 0, 133)
CButton.Size = UDim2.new(0, 30, 0, 27)
CButton.Font = Enum.Font.SourceSansBold
CButton.Text = "C"
CButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CButton.TextScaled = true
CButton.TextSize = 18.000
CButton.TextWrapped = true

VButton.Name = "VButton"
VButton.Parent = PCKeyboard
VButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
VButton.Position = UDim2.new(0, 176, 0, 133)
VButton.Size = UDim2.new(0, 30, 0, 27)
VButton.Font = Enum.Font.SourceSansBold
VButton.Text = "V"
VButton.TextColor3 = Color3.fromRGB(255, 255, 255)
VButton.TextScaled = true
VButton.TextSize = 18.000
VButton.TextWrapped = true

BButton.Name = "BButton"
BButton.Parent = PCKeyboard
BButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
BButton.Position = UDim2.new(0, 210, 0, 133)
BButton.Size = UDim2.new(0, 30, 0, 27)
BButton.Font = Enum.Font.SourceSansBold
BButton.Text = "B"
BButton.TextColor3 = Color3.fromRGB(255, 255, 255)
BButton.TextScaled = true
BButton.TextSize = 18.000
BButton.TextWrapped = true

NButton.Name = "NButton"
NButton.Parent = PCKeyboard
NButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
NButton.Position = UDim2.new(0, 245, 0, 133)
NButton.Size = UDim2.new(0, 30, 0, 27)
NButton.Font = Enum.Font.SourceSansBold
NButton.Text = "N"
NButton.TextColor3 = Color3.fromRGB(255, 255, 255)
NButton.TextScaled = true
NButton.TextSize = 18.000
NButton.TextWrapped = true

MButton.Name = "MButton"
MButton.Parent = PCKeyboard
MButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
MButton.Position = UDim2.new(0, 279, 0, 133)
MButton.Size = UDim2.new(0, 30, 0, 27)
MButton.Font = Enum.Font.SourceSansBold
MButton.Text = "M"
MButton.TextColor3 = Color3.fromRGB(255, 255, 255)
MButton.TextScaled = true
MButton.TextSize = 18.000
MButton.TextWrapped = true

Button_9.Name = ",Button"
Button_9.Parent = PCKeyboard
Button_9.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
Button_9.Position = UDim2.new(0, 314, 0, 133)
Button_9.Size = UDim2.new(0, 30, 0, 27)
Button_9.Font = Enum.Font.SourceSansBold
Button_9.Text = ","
Button_9.TextColor3 = Color3.fromRGB(255, 255, 255)
Button_9.TextScaled = true
Button_9.TextSize = 18.000
Button_9.TextWrapped = true

Button_10.Name = ".Button"
Button_10.Parent = PCKeyboard
Button_10.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
Button_10.Position = UDim2.new(0, 349, 0, 133)
Button_10.Size = UDim2.new(0, 30, 0, 27)
Button_10.Font = Enum.Font.SourceSansBold
Button_10.Text = "."
Button_10.TextColor3 = Color3.fromRGB(255, 255, 255)
Button_10.TextScaled = true
Button_10.TextSize = 18.000
Button_10.TextWrapped = true

Button_11.Name = "/Button"
Button_11.Parent = PCKeyboard
Button_11.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
Button_11.Position = UDim2.new(0, 383, 0, 133)
Button_11.Size = UDim2.new(0, 30, 0, 27)
Button_11.Font = Enum.Font.SourceSansBold
Button_11.Text = "/"
Button_11.TextColor3 = Color3.fromRGB(255, 255, 255)
Button_11.TextScaled = true
Button_11.TextSize = 18.000
Button_11.TextWrapped = true

ShiftButton_2.Name = "ShiftButton"
ShiftButton_2.Parent = PCKeyboard
ShiftButton_2.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
ShiftButton_2.Position = UDim2.new(0, 418, 0, 133)
ShiftButton_2.Size = UDim2.new(0, 60, 0, 27)
ShiftButton_2.Font = Enum.Font.SourceSansBold
ShiftButton_2.Text = "Shift"
ShiftButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
ShiftButton_2.TextScaled = true
ShiftButton_2.TextSize = 18.000
ShiftButton_2.TextWrapped = true

CtrlButton.Name = "CtrlButton"
CtrlButton.Parent = PCKeyboard
CtrlButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
CtrlButton.Position = UDim2.new(0, 7, 0, 164)
CtrlButton.Size = UDim2.new(0, 30, 0, 27)
CtrlButton.Font = Enum.Font.SourceSansBold
CtrlButton.Text = "Ctrl"
CtrlButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CtrlButton.TextScaled = true
CtrlButton.TextSize = 18.000
CtrlButton.TextWrapped = true

WinButton.Name = "WinButton"
WinButton.Parent = PCKeyboard
WinButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
WinButton.Position = UDim2.new(0, 42, 0, 164)
WinButton.Size = UDim2.new(0, 30, 0, 27)
WinButton.Font = Enum.Font.SourceSansBold
WinButton.Text = "Win"
WinButton.TextColor3 = Color3.fromRGB(255, 255, 255)
WinButton.TextScaled = true
WinButton.TextSize = 18.000
WinButton.TextWrapped = true

AltButton.Name = "AltButton"
AltButton.Parent = PCKeyboard
AltButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
AltButton.Position = UDim2.new(0, 76, 0, 164)
AltButton.Size = UDim2.new(0, 30, 0, 27)
AltButton.Font = Enum.Font.SourceSansBold
AltButton.Text = "Alt"
AltButton.TextColor3 = Color3.fromRGB(255, 255, 255)
AltButton.TextScaled = true
AltButton.TextSize = 18.000
AltButton.TextWrapped = true

SpaceButton.Name = "SpaceButton"
SpaceButton.Parent = PCKeyboard
SpaceButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
SpaceButton.Position = UDim2.new(0, 111, 0, 164)
SpaceButton.Size = UDim2.new(0, 150, 0, 27)
SpaceButton.Font = Enum.Font.SourceSansBold
SpaceButton.Text = "Space"
SpaceButton.TextColor3 = Color3.fromRGB(255, 255, 255)
SpaceButton.TextScaled = true
SpaceButton.TextSize = 18.000
SpaceButton.TextWrapped = true

AltButton_2.Name = "AltButton"
AltButton_2.Parent = PCKeyboard
AltButton_2.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
AltButton_2.Position = UDim2.new(0, 266, 0, 164)
AltButton_2.Size = UDim2.new(0, 30, 0, 27)
AltButton_2.Font = Enum.Font.SourceSansBold
AltButton_2.Text = "Alt"
AltButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
AltButton_2.TextScaled = true
AltButton_2.TextSize = 18.000
AltButton_2.TextWrapped = true

FnButton.Name = "FnButton"
FnButton.Parent = PCKeyboard
FnButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
FnButton.Position = UDim2.new(0, 300, 0, 164)
FnButton.Size = UDim2.new(0, 30, 0, 27)
FnButton.Font = Enum.Font.SourceSansBold
FnButton.Text = "Fn"
FnButton.TextColor3 = Color3.fromRGB(255, 255, 255)
FnButton.TextScaled = true
FnButton.TextSize = 18.000
FnButton.TextWrapped = true

MenuButton.Name = "MenuButton"
MenuButton.Parent = PCKeyboard
MenuButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
MenuButton.Position = UDim2.new(0, 335, 0, 164)
MenuButton.Size = UDim2.new(0, 30, 0, 27)
MenuButton.Font = Enum.Font.SourceSansBold
MenuButton.Text = "Menu"
MenuButton.TextColor3 = Color3.fromRGB(255, 255, 255)
MenuButton.TextScaled = true
MenuButton.TextSize = 18.000
MenuButton.TextWrapped = true

CtrlButton_2.Name = "CtrlButton"
CtrlButton_2.Parent = PCKeyboard
CtrlButton_2.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
CtrlButton_2.Position = UDim2.new(0, 370, 0, 164)
CtrlButton_2.Size = UDim2.new(0, 30, 0, 27)
CtrlButton_2.Font = Enum.Font.SourceSansBold
CtrlButton_2.Text = "Ctrl"
CtrlButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
CtrlButton_2.TextScaled = true
CtrlButton_2.TextSize = 18.000
CtrlButton_2.TextWrapped = true

PCMouse.Name = "PCMouse"
PCMouse.Parent = ScreenGui
PCMouse.BackgroundTransparency = 1.000
PCMouse.Position = UDim2.new(0.5, 370, 0.800000012, 0)
PCMouse.Size = UDim2.new(0, 80, 0, 140)

MouseBody.Name = "MouseBody"
MouseBody.Parent = PCMouse
MouseBody.BackgroundColor3 = Color3.fromRGB(200, 200, 200)
MouseBody.BorderSizePixel = 2
MouseBody.ClipsDescendants = true
MouseBody.Position = UDim2.new(2.8499999, 0, -0.485714287, 0)
MouseBody.Size = UDim2.new(1, 0, 1, 0)

UICorner.CornerRadius = UDim.new(0, 40)
UICorner.Parent = MouseBody

LeftButton.Name = "LeftButton"
LeftButton.Parent = MouseBody
LeftButton.BackgroundColor3 = Color3.fromRGB(230, 230, 230)
LeftButton.Position = UDim2.new(0, 0, 4.35965404e-07, 0)
LeftButton.Size = UDim2.new(0.762499452, 0, 0.430000097, 0)
LeftButton.Text = ""

UICorner_2.CornerRadius = UDim.new(0, 20)
UICorner_2.Parent = LeftButton

RightButton.Name = "RightButton"
RightButton.Parent = MouseBody
RightButton.BackgroundColor3 = Color3.fromRGB(230, 230, 230)
RightButton.Position = UDim2.new(0.387499988, 0, 0.00142865861, 0)
RightButton.Size = UDim2.new(0.612499475, 0, 0.428571433, 0)
RightButton.Text = ""

UICorner_3.CornerRadius = UDim.new(0, 20)
UICorner_3.Parent = RightButton

ScrollWheel.Name = "ScrollWheel"
ScrollWheel.Parent = MouseBody
ScrollWheel.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
ScrollWheel.BorderSizePixel = 0
ScrollWheel.Position = UDim2.new(0.389999986, 0, 0.129999995, 0)
ScrollWheel.Size = UDim2.new(0.219999999, 0, 0.180000007, 0)

UICorner_4.CornerRadius = UDim.new(0.5, 0)
UICorner_4.Parent = ScrollWheel

TextLabel.Parent = ScrollWheel
TextLabel.BackgroundTransparency = 1.000
TextLabel.Size = UDim2.new(1, 0, 1, 0)
TextLabel.Text = ""

Frame.Parent = MouseBody
Frame.BackgroundColor3 = Color3.fromRGB(180, 180, 180)
Frame.BorderSizePixel = 0
Frame.Position = UDim2.new(0.49000001, 0, 0.0299999993, 0)
Frame.Size = UDim2.new(0, 2, 0.25, 0)

-- Scripts:

local function CUNXOI_fake_script() -- PCKeyboard.DetectKeyboardInput 
	local script = Instance.new('LocalScript', PCKeyboard)

	local UserInputService = game:GetService("UserInputService")
	
	local keyboardFrame = script.Parent
	
	-- Map KeyCode.Name to Button instance name
	local keyToButtonName = {
	    ["A"] = "AButton",
	    ["B"] = "BButton",
	    ["C"] = "CButton",
	    ["D"] = "DButton",
	    ["E"] = "EButton",
	    ["F"] = "FButton",
	    ["G"] = "GButton",
	    ["H"] = "HButton",
	    ["I"] = "IButton",
	    ["J"] = "JButton",
	    ["K"] = "KButton",
	    ["L"] = "LButton",
	    ["M"] = "MButton",
	    ["N"] = "NButton",
	    ["O"] = "OButton",
	    ["P"] = "PButton",
	    ["Q"] = "QButton",
	    ["R"] = "RButton",
	    ["S"] = "SButton",
	    ["T"] = "TButton",
	    ["U"] = "UButton",
	    ["V"] = "VButton",
	    ["W"] = "WButton",
	    ["X"] = "XButton",
	    ["Y"] = "YButton",
	    ["Z"] = "ZButton",
	    ["One"] = "1Button",
	    ["Two"] = "2Button",
	    ["Three"] = "3Button",
	    ["Four"] = "4Button",
	    ["Five"] = "5Button",
	    ["Six"] = "6Button",
	    ["Seven"] = "7Button",
	    ["Eight"] = "8Button",
	    ["Nine"] = "9Button",
	    ["Zero"] = "0Button",
	    ["Backspace"] = "BackspaceButton",
	    ["Tab"] = "TabButton",
	    ["CapsLock"] = "CapsButton",
	    ["LeftShift"] = "ShiftButton",
	    ["RightShift"] = "ShiftButton",
	    ["LeftControl"] = "CtrlButton",
	    ["RightControl"] = "CtrlButton",
	    ["LeftAlt"] = "AltButton",
	    ["RightAlt"] = "AltButton",
	    ["Space"] = "SpaceButton",
	    ["Enter"] = "EnterButton",
	    ["Escape"] = "EscButton",
	    ["F1"] = "F1Button",
	    ["F2"] = "F2Button",
	    ["F3"] = "F3Button",
	    ["F4"] = "F4Button",
	    ["F5"] = "F5Button",
	    ["F6"] = "F6Button",
	    ["F7"] = "F7Button",
	    ["F8"] = "F8Button",
	    ["F9"] = "F9Button",
	    ["F10"] = "F10Button",
	    ["F11"] = "F11Button",
	    ["F12"] = "F12Button",
	    ["LeftSuper"] = "WinButton",
	    ["RightSuper"] = "WinButton",
	    ["Menu"] = "MenuButton",
	    ["Grave"] = "`Button",
	    ["Minus"] = "-Button",
	    ["Equals"] = "=Button",
	    ["LeftBracket"] = "[Button",
	    ["RightBracket"] = "]Button",
	    ["BackSlash"] = "\\Button",
	    ["Semicolon"] = ";Button",
	    ["Quote"] = "'Button",
	    ["Comma"] = ",Button",
	    ["Period"] = ".Button",
	    ["Slash"] = "/Button",
	    -- Add more mappings as needed
	}
	
	-- Store original colors to revert later
	local originalColors = {}
	
	local function setButtonWhite(buttonName)
	    local button = keyboardFrame:FindFirstChild(buttonName)
	    if button and button:IsA("TextButton") then
	        if not originalColors[buttonName] then
	            originalColors[buttonName] = button.BackgroundColor3
	        end
	        button.BackgroundColor3 = Color3.new(1, 1, 1)
	    end
	end
	
	local function revertButtonColor(buttonName)
	    local button = keyboardFrame:FindFirstChild(buttonName)
	    if button and button:IsA("TextButton") and originalColors[buttonName] then
	        button.BackgroundColor3 = originalColors[buttonName]
	    end
	end
	
	UserInputService.InputBegan:Connect(function(input, gameProcessed)
	    if input.UserInputType == Enum.UserInputType.Keyboard then
	        local keyName = input.KeyCode.Name
	        local buttonName = keyToButtonName[keyName]
	        if buttonName then
	            setButtonWhite(buttonName)
	        end
	    end
	end)
	
	UserInputService.InputEnded:Connect(function(input, gameProcessed)
	    if input.UserInputType == Enum.UserInputType.Keyboard then
	        local keyName = input.KeyCode.Name
	        local buttonName = keyToButtonName[keyName]
	        if buttonName then
	            revertButtonColor(buttonName)
	        end
	    end
	end)
	
	
end
coroutine.wrap(CUNXOI_fake_script)()
local function QSRS_fake_script() -- MouseBody.DetectMouseInput 
	local script = Instance.new('LocalScript', MouseBody)

	local UserInputService = game:GetService("UserInputService")
	
	local mouseBody = script.Parent
	local leftButton = mouseBody:FindFirstChild("LeftButton")
	local rightButton = mouseBody:FindFirstChild("RightButton")
	
	local originalColors = {}
	
	if leftButton and leftButton:IsA("TextButton") then
	    originalColors["LeftButton"] = leftButton.BackgroundColor3
	end
	if rightButton and rightButton:IsA("TextButton") then
	    originalColors["RightButton"] = rightButton.BackgroundColor3
	end
	
	local function setButtonWhite(button)
	    if button and button:IsA("TextButton") then
	        button.BackgroundColor3 = Color3.new(1, 1, 1)
	    end
	end
	
	local function revertButtonColor(button, name)
	    if button and button:IsA("TextButton") and originalColors[name] then
	        button.BackgroundColor3 = originalColors[name]
	    end
	end
	
	UserInputService.InputBegan:Connect(function(input, gameProcessed)
	    if input.UserInputType == Enum.UserInputType.MouseButton1 then
	        setButtonWhite(leftButton)
	    elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
	        setButtonWhite(rightButton)
	    end
	end)
	
	UserInputService.InputEnded:Connect(function(input, gameProcessed)
	    if input.UserInputType == Enum.UserInputType.MouseButton1 then
	        revertButtonColor(leftButton, "LeftButton")
	    elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
	        revertButtonColor(rightButton, "RightButton")
	    end
	end)
	
	
end
coroutine.wrap(QSRS_fake_script)()

Features & Information

js use it idk if its going to work

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts