MaxproGlitcher

Keyboard Phone Coder mes pas tester a !00 %

Oct 3rd, 2025
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.70 KB | None | 0 0
  1. local CollectionService = game:GetService("CollectionService")
  2. local UserInputService = game:GetService("UserInputService")
  3. local TweenService = game:GetService("TweenService")
  4. local RunService = game:GetService("RunService")
  5. local Players = game:GetService("Players")
  6. local VirtualInputManager = game:GetService("VirtualInputManager")
  7. local plr = Players.LocalPlayer
  8. local playerGui = plr:WaitForChild("PlayerGui")
  9.  
  10. local G2L = {}
  11.  
  12. G2L["ScreenGui_1"] = Instance.new("ScreenGui", playerGui)
  13. G2L["ScreenGui_1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling
  14. G2L["ScreenGui_1"]["Name"] = "BetterKeyboardGUI"
  15. G2L["ScreenGui_1"]["ResetOnSpawn"] = false
  16.  
  17. CollectionService:AddTag(G2L["ScreenGui_1"], "main")
  18.  
  19. G2L["Frame_2"] = Instance.new("Frame", G2L["ScreenGui_1"])
  20. G2L["Frame_2"]["BorderSizePixel"] = 0
  21. G2L["Frame_2"]["BackgroundColor3"] = Color3.fromRGB(35, 35, 35)
  22. G2L["Frame_2"]["Size"] = UDim2.new(0.46186, 0, 0.59418, 0)
  23. G2L["Frame_2"]["Position"] = UDim2.new(0.29107, 0, 0.11318, 0)
  24. G2L["Frame_2"]["BackgroundTransparency"] = 0.4
  25. G2L["Frame_2"]["Active"] = true
  26. G2L["Frame_2"]["Selectable"] = true
  27.  
  28. G2L["UICorner_3"] = Instance.new("UICorner", G2L["Frame_2"])
  29.  
  30. G2L["Line1"] = Instance.new("Folder", G2L["Frame_2"])
  31. G2L["Line1"]["Name"] = "Line1"
  32.  
  33. G2L["Line2"] = Instance.new("Folder", G2L["Frame_2"])
  34. G2L["Line2"]["Name"] = "Line2"
  35.  
  36. G2L["Line3"] = Instance.new("Folder", G2L["Frame_2"])
  37. G2L["Line3"]["Name"] = "Line3"
  38.  
  39. G2L["Line4"] = Instance.new("Folder", G2L["Frame_2"])
  40. G2L["Line4"]["Name"] = "Line4"
  41.  
  42. G2L["Line5"] = Instance.new("Folder", G2L["Frame_2"])
  43. G2L["Line5"]["Name"] = "Line5"
  44.  
  45. G2L["ESC"] = Instance.new("TextButton", G2L["Line1"])
  46. G2L["ESC"]["BorderSizePixel"] = 0
  47. G2L["ESC"]["TextSize"] = 12
  48. G2L["ESC"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  49. G2L["ESC"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  50. G2L["ESC"]["BackgroundTransparency"] = 0.5
  51. G2L["ESC"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  52. G2L["ESC"]["Text"] = "ESC"
  53. G2L["ESC"]["Position"] = UDim2.new(0, 4, 0, 30)
  54. G2L["UICorner_53"] = Instance.new("UICorner", G2L["ESC"])
  55.  
  56. G2L["F1"] = Instance.new("TextButton", G2L["Line1"])
  57. G2L["F1"]["BorderSizePixel"] = 0
  58. G2L["F1"]["TextSize"] = 12
  59. G2L["F1"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  60. G2L["F1"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  61. G2L["F1"]["BackgroundTransparency"] = 0.5
  62. G2L["F1"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  63. G2L["F1"]["Text"] = "F1"
  64. G2L["F1"]["Position"] = UDim2.new(0, 42, 0, 30)
  65. G2L["UICorner_55"] = Instance.new("UICorner", G2L["F1"])
  66.  
  67. G2L["F2"] = Instance.new("TextButton", G2L["Line1"])
  68. G2L["F2"]["BorderSizePixel"] = 0
  69. G2L["F2"]["TextSize"] = 12
  70. G2L["F2"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  71. G2L["F2"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  72. G2L["F2"]["BackgroundTransparency"] = 0.5
  73. G2L["F2"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  74. G2L["F2"]["Text"] = "F2"
  75. G2L["F2"]["Position"] = UDim2.new(0, 80, 0, 30)
  76. G2L["UICorner_57"] = Instance.new("UICorner", G2L["F2"])
  77.  
  78. G2L["F3"] = Instance.new("TextButton", G2L["Line1"])
  79. G2L["F3"]["BorderSizePixel"] = 0
  80. G2L["F3"]["TextSize"] = 12
  81. G2L["F3"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  82. G2L["F3"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  83. G2L["F3"]["BackgroundTransparency"] = 0.5
  84. G2L["F3"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  85. G2L["F3"]["Text"] = "F3"
  86. G2L["F3"]["Position"] = UDim2.new(0, 118, 0, 30)
  87. G2L["UICorner_59"] = Instance.new("UICorner", G2L["F3"])
  88.  
  89. G2L["F4"] = Instance.new("TextButton", G2L["Line1"])
  90. G2L["F4"]["BorderSizePixel"] = 0
  91. G2L["F4"]["TextSize"] = 12
  92. G2L["F4"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  93. G2L["F4"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  94. G2L["F4"]["BackgroundTransparency"] = 0.5
  95. G2L["F4"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  96. G2L["F4"]["Text"] = "F4"
  97. G2L["F4"]["Position"] = UDim2.new(0, 156, 0, 30)
  98. G2L["UICorner_4f"] = Instance.new("UICorner", G2L["F4"])
  99.  
  100. G2L["F5"] = Instance.new("TextButton", G2L["Line1"])
  101. G2L["F5"]["BorderSizePixel"] = 0
  102. G2L["F5"]["TextSize"] = 12
  103. G2L["F5"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  104. G2L["F5"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  105. G2L["F5"]["BackgroundTransparency"] = 0.5
  106. G2L["F5"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  107. G2L["F5"]["Text"] = "F5"
  108. G2L["F5"]["Position"] = UDim2.new(0, 194, 0, 30)
  109. G2L["UICorner_4d"] = Instance.new("UICorner", G2L["F5"])
  110.  
  111. G2L["F6"] = Instance.new("TextButton", G2L["Line1"])
  112. G2L["F6"]["BorderSizePixel"] = 0
  113. G2L["F6"]["TextSize"] = 12
  114. G2L["F6"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  115. G2L["F6"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  116. G2L["F6"]["BackgroundTransparency"] = 0.5
  117. G2L["F6"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  118. G2L["F6"]["Text"] = "F6"
  119. G2L["F6"]["Position"] = UDim2.new(0, 232, 0, 30)
  120. G2L["UICorner_49"] = Instance.new("UICorner", G2L["F6"])
  121.  
  122. G2L["F7"] = Instance.new("TextButton", G2L["Line1"])
  123. G2L["F7"]["BorderSizePixel"] = 0
  124. G2L["F7"]["TextSize"] = 12
  125. G2L["F7"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  126. G2L["F7"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  127. G2L["F7"]["BackgroundTransparency"] = 0.5
  128. G2L["F7"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  129. G2L["F7"]["Text"] = "F7"
  130. G2L["F7"]["Position"] = UDim2.new(0, 270, 0, 30)
  131. G2L["UICorner_51"] = Instance.new("UICorner", G2L["F7"])
  132.  
  133. G2L["F8"] = Instance.new("TextButton", G2L["Line1"])
  134. G2L["F8"]["BorderSizePixel"] = 0
  135. G2L["F8"]["TextSize"] = 12
  136. G2L["F8"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  137. G2L["F8"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  138. G2L["F8"]["BackgroundTransparency"] = 0.5
  139. G2L["F8"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  140. G2L["F8"]["Text"] = "F8"
  141. G2L["F8"]["Position"] = UDim2.new(0, 308, 0, 30)
  142. G2L["UICorner_47"] = Instance.new("UICorner", G2L["F8"])
  143.  
  144. G2L["F9"] = Instance.new("TextButton", G2L["Line1"])
  145. G2L["F9"]["BorderSizePixel"] = 0
  146. G2L["F9"]["TextSize"] = 12
  147. G2L["F9"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  148. G2L["F9"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  149. G2L["F9"]["BackgroundTransparency"] = 0.5
  150. G2L["F9"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  151. G2L["F9"]["Text"] = "F9"
  152. G2L["F9"]["Position"] = UDim2.new(0, 346, 0, 30)
  153. G2L["UICorner_4b"] = Instance.new("UICorner", G2L["F9"])
  154.  
  155. G2L["Q"] = Instance.new("TextButton", G2L["Line2"])
  156. G2L["Q"]["BorderSizePixel"] = 0
  157. G2L["Q"]["TextSize"] = 12
  158. G2L["Q"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  159. G2L["Q"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  160. G2L["Q"]["BackgroundTransparency"] = 0.5
  161. G2L["Q"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  162. G2L["Q"]["Text"] = "Q"
  163. G2L["Q"]["Position"] = UDim2.new(0, 4, 0, 66)
  164. G2L["UICorner_27"] = Instance.new("UICorner", G2L["Q"])
  165.  
  166. G2L["W"] = Instance.new("TextButton", G2L["Line2"])
  167. G2L["W"]["BorderSizePixel"] = 0
  168. G2L["W"]["TextSize"] = 12
  169. G2L["W"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  170. G2L["W"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  171. G2L["W"]["BackgroundTransparency"] = 0.5
  172. G2L["W"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  173. G2L["W"]["Text"] = "W"
  174. G2L["W"]["Position"] = UDim2.new(0, 42, 0, 66)
  175. G2L["UICorner_29"] = Instance.new("UICorner", G2L["W"])
  176.  
  177. G2L["E"] = Instance.new("TextButton", G2L["Line2"])
  178. G2L["E"]["BorderSizePixel"] = 0
  179. G2L["E"]["TextSize"] = 12
  180. G2L["E"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  181. G2L["E"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  182. G2L["E"]["BackgroundTransparency"] = 0.5
  183. G2L["E"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  184. G2L["E"]["Text"] = "E"
  185. G2L["E"]["Position"] = UDim2.new(0, 80, 0, 66)
  186. G2L["UICorner_2b"] = Instance.new("UICorner", G2L["E"])
  187.  
  188. G2L["R"] = Instance.new("TextButton", G2L["Line2"])
  189. G2L["R"]["BorderSizePixel"] = 0
  190. G2L["R"]["TextSize"] = 12
  191. G2L["R"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  192. G2L["R"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  193. G2L["R"]["BackgroundTransparency"] = 0.5
  194. G2L["R"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  195. G2L["R"]["Text"] = "R"
  196. G2L["R"]["Position"] = UDim2.new(0, 118, 0, 66)
  197. G2L["UICorner_2d"] = Instance.new("UICorner", G2L["R"])
  198.  
  199. G2L["T"] = Instance.new("TextButton", G2L["Line2"])
  200. G2L["T"]["BorderSizePixel"] = 0
  201. G2L["T"]["TextSize"] = 12
  202. G2L["T"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  203. G2L["T"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  204. G2L["T"]["BackgroundTransparency"] = 0.5
  205. G2L["T"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  206. G2L["T"]["Text"] = "T"
  207. G2L["T"]["Position"] = UDim2.new(0, 156, 0, 66)
  208. G2L["UICorner_23"] = Instance.new("UICorner", G2L["T"])
  209.  
  210. G2L["Y"] = Instance.new("TextButton", G2L["Line2"])
  211. G2L["Y"]["BorderSizePixel"] = 0
  212. G2L["Y"]["TextSize"] = 12
  213. G2L["Y"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  214. G2L["Y"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  215. G2L["Y"]["BackgroundTransparency"] = 0.5
  216. G2L["Y"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  217. G2L["Y"]["Text"] = "Y"
  218. G2L["Y"]["Position"] = UDim2.new(0, 194, 0, 66)
  219. G2L["UICorner_21"] = Instance.new("UICorner", G2L["Y"])
  220.  
  221. G2L["U"] = Instance.new("TextButton", G2L["Line2"])
  222. G2L["U"]["BorderSizePixel"] = 0
  223. G2L["U"]["TextSize"] = 12
  224. G2L["U"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  225. G2L["U"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  226. G2L["U"]["BackgroundTransparency"] = 0.5
  227. G2L["U"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  228. G2L["U"]["Text"] = "U"
  229. G2L["U"]["Position"] = UDim2.new(0, 232, 0, 66)
  230. G2L["UICorner_1d"] = Instance.new("UICorner", G2L["U"])
  231.  
  232. G2L["I"] = Instance.new("TextButton", G2L["Line2"])
  233. G2L["I"]["BorderSizePixel"] = 0
  234. G2L["I"]["TextSize"] = 12
  235. G2L["I"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  236. G2L["I"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  237. G2L["I"]["BackgroundTransparency"] = 0.5
  238. G2L["I"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  239. G2L["I"]["Text"] = "I"
  240. G2L["I"]["Position"] = UDim2.new(0, 270, 0, 66)
  241. G2L["UICorner_25"] = Instance.new("UICorner", G2L["I"])
  242.  
  243. G2L["O"] = Instance.new("TextButton", G2L["Line2"])
  244. G2L["O"]["BorderSizePixel"] = 0
  245. G2L["O"]["TextSize"] = 12
  246. G2L["O"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  247. G2L["O"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  248. G2L["O"]["BackgroundTransparency"] = 0.5
  249. G2L["O"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  250. G2L["O"]["Text"] = "O"
  251. G2L["O"]["Position"] = UDim2.new(0, 308, 0, 66)
  252. G2L["UICorner_1b"] = Instance.new("UICorner", G2L["O"])
  253.  
  254. G2L["P"] = Instance.new("TextButton", G2L["Line2"])
  255. G2L["P"]["BorderSizePixel"] = 0
  256. G2L["P"]["TextSize"] = 12
  257. G2L["P"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  258. G2L["P"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  259. G2L["P"]["BackgroundTransparency"] = 0.5
  260. G2L["P"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  261. G2L["P"]["Text"] = "P"
  262. G2L["P"]["Position"] = UDim2.new(0, 346, 0, 66)
  263. G2L["UICorner_1f"] = Instance.new("UICorner", G2L["P"])
  264.  
  265. G2L["A"] = Instance.new("TextButton", G2L["Line3"])
  266. G2L["A"]["BorderSizePixel"] = 0
  267. G2L["A"]["TextSize"] = 12
  268. G2L["A"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  269. G2L["A"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  270. G2L["A"]["BackgroundTransparency"] = 0.5
  271. G2L["A"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  272. G2L["A"]["Text"] = "A"
  273. G2L["A"]["Position"] = UDim2.new(0, 4, 0, 102)
  274. G2L["UICorner_12"] = Instance.new("UICorner", G2L["A"])
  275.  
  276. G2L["S"] = Instance.new("TextButton", G2L["Line3"])
  277. G2L["S"]["BorderSizePixel"] = 0
  278. G2L["S"]["TextSize"] = 12
  279. G2L["S"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  280. G2L["S"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  281. G2L["S"]["BackgroundTransparency"] = 0.5
  282. G2L["S"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  283. G2L["S"]["Text"] = "S"
  284. G2L["S"]["Position"] = UDim2.new(0, 42, 0, 102)
  285. G2L["UICorner_14"] = Instance.new("UICorner", G2L["S"])
  286.  
  287. G2L["D"] = Instance.new("TextButton", G2L["Line3"])
  288. G2L["D"]["BorderSizePixel"] = 0
  289. G2L["D"]["TextSize"] = 12
  290. G2L["D"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  291. G2L["D"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  292. G2L["D"]["BackgroundTransparency"] = 0.5
  293. G2L["D"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  294. G2L["D"]["Text"] = "D"
  295. G2L["D"]["Position"] = UDim2.new(0, 80, 0, 102)
  296. G2L["UICorner_16"] = Instance.new("UICorner", G2L["D"])
  297.  
  298. G2L["F"] = Instance.new("TextButton", G2L["Line3"])
  299. G2L["F"]["BorderSizePixel"] = 0
  300. G2L["F"]["TextSize"] = 12
  301. G2L["F"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  302. G2L["F"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  303. G2L["F"]["BackgroundTransparency"] = 0.5
  304. G2L["F"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  305. G2L["F"]["Text"] = "F"
  306. G2L["F"]["Position"] = UDim2.new(0, 118, 0, 102)
  307. G2L["UICorner_18"] = Instance.new("UICorner", G2L["F"])
  308.  
  309. G2L["G"] = Instance.new("TextButton", G2L["Line3"])
  310. G2L["G"]["BorderSizePixel"] = 0
  311. G2L["G"]["TextSize"] = 12
  312. G2L["G"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  313. G2L["G"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  314. G2L["G"]["BackgroundTransparency"] = 0.5
  315. G2L["G"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  316. G2L["G"]["Text"] = "G"
  317. G2L["G"]["Position"] = UDim2.new(0, 156, 0, 102)
  318. G2L["UICorner_e"] = Instance.new("UICorner", G2L["G"])
  319.  
  320. G2L["H"] = Instance.new("TextButton", G2L["Line3"])
  321. G2L["H"]["BorderSizePixel"] = 0
  322. G2L["H"]["TextSize"] = 12
  323. G2L["H"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  324. G2L["H"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  325. G2L["H"]["BackgroundTransparency"] = 0.5
  326. G2L["H"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  327. G2L["H"]["Text"] = "H"
  328. G2L["H"]["Position"] = UDim2.new(0, 194, 0, 102)
  329. G2L["UICorner_c"] = Instance.new("UICorner", G2L["H"])
  330.  
  331. G2L["J"] = Instance.new("TextButton", G2L["Line3"])
  332. G2L["J"]["BorderSizePixel"] = 0
  333. G2L["J"]["TextSize"] = 12
  334. G2L["J"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  335. G2L["J"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  336. G2L["J"]["BackgroundTransparency"] = 0.5
  337. G2L["J"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  338. G2L["J"]["Text"] = "J"
  339. G2L["J"]["Position"] = UDim2.new(0, 232, 0, 102)
  340. G2L["UICorner_8"] = Instance.new("UICorner", G2L["J"])
  341.  
  342. G2L["K"] = Instance.new("TextButton", G2L["Line3"])
  343. G2L["K"]["BorderSizePixel"] = 0
  344. G2L["K"]["TextSize"] = 12
  345. G2L["K"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  346. G2L["K"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  347. G2L["K"]["BackgroundTransparency"] = 0.5
  348. G2L["K"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  349. G2L["K"]["Text"] = "K"
  350. G2L["K"]["Position"] = UDim2.new(0, 270, 0, 102)
  351. G2L["UICorner_10"] = Instance.new("UICorner", G2L["K"])
  352.  
  353. G2L["L"] = Instance.new("TextButton", G2L["Line3"])
  354. G2L["L"]["BorderSizePixel"] = 0
  355. G2L["L"]["TextSize"] = 12
  356. G2L["L"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  357. G2L["L"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  358. G2L["L"]["BackgroundTransparency"] = 0.5
  359. G2L["L"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  360. G2L["L"]["Text"] = "L"
  361. G2L["L"]["Position"] = UDim2.new(0, 308, 0, 102)
  362. G2L["UICorner_6"] = Instance.new("UICorner", G2L["L"])
  363.  
  364. G2L["Semicolon"] = Instance.new("TextButton", G2L["Line3"])
  365. G2L["Semicolon"]["BorderSizePixel"] = 0
  366. G2L["Semicolon"]["TextSize"] = 12
  367. G2L["Semicolon"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  368. G2L["Semicolon"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  369. G2L["Semicolon"]["BackgroundTransparency"] = 0.5
  370. G2L["Semicolon"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  371. G2L["Semicolon"]["Text"] = ";"
  372. G2L["Semicolon"]["Position"] = UDim2.new(0, 346, 0, 102)
  373. G2L["UICorner_a"] = Instance.new("UICorner", G2L["Semicolon"])
  374.  
  375. G2L["Z"] = Instance.new("TextButton", G2L["Line4"])
  376. G2L["Z"]["BorderSizePixel"] = 0
  377. G2L["Z"]["TextSize"] = 12
  378. G2L["Z"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  379. G2L["Z"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  380. G2L["Z"]["BackgroundTransparency"] = 0.5
  381. G2L["Z"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  382. G2L["Z"]["Text"] = "Z"
  383. G2L["Z"]["Position"] = UDim2.new(0, 4, 0, 138)
  384. G2L["UICorner_3c"] = Instance.new("UICorner", G2L["Z"])
  385.  
  386. G2L["X"] = Instance.new("TextButton", G2L["Line4"])
  387. G2L["X"]["BorderSizePixel"] = 0
  388. G2L["X"]["TextSize"] = 12
  389. G2L["X"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  390. G2L["X"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  391. G2L["X"]["BackgroundTransparency"] = 0.5
  392. G2L["X"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  393. G2L["X"]["Text"] = "X"
  394. G2L["X"]["Position"] = UDim2.new(0, 42, 0, 138)
  395. G2L["UICorner_3e"] = Instance.new("UICorner", G2L["X"])
  396.  
  397. G2L["C"] = Instance.new("TextButton", G2L["Line4"])
  398. G2L["C"]["BorderSizePixel"] = 0
  399. G2L["C"]["TextSize"] = 12
  400. G2L["C"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  401. G2L["C"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  402. G2L["C"]["BackgroundTransparency"] = 0.5
  403. G2L["C"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  404. G2L["C"]["Text"] = "C"
  405. G2L["C"]["Position"] = UDim2.new(0, 80, 0, 138)
  406. G2L["UICorner_40"] = Instance.new("UICorner", G2L["C"])
  407.  
  408. G2L["V"] = Instance.new("TextButton", G2L["Line4"])
  409. G2L["V"]["BorderSizePixel"] = 0
  410. G2L["V"]["TextSize"] = 12
  411. G2L["V"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  412. G2L["V"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  413. G2L["V"]["BackgroundTransparency"] = 0.5
  414. G2L["V"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  415. G2L["V"]["Text"] = "V"
  416. G2L["V"]["Position"] = UDim2.new(0, 118, 0, 138)
  417. G2L["UICorner_42"] = Instance.new("UICorner", G2L["V"])
  418.  
  419. G2L["B"] = Instance.new("TextButton", G2L["Line4"])
  420. G2L["B"]["BorderSizePixel"] = 0
  421. G2L["B"]["TextSize"] = 12
  422. G2L["B"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  423. G2L["B"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  424. G2L["B"]["BackgroundTransparency"] = 0.5
  425. G2L["B"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  426. G2L["B"]["Text"] = "B"
  427. G2L["B"]["Position"] = UDim2.new(0, 156, 0, 138)
  428. G2L["UICorner_38"] = Instance.new("UICorner", G2L["B"])
  429.  
  430. G2L["N"] = Instance.new("TextButton", G2L["Line4"])
  431. G2L["N"]["BorderSizePixel"] = 0
  432. G2L["N"]["TextSize"] = 12
  433. G2L["N"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  434. G2L["N"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  435. G2L["N"]["BackgroundTransparency"] = 0.5
  436. G2L["N"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  437. G2L["N"]["Text"] = "N"
  438. G2L["N"]["Position"] = UDim2.new(0, 194, 0, 138)
  439. G2L["UICorner_36"] = Instance.new("UICorner", G2L["N"])
  440.  
  441. G2L["M"] = Instance.new("TextButton", G2L["Line4"])
  442. G2L["M"]["BorderSizePixel"] = 0
  443. G2L["M"]["TextSize"] = 12
  444. G2L["M"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  445. G2L["M"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  446. G2L["M"]["BackgroundTransparency"] = 0.5
  447. G2L["M"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  448. G2L["M"]["Text"] = "M"
  449. G2L["M"]["Position"] = UDim2.new(0, 232, 0, 138)
  450. G2L["UICorner_32"] = Instance.new("UICorner", G2L["M"])
  451.  
  452. G2L["Comma"] = Instance.new("TextButton", G2L["Line4"])
  453. G2L["Comma"]["BorderSizePixel"] = 0
  454. G2L["Comma"]["TextSize"] = 12
  455. G2L["Comma"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  456. G2L["Comma"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  457. G2L["Comma"]["BackgroundTransparency"] = 0.5
  458. G2L["Comma"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  459. G2L["Comma"]["Text"] = ","
  460. G2L["Comma"]["Position"] = UDim2.new(0, 270, 0, 138)
  461. G2L["UICorner_3a"] = Instance.new("UICorner", G2L["Comma"])
  462.  
  463. G2L["Period"] = Instance.new("TextButton", G2L["Line4"])
  464. G2L["Period"]["BorderSizePixel"] = 0
  465. G2L["Period"]["TextSize"] = 12
  466. G2L["Period"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  467. G2L["Period"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  468. G2L["Period"]["BackgroundTransparency"] = 0.5
  469. G2L["Period"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  470. G2L["Period"]["Text"] = "."
  471. G2L["Period"]["Position"] = UDim2.new(0, 308, 0, 138)
  472. G2L["UICorner_30"] = Instance.new("UICorner", G2L["Period"])
  473.  
  474. G2L["Slash"] = Instance.new("TextButton", G2L["Line4"])
  475. G2L["Slash"]["BorderSizePixel"] = 0
  476. G2L["Slash"]["TextSize"] = 12
  477. G2L["Slash"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  478. G2L["Slash"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  479. G2L["Slash"]["BackgroundTransparency"] = 0.5
  480. G2L["Slash"]["Size"] = UDim2.new(0.08854, 0, 0.15238, 0)
  481. G2L["Slash"]["Text"] = "/"
  482. G2L["Slash"]["Position"] = UDim2.new(0, 346, 0, 138)
  483. G2L["UICorner_34"] = Instance.new("UICorner", G2L["Slash"])
  484.  
  485. G2L["LeftCtrl"] = Instance.new("TextButton", G2L["Line5"])
  486. G2L["LeftCtrl"]["BorderSizePixel"] = 0
  487. G2L["LeftCtrl"]["TextSize"] = 12
  488. G2L["LeftCtrl"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  489. G2L["LeftCtrl"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  490. G2L["LeftCtrl"]["BackgroundTransparency"] = 0.5
  491. G2L["LeftCtrl"]["Size"] = UDim2.new(0.19271, 0, 0.15238, 0)
  492. G2L["LeftCtrl"]["Text"] = "CTRL"
  493. G2L["LeftCtrl"]["Position"] = UDim2.new(0, 4, 0, 174)
  494. G2L["UICorner_5d"] = Instance.new("UICorner", G2L["LeftCtrl"])
  495.  
  496. G2L["LeftAlt"] = Instance.new("TextButton", G2L["Line5"])
  497. G2L["LeftAlt"]["BorderSizePixel"] = 0
  498. G2L["LeftAlt"]["TextSize"] = 12
  499. G2L["LeftAlt"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  500. G2L["LeftAlt"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  501. G2L["LeftAlt"]["BackgroundTransparency"] = 0.5
  502. G2L["LeftAlt"]["Size"] = UDim2.new(0.14583, 0, 0.15238, 0)
  503. G2L["LeftAlt"]["Text"] = "ALT"
  504. G2L["LeftAlt"]["Position"] = UDim2.new(0, 82, 0, 174)
  505. G2L["UICorner_61"] = Instance.new("UICorner", G2L["LeftAlt"])
  506.  
  507. G2L["Space"] = Instance.new("TextButton", G2L["Line5"])
  508. G2L["Space"]["BorderSizePixel"] = 0
  509. G2L["Space"]["TextSize"] = 12
  510. G2L["Space"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  511. G2L["Space"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  512. G2L["Space"]["BackgroundTransparency"] = 0.5
  513. G2L["Space"]["Size"] = UDim2.new(0.26563, 0, 0.15238, 0)
  514. G2L["Space"]["Text"] = "SPACE"
  515. G2L["Space"]["Position"] = UDim2.new(0, 142, 0, 174)
  516. G2L["UICorner_65"] = Instance.new("UICorner", G2L["Space"])
  517.  
  518. G2L["RightAlt"] = Instance.new("TextButton", G2L["Line5"])
  519. G2L["RightAlt"]["BorderSizePixel"] = 0
  520. G2L["RightAlt"]["TextSize"] = 12
  521. G2L["RightAlt"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  522. G2L["RightAlt"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  523. G2L["RightAlt"]["BackgroundTransparency"] = 0.5
  524. G2L["RightAlt"]["Size"] = UDim2.new(0.14583, 0, 0.15238, 0)
  525. G2L["RightAlt"]["Text"] = "ALT"
  526. G2L["RightAlt"]["Position"] = UDim2.new(0, 248, 0, 174)
  527. G2L["UICorner_63"] = Instance.new("UICorner", G2L["RightAlt"])
  528.  
  529. G2L["RightCtrl"] = Instance.new("TextButton", G2L["Line5"])
  530. G2L["RightCtrl"]["BorderSizePixel"] = 0
  531. G2L["RightCtrl"]["TextSize"] = 12
  532. G2L["RightCtrl"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  533. G2L["RightCtrl"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0)
  534. G2L["RightCtrl"]["BackgroundTransparency"] = 0.5
  535. G2L["RightCtrl"]["Size"] = UDim2.new(0.1875, 0, 0.15238, 0)
  536. G2L["RightCtrl"]["Text"] = "CTRL"
  537. G2L["RightCtrl"]["Position"] = UDim2.new(0, 308, 0, 174)
  538. G2L["UICorner_5f"] = Instance.new("UICorner", G2L["RightCtrl"])
  539.  
  540. G2L["TextLabel_43"] = Instance.new("TextLabel", G2L["Frame_2"])
  541. G2L["TextLabel_43"]["TextWrapped"] = true
  542. G2L["TextLabel_43"]["BorderSizePixel"] = 0
  543. G2L["TextLabel_43"]["TextSize"] = 12
  544. G2L["TextLabel_43"]["TextXAlignment"] = Enum.TextXAlignment.Left
  545. G2L["TextLabel_43"]["BackgroundColor3"] = Color3.fromRGB(39, 39, 39)
  546. G2L["TextLabel_43"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  547. G2L["TextLabel_43"]["BackgroundTransparency"] = 0.5
  548. G2L["TextLabel_43"]["Size"] = UDim2.new(0.79167, 0, 0.13333, 0)
  549. G2L["TextLabel_43"]["Text"] = "BetterKeyboard | Made by StarFlow"
  550. G2L["UICorner_44"] = Instance.new("UICorner", G2L["TextLabel_43"])
  551.  
  552. G2L["Minimizer"] = Instance.new("TextButton", G2L["Frame_2"])
  553. G2L["Minimizer"]["BorderSizePixel"] = 0
  554. G2L["Minimizer"]["TextSize"] = 20
  555. G2L["Minimizer"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  556. G2L["Minimizer"]["BackgroundColor3"] = Color3.fromRGB(39, 39, 39)
  557. G2L["Minimizer"]["BackgroundTransparency"] = 0.5
  558. G2L["Minimizer"]["Size"] = UDim2.new(0.08854, 0, 0.13333, 0)
  559. G2L["Minimizer"]["Text"] = "-"
  560. G2L["Minimizer"]["Position"] = UDim2.new(0.80208, 0, 0, 0)
  561. G2L["UICorner_67"] = Instance.new("UICorner", G2L["Minimizer"])
  562.  
  563. G2L["Close"] = Instance.new("TextButton", G2L["Frame_2"])
  564. G2L["Close"]["BorderSizePixel"] = 0
  565. G2L["Close"]["TextSize"] = 20
  566. G2L["Close"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  567. G2L["Close"]["BackgroundColor3"] = Color3.fromRGB(39, 39, 39)
  568. G2L["Close"]["BackgroundTransparency"] = 0.5
  569. G2L["Close"]["Size"] = UDim2.new(0.08854, 0, 0.13333, 0)
  570. G2L["Close"]["Text"] = "×"
  571. G2L["Close"]["Position"] = UDim2.new(0.90104, 0, 0, 0)
  572. G2L["UICorner_69"] = Instance.new("UICorner", G2L["Close"])
  573.  
  574. G2L["ShowButton"] = Instance.new("TextButton", G2L["ScreenGui_1"])
  575. G2L["ShowButton"]["BorderSizePixel"] = 0
  576. G2L["ShowButton"]["TextSize"] = 20
  577. G2L["ShowButton"]["TextColor3"] = Color3.fromRGB(255, 255, 255)
  578. G2L["ShowButton"]["BackgroundColor3"] = Color3.fromRGB(39, 39, 39)
  579. G2L["ShowButton"]["BackgroundTransparency"] = 0.3
  580. G2L["ShowButton"]["Size"] = UDim2.new(0, 40, 0, 40)
  581. G2L["ShowButton"]["Text"] = "+"
  582. G2L["ShowButton"]["Position"] = UDim2.new(0, 10, 0, 10)
  583. G2L["ShowButton"]["Visible"] = false
  584. G2L["UICorner_Show"] = Instance.new("UICorner", G2L["ShowButton"])
  585.  
  586. G2L["UIStroke_5a"] = Instance.new("UIStroke", G2L["Frame_2"])
  587. G2L["UIAspectRatioConstraint_6a"] = Instance.new("UIAspectRatioConstraint", G2L["Frame_2"])
  588. G2L["UIAspectRatioConstraint_6a"]["AspectRatio"] = 1.82857
  589.  
  590. local keyNameToEnum = {
  591. ["ESC"] = "Escape",
  592. ["F1"] = "F1", ["F2"] = "F2", ["F3"] = "F3", ["F4"] = "F4",
  593. ["F5"] = "F5", ["F6"] = "F6", ["F7"] = "F7", ["F8"] = "F8",
  594. ["F9"] = "F9",
  595. ["Q"] = "Q", ["W"] = "W", ["E"] = "E", ["R"] = "R", ["T"] = "T",
  596. ["Y"] = "Y", ["U"] = "U", ["I"] = "I", ["O"] = "O", ["P"] = "P",
  597. ["A"] = "A", ["S"] = "S", ["D"] = "D", ["F"] = "F", ["G"] = "G",
  598. ["H"] = "H", ["J"] = "J", ["K"] = "K", ["L"] = "L",
  599. ["Semicolon"] = "Semicolon",
  600. ["Z"] = "Z", ["X"] = "X", ["C"] = "C", ["V"] = "V", ["B"] = "B",
  601. ["N"] = "N", ["M"] = "M", ["Comma"] = "Comma", ["Period"] = "Period",
  602. ["Slash"] = "Slash", ["Space"] = "Space",
  603. ["LeftCtrl"] = "LeftControl", ["RightCtrl"] = "RightControl",
  604. ["LeftAlt"] = "LeftAlt", ["RightAlt"] = "RightAlt"
  605. }
  606.  
  607. local tweenInfo = TweenInfo.new(0.35, Enum.EasingStyle.Quart, Enum.EasingDirection.Out)
  608.  
  609. local function tweenToCenter()
  610. G2L["Frame_2"].Visible = true
  611. local target = UDim2.new(0.29107, 0, 0.11318, 0)
  612. TweenService:Create(G2L["Frame_2"], tweenInfo, {Position = target}):Play()
  613. end
  614.  
  615. local function tweenToLeftAndHide()
  616. local offscreen = UDim2.new(-1, 0, G2L["Frame_2"].Position.Y.Scale, G2L["Frame_2"].Position.Y.Offset)
  617. local tween = TweenService:Create(G2L["Frame_2"], tweenInfo, {Position = offscreen})
  618. tween:Play()
  619. tween.Completed:Wait()
  620. G2L["Frame_2"].Visible = false
  621. G2L["ShowButton"].Visible = true
  622. G2L["ShowButton"].Position = UDim2.new(0, 10, 0, 10)
  623. end
  624.  
  625. local function pressKey(keyName)
  626. local enumName = keyNameToEnum[keyName]
  627. if enumName then
  628. local keyCode = Enum.KeyCode[enumName]
  629. VirtualInputManager:SendKeyEvent(true, keyCode, false, game)
  630. task.wait(0.05)
  631. VirtualInputManager:SendKeyEvent(false, keyCode, false, game)
  632. end
  633. end
  634.  
  635. local function makeHover(btn, normal, hover)
  636. btn.MouseEnter:Connect(function()
  637. local tweenInfo = TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  638. local tween = TweenService:Create(btn, tweenInfo, {BackgroundColor3 = hover})
  639. tween:Play()
  640. end)
  641.  
  642. btn.MouseLeave:Connect(function()
  643. local tweenInfo = TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  644. local tween = TweenService:Create(btn, tweenInfo, {BackgroundColor3 = normal})
  645. tween:Play()
  646. end)
  647. end
  648.  
  649. local function makePressGlow(btn)
  650. btn.MouseButton1Down:Connect(function()
  651. local originalColor = btn.BackgroundColor3
  652. btn.BackgroundColor3 = Color3.fromRGB(180, 180, 255)
  653. task.wait(0.1)
  654. btn.BackgroundColor3 = originalColor
  655. end)
  656. end
  657.  
  658. local keyButtons = {
  659. "ESC", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9",
  660. "Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P",
  661. "A", "S", "D", "F", "G", "H", "J", "K", "L", "Semicolon",
  662. "Z", "X", "C", "V", "B", "N", "M", "Comma", "Period", "Slash",
  663. "Space", "LeftCtrl", "RightCtrl", "LeftAlt", "RightAlt"
  664. }
  665.  
  666. for _, keyName in ipairs(keyButtons) do
  667. local button = G2L[keyName]
  668. if button then
  669. makeHover(button, button.BackgroundColor3, Color3.fromRGB(20, 20, 20))
  670. makePressGlow(button)
  671.  
  672. button.MouseButton1Click:Connect(function()
  673. pressKey(keyName)
  674. end)
  675. end
  676. end
  677.  
  678. makeHover(G2L["Minimizer"], G2L["Minimizer"].BackgroundColor3, Color3.fromRGB(60, 60, 60))
  679. makeHover(G2L["Close"], G2L["Close"].BackgroundColor3, Color3.fromRGB(255, 100, 100))
  680. makeHover(G2L["ShowButton"], G2L["ShowButton"].BackgroundColor3, Color3.fromRGB(60, 60, 60))
  681.  
  682. makePressGlow(G2L["Minimizer"])
  683. makePressGlow(G2L["Close"])
  684. makePressGlow(G2L["ShowButton"])
  685.  
  686. G2L["Minimizer"].MouseButton1Click:Connect(tweenToLeftAndHide)
  687. G2L["ShowButton"].MouseButton1Click:Connect(function()
  688. G2L["ShowButton"].Visible = false
  689. tweenToCenter()
  690. end)
  691.  
  692. G2L["Close"].MouseButton1Click:Connect(function()
  693. G2L["ScreenGui_1"]:Destroy()
  694. end)
  695.  
  696. plr.CharacterAdded:Connect(function()
  697. local newGui = plr:WaitForChild("PlayerGui")
  698. G2L["ScreenGui_1"].Parent = newGui
  699. end)
  700.  
  701. return G2L["ScreenGui_1"]
Advertisement
Add Comment
Please, Sign In to add comment