Advertisement
Guest User

Super Villain Tycoon GUI

a guest
Nov 19th, 2019
2,495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.58 KB | None | 0 0
  1. -- GUI MADE BY Joaum-EXPLOITS#5799
  2. -- if it doesn't work contact me
  3. -- This is my first GUI
  4. -- Soon I will make a website, and I will post all my scripts
  5.  
  6.  
  7. local SuperVillainTycoonGui = Instance.new("ScreenGui")
  8. local MainFrame = Instance.new("Frame")
  9. local Frame = Instance.new("Frame")
  10. local Frame_2 = Instance.new("Frame")
  11. local Frame_3 = Instance.new("Frame")
  12. local Nome = Instance.new("TextLabel")
  13. local Frame_4 = Instance.new("Frame")
  14. local Nome_2 = Instance.new("TextLabel")
  15. local Frame_5 = Instance.new("Frame")
  16. local TextButton = Instance.new("TextButton")
  17. local TextBox = Instance.new("TextBox")
  18. local TextBox_2 = Instance.new("TextBox")
  19.  
  20. --Properties:
  21.  
  22. SuperVillainTycoonGui.Name = "SuperVillainTycoonGui"
  23. SuperVillainTycoonGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  24. SuperVillainTycoonGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  25.  
  26. MainFrame.Name = "MainFrame"
  27. MainFrame.Parent = SuperVillainTycoonGui
  28. MainFrame.Active = true
  29. MainFrame.BackgroundColor3 = Color3.new(0.603922, 0.603922, 0.603922)
  30. MainFrame.BackgroundTransparency = 1
  31. MainFrame.Position = UDim2.new(0.0769696832, 0, 0.488943458, 0)
  32. MainFrame.Selectable = true
  33. MainFrame.Size = UDim2.new(0, 312, 0, 312)
  34.  
  35. Frame.Parent = MainFrame
  36. Frame.BackgroundColor3 = Color3.new(0.501961, 0.717647, 1)
  37. Frame.BorderColor3 = Color3.new(0.360784, 0.635294, 0.784314)
  38. Frame.Position = UDim2.new(2.39102554, 0, -1.20512819, 0)
  39. Frame.Size = UDim2.new(0, 9, 0, 262)
  40.  
  41. Frame_2.Parent = MainFrame
  42. Frame_2.BackgroundColor3 = Color3.new(0.501961, 0.717647, 1)
  43. Frame_2.BorderColor3 = Color3.new(0.360784, 0.635294, 0.784314)
  44. Frame_2.Position = UDim2.new(1.41987181, 0, -1.20512819, 0)
  45. Frame_2.Size = UDim2.new(0, 9, 0, 262)
  46.  
  47. Frame_3.Parent = MainFrame
  48. Frame_3.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  49. Frame_3.BorderColor3 = Color3.new(0, 0, 0)
  50. Frame_3.Position = UDim2.new(1.41987181, 0, -1.27564096, 0)
  51. Frame_3.Size = UDim2.new(0, 312, 0, 22)
  52.  
  53. Nome.Name = "Nome"
  54. Nome.Parent = Frame_3
  55. Nome.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  56. Nome.BorderColor3 = Color3.new(0, 0, 0)
  57. Nome.Size = UDim2.new(0, 312, 0, 22)
  58. Nome.Font = Enum.Font.Cartoon
  59. Nome.Text = "Super Villain"
  60. Nome.TextColor3 = Color3.new(0.501961, 0.717647, 1)
  61. Nome.TextSize = 20
  62.  
  63. Frame_4.Parent = MainFrame
  64. Frame_4.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  65. Frame_4.BorderColor3 = Color3.new(0, 0, 0)
  66. Frame_4.Position = UDim2.new(1.41987181, 0, -0.43589741, 0)
  67. Frame_4.Size = UDim2.new(0, 312, 0, 22)
  68.  
  69. Nome_2.Name = "Nome"
  70. Nome_2.Parent = Frame_4
  71. Nome_2.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  72. Nome_2.BorderColor3 = Color3.new(0, 0, 0)
  73. Nome_2.Size = UDim2.new(0, 312, 0, 22)
  74. Nome_2.Font = Enum.Font.Cartoon
  75. Nome_2.Text = "Made by Joaum-EXPLOITS#5799 (credit to creator)"
  76. Nome_2.TextColor3 = Color3.new(0.501961, 0.717647, 1)
  77. Nome_2.TextScaled = true
  78. Nome_2.TextSize = 15
  79. Nome_2.TextWrapped = true
  80.  
  81. Frame_5.Parent = MainFrame
  82. Frame_5.BackgroundColor3 = Color3.new(0.501961, 0.717647, 1)
  83. Frame_5.BorderColor3 = Color3.new(0.360784, 0.635294, 0.784314)
  84. Frame_5.Position = UDim2.new(1.53525662, 0, -1.15384626, 0)
  85. Frame_5.Size = UDim2.new(0, 240, 0, 210)
  86.  
  87. TextButton.Parent = Frame_5
  88. TextButton.BackgroundColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  89. TextButton.BorderColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  90. TextButton.Position = UDim2.new(0.327868849, 0, 0.828571379, 0)
  91. TextButton.Size = UDim2.new(0, 86, 0, 23)
  92. TextButton.Font = Enum.Font.Cartoon
  93. TextButton.Text = "SET MONEY"
  94. TextButton.TextColor3 = Color3.new(0.501961, 0.717647, 1)
  95. TextButton.TextSize = 14
  96.  
  97. TextBox.Parent = Frame_5
  98. TextBox.BackgroundColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  99. TextBox.BorderColor3 = Color3.new(0, 0, 0)
  100. TextBox.Position = UDim2.new(0.327868909, 0, 0.171428591, 0)
  101. TextBox.Size = UDim2.new(0, 86, 0, 23)
  102. TextBox.Font = Enum.Font.Cartoon
  103. TextBox.PlaceholderColor3 = Color3.new(0.501961, 0.717647, 1)
  104. TextBox.PlaceholderText = "Player"
  105. TextBox.Text = ""
  106. TextBox.TextColor3 = Color3.new(0.501961, 0.717647, 1)
  107. TextBox.TextScaled = true
  108. TextBox.TextSize = 14
  109. TextBox.TextWrapped = true
  110.  
  111. TextBox_2.Parent = Frame_5
  112. TextBox_2.BackgroundColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  113. TextBox_2.BorderColor3 = Color3.new(0, 0, 0)
  114. TextBox_2.Position = UDim2.new(0.327868909, 0, 0.390476227, 0)
  115. TextBox_2.Size = UDim2.new(0, 86, 0, 23)
  116. TextBox_2.Font = Enum.Font.Cartoon
  117. TextBox_2.PlaceholderColor3 = Color3.new(0.501961, 0.717647, 1)
  118. TextBox_2.PlaceholderText = "Money"
  119. TextBox_2.Text = ""
  120. TextBox_2.TextColor3 = Color3.new(0.501961, 0.717647, 1)
  121. TextBox_2.TextScaled = true
  122. TextBox_2.TextSize = 14
  123. TextBox_2.TextWrapped = true
  124.  
  125. -- Scripts:
  126. function GetPlayer(String) -- Credit to Timeless/xFunnieuss
  127. local Found = {}
  128. local strl = String:lower()
  129. if strl == "all" then
  130. for i,v in pairs(game.Players:GetPlayers()) do
  131. table.insert(Found,v)
  132. end
  133. elseif strl == "others" then
  134. for i,v in pairs(game.Players:GetPlayers()) do
  135. if v.Name ~= game.Players.LocalPlayer.Name then
  136. table.insert(Found,v)
  137. end
  138. end
  139. elseif strl == "me" then
  140. for i,v in pairs(game.Players:GetPlayers()) do
  141. if v.Name == game.Players.LocalPlayer.Name then
  142. table.insert(Found,v)
  143. end
  144. end
  145. else
  146. for i,v in pairs(game.Players:GetPlayers()) do
  147. if v.Name:lower():sub(1, #String) == String:lower() then
  148. table.insert(Found,v)
  149. end
  150. end
  151. end
  152. return Found
  153. end
  154. function potato(String) -- Credit to Timeless/xFunnieuss
  155. local Found = {}
  156. local strl = String:lower()
  157. if strl == "all" then
  158. for i,v in pairs(game.ReplicatedStorage.PlayerMoney:GetChildren()) do
  159. table.insert(Found,v)
  160. end
  161. elseif strl == "others" then
  162. for i,v in pairs(game.ReplicatedStorage.PlayerMoney:GetChildren()) do
  163. if v.Name ~= game.Players.LocalPlayer.Name then
  164. table.insert(Found,v)
  165. end
  166. end
  167. elseif strl == "me" then
  168. for i,v in pairs(game.ReplicatedStorage.PlayerMoney:GetChildren()) do
  169. if v.Name == game.Players.LocalPlayer.Name then
  170. table.insert(Found,v)
  171. end
  172. end
  173. else
  174. for i,v in pairs(game.ReplicatedStorage.PlayerMoney:GetChildren()) do
  175. if v.Name:lower():sub(1, #String) == String:lower() then
  176. table.insert(Found,v)
  177. end
  178. end
  179. end
  180. return Found
  181. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement