Advertisement
Upscalefanatic3

(Roblox) Horror Tycoon GUI

Feb 28th, 2020
8,078
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.00 KB | None | 0 0
  1. -- Game Link: https://www.roblox.com/games/3264958220/Horror-Tycoon
  2.  
  3. function GetPlayer(plrname)
  4. for _,player in pairs(game.Players:GetPlayers()) do
  5. if plrname:lower() == player.Name:sub(1,plrname:len()):lower() then
  6. return player
  7. end
  8. end
  9. return nil
  10. end
  11.  
  12. function destroy(arg1)
  13. game:GetService("ReplicatedStorage").Events.destryObj:FireServer(arg1)
  14. end
  15.  
  16. local library = loadstring(game:HttpGet("https://pastebin.com/raw/7Z6TzFnv", true))()
  17. local cash = library:CreateWindow({
  18. text = "Cash"
  19. })
  20.  
  21. local admin = library:CreateWindow({
  22. text = "Admin"
  23. })
  24.  
  25. local tycoon = library:CreateWindow({
  26. text = "Tycoon Stuff"
  27. })
  28.  
  29. local credits = library:CreateWindow({
  30. text = "Credits"
  31. })
  32.  
  33. credits:AddLabel("Credits to ScriptX#3145")
  34. credits:AddLabel("for the destroy function!")
  35. credits:AddLabel("")
  36. credits:AddLabel("Credits to Randomize#0001")
  37. credits:AddLabel("for the money script!")
  38.  
  39. cash:AddButton("+10", function()
  40. game.ReplicatedStorage.Events.CrateClaim:FireServer("Cash", 10)
  41. end)
  42.  
  43. cash:AddLabel("")
  44.  
  45. cash:AddButton("+100", function()
  46. game.ReplicatedStorage.Events.CrateClaim:FireServer("Cash", 100)
  47. end)
  48.  
  49. cash:AddLabel("")
  50.  
  51. cash:AddButton("+1000", function()
  52. game.ReplicatedStorage.Events.CrateClaim:FireServer("Cash", 1000)
  53. end)
  54.  
  55. cash:AddLabel("")
  56.  
  57. cash:AddButton("+10000", function()
  58. game.ReplicatedStorage.Events.CrateClaim:FireServer("Cash", 10000)
  59. end)
  60.  
  61. cash:AddLabel("")
  62.  
  63. cash:AddButton("+100000", function()
  64. game.ReplicatedStorage.Events.CrateClaim:FireServer("Cash", 100000)
  65. end)
  66.  
  67. cash:AddLabel("")
  68.  
  69. cash:AddButton("+1000000", function()
  70. game.ReplicatedStorage.Events.CrateClaim:FireServer("Cash", 1000000)
  71. end)
  72.  
  73. cash:AddLabel("")
  74.  
  75. cash:AddButton("+10000000", function()
  76. game.ReplicatedStorage.Events.CrateClaim:FireServer("Cash", 10000000)
  77. end)
  78.  
  79. cash:AddLabel("")
  80.  
  81. cash:AddButton("+100000000", function()
  82. game.ReplicatedStorage.Events.CrateClaim:FireServer("Cash", 100000000)
  83. end)
  84.  
  85. cash:AddLabel("")
  86.  
  87. admin:AddBox("Player To Kick", function(object, focus)
  88. if focus then
  89. local saved = object.Text
  90. object.Text = ""
  91. local pl = GetPlayer(saved)
  92. destroy(pl)
  93. object.Text = ""
  94. end
  95. end)
  96.  
  97. admin:AddLabel("")
  98.  
  99. admin:AddBox("Player To Punish", function(object, focus)
  100. if focus then
  101. local saved = object.Text
  102. object.Text = ""
  103. local pl = GetPlayer(saved)
  104. destroy(pl.Character)
  105. object.Text = ""
  106. end
  107. end)
  108.  
  109. admin:AddLabel("")
  110.  
  111. admin:AddBox("Player To Goto", function(object, focus)
  112. if focus then
  113. local saved = object.Text
  114. object.Text = ""
  115. local pl = GetPlayer(saved)
  116. game.Players.LocalPlayer.Character:MoveTo(pl.Character.HumanoidRootPart.Position)
  117. end
  118. end)
  119.  
  120. admin:AddLabel("")
  121.  
  122. admin:AddBox("Player To Kill", function (object, focus)
  123. if focus then
  124. local saved = object.Text
  125. object.Text = ""
  126. local pl = GetPlayer(saved)
  127. destroy(pl.Character.Torso.Neck)
  128. object.Text = ""
  129. end
  130. end)
  131.  
  132. admin:AddLabel("")
  133.  
  134. admin:AddBox("Player To Mute", function (object, focus)
  135. if focus then
  136. local saved = object.Text
  137. object.Text = ""
  138. local pl = GetPlayer(saved)
  139. destroy(pl.PlayerGui)
  140. object.Text = ""
  141. end
  142. end)
  143.  
  144. admin:AddLabel("")
  145.  
  146. admin:AddButton("Shutdown Game", function()
  147. for i,v in pairs(game.Players:GetChildren()) do
  148. destroy(v)
  149. end
  150. end)
  151.  
  152. tycoon:AddButton("Delete All Tycoons", function()
  153. destroy(game:GetService("Workspace")["Zednov's Tycoon Kit"])
  154. end)
  155.  
  156. tycoon:AddLabel("")
  157.  
  158. tycoon:AddDropdown({'HOLDER', 'Baldi', 'Freddy', 'Sonic.exe', 'John Doe', 'Big Foot', 'Hello Neighbor', 'Killer Clown', 'Bendy', 'Slenderman', 'Granny'}, function(a)
  159. if a == 'Baldi' then
  160. destroy(game:GetService("Workspace")["Zednov's Tycoon Kit"].Tycoons.Baldi)
  161. elseif a == 'Freddy' then
  162. destroy(game:GetService("Workspace")["Zednov's Tycoon Kit"].Tycoons.Freddy)
  163. elseif a == 'Sonic.exe' then
  164. destroy(game:GetService("Workspace")["Zednov's Tycoon Kit"].Tycoons["Sonic.exe"])
  165. elseif a == 'John Doe' then
  166. destroy(game:GetService("Workspace")["Zednov's Tycoon Kit"].Tycoons["John Doe"])
  167. elseif a == 'Big Foot' then
  168. destroy(game:GetService("Workspace")["Zednov's Tycoon Kit"].Tycoons["Big Foot"])
  169. elseif a == 'Hello Neighbor' then
  170. destroy(game:GetService("Workspace")["Zednov's Tycoon Kit"].Tycoons["Hello Neighbor"])
  171. elseif a == 'Killer Clown' then
  172. destroy(game:GetService("Workspace")["Zednov's Tycoon Kit"].Tycoons["Killer Clown"])
  173. elseif a == 'Bendy' then
  174. destroy(game:GetService("Workspace")["Zednov's Tycoon Kit"].Tycoons.Bendy)
  175. elseif a == 'Slenderman' then
  176. destroy(game:GetService("Workspace")["Zednov's Tycoon Kit"].Tycoons.Slenderman)
  177. elseif a == 'Granny' then
  178. destroy(game:GetService("Workspace")["Zednov's Tycoon Kit"].Tycoons.Granny)
  179. end
  180. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement