Advertisement
manolitogamer11111

Horror Tycoon GUI

Jun 8th, 2020
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.30 KB | None | 0 0
  1. -- game link: https://www.roblox.com/games/3264958220
  2.  
  3. game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  4. wait()
  5. game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  6.  
  7. backpacklist = game:GetService("Players").LocalPlayer.Backpack:GetChildren()
  8.  
  9. function destroy(arg1)
  10. game:GetService("ReplicatedStorage").Events.destryObj:FireServer(arg1)
  11. end
  12.  
  13. function GetPlayer(String)
  14. local Found = {}
  15. local strl = String:lower()
  16. if strl == "all" then
  17. for i,v in pairs(game.Players:GetPlayers()) do
  18. table.insert(Found,v.Name)
  19. end
  20. elseif strl == "others" then
  21. for i,v in pairs(game.Players:GetPlayers()) do
  22. if v.Name ~= game.Players.LocalPlayer.Name then
  23. table.insert(Found,v.Name)
  24. end
  25. end
  26. elseif strl == "me" then
  27. for i,v in pairs(game.Players:GetPlayers()) do
  28. if v.Name == game.Players.LocalPlayer.Name then
  29. table.insert(Found,v.Name)
  30. end
  31. end
  32. else
  33. for i,v in pairs(game.Players:GetPlayers()) do
  34. if v.Name:lower():sub(1, #String) == String:lower() then
  35. table.insert(Found,v.Name)
  36. end
  37. end
  38. end
  39. return Found
  40. end
  41.  
  42.  
  43.  
  44.  
  45.  
  46. -- Farewell Infortality.
  47. -- Version: 2.82
  48. -- Instances:
  49. local ScreenGui = Instance.new("ScreenGui")
  50. local Frame = Instance.new("Frame")
  51. local targetbox = Instance.new("TextBox")
  52. local kill = Instance.new("TextButton")
  53. local naked = Instance.new("TextButton")
  54. local kick = Instance.new("TextButton")
  55. local ragdoll = Instance.new("TextButton")
  56. local none = Instance.new("TextButton")
  57. local punish = Instance.new("TextButton")
  58. local ban = Instance.new("TextButton")
  59. local goto = Instance.new("TextButton")
  60.  
  61.  
  62.  
  63. --Properties:
  64. ScreenGui.Parent = game.CoreGui
  65. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  66.  
  67.  
  68.  
  69. Frame.Parent = ScreenGui
  70. Frame.Active = true
  71. Frame.Draggable = true
  72. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  73. Frame.BackgroundTransparency = 0.5
  74. Frame.Position = UDim2.new(0.394230753, 0, 0.325095087, 0)
  75. Frame.Size = UDim2.new(0, 219, 0, 252)
  76.  
  77.  
  78. targetbox.Name = "targetbox"
  79. targetbox.Parent = Frame
  80. targetbox.BackgroundColor3 = Color3.new(1, 1, 1)
  81. targetbox.BackgroundTransparency = 0.5
  82. targetbox.Position = UDim2.new(0.132596642, 0, 0.0753968284, 0)
  83. targetbox.Size = UDim2.new(0, 159, 0, 31)
  84. targetbox.Font = Enum.Font.SourceSans
  85. targetbox.Text = ""
  86. targetbox.TextColor3 = Color3.new(0, 0, 0)
  87. targetbox.TextSize = 14
  88.  
  89. kill.Name = "kill"
  90. kill.Parent = Frame
  91. kill.BackgroundColor3 = Color3.new(1, 1, 1)
  92. kill.BackgroundTransparency = 0.5
  93. kill.Position = UDim2.new(0.0718231872, 0, 0.285714298, 0)
  94. kill.Size = UDim2.new(0, 85, 0, 29)
  95. kill.Font = Enum.Font.SourceSans
  96. kill.Text = "Kill"
  97. kill.TextColor3 = Color3.new(0, 0, 0)
  98. kill.TextSize = 14
  99.  
  100. naked.Name = "naked"
  101. naked.Parent = Frame
  102. naked.BackgroundColor3 = Color3.new(1, 1, 1)
  103. naked.BackgroundTransparency = 0.5
  104. naked.Position = UDim2.new(0.0718231872, 0, 0.789682567, 0)
  105. naked.Size = UDim2.new(0, 85, 0, 29)
  106. naked.Font = Enum.Font.SourceSans
  107. naked.Text = "Naked"
  108. naked.TextColor3 = Color3.new(0, 0, 0)
  109. naked.TextSize = 14
  110.  
  111. kick.Name = "kick"
  112. kick.Parent = Frame
  113. kick.BackgroundColor3 = Color3.new(1, 1, 1)
  114. kick.BackgroundTransparency = 0.5
  115. kick.Position = UDim2.new(0.0718231872, 0, 0.440476179, 0)
  116. kick.Size = UDim2.new(0, 85, 0, 29)
  117. kick.Font = Enum.Font.SourceSans
  118. kick.Text = "Kick"
  119. kick.TextColor3 = Color3.new(0, 0, 0)
  120. kick.TextSize = 14
  121.  
  122. ragdoll.Name = "ragdoll"
  123. ragdoll.Parent = Frame
  124. ragdoll.BackgroundColor3 = Color3.new(1, 1, 1)
  125. ragdoll.BackgroundTransparency = 0.5
  126. ragdoll.Position = UDim2.new(0.542142987, 0, 0.440476179, 0)
  127. ragdoll.Size = UDim2.new(0, 83, 0, 29)
  128. ragdoll.Font = Enum.Font.SourceSans
  129. ragdoll.Text = "Ragdoll"
  130. ragdoll.TextColor3 = Color3.new(0, 0, 0)
  131. ragdoll.TextSize = 14
  132.  
  133. none.Name = "none"
  134. none.Parent = Frame
  135. none.BackgroundColor3 = Color3.new(1, 1, 1)
  136. none.BackgroundTransparency = 0.5
  137. none.Position = UDim2.new(0.542142987, 0, 0.789682567, 0)
  138. none.Size = UDim2.new(0, 83, 0, 29)
  139. none.Font = Enum.Font.SourceSans
  140. none.Text = "ScriptX#3145"
  141. none.TextColor3 = Color3.new(0, 0, 0)
  142. none.TextSize = 14
  143.  
  144. punish.Name = "punish"
  145. punish.Parent = Frame
  146. punish.BackgroundColor3 = Color3.new(1, 1, 1)
  147. punish.BackgroundTransparency = 0.5
  148. punish.Position = UDim2.new(0.0718231872, 0, 0.611111104, 0)
  149. punish.Size = UDim2.new(0, 85, 0, 29)
  150. punish.Font = Enum.Font.SourceSans
  151. punish.Text = "Punish"
  152. punish.TextColor3 = Color3.new(0, 0, 0)
  153. punish.TextSize = 14
  154.  
  155. ban.Name = "ban"
  156. ban.Parent = Frame
  157. ban.BackgroundColor3 = Color3.new(1, 1, 1)
  158. ban.BackgroundTransparency = 0.5
  159. ban.Position = UDim2.new(0.542142987, 0, 0.611111104, 0)
  160. ban.Size = UDim2.new(0, 83, 0, 29)
  161. ban.Font = Enum.Font.SourceSans
  162. ban.Text = "Ban"
  163. ban.TextColor3 = Color3.new(0, 0, 0)
  164. ban.TextSize = 14
  165.  
  166. goto.Name = "goto"
  167. goto.Parent = Frame
  168. goto.BackgroundColor3 = Color3.new(1, 1, 1)
  169. goto.BackgroundTransparency = 0.5
  170. goto.Position = UDim2.new(0.542142987, 0, 0.285714298, 0)
  171. goto.Size = UDim2.new(0, 84, 0, 29)
  172. goto.Font = Enum.Font.SourceSans
  173. goto.Text = "Goto"
  174. goto.TextColor3 = Color3.new(0, 0, 0)
  175. goto.TextSize = 14
  176. -- Scripts:
  177.  
  178.  
  179.  
  180.  
  181. kill.MouseButton1Click:Connect(function()
  182. for i,v in pairs(GetPlayer(targetbox.Text)) do
  183. spawn(function()
  184. destroy(game.Players[v].Character.Torso.Neck)
  185.  
  186. game:GetService("StarterGui"):SetCore("SendNotification", {
  187. Title = "Killer Player!";
  188. Text = "Killed Player successfully.";
  189. })
  190.  
  191. end)
  192. end
  193. end)
  194.  
  195.  
  196.  
  197. ragdoll.MouseButton1Click:Connect(function()
  198. for i,v in pairs(GetPlayer(targetbox.Text)) do
  199. spawn(function()
  200. destroy(game.Players[v].Character.Humanoid)
  201.  
  202. game:GetService("StarterGui"):SetCore("SendNotification", {
  203. Title = "Ragdolled Player!";
  204. Text = "Ragdolled Player successfully.";
  205. })
  206.  
  207. end)
  208. end
  209. end)
  210.  
  211.  
  212.  
  213. kick.MouseButton1Click:Connect(function()
  214. for i,v in pairs(GetPlayer(targetbox.Text)) do
  215. spawn(function()
  216. destroy(game.Players[v])
  217.  
  218. game:GetService("StarterGui"):SetCore("SendNotification", {
  219. Title = "Kicked Player!";
  220. Text = "Kicked Player successfully.";
  221. })
  222.  
  223. end)
  224. end
  225. end)
  226.  
  227.  
  228.  
  229. naked.MouseButton1Click:Connect(function()
  230. for i,v in pairs(GetPlayer(targetbox.Text)) do
  231. if game.Players[v].Character:FindFirstChildOfClass("Shirt") then
  232. spawn(function()
  233. destroy(game.Players[v].Character:FindFirstChildOfClass("Shirt"))
  234. end)
  235. end
  236. if game.Players[v].Character:FindFirstChildOfClass("Pants") then
  237. spawn(function()
  238. destroy(game.Players[v].Character:FindFirstChildOfClass("Pants"))
  239. end)
  240. end
  241. if game.Players[v].Character:FindFirstChild("Shirt Graphic") then
  242. spawn(function()
  243. destroy(game.Players[v].Character:FindFirstChild("Shirt Graphic"))
  244. end)
  245. end
  246. game:GetService("StarterGui"):SetCore("SendNotification", {
  247. Title = "Stripped Player!";
  248. Text = "Removed clothes from Player Successfully.";
  249. })
  250. end
  251. end)
  252.  
  253.  
  254.  
  255.  
  256.  
  257. goto.MouseButton1Click:Connect(function()
  258. for i,v in pairs(GetPlayer(targetbox.Text)) do
  259. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[v].Character.HumanoidRootPart.CFrame
  260.  
  261. game:GetService("StarterGui"):SetCore("SendNotification", {
  262. Title = "Teleported to Player!";
  263. Text = "Teleported to Player successfully.";
  264. })
  265.  
  266. end
  267. end)
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274. ban.MouseButton1Click:Connect(function()
  275. for i,v in pairs(GetPlayer(targetbox.Text)) do
  276. spawn(function()
  277. while true do
  278. wait(0.3)
  279. spawn(function()
  280. destroy(game.Players[v])
  281.  
  282. game:GetService("StarterGui"):SetCore("SendNotification", {
  283. Title = "Banned Player!";
  284. Text = "Banned Player successfully.";
  285. })
  286.  
  287. end)
  288. end
  289. end)
  290. end
  291. end)
  292.  
  293.  
  294. punish.MouseButton1Click:Connect(function()
  295. for i,v in pairs(GetPlayer(targetbox.Text)) do
  296. spawn(function()
  297. destroy(game.Players[v].Character)
  298.  
  299. game:GetService("StarterGui"):SetCore("SendNotification", {
  300. Title = "Punsihed Player!";
  301. Text = "Punished Player successfully.";
  302. })
  303.  
  304. end)
  305. end
  306. end)
  307.  
  308. none.MouseButton1Click:Connect(function()
  309.  
  310.  
  311. game:GetService("StarterGui"):SetCore("SendNotification", {
  312. Title = "ScriptX#3145";
  313. Text = "Full credits to ScriptX#3145 The Creator!";
  314. })
  315.  
  316.  
  317. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement