Upscalefanatic3

Sword reach GUI v4 [Works on Auto Duels]

Mar 8th, 2018
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.88 KB | None | 0 0
  1. --Sword reach gui created by Taz.
  2. --This is the 4th version of it, and a complete revamp of my old one.
  3. --At the time of writing this, my discord is Taz#5441.
  4. --Enjoy.
  5.  
  6.  
  7. -- Objects
  8.  
  9. local Swordreachv4 = Instance.new("ScreenGui")
  10. local Titlebar = Instance.new("Frame")
  11. local Title = Instance.new("TextLabel")
  12. local Minmise = Instance.new("TextButton")
  13. local Close = Instance.new("TextButton")
  14. local Mainframe = Instance.new("Frame")
  15. local Length = Instance.new("TextBox")
  16. local Width = Instance.new("TextBox")
  17. local Confirm = Instance.new("TextButton")
  18. local Lengthadd = Instance.new("TextButton")
  19. local Widthadd = Instance.new("TextButton")
  20. local Widthminus = Instance.new("TextButton")
  21. local Lengthminus = Instance.new("TextButton")
  22. local Menuchooser = Instance.new("Frame")
  23. local Mainbutton = Instance.new("TextButton")
  24. local Settingsbutton = Instance.new("TextButton")
  25. local Infobutton = Instance.new("TextButton")
  26. local Settings = Instance.new("Frame")
  27. local Annoy = Instance.new("TextButton")
  28. local Annoystatus = Instance.new("TextLabel")
  29. local Annoyvalue = Instance.new("TextBox")
  30. local Autovalue = Instance.new("TextButton")
  31. local Blueboxvalue = Instance.new("TextButton")
  32. local Doubleclickvalue = Instance.new("TextButton")
  33. local Auto = Instance.new("TextLabel")
  34. local Bluebox = Instance.new("TextLabel")
  35. local Doubleclick = Instance.new("TextLabel")
  36. local Destroytool = Instance.new("TextButton")
  37. local Blink = Instance.new("TextLabel")
  38. local Blinkvalue = Instance.new("TextButton")
  39. local Information = Instance.new("Frame")
  40. local Informationpage1 = Instance.new("Frame")
  41. local Informationauto = Instance.new("TextLabel")
  42. local Informationbluebox = Instance.new("TextLabel")
  43. local Informationannoy = Instance.new("TextLabel")
  44. local Informationdestroy = Instance.new("TextLabel")
  45. local Pageno1 = Instance.new("TextLabel")
  46. local Infoforward1 = Instance.new("TextButton")
  47. local Informationgeneral = Instance.new("TextLabel")
  48. local Informationpage2 = Instance.new("Frame")
  49. local Informationblink = Instance.new("TextLabel")
  50. local Pageno2 = Instance.new("TextLabel")
  51. local Infoback2 = Instance.new("TextButton")
  52.  
  53. -- Properties
  54.  
  55. Swordreachv4.Name = "Swordreachv4"
  56. Swordreachv4.Parent = game.StarterGui
  57.  
  58. Titlebar.Name = "Titlebar"
  59. Titlebar.Parent = Swordreachv4
  60. Titlebar.Active = true
  61. Titlebar.BackgroundColor3 = Color3.new(1, 1, 1)
  62. Titlebar.BackgroundTransparency = 0.30000001192093
  63. Titlebar.Draggable = true
  64. Titlebar.Position = UDim2.new(0.32816872, 0, 0.0751252025, 0)
  65. Titlebar.Size = UDim2.new(0, 384, 0, 33)
  66.  
  67. Title.Name = "Title"
  68. Title.Parent = Titlebar
  69. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  70. Title.BackgroundTransparency = 1
  71. Title.BorderSizePixel = 0
  72. Title.Position = UDim2.new(0.2421875, 0, 0, 0)
  73. Title.Size = UDim2.new(0, 198, 0, 33)
  74. Title.ZIndex = 2
  75. Title.Font = Enum.Font.SciFi
  76. Title.Text = "Sword Reach"
  77. Title.TextSize = 30
  78. Title.TextWrapped = true
  79.  
  80. Minmise.Name = "Minmise"
  81. Minmise.Parent = Titlebar
  82. Minmise.BackgroundColor3 = Color3.new(0.796079, 0.796079, 0.796079)
  83. Minmise.BorderColor3 = Color3.new(0.286275, 0.447059, 0.560784)
  84. Minmise.BorderSizePixel = 2
  85. Minmise.Position = UDim2.new(0.7578125, 0, 0, 0)
  86. Minmise.Size = UDim2.new(0, 33, 0, 33)
  87. Minmise.ZIndex = 2
  88. Minmise.Font = Enum.Font.SourceSans
  89. Minmise.Text = "-"
  90. Minmise.TextSize = 40
  91. Minmise.TextWrapped = true
  92.  
  93. Close.Name = "Close"
  94. Close.Parent = Titlebar
  95. Close.BackgroundColor3 = Color3.new(0.796079, 0.796079, 0.796079)
  96. Close.BorderColor3 = Color3.new(0.286275, 0.447059, 0.560784)
  97. Close.BorderSizePixel = 2
  98. Close.Position = UDim2.new(0.9140625, 0, 0, 0)
  99. Close.Size = UDim2.new(0, 33, 0, 33)
  100. Close.ZIndex = 2
  101. Close.Font = Enum.Font.SourceSans
  102. Close.Text = "X"
  103. Close.TextSize = 35
  104. Close.TextWrapped = true
  105.  
  106. Mainframe.Name = "Mainframe"
  107. Mainframe.Parent = Titlebar
  108. Mainframe.BackgroundColor3 = Color3.new(0.584314, 0.584314, 0.584314)
  109. Mainframe.BackgroundTransparency = 0.30000001192093
  110. Mainframe.BorderSizePixel = 0
  111. Mainframe.Position = UDim2.new(0.00260416674, 0, 2.75757575, 0)
  112. Mainframe.Size = UDim2.new(0, 383, 0, 270)
  113. Mainframe.Visible = false
  114.  
  115. Length.Name = "Length"
  116. Length.Parent = Mainframe
  117. Length.BackgroundColor3 = Color3.new(1, 1, 1)
  118. Length.Position = UDim2.new(0.24151437, 0, 0.0732758492, 0)
  119. Length.Size = UDim2.new(0, 198, 0, 50)
  120. Length.Font = Enum.Font.Bodoni
  121. Length.Text = "Length"
  122. Length.TextSize = 40
  123.  
  124. Width.Name = "Width"
  125. Width.Parent = Mainframe
  126. Width.BackgroundColor3 = Color3.new(1, 1, 1)
  127. Width.Position = UDim2.new(0.240208894, 0, 0.708205581, 0)
  128. Width.Size = UDim2.new(0, 198, 0, 50)
  129. Width.Font = Enum.Font.Bodoni
  130. Width.Text = "Width"
  131. Width.TextSize = 40
  132.  
  133. Confirm.Name = "Confirm"
  134. Confirm.Parent = Mainframe
  135. Confirm.BackgroundColor3 = Color3.new(1, 1, 1)
  136. Confirm.Position = UDim2.new(0.302872062, 0, 0.407407433, 0)
  137. Confirm.Size = UDim2.new(0, 149, 0, 41)
  138. Confirm.Font = Enum.Font.Bodoni
  139. Confirm.Text = "Confirm"
  140. Confirm.TextSize = 25
  141.  
  142. Lengthadd.Name = "Lengthadd"
  143. Lengthadd.Parent = Mainframe
  144. Lengthadd.BackgroundColor3 = Color3.new(0.443137, 0.443137, 0.443137)
  145. Lengthadd.Position = UDim2.new(0.785900772, 0, 0.0747126415, 0)
  146. Lengthadd.Size = UDim2.new(0, 50, 0, 50)
  147. Lengthadd.Font = Enum.Font.SourceSans
  148. Lengthadd.Text = "+"
  149. Lengthadd.TextColor3 = Color3.new(1, 1, 1)
  150. Lengthadd.TextSize = 50
  151.  
  152. Widthadd.Name = "Widthadd"
  153. Widthadd.Parent = Mainframe
  154. Widthadd.BackgroundColor3 = Color3.new(0.443137, 0.443137, 0.443137)
  155. Widthadd.Position = UDim2.new(0.785900772, 0, 0.705938697, 0)
  156. Widthadd.Size = UDim2.new(0, 50, 0, 50)
  157. Widthadd.Font = Enum.Font.SourceSans
  158. Widthadd.Text = "+"
  159. Widthadd.TextColor3 = Color3.new(1, 1, 1)
  160. Widthadd.TextSize = 50
  161.  
  162. Widthminus.Name = "Widthminus"
  163. Widthminus.Parent = Mainframe
  164. Widthminus.BackgroundColor3 = Color3.new(0.443137, 0.443137, 0.443137)
  165. Widthminus.Position = UDim2.new(0.0861618519, 0, 0.705938697, 0)
  166. Widthminus.Size = UDim2.new(0, 50, 0, 50)
  167. Widthminus.Font = Enum.Font.SourceSans
  168. Widthminus.Text = "-"
  169. Widthminus.TextColor3 = Color3.new(1, 1, 1)
  170. Widthminus.TextSize = 50
  171.  
  172. Lengthminus.Name = "Lengthminus"
  173. Lengthminus.Parent = Mainframe
  174. Lengthminus.BackgroundColor3 = Color3.new(0.443137, 0.443137, 0.443137)
  175. Lengthminus.Position = UDim2.new(0.0861618519, 0, 0.0732758492, 0)
  176. Lengthminus.Size = UDim2.new(0, 50, 0, 50)
  177. Lengthminus.Font = Enum.Font.SourceSans
  178. Lengthminus.Text = "-"
  179. Lengthminus.TextColor3 = Color3.new(1, 1, 1)
  180. Lengthminus.TextSize = 50
  181.  
  182. Menuchooser.Name = "Menuchooser"
  183. Menuchooser.Parent = Titlebar
  184. Menuchooser.BackgroundColor3 = Color3.new(0, 0, 0)
  185. Menuchooser.BackgroundTransparency = 0.5
  186. Menuchooser.Position = UDim2.new(0.00260416674, 0, 1, 0)
  187. Menuchooser.Size = UDim2.new(0, 383, 0, 58)
  188.  
  189. Mainbutton.Name = "Mainbutton"
  190. Mainbutton.Parent = Menuchooser
  191. Mainbutton.BackgroundColor3 = Color3.new(0, 0, 0)
  192. Mainbutton.BackgroundTransparency = 0.5
  193. Mainbutton.BorderColor3 = Color3.new(1, 1, 1)
  194. Mainbutton.BorderSizePixel = 3
  195. Mainbutton.Position = UDim2.new(0, 0, 0.5, 0)
  196. Mainbutton.Size = UDim2.new(0, 77, 0, 29)
  197. Mainbutton.Font = Enum.Font.SourceSans
  198. Mainbutton.Text = "Reach"
  199. Mainbutton.TextColor3 = Color3.new(1, 1, 1)
  200. Mainbutton.TextScaled = true
  201. Mainbutton.TextSize = 14
  202. Mainbutton.TextWrapped = true
  203.  
  204. Settingsbutton.Name = "Settingsbutton"
  205. Settingsbutton.Parent = Menuchooser
  206. Settingsbutton.BackgroundColor3 = Color3.new(0, 0, 0)
  207. Settingsbutton.BackgroundTransparency = 0.5
  208. Settingsbutton.BorderColor3 = Color3.new(1, 1, 1)
  209. Settingsbutton.BorderSizePixel = 3
  210. Settingsbutton.Position = UDim2.new(0.21671018, 0, 0.5, 0)
  211. Settingsbutton.Size = UDim2.new(0, 77, 0, 29)
  212. Settingsbutton.Font = Enum.Font.SourceSans
  213. Settingsbutton.Text = "Settings"
  214. Settingsbutton.TextColor3 = Color3.new(1, 1, 1)
  215. Settingsbutton.TextScaled = true
  216. Settingsbutton.TextSize = 14
  217. Settingsbutton.TextWrapped = true
  218.  
  219. Infobutton.Name = "Infobutton"
  220. Infobutton.Parent = Menuchooser
  221. Infobutton.BackgroundColor3 = Color3.new(0, 0, 0)
  222. Infobutton.BackgroundTransparency = 0.5
  223. Infobutton.BorderColor3 = Color3.new(1, 1, 1)
  224. Infobutton.BorderSizePixel = 3
  225. Infobutton.Position = UDim2.new(0.43342036, 0, 0.5, 0)
  226. Infobutton.Size = UDim2.new(0, 77, 0, 29)
  227. Infobutton.Font = Enum.Font.SourceSans
  228. Infobutton.Text = "Info"
  229. Infobutton.TextColor3 = Color3.new(1, 1, 1)
  230. Infobutton.TextScaled = true
  231. Infobutton.TextSize = 14
  232. Infobutton.TextWrapped = true
  233.  
  234. Settings.Name = "Settings"
  235. Settings.Parent = Titlebar
  236. Settings.BackgroundColor3 = Color3.new(0.584314, 0.584314, 0.584314)
  237. Settings.BackgroundTransparency = 0.30000001192093
  238. Settings.BorderSizePixel = 0
  239. Settings.Position = UDim2.new(0, 0, 2.75757575, 0)
  240. Settings.Size = UDim2.new(0, 384, 0, 380)
  241. Settings.Visible = false
  242.  
  243. Annoy.Name = "Annoy"
  244. Annoy.Parent = Settings
  245. Annoy.BackgroundColor3 = Color3.new(1, 1, 1)
  246. Annoy.Position = UDim2.new(-0.00100000005, 0, 0.320526361, 0)
  247. Annoy.Size = UDim2.new(0, 182, 0, 40)
  248. Annoy.Font = Enum.Font.SourceSans
  249. Annoy.Text = "Annoy"
  250. Annoy.TextSize = 26
  251.  
  252. Annoystatus.Name = "Annoystatus"
  253. Annoystatus.Parent = Annoy
  254. Annoystatus.BackgroundColor3 = Color3.new(1, 1, 1)
  255. Annoystatus.Size = UDim2.new(0, 200, 0, 50)
  256. Annoystatus.Visible = false
  257. Annoystatus.Font = Enum.Font.SourceSans
  258. Annoystatus.Text = "False"
  259. Annoystatus.TextSize = 14
  260.  
  261. Annoyvalue.Name = "Annoyvalue"
  262. Annoyvalue.Parent = Settings
  263. Annoyvalue.BackgroundColor3 = Color3.new(1, 1, 1)
  264. Annoyvalue.Position = UDim2.new(0.536458313, 0, 0.322186232, 0)
  265. Annoyvalue.Size = UDim2.new(0, 178, 0, 40)
  266. Annoyvalue.Font = Enum.Font.SourceSans
  267. Annoyvalue.Text = "Interval"
  268. Annoyvalue.TextSize = 26
  269.  
  270. Autovalue.Name = "Autovalue"
  271. Autovalue.Parent = Settings
  272. Autovalue.BackgroundColor3 = Color3.new(1, 1, 1)
  273. Autovalue.Position = UDim2.new(0.536458313, 0, 0.0220242888, 0)
  274. Autovalue.Size = UDim2.new(0, 178, 0, 40)
  275. Autovalue.Font = Enum.Font.SourceSans
  276. Autovalue.Text = "False"
  277. Autovalue.TextSize = 26
  278.  
  279. Blueboxvalue.Name = "Blueboxvalue"
  280. Blueboxvalue.Parent = Settings
  281. Blueboxvalue.BackgroundColor3 = Color3.new(1, 1, 1)
  282. Blueboxvalue.Position = UDim2.new(0.536458313, 0, 0.177449375, 0)
  283. Blueboxvalue.Size = UDim2.new(0, 178, 0, 40)
  284. Blueboxvalue.Font = Enum.Font.SourceSans
  285. Blueboxvalue.Text = "False"
  286. Blueboxvalue.TextSize = 26
  287.  
  288. Doubleclickvalue.Name = "Doubleclickvalue"
  289. Doubleclickvalue.Parent = Settings
  290. Doubleclickvalue.BackgroundColor3 = Color3.new(1, 1, 1)
  291. Doubleclickvalue.Position = UDim2.new(0.536458313, 0, 0.462307662, 0)
  292. Doubleclickvalue.Size = UDim2.new(0, 178, 0, 40)
  293. Doubleclickvalue.Font = Enum.Font.SourceSans
  294. Doubleclickvalue.Text = "False"
  295. Doubleclickvalue.TextSize = 26
  296.  
  297. Auto.Name = "Auto"
  298. Auto.Parent = Settings
  299. Auto.BackgroundColor3 = Color3.new(1, 1, 1)
  300. Auto.Position = UDim2.new(0, 0, 0.0199999996, 0)
  301. Auto.Size = UDim2.new(0, 182, 0, 40)
  302. Auto.Font = Enum.Font.SourceSans
  303. Auto.Text = "Auto"
  304. Auto.TextSize = 26
  305.  
  306. Bluebox.Name = "Bluebox"
  307. Bluebox.Parent = Settings
  308. Bluebox.BackgroundColor3 = Color3.new(1, 1, 1)
  309. Bluebox.Position = UDim2.new(0.00300000003, 0, 0.177368447, 0)
  310. Bluebox.Size = UDim2.new(0, 182, 0, 40)
  311. Bluebox.Font = Enum.Font.SourceSans
  312. Bluebox.Text = "Bluebox"
  313. Bluebox.TextSize = 26
  314.  
  315. Doubleclick.Name = "Doubleclick"
  316. Doubleclick.Parent = Settings
  317. Doubleclick.BackgroundColor3 = Color3.new(1, 1, 1)
  318. Doubleclick.Position = UDim2.new(0, 0, 0.463684231, 0)
  319. Doubleclick.Size = UDim2.new(0, 182, 0, 40)
  320. Doubleclick.Font = Enum.Font.SourceSans
  321. Doubleclick.Text = "Doubleclick"
  322. Doubleclick.TextSize = 26
  323.  
  324. Destroytool.Name = "Destroytool"
  325. Destroytool.Parent = Settings
  326. Destroytool.BackgroundColor3 = Color3.new(1, 1, 1)
  327. Destroytool.Position = UDim2.new(0.221354187, 0, 0.792105258, 0)
  328. Destroytool.Size = UDim2.new(0, 214, 0, 79)
  329. Destroytool.Font = Enum.Font.SourceSans
  330. Destroytool.Text = "Destroy Current Tool"
  331. Destroytool.TextScaled = true
  332. Destroytool.TextSize = 26
  333. Destroytool.TextWrapped = true
  334.  
  335. Blink.Name = "Blink"
  336. Blink.Parent = Settings
  337. Blink.BackgroundColor3 = Color3.new(1, 1, 1)
  338. Blink.Position = UDim2.new(0.00260416674, 0, 0.608421087, 0)
  339. Blink.Size = UDim2.new(0, 182, 0, 40)
  340. Blink.Font = Enum.Font.SourceSans
  341. Blink.Text = "Blink"
  342. Blink.TextSize = 26
  343.  
  344. Blinkvalue.Name = "Blinkvalue"
  345. Blinkvalue.Parent = Settings
  346. Blinkvalue.BackgroundColor3 = Color3.new(1, 1, 1)
  347. Blinkvalue.Position = UDim2.new(0.536458313, 0, 0.607044518, 0)
  348. Blinkvalue.Size = UDim2.new(0, 178, 0, 40)
  349. Blinkvalue.Font = Enum.Font.SourceSans
  350. Blinkvalue.Text = "False"
  351. Blinkvalue.TextSize = 26
  352.  
  353. Information.Name = "Information"
  354. Information.Parent = Titlebar
  355. Information.BackgroundColor3 = Color3.new(1, 1, 1)
  356. Information.Position = UDim2.new(0, 0, 2.75757575, 0)
  357. Information.Size = UDim2.new(0, 384, 0, 38)
  358.  
  359. Informationpage1.Name = "Informationpage1"
  360. Informationpage1.Parent = Information
  361. Informationpage1.BackgroundColor3 = Color3.new(0.584314, 0.584314, 0.584314)
  362. Informationpage1.BackgroundTransparency = 0.30000001192093
  363. Informationpage1.BorderSizePixel = 0
  364. Informationpage1.Position = UDim2.new(1.31924171e-05, 0, 1.00568724, 0)
  365. Informationpage1.Size = UDim2.new(0, 383, 0, 270)
  366.  
  367. Informationauto.Name = "Informationauto"
  368. Informationauto.Parent = Informationpage1
  369. Informationauto.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  370. Informationauto.BorderSizePixel = 0
  371. Informationauto.Position = UDim2.new(0, 0, 0.0296296328, 0)
  372. Informationauto.Size = UDim2.new(0, 160, 0, 50)
  373. Informationauto.Font = Enum.Font.SourceSansBold
  374. Informationauto.Text = "Auto makes it so that when you die, your reach is automatically applied."
  375. Informationauto.TextColor3 = Color3.new(1, 1, 1)
  376. Informationauto.TextScaled = true
  377. Informationauto.TextSize = 14
  378. Informationauto.TextWrapped = true
  379.  
  380. Informationbluebox.Name = "Informationbluebox"
  381. Informationbluebox.Parent = Informationpage1
  382. Informationbluebox.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  383. Informationbluebox.BorderSizePixel = 0
  384. Informationbluebox.Position = UDim2.new(0.582245409, 0, 0.0296296328, 0)
  385. Informationbluebox.Size = UDim2.new(0, 160, 0, 50)
  386. Informationbluebox.Font = Enum.Font.SourceSansBold
  387. Informationbluebox.Text = "Bluebox puts a blue selectionbox around your sword"
  388. Informationbluebox.TextColor3 = Color3.new(1, 1, 1)
  389. Informationbluebox.TextScaled = true
  390. Informationbluebox.TextSize = 14
  391. Informationbluebox.TextWrapped = true
  392.  
  393. Informationannoy.Name = "Informationannoy"
  394. Informationannoy.Parent = Informationpage1
  395. Informationannoy.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  396. Informationannoy.BorderSizePixel = 0
  397. Informationannoy.Position = UDim2.new(0, 0, 0.353703707, 0)
  398. Informationannoy.Size = UDim2.new(0, 160, 0, 60)
  399. Informationannoy.Font = Enum.Font.SourceSansBold
  400. Informationannoy.Text = "Annoy spams your sword so that it makes the annoying sheathing noise over and over again."
  401. Informationannoy.TextColor3 = Color3.new(1, 1, 1)
  402. Informationannoy.TextScaled = true
  403. Informationannoy.TextSize = 14
  404. Informationannoy.TextWrapped = true
  405.  
  406. Informationdestroy.Name = "Informationdestroy"
  407. Informationdestroy.Parent = Informationpage1
  408. Informationdestroy.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  409. Informationdestroy.BorderSizePixel = 0
  410. Informationdestroy.Position = UDim2.new(0.582245409, 0, 0.355555564, 0)
  411. Informationdestroy.Size = UDim2.new(0, 160, 0, 60)
  412. Informationdestroy.Font = Enum.Font.SourceSansBold
  413. Informationdestroy.Text = "If you find that you have more than one sword in your inventory and one of them is broken, destroytool should fix it."
  414. Informationdestroy.TextColor3 = Color3.new(1, 1, 1)
  415. Informationdestroy.TextScaled = true
  416. Informationdestroy.TextSize = 14
  417. Informationdestroy.TextWrapped = true
  418.  
  419. Pageno1.Name = "Pageno1"
  420. Pageno1.Parent = Informationpage1
  421. Pageno1.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  422. Pageno1.BorderSizePixel = 0
  423. Pageno1.Position = UDim2.new(0.43342036, 0, 0.6703704, 0)
  424. Pageno1.Size = UDim2.new(0, 57, 0, 60)
  425. Pageno1.Font = Enum.Font.SourceSansBold
  426. Pageno1.Text = "1"
  427. Pageno1.TextColor3 = Color3.new(1, 1, 1)
  428. Pageno1.TextScaled = true
  429. Pageno1.TextSize = 14
  430. Pageno1.TextWrapped = true
  431.  
  432. Infoforward1.Name = "Infoforward1"
  433. Infoforward1.Parent = Informationpage1
  434. Infoforward1.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  435. Infoforward1.Position = UDim2.new(0.634464741, 0, 0.67037034, 0)
  436. Infoforward1.Size = UDim2.new(0, 57, 0, 60)
  437. Infoforward1.Font = Enum.Font.SourceSans
  438. Infoforward1.Text = ">"
  439. Infoforward1.TextColor3 = Color3.new(1, 1, 1)
  440. Infoforward1.TextScaled = true
  441. Infoforward1.TextSize = 14
  442. Infoforward1.TextWrapped = true
  443.  
  444. Informationgeneral.Name = "Informationgeneral"
  445. Informationgeneral.Parent = Information
  446. Informationgeneral.BackgroundColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  447. Informationgeneral.BorderSizePixel = 0
  448. Informationgeneral.Size = UDim2.new(0, 384, 0, 38)
  449. Informationgeneral.Font = Enum.Font.SourceSans
  450. Informationgeneral.Text = "Thanks for using my GUI. These pages will give some information about certain functions of the gui."
  451. Informationgeneral.TextScaled = true
  452. Informationgeneral.TextSize = 14
  453. Informationgeneral.TextWrapped = true
  454.  
  455. Informationpage2.Name = "Informationpage2"
  456. Informationpage2.Parent = Information
  457. Informationpage2.BackgroundColor3 = Color3.new(0.584314, 0.584314, 0.584314)
  458. Informationpage2.BackgroundTransparency = 0.30000001192093
  459. Informationpage2.BorderSizePixel = 0
  460. Informationpage2.Position = UDim2.new(0.00261735916, 0, 1.00568724, 0)
  461. Informationpage2.Size = UDim2.new(0, 383, 0, 270)
  462. Informationpage2.Visible = false
  463.  
  464. Informationblink.Name = "Informationblink"
  465. Informationblink.Parent = Informationpage2
  466. Informationblink.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  467. Informationblink.BorderSizePixel = 0
  468. Informationblink.Size = UDim2.new(0, 383, 0, 165)
  469. Informationblink.Font = Enum.Font.SourceSansBold
  470. Informationblink.Text = "Blink is a very strange function. When activated, your sword volume will go over 40, and you'll be frozen in place on the server. However on the client, you can move around freely, and kill people. They will be killed in real-time, unlike a lag switch, and you'll also be able to see them moving unlike a lag switch. (You can deactivate it if they get too close.) When deactivated, your character on the server is teleported to your position on the client."
  471. Informationblink.TextColor3 = Color3.new(1, 1, 1)
  472. Informationblink.TextScaled = true
  473. Informationblink.TextSize = 14
  474. Informationblink.TextWrapped = true
  475.  
  476. Pageno2.Name = "Pageno2"
  477. Pageno2.Parent = Informationpage2
  478. Pageno2.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  479. Pageno2.BorderSizePixel = 0
  480. Pageno2.Position = UDim2.new(0.43342036, 0, 0.6703704, 0)
  481. Pageno2.Size = UDim2.new(0, 57, 0, 60)
  482. Pageno2.Font = Enum.Font.SourceSansBold
  483. Pageno2.Text = "2"
  484. Pageno2.TextColor3 = Color3.new(1, 1, 1)
  485. Pageno2.TextScaled = true
  486. Pageno2.TextSize = 14
  487. Pageno2.TextWrapped = true
  488.  
  489. Infoback2.Name = "Infoback2"
  490. Infoback2.Parent = Informationpage2
  491. Infoback2.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  492. Infoback2.Position = UDim2.new(0.240208879, 0, 0.67037034, 0)
  493. Infoback2.Size = UDim2.new(0, 57, 0, 60)
  494. Infoback2.Font = Enum.Font.SourceSans
  495. Infoback2.Text = "<"
  496. Infoback2.TextColor3 = Color3.new(1, 1, 1)
  497. Infoback2.TextScaled = true
  498. Infoback2.TextSize = 14
  499. Infoback2.TextWrapped = true
  500.  
  501. --Other
  502.  
  503. Swordreachv4.Parent = game.CoreGui --Because i keep goddamn forgetting
  504.  
  505. --Variables
  506.  
  507. local targetSword
  508. local blueBox
  509. local reachLength = Length.Text
  510. local reachWidth = Width.Text
  511. local me = game:GetService('Players').LocalPlayer
  512. local blueBoxCheck
  513. local equippedCheck = false
  514. local myCharacter = me.character
  515. local myHumanoid = myCharacter.Humanoid
  516. local myMouse = me:GetMouse()
  517. local swordActivated = false
  518. local prevSwordGone = false
  519.  
  520. --Scripting
  521.  
  522.  
  523. function getCharacterHumanoid()
  524. myCharacter = me.character
  525. myHumanoid = myCharacter.Humanoid
  526. end
  527.  
  528. function setSwordReach()
  529. getCharacterHumanoid()
  530. for _,v in pairs(myCharacter:GetChildren()) do
  531. if v.ClassName == 'Tool' then
  532. equippedCheck = true
  533. end
  534. end
  535. if Length.Text == 'Length' then
  536. reachLength = 4
  537. else
  538. reachLength = Length.Text
  539. end
  540.  
  541. if Width.Text == 'Width' then
  542. reachWidth = 1
  543. else
  544. reachWidth = Width.Text
  545. end
  546. getTargetTool()
  547. myHumanoid:EquipTool(targetSword)
  548. myHumanoid:UnequipTools()
  549. targetSword.Handle.Size = Vector3.new(reachWidth, 0, reachLength)
  550. if Blueboxvalue.Text == 'True' then
  551. blueBox = Instance.new('SelectionBox', targetSword.Handle)
  552. blueBox.Adornee = targetSword.Handle
  553. end
  554. if equippedCheck == true then
  555. getTargetTool()
  556. myHumanoid:EquipTool(targetSword)
  557. equippedCheck = false
  558. end
  559. end
  560.  
  561. function getTargetTool()
  562. prevSwordGone = false
  563. for _,v in pairs(me.Backpack:GetChildren()) do
  564. if v.ClassName == 'Tool' then
  565. targetSword = v
  566. end
  567. end
  568. end
  569.  
  570. Minmise.MouseButton1Down:connect(function()
  571. if Mainframe.Visible == true or Settings.Visible == true or Information.Visible == true then
  572. Mainframe.Visible = false
  573. Settings.Visible = false
  574. Information.Visible = false
  575. end
  576. end)
  577. Close.MouseButton1Down:connect(function()
  578. Swordreachv4:Destroy()
  579. script:Destroy()
  580. end)
  581.  
  582. Mainbutton.MouseButton1Down:connect(function()
  583. Mainframe.Visible = true
  584. Settings.Visible = false
  585. Information.Visible = false
  586. end)
  587.  
  588. Settingsbutton.MouseButton1Down:connect(function()
  589. Mainframe.Visible = false
  590. Settings.Visible = true
  591. Information.Visible = false
  592. end)
  593.  
  594. Infobutton.MouseButton1Down:connect(function()
  595. Information.Visible = true
  596. Settings.Visible = false
  597. Mainframe.Visible = false
  598. end)
  599.  
  600. Infoforward1.MouseButton1Down:connect(function()
  601. Informationpage1.Visible = false
  602. Informationpage2.Visible = true
  603. end)
  604.  
  605. Infoback2.MouseButton1Down:connect(function()
  606. Informationpage1.Visible = true
  607. Informationpage2.Visible = false
  608. end)
  609.  
  610. Autovalue.MouseButton1Down:connect(function()
  611. if Autovalue.Text == 'False' then
  612. Autovalue.Text = 'True'
  613. else
  614. Autovalue.Text = 'False'
  615. end
  616. end)
  617. Blueboxvalue.MouseButton1Down:connect(function()
  618. if Blueboxvalue.Text == 'False' then
  619. Blueboxvalue.Text = 'True'
  620. setSwordReach()
  621. else
  622. Blueboxvalue.Text = 'False'
  623. getTargetTool()
  624. blueBoxCheck = targetSword.Handle:FindFirstChild("SelectionBox")
  625. if blueBoxCheck then
  626. for _,v in pairs(targetSword.Handle:GetChildren()) do
  627. if v.ClassName == 'SelectionBox' then
  628. v:Destroy()
  629. end
  630. end
  631. end
  632. end
  633. end)
  634.  
  635. Annoy.MouseButton1Down:connect(function()
  636. if Annoystatus.Text == 'False' then
  637. Annoy.Text = 'Annoy - True'
  638. Annoystatus.Text = 'True'
  639. while Annoystatus.Text == 'True' do
  640. getTargetTool()
  641. getCharacterHumanoid()
  642. myHumanoid:EquipTool(targetSword)
  643. wait(Annoyvalue.Text / 2)
  644. myHumanoid:UnequipTools()
  645. wait(Annoyvalue.Text / 2)
  646. if Annoystatus.Text == 'False' then
  647. break
  648. end
  649. end
  650. else
  651. Annoystatus.Text = 'False'
  652. Annoy.Text = 'Annoy - False'
  653. end
  654. end)
  655.  
  656. Doubleclickvalue.MouseButton1Down:connect(function()
  657. if Doubleclickvalue.Text == 'True' then
  658. Doubleclickvalue.Text = 'False'
  659. elseif Doubleclickvalue.Text == 'False' then
  660. Doubleclickvalue.Text = 'True'
  661. getCharacterHumanoid()
  662. myHumanoid:UnequipTools()
  663. getTargetTool()
  664. while Doubleclickvalue.Text == 'True' do
  665. wait (0)
  666. targetSword.Activated:connect(function()
  667. if Doubleclickvalue.Text == 'False' then
  668. targetSword = nil
  669. elseif swordActivated == false then
  670. swordActivated = true
  671. wait (0.1)
  672. targetSword:Activate()
  673. wait(0)
  674. swordActivated = false
  675. end
  676. end)
  677. if Doubleclickvalue.Text == 'False' then
  678. break
  679. end
  680. end
  681. else
  682. Doubleclickvalue.Text = 'False'
  683. end
  684. end)
  685.  
  686. Blinkvalue.MouseButton1Down:connect(function()
  687. if Blinkvalue.Text == 'False' then
  688. getTargetTool()
  689. getCharacterHumanoid()
  690. for _,v in pairs(myCharacter:GetChildren()) do
  691. if v.ClassName == 'Tool' then
  692. equippedCheck = true
  693. end
  694. end
  695. getTargetTool()
  696. myHumanoid:EquipTool(targetSword)
  697. myHumanoid:UnequipTools()
  698. targetSword.Handle.Size = Vector3.new(8, 0, 5)
  699. if Blueboxvalue.Text == 'True' then
  700. blueBox = Instance.new('SelectionBox', targetSword.Handle)
  701. blueBox.Adornee = targetSword.Handle
  702. end
  703. if equippedCheck == true then
  704. getTargetTool()
  705. myHumanoid:EquipTool(targetSword)
  706. equippedCheck = false
  707. end
  708. Blinkvalue.Text = 'True'
  709. elseif Blinkvalue.Text == 'True' then
  710. setSwordReach()
  711. Blinkvalue.Text = 'False'
  712. else
  713. Blinkvalue.Text = 'False'
  714. end
  715. end)
  716.  
  717. Destroytool.MouseButton1Down:connect(function()
  718. targetSword:Destroy()
  719. getTargetTool()
  720. setSwordReach()
  721. end)
  722.  
  723.  
  724. Confirm.MouseButton1Down:connect(function()
  725. setSwordReach()
  726. end)
  727. Lengthadd.MouseButton1Down:connect(function()
  728. Length.Text = Length.Text + 1
  729. setSwordReach()
  730. end)
  731. Lengthminus.MouseButton1Down:connect(function()
  732. Length.Text = Length.Text - 1
  733. setSwordReach()
  734. end)
  735. Widthadd.MouseButton1Down:connect(function()
  736. Width.Text = Width.Text + 1
  737. setSwordReach()
  738. end)
  739. Widthminus.MouseButton1Down:connect(function()
  740. Width.Text = Width.Text - 1
  741. setSwordReach()
  742. end)
  743.  
  744.  
  745. me.CharacterAppearanceLoaded:connect(function()
  746. if Autovalue.Text == 'True' then
  747. getTargetTool()
  748. reachLength = 8
  749. reachWidth = 5
  750. setSwordReach()
  751. end
  752. end)
  753. me.Backpack.ChildAdded:connect(function(instance)
  754. if Autovalue.Text == 'True' and targetSword ~= instance then
  755. targetSword:Destroy()
  756. targetSword = instance
  757. wait(0)
  758. setSwordReach()
  759. end
  760. end)
  761.  
  762. if game.Workspace.FilteringEnabled == false then
  763. Autovalue.Text = 'False'
  764. Blueboxvalue.Text = 'False'
  765. Doubleclickvalue.Text = 'False'
  766. Swordreachv4:Destroy()
  767. print("Fe is disabled")
  768. end
Add Comment
Please, Sign In to add comment