Advertisement
ERROR_CODE

Notes

Dec 8th, 2023 (edited)
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 21.63 KB | None | 0 0
  1. local UIGui = Instance.new("ScreenGui")
  2. local UserInputService = game:GetService("UserInputService")
  3. local HeadUI = Instance.new("TextLabel")
  4. local NotesFrame = Instance.new("Frame")
  5. local NotesButtonsFrame1 = Instance.new("Frame")
  6. local NotesButtonsFrame1UICorner = Instance.new("UICorner")
  7. local NotesButtonsFrame2 = Instance.new("Frame")
  8. local NotesButtonsFrame2UICorner = Instance.new("UICorner")
  9. local NotesButtonsFrame3 = Instance.new("Frame")
  10. local NotesButtonsFrame3UICorner = Instance.new("UICorner")
  11. local NotesButtonsFrame4 = Instance.new("Frame")
  12. local NotesButtonsFrame4UICorner = Instance.new("UICorner")
  13. local NotesButtonsFrame5 = Instance.new("Frame")
  14. local NotesButtonsFrame5UICorner = Instance.new("UICorner")
  15. local NotesFrameUICorner = Instance.new("UICorner")
  16. local NoteTextBox1 = Instance.new("TextBox")
  17. local NoteTextBox1UICorner = Instance.new("UICorner")
  18. local NoteTextBox1SaveButton = Instance.new("TextButton")
  19. local NoteTextBox1SaveButtonUICorner = Instance.new("UICorner")
  20. local NoteTextBox1ClearButton = Instance.new("TextButton")
  21. local NoteTextBox1ClearButtonUICorner = Instance.new("UICorner")
  22. local NoteTextBox2 = Instance.new("TextBox")
  23. local NoteTextBox2UICorner = Instance.new("UICorner")
  24. local NoteTextBox2SaveButton = Instance.new("TextButton")
  25. local NoteTextBox2SaveButtonUICorner = Instance.new("UICorner")
  26. local NoteTextBox2ClearButton = Instance.new("TextButton")
  27. local NoteTextBox2ClearButtonUICorner = Instance.new("UICorner")
  28. local NoteTextBox3 = Instance.new("TextBox")
  29. local NoteTextBox3UICorner = Instance.new("UICorner")
  30. local NoteTextBox3SaveButton = Instance.new("TextButton")
  31. local NoteTextBox3SaveButtonUICorner = Instance.new("UICorner")
  32. local NoteTextBox3ClearButton = Instance.new("TextButton")
  33. local NoteTextBox3ClearButtonUICorner = Instance.new("UICorner")
  34. local NoteTextBox4 = Instance.new("TextBox")
  35. local NoteTextBox4UICorner = Instance.new("UICorner")
  36. local NoteTextBox4SaveButton = Instance.new("TextButton")
  37. local NoteTextBox4SaveButtonUICorner = Instance.new("UICorner")
  38. local NoteTextBox4ClearButton = Instance.new("TextButton")
  39. local NoteTextBox4ClearButtonUICorner = Instance.new("UICorner")
  40. local NoteTextBox5 = Instance.new("TextBox")
  41. local NoteTextBox5UICorner = Instance.new("UICorner")
  42. local NoteTextBox5SaveButton = Instance.new("TextButton")
  43. local NoteTextBox5SaveButtonUICorner = Instance.new("UICorner")
  44. local NoteTextBox5ClearButton = Instance.new("TextButton")
  45. local NoteTextBox5ClearButtonUICorner = Instance.new("UICorner")
  46. local CloseNotesFrameButton = Instance.new("TextButton")
  47. local CloseNotesFrameButtonUICorner = Instance.new("UICorner")
  48. local ScrollingFrameForNotesFrame = Instance.new("ScrollingFrame")
  49. local SaveAllButton = Instance.new("TextButton")
  50. local SaceAllButtonUICorner = Instance.new("UICorner")
  51. local DeleteAllButton = Instance.new("TextButton")
  52. local DeleteAllButtonUICorner = Instance.new("UICorner")
  53.  
  54. UIGui.Parent = game.CoreGui
  55. HeadUI.Position = UDim2.new(99, 0, 99, 0)
  56. HeadUI.Parent = UIGui
  57. HeadUI.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  58. HeadUI.BackgroundTransparency = 1
  59. HeadUI.Size = UDim2.new(0, 0, 0, 0)
  60. HeadUI.TextColor3 = Color3.fromRGB(255, 255, 255)
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81. NotesFrame.Name = "NotesFrame"
  82. NotesFrame.Parent = UIGui
  83. NotesFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  84. NotesFrame.BackgroundColor3 = HeadUI.BackgroundColor3
  85. NotesFrame.BackgroundTransparency = 0.5
  86. NotesFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  87. NotesFrame.Size = UDim2.new(0, 375, 0, 230)
  88.  
  89. NotesFrameUICorner.Parent = NotesFrame
  90.  
  91. CloseNotesFrameButton.Name = "CloseNotesFrameButton"
  92. CloseNotesFrameButton.Position = UDim2.new(0.9, 0, 0.02, 0)
  93. CloseNotesFrameButton.Parent = NotesFrame
  94. CloseNotesFrameButton.BackgroundColor3 = HeadUI.BackgroundColor3
  95. CloseNotesFrameButton.BackgroundTransparency = 0.5
  96. CloseNotesFrameButton.LayoutOrder = 1
  97. CloseNotesFrameButton.Size = UDim2.new(0, 25, 0, 25)
  98. CloseNotesFrameButton.AutoButtonColor = false
  99. CloseNotesFrameButton.Font = Enum.Font.Code
  100. CloseNotesFrameButton.Text = "X"
  101. CloseNotesFrameButton.TextColor3 = HeadUI.TextColor3
  102. CloseNotesFrameButton.TextScaled = true
  103. CloseNotesFrameButton.TextSize = 14.000
  104. CloseNotesFrameButton.TextWrapped = true
  105.  
  106. CloseNotesFrameButtonUICorner.Parent = CloseNotesFrameButton
  107.  
  108. CloseNotesFrameButton.MouseButton1Click:Connect(function()
  109. NotesFrame.Visible = false
  110. writefile("Note1.txt", ""..NoteTextBox1.Text)
  111. writefile("Note2.txt", ""..NoteTextBox2.Text)
  112. writefile("Note3.txt", ""..NoteTextBox3.Text)
  113. writefile("Note4.txt", ""..NoteTextBox4.Text)
  114. writefile("Note5.txt", ""..NoteTextBox5.Text)
  115. end)
  116.  
  117. NotesButtonsFrame1.Name = "NotesButtonsFrame1"
  118. NotesButtonsFrame1.Parent = NoteTextBox1
  119. NotesButtonsFrame1.AnchorPoint = Vector2.new(0.5, 0.5)
  120. NotesButtonsFrame1.BackgroundColor3 = HeadUI.BackgroundColor3
  121. NotesButtonsFrame1.BackgroundTransparency = 0.5
  122. NotesButtonsFrame1.Position = UDim2.new(0.5, 0, 1.5, 0)
  123. NotesButtonsFrame1.Size = UDim2.new(0, 340, 0, 50)
  124.  
  125. NotesButtonsFrame1UICorner.Parent = NotesButtonsFrame1
  126.  
  127. NoteTextBox1.Name = "NoteTextBox1"
  128. NoteTextBox1.Parent = ScrollingFrameForNotesFrame
  129. NoteTextBox1.BackgroundColor3 = HeadUI.BackgroundColor3
  130. NoteTextBox1.BackgroundTransparency = 0.5
  131. NoteTextBox1.Position = UDim2.new(0.008, 0, 0, 0)
  132. NoteTextBox1.Size = UDim2.new(0, 340, 0, 80)
  133. NoteTextBox1.Font = Enum.Font.Code
  134. NoteTextBox1.FontSize = Enum.FontSize.Size18
  135. NoteTextBox1.Text = "Note"
  136. NoteTextBox1.TextColor3 = HeadUI.TextColor3
  137. NoteTextBox1.TextTransparency = 0.5
  138. NoteTextBox1.TextSize = 15
  139. NoteTextBox1.TextXAlignment = Enum.TextXAlignment.Left
  140. NoteTextBox1.TextYAlignment = Enum.TextYAlignment.Top
  141. NoteTextBox1.TextWrapped = true
  142.  
  143. NoteTextBox1UICorner.Parent = NoteTextBox1
  144.  
  145. NoteTextBox1SaveButton.Name = "NoteTextBox1SaveButton"
  146. NoteTextBox1SaveButton.Position = UDim2.new(0.05, 0, 0.1, 0)
  147. NoteTextBox1SaveButton.Parent = NotesButtonsFrame1
  148. NoteTextBox1SaveButton.BackgroundColor3 = HeadUI.BackgroundColor3
  149. NoteTextBox1SaveButton.BackgroundTransparency = 0.5
  150. NoteTextBox1SaveButton.LayoutOrder = 1
  151. NoteTextBox1SaveButton.Size = UDim2.new(0, 100, 0, 40)
  152. NoteTextBox1SaveButton.AutoButtonColor = false
  153. NoteTextBox1SaveButton.Font = Enum.Font.Code
  154. NoteTextBox1SaveButton.Text = "Save"
  155. NoteTextBox1SaveButton.TextColor3 = HeadUI.TextColor3
  156. NoteTextBox1SaveButton.TextScaled = true
  157. NoteTextBox1SaveButton.TextSize = 14.000
  158. NoteTextBox1SaveButton.TextWrapped = true
  159.  
  160. NoteTextBox1SaveButtonUICorner.Parent = NoteTextBox1SaveButton
  161.  
  162. NoteTextBox1SaveButton.MouseButton1Click:Connect(function()
  163. setclipboard(""..NoteTextBox1.Text)
  164. writefile("Note1.txt", ""..NoteTextBox1.Text)
  165. end)
  166.  
  167. NoteTextBox1ClearButton.Name = "NoteTextBox1ClearButton"
  168. NoteTextBox1ClearButton.Position = UDim2.new(0.65, 0, 0.1, 0)
  169. NoteTextBox1ClearButton.Parent = NotesButtonsFrame1
  170. NoteTextBox1ClearButton.BackgroundColor3 = HeadUI.BackgroundColor3
  171. NoteTextBox1ClearButton.BackgroundTransparency = 0.5
  172. NoteTextBox1ClearButton.LayoutOrder = 1
  173. NoteTextBox1ClearButton.Size = UDim2.new(0, 100, 0, 40)
  174. NoteTextBox1ClearButton.AutoButtonColor = false
  175. NoteTextBox1ClearButton.Font = Enum.Font.Code
  176. NoteTextBox1ClearButton.Text = "Delete"
  177. NoteTextBox1ClearButton.TextColor3 = HeadUI.TextColor3
  178. NoteTextBox1ClearButton.TextScaled = true
  179. NoteTextBox1ClearButton.TextSize = 14.000
  180. NoteTextBox1ClearButton.TextWrapped = true
  181.  
  182. NoteTextBox1ClearButtonUICorner.Parent = NoteTextBox1ClearButton
  183.  
  184. NoteTextBox1ClearButton.MouseButton1Click:Connect(function()
  185. NoteTextBox1.Text = "Note"
  186. writefile("Note1.txt", ""..NoteTextBox1.Text)
  187. end)
  188.  
  189. NotesButtonsFrame2.Name = "NotesButtonsFrame2"
  190. NotesButtonsFrame2.Parent = NoteTextBox2
  191. NotesButtonsFrame2.AnchorPoint = Vector2.new(0.5, 0.5)
  192. NotesButtonsFrame2.BackgroundColor3 = HeadUI.BackgroundColor3
  193. NotesButtonsFrame2.BackgroundTransparency = 0.5
  194. NotesButtonsFrame2.Position = UDim2.new(0.5, 0, 1.5, 0)
  195. NotesButtonsFrame2.Size = UDim2.new(0, 340, 0, 50)
  196.  
  197. NotesButtonsFrame2UICorner.Parent = NotesButtonsFrame2
  198.  
  199. NoteTextBox2.Name = "NoteTextBox2"
  200. NoteTextBox2.Parent = ScrollingFrameForNotesFrame
  201. NoteTextBox2.BackgroundColor3 = HeadUI.BackgroundColor3
  202. NoteTextBox2.BackgroundTransparency = 0.5
  203. NoteTextBox2.Position = UDim2.new(0.008, 0, 0.2, 0)
  204. NoteTextBox2.Size = UDim2.new(0, 340, 0, 80)
  205. NoteTextBox2.Font = Enum.Font.Code
  206. NoteTextBox2.FontSize = Enum.FontSize.Size18
  207. NoteTextBox2.Text = "Note"
  208. NoteTextBox2.TextColor3 = HeadUI.TextColor3
  209. NoteTextBox2.TextTransparency = 0.5
  210. NoteTextBox2.TextSize = 15
  211. NoteTextBox2.TextXAlignment = Enum.TextXAlignment.Left
  212. NoteTextBox2.TextYAlignment = Enum.TextYAlignment.Top
  213. NoteTextBox2.TextWrapped = true
  214.  
  215. NoteTextBox2UICorner.Parent = NoteTextBox2
  216.  
  217. NoteTextBox2SaveButton.Name = "NoteTextBox2SaveButton"
  218. NoteTextBox2SaveButton.Position = UDim2.new(0.05, 0, 0.1, 0)
  219. NoteTextBox2SaveButton.Parent = NotesButtonsFrame2
  220. NoteTextBox2SaveButton.BackgroundColor3 = HeadUI.BackgroundColor3
  221. NoteTextBox2SaveButton.BackgroundTransparency = 0.5
  222. NoteTextBox2SaveButton.LayoutOrder = 1
  223. NoteTextBox2SaveButton.Size = UDim2.new(0, 100, 0, 40)
  224. NoteTextBox2SaveButton.AutoButtonColor = false
  225. NoteTextBox2SaveButton.Font = Enum.Font.Code
  226. NoteTextBox2SaveButton.Text = "Save"
  227. NoteTextBox2SaveButton.TextColor3 = HeadUI.TextColor3
  228. NoteTextBox2SaveButton.TextScaled = true
  229. NoteTextBox2SaveButton.TextSize = 14.000
  230. NoteTextBox2SaveButton.TextWrapped = true
  231.  
  232. NoteTextBox2SaveButtonUICorner.Parent = NoteTextBox2SaveButton
  233.  
  234. NoteTextBox2SaveButton.MouseButton1Click:Connect(function()
  235. setclipboard(""..NoteTextBox2.Text)
  236. writefile("Note2.txt", ""..NoteTextBox2.Text)
  237. end)
  238.  
  239. NoteTextBox2ClearButton.Name = "NoteTextBox2ClearButton"
  240. NoteTextBox2ClearButton.Position = UDim2.new(0.65, 0, 0.1, 0)
  241. NoteTextBox2ClearButton.Parent = NotesButtonsFrame2
  242. NoteTextBox2ClearButton.BackgroundColor3 = HeadUI.BackgroundColor3
  243. NoteTextBox2ClearButton.BackgroundTransparency = 0.5
  244. NoteTextBox2ClearButton.LayoutOrder = 1
  245. NoteTextBox2ClearButton.Size = UDim2.new(0, 100, 0, 40)
  246. NoteTextBox2ClearButton.AutoButtonColor = false
  247. NoteTextBox2ClearButton.Font = Enum.Font.Code
  248. NoteTextBox2ClearButton.Text = "Delete"
  249. NoteTextBox2ClearButton.TextColor3 = HeadUI.TextColor3
  250. NoteTextBox2ClearButton.TextScaled = true
  251. NoteTextBox2ClearButton.TextSize = 14.000
  252. NoteTextBox2ClearButton.TextWrapped = true
  253.  
  254. NoteTextBox2ClearButtonUICorner.Parent = NoteTextBox2ClearButton
  255.  
  256. NoteTextBox2ClearButton.MouseButton1Click:Connect(function()
  257. NoteTextBox2.Text = "Note"
  258. writefile("Note2.txt", ""..NoteTextBox2.Text)
  259. end)
  260.  
  261. NotesButtonsFrame3.Name = "NotesButtonsFrame3"
  262. NotesButtonsFrame3.Parent = NoteTextBox3
  263. NotesButtonsFrame3.AnchorPoint = Vector2.new(0.5, 0.5)
  264. NotesButtonsFrame3.BackgroundColor3 = HeadUI.BackgroundColor3
  265. NotesButtonsFrame3.BackgroundTransparency = 0.5
  266. NotesButtonsFrame3.Position = UDim2.new(0.5, 0, 1.5, 0)
  267. NotesButtonsFrame3.Size = UDim2.new(0, 340, 0, 50)
  268.  
  269. NotesButtonsFrame3UICorner.Parent = NotesButtonsFrame3
  270.  
  271. NoteTextBox3.Name = "NoteTextBox3"
  272. NoteTextBox3.Parent = ScrollingFrameForNotesFrame
  273. NoteTextBox3.BackgroundColor3 = HeadUI.BackgroundColor3
  274. NoteTextBox3.BackgroundTransparency = 0.5
  275. NoteTextBox3.Position = UDim2.new(0.008, 0, 0.4, 0)
  276. NoteTextBox3.Size = UDim2.new(0, 340, 0, 80)
  277. NoteTextBox3.Font = Enum.Font.Code
  278. NoteTextBox3.FontSize = Enum.FontSize.Size18
  279. NoteTextBox3.Text = "Note"
  280. NoteTextBox3.TextColor3 = HeadUI.TextColor3
  281. NoteTextBox3.TextTransparency = 0.5
  282. NoteTextBox3.TextSize = 15
  283. NoteTextBox3.TextXAlignment = Enum.TextXAlignment.Left
  284. NoteTextBox3.TextYAlignment = Enum.TextYAlignment.Top
  285. NoteTextBox3.TextWrapped = true
  286.  
  287. NoteTextBox3UICorner.Parent = NoteTextBox3
  288.  
  289. NoteTextBox3SaveButton.Name = "NoteTextBox3SaveButton"
  290. NoteTextBox3SaveButton.Position = UDim2.new(0.05, 0, 0.1, 0)
  291. NoteTextBox3SaveButton.Parent = NotesButtonsFrame3
  292. NoteTextBox3SaveButton.BackgroundColor3 = HeadUI.BackgroundColor3
  293. NoteTextBox3SaveButton.BackgroundTransparency = 0.5
  294. NoteTextBox3SaveButton.LayoutOrder = 1
  295. NoteTextBox3SaveButton.Size = UDim2.new(0, 100, 0, 40)
  296. NoteTextBox3SaveButton.AutoButtonColor = false
  297. NoteTextBox3SaveButton.Font = Enum.Font.Code
  298. NoteTextBox3SaveButton.Text = "Save"
  299. NoteTextBox3SaveButton.TextColor3 = HeadUI.TextColor3
  300. NoteTextBox3SaveButton.TextScaled = true
  301. NoteTextBox3SaveButton.TextSize = 14.000
  302. NoteTextBox3SaveButton.TextWrapped = true
  303.  
  304. NoteTextBox3SaveButtonUICorner.Parent = NoteTextBox3SaveButton
  305.  
  306. NoteTextBox3SaveButton.MouseButton1Click:Connect(function()
  307. setclipboard(""..NoteTextBox3.Text)
  308. writefile("Note3.txt", ""..NoteTextBox3.Text)
  309. end)
  310.  
  311. NoteTextBox3ClearButton.Name = "NoteTextBox3ClearButton"
  312. NoteTextBox3ClearButton.Position = UDim2.new(0.65, 0, 0.1, 0)
  313. NoteTextBox3ClearButton.Parent = NotesButtonsFrame3
  314. NoteTextBox3ClearButton.BackgroundColor3 = HeadUI.BackgroundColor3
  315. NoteTextBox3ClearButton.BackgroundTransparency = 0.5
  316. NoteTextBox3ClearButton.LayoutOrder = 1
  317. NoteTextBox3ClearButton.Size = UDim2.new(0, 100, 0, 40)
  318. NoteTextBox3ClearButton.AutoButtonColor = false
  319. NoteTextBox3ClearButton.Font = Enum.Font.Code
  320. NoteTextBox3ClearButton.Text = "Delete"
  321. NoteTextBox3ClearButton.TextColor3 = HeadUI.TextColor3
  322. NoteTextBox3ClearButton.TextScaled = true
  323. NoteTextBox3ClearButton.TextSize = 14.000
  324. NoteTextBox3ClearButton.TextWrapped = true
  325.  
  326. NoteTextBox3ClearButtonUICorner.Parent = NoteTextBox3ClearButton
  327.  
  328. NoteTextBox3ClearButton.MouseButton1Click:Connect(function()
  329. NoteTextBox3.Text = "Note"
  330. writefile("Note3.txt", ""..NoteTextBox3.Text)
  331. end)
  332.  
  333. NotesButtonsFrame4.Name = "NotesButtonsFrame4"
  334. NotesButtonsFrame4.Parent = NoteTextBox4
  335. NotesButtonsFrame4.AnchorPoint = Vector2.new(0.5, 0.5)
  336. NotesButtonsFrame4.BackgroundColor3 = HeadUI.BackgroundColor3
  337. NotesButtonsFrame4.BackgroundTransparency = 0.5
  338. NotesButtonsFrame4.Position = UDim2.new(0.5, 0, 1.5, 0)
  339. NotesButtonsFrame4.Size = UDim2.new(0, 340, 0, 50)
  340.  
  341. NotesButtonsFrame4UICorner.Parent = NotesButtonsFrame4
  342.  
  343. NoteTextBox4.Name = "NoteTextBox4"
  344. NoteTextBox4.Parent = ScrollingFrameForNotesFrame
  345. NoteTextBox4.BackgroundColor3 = HeadUI.BackgroundColor3
  346. NoteTextBox4.BackgroundTransparency = 0.5
  347. NoteTextBox4.Position = UDim2.new(0.008, 0, 0.6, 0)
  348. NoteTextBox4.Size = UDim2.new(0, 340, 0, 80)
  349. NoteTextBox4.Font = Enum.Font.Code
  350. NoteTextBox4.FontSize = Enum.FontSize.Size18
  351. NoteTextBox4.Text = "Note"
  352. NoteTextBox4.TextColor3 = HeadUI.TextColor3
  353. NoteTextBox4.TextTransparency = 0.5
  354. NoteTextBox4.TextSize = 15
  355. NoteTextBox4.TextXAlignment = Enum.TextXAlignment.Left
  356. NoteTextBox4.TextYAlignment = Enum.TextYAlignment.Top
  357. NoteTextBox4.TextWrapped = true
  358.  
  359. NoteTextBox4UICorner.Parent = NoteTextBox4
  360.  
  361. NoteTextBox4SaveButton.Name = "NoteTextBox4SaveButton"
  362. NoteTextBox4SaveButton.Position = UDim2.new(0.05, 0, 0.1, 0)
  363. NoteTextBox4SaveButton.Parent = NotesButtonsFrame4
  364. NoteTextBox4SaveButton.BackgroundColor3 = HeadUI.BackgroundColor3
  365. NoteTextBox4SaveButton.BackgroundTransparency = 0.5
  366. NoteTextBox4SaveButton.LayoutOrder = 1
  367. NoteTextBox4SaveButton.Size = UDim2.new(0, 100, 0, 40)
  368. NoteTextBox4SaveButton.AutoButtonColor = false
  369. NoteTextBox4SaveButton.Font = Enum.Font.Code
  370. NoteTextBox4SaveButton.Text = "Save"
  371. NoteTextBox4SaveButton.TextColor3 = HeadUI.TextColor3
  372. NoteTextBox4SaveButton.TextScaled = true
  373. NoteTextBox4SaveButton.TextSize = 14.000
  374. NoteTextBox4SaveButton.TextWrapped = true
  375.  
  376. NoteTextBox4SaveButtonUICorner.Parent = NoteTextBox4SaveButton
  377.  
  378. NoteTextBox4SaveButton.MouseButton1Click:Connect(function()
  379. setclipboard(""..NoteTextBox4.Text)
  380. writefile("Note4.txt", ""..NoteTextBox4.Text)
  381. end)
  382.  
  383. NoteTextBox4ClearButton.Name = "NoteTextBox4ClearButton"
  384. NoteTextBox4ClearButton.Position = UDim2.new(0.65, 0, 0.1, 0)
  385. NoteTextBox4ClearButton.Parent = NotesButtonsFrame4
  386. NoteTextBox4ClearButton.BackgroundColor3 = HeadUI.BackgroundColor3
  387. NoteTextBox4ClearButton.BackgroundTransparency = 0.5
  388. NoteTextBox4ClearButton.LayoutOrder = 1
  389. NoteTextBox4ClearButton.Size = UDim2.new(0, 100, 0, 40)
  390. NoteTextBox4ClearButton.AutoButtonColor = false
  391. NoteTextBox4ClearButton.Font = Enum.Font.Code
  392. NoteTextBox4ClearButton.Text = "Delete"
  393. NoteTextBox4ClearButton.TextColor3 = HeadUI.TextColor3
  394. NoteTextBox4ClearButton.TextScaled = true
  395. NoteTextBox4ClearButton.TextSize = 14.000
  396. NoteTextBox4ClearButton.TextWrapped = true
  397.  
  398. NoteTextBox4ClearButtonUICorner.Parent = NoteTextBox4ClearButton
  399.  
  400. NoteTextBox4ClearButton.MouseButton1Click:Connect(function()
  401. NoteTextBox4.Text = "Note"
  402. writefile("Note4.txt", ""..NoteTextBox4.Text)
  403. end)
  404.  
  405. NotesButtonsFrame5.Name = "NotesButtonsFrame5"
  406. NotesButtonsFrame5.Parent = NoteTextBox5
  407. NotesButtonsFrame5.AnchorPoint = Vector2.new(0.5, 0.5)
  408. NotesButtonsFrame5.BackgroundColor3 = HeadUI.BackgroundColor3
  409. NotesButtonsFrame5.BackgroundTransparency = 0.5
  410. NotesButtonsFrame5.Position = UDim2.new(0.5, 0, 1.5, 0)
  411. NotesButtonsFrame5.Size = UDim2.new(0, 340, 0, 50)
  412.  
  413. NotesButtonsFrame5UICorner.Parent = NotesButtonsFrame5
  414.  
  415. NoteTextBox5.Name = "NoteTextBox5"
  416. NoteTextBox5.Parent = ScrollingFrameForNotesFrame
  417. NoteTextBox5.BackgroundColor3 = HeadUI.BackgroundColor3
  418. NoteTextBox5.BackgroundTransparency = 0.5
  419. NoteTextBox5.Position = UDim2.new(0.008, 0, 0.8, 0)
  420. NoteTextBox5.Size = UDim2.new(0, 340, 0, 80)
  421. NoteTextBox5.Font = Enum.Font.Code
  422. NoteTextBox5.FontSize = Enum.FontSize.Size18
  423. NoteTextBox5.Text = "Note"
  424. NoteTextBox5.TextColor3 = HeadUI.TextColor3
  425. NoteTextBox5.TextTransparency = 0.5
  426. NoteTextBox5.TextSize = 15
  427. NoteTextBox5.TextXAlignment = Enum.TextXAlignment.Left
  428. NoteTextBox5.TextYAlignment = Enum.TextYAlignment.Top
  429. NoteTextBox5.TextWrapped = true
  430.  
  431. NoteTextBox5UICorner.Parent = NoteTextBox5
  432.  
  433. NoteTextBox5SaveButton.Name = "NoteTextBox5SaveButton"
  434. NoteTextBox5SaveButton.Position = UDim2.new(0.05, 0, 0.1, 0)
  435. NoteTextBox5SaveButton.Parent = NotesButtonsFrame5
  436. NoteTextBox5SaveButton.BackgroundColor3 = HeadUI.BackgroundColor3
  437. NoteTextBox5SaveButton.BackgroundTransparency = 0.5
  438. NoteTextBox5SaveButton.LayoutOrder = 1
  439. NoteTextBox5SaveButton.Size = UDim2.new(0, 100, 0, 40)
  440. NoteTextBox5SaveButton.AutoButtonColor = false
  441. NoteTextBox5SaveButton.Font = Enum.Font.Code
  442. NoteTextBox5SaveButton.Text = "Save"
  443. NoteTextBox5SaveButton.TextColor3 = HeadUI.TextColor3
  444. NoteTextBox5SaveButton.TextScaled = true
  445. NoteTextBox5SaveButton.TextSize = 14.000
  446. NoteTextBox5SaveButton.TextWrapped = true
  447. NoteTextBox5SaveButtonUICorner.Parent = NoteTextBox4SaveButton
  448.  
  449. NoteTextBox5SaveButton.MouseButton1Click:Connect(function()
  450. setclipboard(""..NoteTextBox5.Text)
  451. writefile("Note5.txt", ""..NoteTextBox5.Text)
  452. end)
  453.  
  454. NoteTextBox5ClearButton.Name = "NoteTextBox5ClearButton"
  455. NoteTextBox5ClearButton.Position = UDim2.new(0.65, 0, 0.1, 0)
  456. NoteTextBox5ClearButton.Parent = NotesButtonsFrame5
  457. NoteTextBox5ClearButton.BackgroundColor3 = HeadUI.BackgroundColor3
  458. NoteTextBox5ClearButton.BackgroundTransparency = 0.5
  459. NoteTextBox5ClearButton.LayoutOrder = 1
  460. NoteTextBox5ClearButton.Size = UDim2.new(0, 100, 0, 40)
  461. NoteTextBox5ClearButton.AutoButtonColor = false
  462. NoteTextBox5ClearButton.Font = Enum.Font.Code
  463. NoteTextBox5ClearButton.Text = "Delete"
  464. NoteTextBox5ClearButton.TextColor3 = HeadUI.TextColor3
  465. NoteTextBox5ClearButton.TextScaled = true
  466. NoteTextBox5ClearButton.TextSize = 14.000
  467. NoteTextBox5ClearButton.TextWrapped = true
  468.  
  469. NoteTextBox5ClearButtonUICorner.Parent = NoteTextBox5ClearButton
  470.  
  471. NoteTextBox5ClearButton.MouseButton1Click:Connect(function()
  472. NoteTextBox5.Text = "Note"
  473. writefile("Note5.txt", ""..NoteTextBox5.Text)
  474. end)
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496. ScrollingFrameForNotesFrame.CanvasSize = UDim2.new(0, 0, 4, 0)
  497. ScrollingFrameForNotesFrame.ScrollBarImageColor3 = Color3.new(1, 1, 1)
  498. ScrollingFrameForNotesFrame.ScrollBarThickness = 8
  499. ScrollingFrameForNotesFrame.Active = true
  500. ScrollingFrameForNotesFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  501. ScrollingFrameForNotesFrame.BackgroundTransparency = 1
  502. ScrollingFrameForNotesFrame.BorderSizePixel = 0
  503. ScrollingFrameForNotesFrame.Position = UDim2.new(0.03, 0, 0.15, 0)
  504. ScrollingFrameForNotesFrame.Size = UDim2.new(0.96, 0, 0.8, 0)
  505. ScrollingFrameForNotesFrame.Name = "ScrollingFrameForNotesFrame"
  506. ScrollingFrameForNotesFrame.Parent = NotesFrame
  507.  
  508.  
  509.  
  510. local gui = NotesFrame
  511.  
  512. local dragging
  513. local dragInput
  514. local dragStart
  515. local startPos
  516.  
  517. local function update(input)
  518.     local delta = input.Position - dragStart
  519.     gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  520. end
  521.  
  522. gui.InputBegan:Connect(function(input)
  523.     if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  524.         dragging = true
  525.         dragStart = input.Position
  526.         startPos = gui.Position
  527.  
  528.         input.Changed:Connect(function()
  529.             if input.UserInputState == Enum.UserInputState.End then
  530.                 dragging = false
  531.             end
  532.         end)
  533.     end
  534. end)
  535.  
  536. gui.InputChanged:Connect(function(input)
  537.     if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  538.         dragInput = input
  539.     end
  540. end)
  541.  
  542. UserInputService.InputChanged:Connect(function(input)
  543.     if input == dragInput and dragging then
  544.         update(input)
  545.     end
  546. end)
  547. local ReadNote1 = readfile("Note1.txt")
  548. NoteTextBox1.Text = ""..ReadNote1
  549. if readfile("Note1.txt") == nil then
  550. NoteTextBox1.Text = "Note"
  551. end
  552.  
  553.  
  554.  
  555. local ReadNote2 = readfile("Note2.txt")
  556. NoteTextBox2.Text = ""..ReadNote2
  557. if readfile("Note2.txt") == nil then
  558. NoteTextBox2.Text = "Note"
  559. end
  560.  
  561.  
  562.  
  563. local ReadNote3 = readfile("Note3.txt")
  564. NoteTextBox3.Text = ""..ReadNote3
  565. if readfile("Note3.txt") == nil then
  566. NoteTextBox3.Text = "Note"
  567. end
  568.  
  569.  
  570.  
  571. local ReadNote4 = readfile("Note4.txt")
  572. NoteTextBox4.Text = ""..ReadNote4
  573. if readfile("Note4.txt") == nil then
  574. NoteTextBox4.Text = "Note"
  575. end
  576.  
  577.  
  578.  
  579. local ReadNote5 = readfile("Note5.txt")
  580. NoteTextBox5.Text = ""..ReadNote5
  581. if readfile("Note5.txt") == nil then
  582. NoteTextBox5.Text = "Note"
  583. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement