Molodejkaoff

2 villain tycoon

Dec 25th, 2019
1,297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.35 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.1
  3.  
  4. -- Instances:
  5.  
  6. local Hub = Instance.new("ScreenGui")
  7. local Items = Instance.new("Frame")
  8. local DropAndUp = Instance.new("TextButton")
  9. local Tittle = Instance.new("TextLabel")
  10. local Main = Instance.new("Frame")
  11. local Dfandchest = Instance.new("TextButton")
  12. local DFANDBUYCHEST = Instance.new("TextLabel")
  13. local Tittle_2 = Instance.new("TextLabel")
  14.  
  15. --Properties:
  16.  
  17. Hub.Name = "Hub"
  18. Hub.Parent = game.CoreGui
  19. Hub.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  20.  
  21. Items.Name = "Items"
  22. Items.Parent = Hub
  23. Items.Active = true
  24. Items.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  25. Items.BackgroundTransparency = 0.550
  26. Items.Position = UDim2.new(0.342026055, 0, 0.210216105, 0)
  27. Items.Size = UDim2.new(0, 164, 0, 31)
  28. Items.Draggable = true
  29.  
  30. DropAndUp.Name = "DropAndUp"
  31. DropAndUp.Parent = Items
  32. DropAndUp.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  33. DropAndUp.BackgroundTransparency = 1.000
  34. DropAndUp.Position = UDim2.new(0.763829172, 0, 0, 0)
  35. DropAndUp.Size = UDim2.new(0, 38, 0, 28)
  36. DropAndUp.ZIndex = 3
  37. DropAndUp.Font = Enum.Font.Arcade
  38. DropAndUp.Text = "-"
  39. DropAndUp.TextColor3 = Color3.fromRGB(0, 0, 0)
  40. DropAndUp.TextSize = 14.000
  41. DropAndUp.MouseButton1Down:connect(function()
  42. if Main.Visible == false
  43. then
  44. Main.Visible = true
  45. DropAndUp.Text = "-"
  46. else
  47. Main.Visible = false
  48. DropAndUp.Text = "+"
  49. end
  50. end)
  51.  
  52. Tittle.Name = "Tittle"
  53. Tittle.Parent = Items
  54. Tittle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  55. Tittle.BackgroundTransparency = 1.000
  56. Tittle.Position = UDim2.new(0.0224108808, 0, 0, 0)
  57. Tittle.Size = UDim2.new(0, 108, 0, 33)
  58. Tittle.Font = Enum.Font.Arcade
  59. Tittle.Text = "Villain Tycoon"
  60. Tittle.TextColor3 = Color3.fromRGB(0, 0, 0)
  61. Tittle.TextSize = 14.000
  62. Tittle.TextWrapped = true
  63.  
  64. Main.Name = "Main"
  65. Main.Parent = Items
  66. Main.Active = true
  67. Main.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  68. Main.BackgroundTransparency = 0.550
  69. Main.Position = UDim2.new(0, 0, 0.996281803, 0)
  70. Main.Size = UDim2.new(0, 164, 0, 93)
  71. Main.Visible = false
  72.  
  73. Dfandchest.Name = "Dfandchest"
  74. Dfandchest.Parent = Main
  75. Dfandchest.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  76. Dfandchest.BackgroundTransparency = 0.550
  77. Dfandchest.Position = UDim2.new(0.763829112, 0, 0.130125403, 0)
  78. Dfandchest.Size = UDim2.new(0, 22, 0, 19)
  79. Dfandchest.ZIndex = 3
  80. Dfandchest.Font = Enum.Font.Arcade
  81. Dfandchest.Text = ""
  82. Dfandchest.TextColor3 = Color3.fromRGB(0, 0, 0)
  83. Dfandchest.TextSize = 14.000
  84. Dfandchest.MouseButton1Down:connect(function()
  85. if Dfandchest.Text == ""
  86. then
  87. Dfandchest.Text = "X"
  88.  
  89. _G.Toggle = true
  90.  
  91. while _G.Toggle do
  92. wait()
  93. game.ReplicatedStorage.updateCollector:FireServer(19999999)
  94. end
  95.  
  96. else do Dfandchest.Text = ""
  97. _G.Toggle = false
  98. end
  99. end
  100.  
  101. end)
  102.  
  103.  
  104. DFANDBUYCHEST.Name = "DFANDBUYCHEST"
  105. DFANDBUYCHEST.Parent = Dfandchest
  106. DFANDBUYCHEST.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  107. DFANDBUYCHEST.BackgroundTransparency = 1.000
  108. DFANDBUYCHEST.Position = UDim2.new(-5.52693605, 0, -0.272709548, 0)
  109. DFANDBUYCHEST.Size = UDim2.new(0, 121, 0, 28)
  110. DFANDBUYCHEST.Font = Enum.Font.Arcade
  111. DFANDBUYCHEST.Text = "Money"
  112. DFANDBUYCHEST.TextColor3 = Color3.fromRGB(0, 0, 0)
  113. DFANDBUYCHEST.TextSize = 14.000
  114.  
  115. Tittle_2.Name = "Tittle"
  116. Tittle_2.Parent = Main
  117. Tittle_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  118. Tittle_2.BackgroundTransparency = 1.000
  119. Tittle_2.Position = UDim2.new(0.158536583, 0, 0.645161271, 0)
  120. Tittle_2.Size = UDim2.new(0, 112, 0, 33)
  121. Tittle_2.Font = Enum.Font.Arcade
  122. Tittle_2.Text = "Molodejka#7376"
  123. Tittle_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  124. Tittle_2.TextSize = 14.000
  125.  
  126. -- Scripts:
  127.  
  128. local function MAFHGKU_fake_script() -- DropAndUp.RainbowDropAndUp
  129. local script = Instance.new('LocalScript', DropAndUp)
  130.  
  131. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  132.  
  133.  
  134.  
  135. counter = 0
  136.  
  137.  
  138.  
  139. while wait(0.1)do
  140.  
  141. script.Parent.TextColor3 = Color3.fromHSV(zigzag(counter),1,1)
  142.  
  143.  
  144.  
  145.  
  146. counter = counter + 0.01
  147. end
  148. end
  149. coroutine.wrap(MAFHGKU_fake_script)()
  150. local function IUIKR_fake_script() -- Items.RainbowFirst
  151. local script = Instance.new('LocalScript', Items)
  152.  
  153. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  154.  
  155.  
  156.  
  157. counter = 0
  158.  
  159.  
  160.  
  161. while wait(0.1)do
  162.  
  163. script.Parent.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  164.  
  165.  
  166.  
  167.  
  168. counter = counter + 0.01
  169. end
  170. end
  171. coroutine.wrap(IUIKR_fake_script)()
  172. local function FDZZ_fake_script() -- Tittle.RainbowTittle
  173. local script = Instance.new('LocalScript', Tittle)
  174.  
  175. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  176.  
  177.  
  178.  
  179. counter = 0
  180.  
  181.  
  182.  
  183. while wait(0.1)do
  184.  
  185. script.Parent.TextColor3 = Color3.fromHSV(zigzag(counter),1,1)
  186.  
  187.  
  188.  
  189.  
  190. counter = counter + 0.01
  191. end
  192. end
  193. coroutine.wrap(FDZZ_fake_script)()
  194. local function XGATZG_fake_script() -- Main.RainbowMain
  195. local script = Instance.new('LocalScript', Main)
  196.  
  197. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  198.  
  199.  
  200.  
  201. counter = 0
  202.  
  203.  
  204.  
  205. while wait(0.1)do
  206.  
  207. script.Parent.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  208.  
  209.  
  210.  
  211.  
  212. counter = counter + 0.01
  213. end
  214. end
  215. coroutine.wrap(XGATZG_fake_script)()
  216. local function BSJZHH_fake_script() -- Dfandchest.RainbowDropAndUp
  217. local script = Instance.new('LocalScript', Dfandchest)
  218.  
  219. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  220.  
  221.  
  222.  
  223. counter = 0
  224.  
  225.  
  226.  
  227. while wait(0.1)do
  228.  
  229. script.Parent.TextColor3 = Color3.fromHSV(zigzag(counter),1,1)
  230. script.Parent.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  231.  
  232.  
  233.  
  234. counter = counter + 0.01
  235. end
  236. end
  237. coroutine.wrap(BSJZHH_fake_script)()
  238. local function HBBKNMG_fake_script() -- DFANDBUYCHEST.RainbowTittle
  239. local script = Instance.new('LocalScript', DFANDBUYCHEST)
  240.  
  241. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  242.  
  243.  
  244.  
  245. counter = 0
  246.  
  247.  
  248.  
  249. while wait(0.1)do
  250.  
  251. script.Parent.TextColor3 = Color3.fromHSV(zigzag(counter),1,1)
  252.  
  253.  
  254.  
  255.  
  256. counter = counter + 0.01
  257. end
  258. end
  259. coroutine.wrap(HBBKNMG_fake_script)()
  260. local function CSSE_fake_script() -- Tittle_2.RainbowTittle
  261. local script = Instance.new('LocalScript', Tittle_2)
  262.  
  263. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  264.  
  265.  
  266.  
  267. counter = 0
  268.  
  269.  
  270.  
  271. while wait(0.1)do
  272.  
  273. script.Parent.TextColor3 = Color3.fromHSV(zigzag(counter),1,1)
  274.  
  275.  
  276.  
  277.  
  278. counter = counter + 0.01
  279. end
  280. end
  281. coroutine.wrap(CSSE_fake_script)()
Add Comment
Please, Sign In to add comment