Advertisement
TheMadWally

eggs dee

Oct 28th, 2017
969
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 28.72 KB | None | 0 0
  1. warn('GUI loaded! Credits to wallythemad @ v3rmillion.net')
  2. if game:GetService('CoreGui'):FindFirstChild('thingo') then
  3.    game:GetService('CoreGui').thingo:Destroy()
  4. end
  5. print('GUI check finished.')
  6. if not getrawmetatable then
  7.     warn('Could not find getrawmetatable')
  8.     return
  9. end
  10. print('getrawmetatable found!')
  11. local mt = getrawmetatable(game)
  12. local old = {}
  13. local kek = nil
  14. local remote = workspace.Main.SetStat
  15.  
  16. for i, v in next, mt do
  17.     old[i] = v
  18. end
  19.  
  20. if fullaccess then
  21.     warn('Full access!')
  22.     fullaccess(mt)
  23. elseif make_writeable then
  24.     warn('Make writable')
  25.     make_writeable(mt)
  26. elseif setreadonly then
  27.     warn('setreadonly!')
  28.     setreadonly(mt, false)
  29. end
  30.  
  31. local realmethods = {}
  32. realmethods.FireServer = Instance.new("RemoteEvent").FireServer
  33.  
  34. function returnValues(self, key, ...)
  35.     return {realmethods[key](self, ...)}
  36. end
  37.  
  38. mt.__index = function(t, k)
  39.     if t ~= remote then return old.__index(t, k) end
  40.     return function(self, ...)
  41.         local data = returnValues(t, k, ...)
  42.        
  43.         local arguments = {...}
  44.         if kek == nil then
  45.             kek = arguments[#arguments]
  46.         end
  47.         return unpack(data)
  48.     end
  49. end
  50. repeat wait() until kek ~= nil
  51. warn('Network key found!', kek)
  52. local MainScreenGui = Instance.new("ScreenGui", game.CoreGui)
  53. MainScreenGui.Name = "thingo"
  54.  
  55.  
  56. local Frame = Instance.new("Frame", game.CoreGui.thingo)
  57. Frame.SelectionImageObject = nil
  58. Frame.Active = false
  59. Frame.AnchorPoint = Vector2.new(0, 0)
  60. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  61. Frame.BackgroundTransparency = 0.34999999403954
  62. Frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  63. Frame.BorderSizePixel = 0
  64. Frame.LayoutOrder = 0
  65. Frame.Name = "Frame"
  66. Frame.Position = UDim2.new(0, -310, 0, 298)
  67. Frame.Rotation = 0
  68. Frame.Selectable = false
  69. Frame.Size = UDim2.new(0, 310, 0, 177)
  70. Frame.SizeConstraint = Enum.SizeConstraint.RelativeXY
  71. Frame.Style = Enum.FrameStyle.Custom
  72. Frame.Visible = true
  73. Frame.ZIndex = 1
  74. Frame.Archivable = true
  75. Frame.ClipsDescendants = false
  76. Frame.Draggable = false
  77. Frame.NextSelectionDown = nil
  78. Frame.NextSelectionLeft = nil
  79. Frame.NextSelectionRight = nil
  80. Frame.NextSelectionUp = nil
  81.  
  82. local title = Instance.new("TextLabel", game.CoreGui.thingo.Frame)
  83. title.SelectionImageObject = nil
  84. title.Active = false
  85. title.AnchorPoint = Vector2.new(0, 0)
  86. title.BackgroundColor3 = Color3.new(1, 1, 1)
  87. title.BackgroundTransparency = 1
  88. title.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  89. title.BorderSizePixel = 0
  90. title.LayoutOrder = 0
  91. title.Name = "title"
  92. title.Position = UDim2.new(0, 0, 0, 0)
  93. title.Rotation = 0
  94. title.Selectable = false
  95. title.Size = UDim2.new(0, 310, 0, 36)
  96. title.SizeConstraint = Enum.SizeConstraint.RelativeXY
  97. title.Font = Enum.Font.SourceSansBold
  98. title.FontSize = Enum.FontSize.Size28
  99. title.Text = string.upper("Fairy Tail Revelations GUI")
  100. title.TextColor3 = Color3.new(0, 0.615686, 1)
  101. title.TextScaled = true
  102. title.TextSize = 28
  103. title.TextStrokeColor3 = Color3.new(0, 0, 0)
  104. title.TextStrokeTransparency = 1
  105. title.TextTransparency = 0
  106. title.TextWrapped = true
  107. title.TextXAlignment = Enum.TextXAlignment.Center
  108. title.TextYAlignment = Enum.TextYAlignment.Center
  109.  
  110. title.Visible = true
  111. title.ZIndex = 1
  112. title.Archivable = true
  113. title.ClipsDescendants = false
  114. title.Draggable = false
  115. title.NextSelectionDown = nil
  116. title.NextSelectionLeft = nil
  117. title.NextSelectionRight = nil
  118. title.NextSelectionUp = nil
  119.  
  120. local buttons = Instance.new("Frame", game.CoreGui.thingo.Frame)
  121. buttons.SelectionImageObject = nil
  122. buttons.Active = false
  123. buttons.AnchorPoint = Vector2.new(0, 0)
  124. buttons.BackgroundColor3 = Color3.new(1, 1, 1)
  125. buttons.BackgroundTransparency = 1
  126. buttons.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  127. buttons.BorderSizePixel = 1
  128. buttons.LayoutOrder = 0
  129. buttons.Name = "buttons"
  130. buttons.Position = UDim2.new(0, 0, 0, 38)
  131. buttons.Rotation = 0
  132. buttons.Selectable = false
  133. buttons.Size = UDim2.new(0, 310, 0, 23)
  134. buttons.SizeConstraint = Enum.SizeConstraint.RelativeXY
  135. buttons.Style = Enum.FrameStyle.Custom
  136. buttons.Visible = true
  137. buttons.ZIndex = 5
  138. buttons.Archivable = true
  139. buttons.ClipsDescendants = false
  140. buttons.Draggable = false
  141. buttons.NextSelectionDown = nil
  142. buttons.NextSelectionLeft = nil
  143. buttons.NextSelectionRight = nil
  144. buttons.NextSelectionUp = nil
  145.  
  146. local Stats = Instance.new("TextButton", game.CoreGui.thingo.Frame.buttons)
  147. Stats.SelectionImageObject = nil
  148. Stats.Active = true
  149. Stats.AnchorPoint = Vector2.new(0, 0)
  150. Stats.BackgroundColor3 = Color3.new(1, 1, 1)
  151. Stats.BackgroundTransparency = 0
  152. Stats.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  153. Stats.BorderSizePixel = 0
  154. Stats.LayoutOrder = 0
  155. Stats.Name = "Stats"
  156. Stats.Position = UDim2.new(0, 0, 0, 0)
  157. Stats.Rotation = 0
  158. Stats.Selectable = true
  159. Stats.Size = UDim2.new(0, 104, 0, 23)
  160. Stats.SizeConstraint = Enum.SizeConstraint.RelativeXY
  161. Stats.AutoButtonColor = true
  162. Stats.Selected = false
  163. Stats.Font = Enum.Font.SourceSansBold
  164. Stats.FontSize = Enum.FontSize.Size14
  165. Stats.Text = "STATS"
  166. Stats.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  167. Stats.TextScaled = true
  168. Stats.TextSize = 14
  169. Stats.TextStrokeColor3 = Color3.new(0, 0, 0)
  170. Stats.TextStrokeTransparency = 1
  171. Stats.TextTransparency = 0
  172. Stats.TextWrapped = true
  173. Stats.TextXAlignment = Enum.TextXAlignment.Center
  174. Stats.TextYAlignment = Enum.TextYAlignment.Bottom
  175.  
  176. Stats.Visible = true
  177. Stats.ZIndex = 5
  178. Stats.Archivable = true
  179. Stats.ClipsDescendants = false
  180. Stats.Draggable = false
  181. Stats.NextSelectionDown = nil
  182. Stats.NextSelectionLeft = nil
  183. Stats.NextSelectionRight = nil
  184. Stats.NextSelectionUp = nil
  185.  
  186. local Message = Instance.new("TextButton", game.CoreGui.thingo.Frame.buttons)
  187. Message.SelectionImageObject = nil
  188. Message.Active = true
  189. Message.AnchorPoint = Vector2.new(0, 0)
  190. Message.BackgroundColor3 = Color3.new(1, 1, 1)
  191. Message.BackgroundTransparency = 0
  192. Message.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  193. Message.BorderSizePixel = 0
  194. Message.LayoutOrder = 0
  195. Message.Name = "Message"
  196. Message.Position = UDim2.new(0, 103, 0, 0)
  197. Message.Rotation = 0
  198. Message.Selectable = true
  199. Message.Size = UDim2.new(0, 104, 0, 23)
  200. Message.SizeConstraint = Enum.SizeConstraint.RelativeXY
  201. Message.AutoButtonColor = true
  202. Message.Selected = false
  203. Message.Font = Enum.Font.SourceSansBold
  204. Message.FontSize = Enum.FontSize.Size14
  205. Message.Text = " MESSAGES"
  206. Message.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  207. Message.TextScaled = true
  208. Message.TextSize = 14
  209. Message.TextStrokeColor3 = Color3.new(0, 0, 0)
  210. Message.TextStrokeTransparency = 1
  211. Message.TextTransparency = 0
  212. Message.TextWrapped = true
  213. Message.TextXAlignment = Enum.TextXAlignment.Center
  214. Message.TextYAlignment = Enum.TextYAlignment.Bottom
  215.  
  216. Message.Visible = true
  217. Message.ZIndex = 5
  218. Message.Archivable = true
  219. Message.ClipsDescendants = false
  220. Message.Draggable = false
  221. Message.NextSelectionDown = nil
  222. Message.NextSelectionLeft = nil
  223. Message.NextSelectionRight = nil
  224. Message.NextSelectionUp = nil
  225.  
  226. local Credits = Instance.new("TextButton", game.CoreGui.thingo.Frame.buttons)
  227. Credits.SelectionImageObject = nil
  228. Credits.Active = true
  229. Credits.AnchorPoint = Vector2.new(0, 0)
  230. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  231. Credits.BackgroundTransparency = 0
  232. Credits.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  233. Credits.BorderSizePixel = 0
  234. Credits.LayoutOrder = 0
  235. Credits.Name = "Credits"
  236. Credits.Position = UDim2.new(0, 206, 0, 0)
  237. Credits.Rotation = 0
  238. Credits.Selectable = true
  239. Credits.Size = UDim2.new(0, 104, 0, 23)
  240. Credits.SizeConstraint = Enum.SizeConstraint.RelativeXY
  241. Credits.AutoButtonColor = true
  242. Credits.Selected = false
  243. Credits.Font = Enum.Font.SourceSansBold
  244. Credits.FontSize = Enum.FontSize.Size14
  245. Credits.Text = "CREDITS"
  246. Credits.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  247. Credits.TextScaled = true
  248. Credits.TextSize = 14
  249. Credits.TextStrokeColor3 = Color3.new(0, 0, 0)
  250. Credits.TextStrokeTransparency = 1
  251. Credits.TextTransparency = 0
  252. Credits.TextWrapped = true
  253. Credits.TextXAlignment = Enum.TextXAlignment.Center
  254. Credits.TextYAlignment = Enum.TextYAlignment.Bottom
  255.  
  256. Credits.Visible = true
  257. Credits.ZIndex = 5
  258. Credits.Archivable = true
  259. Credits.ClipsDescendants = false
  260. Credits.Draggable = false
  261. Credits.NextSelectionDown = nil
  262. Credits.NextSelectionLeft = nil
  263. Credits.NextSelectionRight = nil
  264. Credits.NextSelectionUp = nil
  265.  
  266. local Underline = Instance.new("Frame", game.CoreGui.thingo.Frame.buttons)
  267. Underline.SelectionImageObject = nil
  268. Underline.Active = false
  269. Underline.AnchorPoint = Vector2.new(0, 0)
  270. Underline.BackgroundColor3 = Color3.new(0.0588235, 0, 0.882353)
  271. Underline.BackgroundTransparency = 0
  272. Underline.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  273. Underline.BorderSizePixel = 0
  274. Underline.LayoutOrder = 0
  275. Underline.Name = "Underline"
  276. Underline.Position = UDim2.new(0, 0, 0, 23)
  277. Underline.Rotation = 0
  278. Underline.Selectable = false
  279. Underline.Size = UDim2.new(0, 104, 0, 3)
  280. Underline.SizeConstraint = Enum.SizeConstraint.RelativeXY
  281. Underline.Style = Enum.FrameStyle.Custom
  282. Underline.Visible = true
  283. Underline.ZIndex = 5
  284. Underline.Archivable = true
  285. Underline.ClipsDescendants = false
  286. Underline.Draggable = false
  287. Underline.NextSelectionDown = nil
  288. Underline.NextSelectionLeft = nil
  289. Underline.NextSelectionRight = nil
  290. Underline.NextSelectionUp = nil
  291.  
  292. local CreditsFrame = Instance.new("Frame", game.CoreGui.thingo.Frame)
  293. CreditsFrame.SelectionImageObject = nil
  294. CreditsFrame.Active = false
  295. CreditsFrame.AnchorPoint = Vector2.new(0, 0)
  296. CreditsFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  297. CreditsFrame.BackgroundTransparency = 0.5
  298. CreditsFrame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  299. CreditsFrame.BorderSizePixel = 0
  300. CreditsFrame.LayoutOrder = 0
  301. CreditsFrame.Name = "CreditsFrame"
  302. CreditsFrame.Position = UDim2.new(0, 0, 0, 60)
  303. CreditsFrame.Rotation = 0
  304. CreditsFrame.Selectable = false
  305. CreditsFrame.Size = UDim2.new(0, 310, 0, 117)
  306. CreditsFrame.SizeConstraint = Enum.SizeConstraint.RelativeXY
  307. CreditsFrame.Style = Enum.FrameStyle.Custom
  308. CreditsFrame.Visible = false
  309. CreditsFrame.ZIndex = 1
  310. CreditsFrame.Archivable = true
  311. CreditsFrame.ClipsDescendants = false
  312. CreditsFrame.Draggable = false
  313. CreditsFrame.NextSelectionDown = nil
  314. CreditsFrame.NextSelectionLeft = nil
  315. CreditsFrame.NextSelectionRight = nil
  316. CreditsFrame.NextSelectionUp = nil
  317.  
  318. local c1 = Instance.new("TextLabel", game.CoreGui.thingo.Frame.CreditsFrame)
  319. c1.SelectionImageObject = nil
  320. c1.Active = false
  321. c1.AnchorPoint = Vector2.new(0, 0)
  322. c1.BackgroundColor3 = Color3.new(1, 1, 1)
  323. c1.BackgroundTransparency = 1
  324. c1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  325. c1.BorderSizePixel = 1
  326. c1.LayoutOrder = 0
  327. c1.Name = "c1"
  328. c1.Position = UDim2.new(0, 24, 0, 8)
  329. c1.Rotation = 0
  330. c1.Selectable = false
  331. c1.Size = UDim2.new(0, 246, 0, 34)
  332. c1.SizeConstraint = Enum.SizeConstraint.RelativeXY
  333. c1.Font = Enum.Font.SourceSansBold
  334. c1.FontSize = Enum.FontSize.Size24
  335. c1.Text = "wallythemad - core functions, design"
  336. c1.TextColor3 = Color3.new(0, 0, 0)
  337. c1.TextScaled = false
  338. c1.TextSize = 19
  339. c1.TextStrokeColor3 = Color3.new(0, 0, 0)
  340. c1.TextStrokeTransparency = 1
  341. c1.TextTransparency = 0
  342. c1.TextWrapped = false
  343. c1.TextXAlignment = Enum.TextXAlignment.Center
  344. c1.TextYAlignment = Enum.TextYAlignment.Center
  345.  
  346. c1.Visible = true
  347. c1.ZIndex = 1
  348. c1.Archivable = true
  349. c1.ClipsDescendants = false
  350. c1.Draggable = false
  351. c1.NextSelectionDown = nil
  352. c1.NextSelectionLeft = nil
  353. c1.NextSelectionRight = nil
  354. c1.NextSelectionUp = nil
  355.  
  356. local c2 = Instance.new("TextLabel", game.CoreGui.thingo.Frame.CreditsFrame)
  357. c2.SelectionImageObject = nil
  358. c2.Active = false
  359. c2.AnchorPoint = Vector2.new(0, 0)
  360. c2.BackgroundColor3 = Color3.new(1, 1, 1)
  361. c2.BackgroundTransparency = 1
  362. c2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  363. c2.BorderSizePixel = 1
  364. c2.LayoutOrder = 0
  365. c2.Name = "c2"
  366. c2.Position = UDim2.new(0, 24, 0, 40)
  367. c2.Rotation = 0
  368. c2.Selectable = false
  369. c2.Size = UDim2.new(0, 246, 0, 34)
  370. c2.SizeConstraint = Enum.SizeConstraint.RelativeXY
  371. c2.Font = Enum.Font.SourceSansBold
  372. c2.FontSize = Enum.FontSize.Size24
  373. c2.Text = "iFzS - get shortened name function"
  374. c2.TextColor3 = Color3.new(0, 0, 0)
  375. c2.TextScaled = false
  376. c2.TextSize = 20
  377. c2.TextStrokeColor3 = Color3.new(0, 0, 0)
  378. c2.TextStrokeTransparency = 1
  379. c2.TextTransparency = 0
  380. c2.TextWrapped = false
  381. c2.TextXAlignment = Enum.TextXAlignment.Center
  382. c2.TextYAlignment = Enum.TextYAlignment.Center
  383.  
  384. c2.Visible = true
  385. c2.ZIndex = 1
  386. c2.Archivable = true
  387. c2.ClipsDescendants = false
  388. c2.Draggable = false
  389. c2.NextSelectionDown = nil
  390. c2.NextSelectionLeft = nil
  391. c2.NextSelectionRight = nil
  392. c2.NextSelectionUp = nil
  393.  
  394. local StatsFrame = Instance.new("Frame", game.CoreGui.thingo.Frame)
  395. StatsFrame.SelectionImageObject = nil
  396. StatsFrame.Active = false
  397. StatsFrame.AnchorPoint = Vector2.new(0, 0)
  398. StatsFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  399. StatsFrame.BackgroundTransparency = 0.5
  400. StatsFrame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  401. StatsFrame.BorderSizePixel = 0
  402. StatsFrame.LayoutOrder = 0
  403. StatsFrame.Name = "StatsFrame"
  404. StatsFrame.Position = UDim2.new(0, 0, 0, 60)
  405. StatsFrame.Rotation = 0
  406. StatsFrame.Selectable = false
  407. StatsFrame.Size = UDim2.new(0, 310, 0, 117)
  408. StatsFrame.SizeConstraint = Enum.SizeConstraint.RelativeXY
  409. StatsFrame.Style = Enum.FrameStyle.Custom
  410. StatsFrame.Visible = true
  411. StatsFrame.ZIndex = 1
  412. StatsFrame.Archivable = true
  413. StatsFrame.ClipsDescendants = false
  414. StatsFrame.Draggable = false
  415. StatsFrame.NextSelectionDown = nil
  416. StatsFrame.NextSelectionLeft = nil
  417. StatsFrame.NextSelectionRight = nil
  418. StatsFrame.NextSelectionUp = nil
  419.  
  420. local plr = Instance.new("TextBox", game.CoreGui.thingo.Frame.StatsFrame)
  421. plr.SelectionImageObject = nil
  422. plr.Active = true
  423. plr.AnchorPoint = Vector2.new(0, 0)
  424. plr.BackgroundColor3 = Color3.new(1, 1, 1)
  425. plr.BackgroundTransparency = 0
  426. plr.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  427. plr.BorderSizePixel = 0
  428. plr.LayoutOrder = 0
  429. plr.Name = "plr"
  430. plr.Position = UDim2.new(0, 10, 0, 15)
  431. plr.Rotation = 0
  432. plr.Selectable = true
  433. plr.Size = UDim2.new(0, 118, 0, 32)
  434. plr.SizeConstraint = Enum.SizeConstraint.RelativeXY
  435. plr.ClearTextOnFocus = true
  436. plr.MultiLine = false
  437. plr.ShowNativeInput = true
  438. plr.Font = Enum.Font.ArialBold
  439. plr.FontSize = Enum.FontSize.Size28
  440. plr.Text = "PLAYER"
  441. plr.TextColor3 = Color3.new(0, 0, 0)
  442. plr.TextScaled = true
  443. plr.TextSize = 25
  444. plr.TextStrokeColor3 = Color3.new(0, 0, 0)
  445. plr.TextStrokeTransparency = 1
  446. plr.TextTransparency = 0
  447. plr.TextWrapped = true
  448. plr.TextXAlignment = Enum.TextXAlignment.Center
  449. plr.TextYAlignment = Enum.TextYAlignment.Center
  450.  
  451. plr.Visible = true
  452. plr.ZIndex = 1
  453. plr.Archivable = true
  454. plr.ClipsDescendants = false
  455. plr.Draggable = false
  456. plr.NextSelectionDown = nil
  457. plr.NextSelectionLeft = nil
  458. plr.NextSelectionRight = nil
  459. plr.NextSelectionUp = nil
  460.  
  461. local val = Instance.new("TextBox", game.CoreGui.thingo.Frame.StatsFrame)
  462. val.SelectionImageObject = nil
  463. val.Active = true
  464. val.AnchorPoint = Vector2.new(0, 0)
  465. val.BackgroundColor3 = Color3.new(1, 1, 1)
  466. val.BackgroundTransparency = 0
  467. val.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  468. val.BorderSizePixel = 0
  469. val.LayoutOrder = 0
  470. val.Name = "val"
  471. val.Position = UDim2.new(0, 10, 0, 65)
  472. val.Rotation = 0
  473. val.Selectable = true
  474. val.Size = UDim2.new(0, 119, 0, 32)
  475. val.SizeConstraint = Enum.SizeConstraint.RelativeXY
  476. val.ClearTextOnFocus = true
  477. val.MultiLine = false
  478. val.ShowNativeInput = true
  479. val.Font = Enum.Font.ArialBold
  480. val.FontSize = Enum.FontSize.Size28
  481. val.Text = "VALUE"
  482. val.TextColor3 = Color3.new(0, 0, 0)
  483. val.TextScaled = true
  484. val.TextSize = 25
  485. val.TextStrokeColor3 = Color3.new(0, 0, 0)
  486. val.TextStrokeTransparency = 1
  487. val.TextTransparency = 0
  488. val.TextWrapped = true
  489. val.TextXAlignment = Enum.TextXAlignment.Center
  490. val.TextYAlignment = Enum.TextYAlignment.Center
  491.  
  492. val.Visible = true
  493. val.ZIndex = 1
  494. val.Archivable = true
  495. val.ClipsDescendants = false
  496. val.Draggable = false
  497. val.NextSelectionDown = nil
  498. val.NextSelectionLeft = nil
  499. val.NextSelectionRight = nil
  500. val.NextSelectionUp = nil
  501.  
  502. local magic2 = Instance.new("TextButton", game.CoreGui.thingo.Frame.StatsFrame)
  503. magic2.SelectionImageObject = nil
  504. magic2.Active = true
  505. magic2.AnchorPoint = Vector2.new(0, 0)
  506. magic2.BackgroundColor3 = Color3.new(1, 1, 1)
  507. magic2.BackgroundTransparency = 0
  508. magic2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  509. magic2.BorderSizePixel = 1
  510. magic2.LayoutOrder = 0
  511. magic2.Name = "magic2"
  512. magic2.Position = UDim2.new(0, 138, 0, 65)
  513. magic2.Rotation = 0
  514. magic2.Selectable = true
  515. magic2.Size = UDim2.new(0, 75, 0, 32)
  516. magic2.SizeConstraint = Enum.SizeConstraint.RelativeXY
  517. magic2.AutoButtonColor = true
  518. magic2.Selected = false
  519. magic2.Font = Enum.Font.Code
  520. magic2.FontSize = Enum.FontSize.Size14
  521. magic2.Text = "Set Second Magic"
  522. magic2.TextColor3 = Color3.new(0, 0, 0)
  523. magic2.TextScaled = true
  524. magic2.TextSize = 14
  525. magic2.TextStrokeColor3 = Color3.new(0, 0, 0)
  526. magic2.TextStrokeTransparency = 1
  527. magic2.TextTransparency = 0
  528. magic2.TextWrapped = true
  529. magic2.TextXAlignment = Enum.TextXAlignment.Center
  530. magic2.TextYAlignment = Enum.TextYAlignment.Center
  531.  
  532. magic2.Visible = true
  533. magic2.ZIndex = 1
  534. magic2.Archivable = true
  535. magic2.ClipsDescendants = false
  536. magic2.Draggable = false
  537. magic2.NextSelectionDown = nil
  538. magic2.NextSelectionLeft = nil
  539. magic2.NextSelectionRight = nil
  540. magic2.NextSelectionUp = nil
  541.  
  542. local levelset = Instance.new("TextButton", game.CoreGui.thingo.Frame.StatsFrame)
  543. levelset.SelectionImageObject = nil
  544. levelset.Active = true
  545. levelset.AnchorPoint = Vector2.new(0, 0)
  546. levelset.BackgroundColor3 = Color3.new(1, 1, 1)
  547. levelset.BackgroundTransparency = 0
  548. levelset.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  549. levelset.BorderSizePixel = 1
  550. levelset.LayoutOrder = 0
  551. levelset.Name = "levelset"
  552. levelset.Position = UDim2.new(0, 220, 0, 65)
  553. levelset.Rotation = 0
  554. levelset.Selectable = true
  555. levelset.Size = UDim2.new(0, 75, 0, 32)
  556. levelset.SizeConstraint = Enum.SizeConstraint.RelativeXY
  557. levelset.AutoButtonColor = true
  558. levelset.Selected = false
  559. levelset.Font = Enum.Font.Code
  560. levelset.FontSize = Enum.FontSize.Size14
  561. levelset.Text = "Set Level"
  562. levelset.TextColor3 = Color3.new(0, 0, 0)
  563. levelset.TextScaled = true
  564. levelset.TextSize = 14
  565. levelset.TextStrokeColor3 = Color3.new(0, 0, 0)
  566. levelset.TextStrokeTransparency = 1
  567. levelset.TextTransparency = 0
  568. levelset.TextWrapped = true
  569. levelset.TextXAlignment = Enum.TextXAlignment.Center
  570. levelset.TextYAlignment = Enum.TextYAlignment.Center
  571.  
  572. levelset.Visible = true
  573. levelset.ZIndex = 1
  574. levelset.Archivable = true
  575. levelset.ClipsDescendants = false
  576. levelset.Draggable = false
  577. levelset.NextSelectionDown = nil
  578. levelset.NextSelectionLeft = nil
  579. levelset.NextSelectionRight = nil
  580. levelset.NextSelectionUp = nil
  581.  
  582. local magic3 = Instance.new("TextButton", game.CoreGui.thingo.Frame.StatsFrame)
  583. magic3.SelectionImageObject = nil
  584. magic3.Active = true
  585. magic3.AnchorPoint = Vector2.new(0, 0)
  586. magic3.BackgroundColor3 = Color3.new(1, 1, 1)
  587. magic3.BackgroundTransparency = 0
  588. magic3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  589. magic3.BorderSizePixel = 1
  590. magic3.LayoutOrder = 0
  591. magic3.Name = "magic3"
  592. magic3.Position = UDim2.new(0, 220, 0, 15)
  593. magic3.Rotation = 0
  594. magic3.Selectable = true
  595. magic3.Size = UDim2.new(0, 75, 0, 32)
  596. magic3.SizeConstraint = Enum.SizeConstraint.RelativeXY
  597. magic3.AutoButtonColor = true
  598. magic3.Selected = false
  599. magic3.Font = Enum.Font.Code
  600. magic3.FontSize = Enum.FontSize.Size14
  601. magic3.Text = "Set Third Magic"
  602. magic3.TextColor3 = Color3.new(0, 0, 0)
  603. magic3.TextScaled = true
  604. magic3.TextSize = 14
  605. magic3.TextStrokeColor3 = Color3.new(0, 0, 0)
  606. magic3.TextStrokeTransparency = 1
  607. magic3.TextTransparency = 0
  608. magic3.TextWrapped = true
  609. magic3.TextXAlignment = Enum.TextXAlignment.Center
  610. magic3.TextYAlignment = Enum.TextYAlignment.Center
  611.  
  612. magic3.Visible = true
  613. magic3.ZIndex = 1
  614. magic3.Archivable = true
  615. magic3.ClipsDescendants = false
  616. magic3.Draggable = false
  617. magic3.NextSelectionDown = nil
  618. magic3.NextSelectionLeft = nil
  619. magic3.NextSelectionRight = nil
  620. magic3.NextSelectionUp = nil
  621.  
  622. local magic1 = Instance.new("TextButton", game.CoreGui.thingo.Frame.StatsFrame)
  623. magic1.SelectionImageObject = nil
  624. magic1.Active = true
  625. magic1.AnchorPoint = Vector2.new(0, 0)
  626. magic1.BackgroundColor3 = Color3.new(1, 1, 1)
  627. magic1.BackgroundTransparency = 0
  628. magic1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  629. magic1.BorderSizePixel = 1
  630. magic1.LayoutOrder = 0
  631. magic1.Name = "magic1"
  632. magic1.Position = UDim2.new(0, 138, 0, 15)
  633. magic1.Rotation = 0
  634. magic1.Selectable = true
  635. magic1.Size = UDim2.new(0, 75, 0, 32)
  636. magic1.SizeConstraint = Enum.SizeConstraint.RelativeXY
  637. magic1.AutoButtonColor = true
  638. magic1.Selected = false
  639. magic1.Font = Enum.Font.Code
  640. magic1.FontSize = Enum.FontSize.Size14
  641. magic1.Text = "Set First Magic"
  642. magic1.TextColor3 = Color3.new(0, 0, 0)
  643. magic1.TextScaled = true
  644. magic1.TextSize = 14
  645. magic1.TextStrokeColor3 = Color3.new(0, 0, 0)
  646. magic1.TextStrokeTransparency = 1
  647. magic1.TextTransparency = 0
  648. magic1.TextWrapped = true
  649. magic1.TextXAlignment = Enum.TextXAlignment.Center
  650. magic1.TextYAlignment = Enum.TextYAlignment.Center
  651.  
  652. magic1.Visible = true
  653. magic1.ZIndex = 1
  654. magic1.Archivable = true
  655. magic1.ClipsDescendants = false
  656. magic1.Draggable = false
  657. magic1.NextSelectionDown = nil
  658. magic1.NextSelectionLeft = nil
  659. magic1.NextSelectionRight = nil
  660. magic1.NextSelectionUp = nil
  661.  
  662. local MessageFrame = Instance.new("Frame", game.CoreGui.thingo.Frame)
  663. MessageFrame.SelectionImageObject = nil
  664. MessageFrame.Active = false
  665. MessageFrame.AnchorPoint = Vector2.new(0, 0)
  666. MessageFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  667. MessageFrame.BackgroundTransparency = 0.5
  668. MessageFrame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  669. MessageFrame.BorderSizePixel = 0
  670. MessageFrame.LayoutOrder = 0
  671. MessageFrame.Name = "MessageFrame"
  672. MessageFrame.Position = UDim2.new(0, 0, 0, 60)
  673. MessageFrame.Rotation = 0
  674. MessageFrame.Selectable = false
  675. MessageFrame.Size = UDim2.new(0, 310, 0, 117)
  676. MessageFrame.SizeConstraint = Enum.SizeConstraint.RelativeXY
  677. MessageFrame.Style = Enum.FrameStyle.Custom
  678. MessageFrame.Visible = false
  679. MessageFrame.ZIndex = 1
  680. MessageFrame.Archivable = true
  681. MessageFrame.ClipsDescendants = false
  682. MessageFrame.Draggable = false
  683. MessageFrame.NextSelectionDown = nil
  684. MessageFrame.NextSelectionLeft = nil
  685. MessageFrame.NextSelectionRight = nil
  686. MessageFrame.NextSelectionUp = nil
  687.  
  688. local messagebox = Instance.new("TextBox", game.CoreGui.thingo.Frame.MessageFrame)
  689. messagebox.SelectionImageObject = nil
  690. messagebox.Active = true
  691. messagebox.AnchorPoint = Vector2.new(0, 0)
  692. messagebox.BackgroundColor3 = Color3.new(1, 1, 1)
  693. messagebox.BackgroundTransparency = 0
  694. messagebox.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  695. messagebox.BorderSizePixel = 0
  696. messagebox.LayoutOrder = 0
  697. messagebox.Name = "msgtext"
  698. messagebox.Position = UDim2.new(0, 25, 0, 17)
  699. messagebox.Rotation = 0
  700. messagebox.Selectable = true
  701. messagebox.Size = UDim2.new(0, 254, 0, 25)
  702. messagebox.SizeConstraint = Enum.SizeConstraint.RelativeXY
  703. messagebox.ClearTextOnFocus = true
  704. messagebox.MultiLine = false
  705. messagebox.ShowNativeInput = true
  706. messagebox.Font = Enum.Font.ArialBold
  707. messagebox.FontSize = Enum.FontSize.Size28
  708. messagebox.Text = "MSG"
  709. messagebox.TextColor3 = Color3.new(0, 0, 0)
  710. messagebox.TextScaled = true
  711. messagebox.TextSize = 25
  712. messagebox.TextStrokeColor3 = Color3.new(0, 0, 0)
  713. messagebox.TextStrokeTransparency = 1
  714. messagebox.TextTransparency = 0
  715. messagebox.TextWrapped = true
  716. messagebox.TextXAlignment = Enum.TextXAlignment.Center
  717. messagebox.TextYAlignment = Enum.TextYAlignment.Center
  718.  
  719. messagebox.Visible = true
  720. messagebox.ZIndex = 1
  721. messagebox.Archivable = true
  722. messagebox.ClipsDescendants = false
  723. messagebox.Draggable = false
  724. messagebox.NextSelectionDown = nil
  725. messagebox.NextSelectionLeft = nil
  726. messagebox.NextSelectionRight = nil
  727. messagebox.NextSelectionUp = nil
  728.  
  729. local Message = Instance.new("TextButton", game.CoreGui.thingo.Frame.MessageFrame)
  730. Message.SelectionImageObject = nil
  731. Message.Active = true
  732. Message.AnchorPoint = Vector2.new(0, 0)
  733. Message.BackgroundColor3 = Color3.new(1, 1, 1)
  734. Message.BackgroundTransparency = 0
  735. Message.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  736. Message.BorderSizePixel = 1
  737. Message.LayoutOrder = 0
  738. Message.Name = "SendMSG"
  739. Message.Position = UDim2.new(0, 43, 0, 58)
  740. Message.Rotation = 0
  741. Message.Selectable = true
  742. Message.Size = UDim2.new(0, 212, 0, 32)
  743. Message.SizeConstraint = Enum.SizeConstraint.RelativeXY
  744. Message.AutoButtonColor = true
  745. Message.Selected = false
  746. Message.Font = Enum.Font.Code
  747. Message.FontSize = Enum.FontSize.Size14
  748. Message.Text = "SEND MESSAGE"
  749. Message.TextColor3 = Color3.new(0, 0, 0)
  750. Message.TextScaled = true
  751. Message.TextSize = 14
  752. Message.TextStrokeColor3 = Color3.new(0, 0, 0)
  753. Message.TextStrokeTransparency = 1
  754. Message.TextTransparency = 0
  755. Message.TextWrapped = true
  756. Message.TextXAlignment = Enum.TextXAlignment.Center
  757. Message.TextYAlignment = Enum.TextYAlignment.Center
  758.  
  759. Message.Visible = true
  760. Message.ZIndex = 1
  761. Message.Archivable = true
  762. Message.ClipsDescendants = false
  763. Message.Draggable = false
  764. Message.NextSelectionDown = nil
  765. Message.NextSelectionLeft = nil
  766. Message.NextSelectionRight = nil
  767. Message.NextSelectionUp = nil
  768.  
  769. local TweenButton = Instance.new("TextButton", game.CoreGui.thingo.Frame)
  770. TweenButton.SelectionImageObject = nil
  771. TweenButton.Active = true
  772. TweenButton.AnchorPoint = Vector2.new(0, 0)
  773. TweenButton.BackgroundColor3 = Color3.new(0, 0, 0)
  774. TweenButton.BackgroundTransparency = 0.25
  775. TweenButton.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  776. TweenButton.BorderSizePixel = 0
  777. TweenButton.LayoutOrder = 0
  778. TweenButton.Name = "TweenButton"
  779. TweenButton.Position = UDim2.new(0, 310, 0, 0)
  780. TweenButton.Rotation = 0
  781. TweenButton.Selectable = true
  782. TweenButton.Size = UDim2.new(0, 20, 0, 177)
  783. TweenButton.SizeConstraint = Enum.SizeConstraint.RelativeXY
  784. TweenButton.AutoButtonColor = true
  785. TweenButton.Selected = false
  786. TweenButton.Font = Enum.Font.SourceSansBold
  787. TweenButton.FontSize = Enum.FontSize.Size36
  788. TweenButton.Text = ">"
  789. TweenButton.TextColor3 = Color3.new(1, 1, 1)
  790. TweenButton.TextScaled = false
  791. TweenButton.TextSize = 35
  792. TweenButton.TextStrokeColor3 = Color3.new(0, 0, 0)
  793. TweenButton.TextStrokeTransparency = 1
  794. TweenButton.TextTransparency = 0
  795. TweenButton.TextWrapped = true
  796. TweenButton.TextXAlignment = Enum.TextXAlignment.Center
  797. TweenButton.TextYAlignment = Enum.TextYAlignment.Center
  798.  
  799. TweenButton.Visible = true
  800. TweenButton.ZIndex = 1
  801. TweenButton.Archivable = true
  802. TweenButton.ClipsDescendants = false
  803. TweenButton.Draggable = false
  804. TweenButton.NextSelectionDown = nil
  805. TweenButton.NextSelectionLeft = nil
  806. TweenButton.NextSelectionRight = nil
  807. TweenButton.NextSelectionUp = nil
  808.  
  809. local statRemote = workspace.Main.SetStat
  810. local msgRemote = workspace.ServerEvents.AdminMessage
  811.  
  812. local StatTable = {
  813.     ['magic1'] = {
  814.         Stat = "Magic",
  815.         Success = "First magic set to:"
  816.     },
  817.     ['magic2'] = {
  818.         Stat = "Magic2",
  819.         Success = "Second magic set to:"
  820.     },
  821.     ['magic3'] = {
  822.         Stat = "Magic3",
  823.         Success = "Third magic set to:"
  824.     },
  825. }
  826.  
  827. local players = game.Players:GetPlayers()
  828. local findShortenedName = function(name)
  829.     for i, v in next, players do
  830.         if name:upper() == v.Name:sub(1, string.len(name)):upper() then
  831.             return v.Name
  832.         end
  833.     end
  834.     return nil
  835. end
  836.  
  837. TweenButton.MouseButton1Click:connect(function()
  838.     if Frame.Position == UDim2.new(0, 0, 0, 298) then
  839.         Frame:TweenPosition(UDim2.new(0, -310, 0, 298), "Out", "Quad", 0.25, false)
  840.     elseif Frame.Position == UDim2.new(0, -310, 0, 298) then
  841.         Frame:TweenPosition(UDim2.new(0, 0, 0, 298), "Out", "Quad", 0.25, false)
  842.     else
  843.         warn('Bad position cast')
  844.     end
  845. end)
  846.  
  847. plr.FocusLost:connect(function(enterPressed)
  848.     if enterPressed then
  849.         local name = findShortenedName(plr.Text)
  850.         if name then
  851.             plr.Text = name
  852.         end
  853.     end
  854. end)
  855.  
  856.  
  857. for i, v in pairs(buttons:GetChildren()) do
  858.     if v:IsA('TextButton') then
  859.         v.MouseButton1Click:connect(function()
  860.             buttons['Underline']:TweenPosition(UDim2.new(0, v.Position.X.Offset, 0, 23), "Out", "Quad", 0.15, false)
  861.             wait()
  862.             for index, tab in next, MainScreenGui.Frame:GetChildren() do
  863.                 if tab:IsA('Frame') and tab.Name ~= "buttons" then
  864.                     if tab.Name == v.Name.."Frame" then
  865.                         tab.Visible = true
  866.                     else
  867.                         tab.Visible = false
  868.                     end
  869.                 end
  870.             end
  871.         end)
  872.     end
  873. end
  874.  
  875. Message.MouseButton1Click:connect(function()
  876.     msgRemote:FireServer(messagebox.Text)
  877. end)
  878.  
  879. for i, v in next, StatsFrame:GetChildren() do
  880.     if v:IsA('TextButton') then
  881.         v.MouseButton1Click:connect(function()
  882.             if kek ~= nil then
  883.                 local stat = StatTable[v.Name]
  884.                 if stat then
  885.                     statRemote:FireServer(stat.Stat, plr.Text, val.Text, kek)
  886.                     warn(stat.Success.." "..val.Text)
  887.                 elseif v.Name == 'levelset' then
  888.                     statRemote:FireServer('Level', plr.Text, tonumber(val.Text), kek)
  889.                     statRemote:FireServer('SkillPoints', plr.Text, tonumber(val.Text), kek)
  890.                     warn('Level set to: '..val.Text)
  891.                 else
  892.                     warn('bad call')
  893.                 end
  894.             else
  895.                 warn('no key')
  896.             end
  897.         end)
  898.     end
  899. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement