Advertisement
W4rkizard_M4ster

Untitled

Jan 31st, 2023
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.25 KB | None | 0 0
  1. --BUILD TO SURVIVE GAMES SCRIPT
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local back = Instance.new("Frame")
  5. local top = Instance.new("TextLabel")
  6. local kill = Instance.new("TextButton")
  7. local naked = Instance.new("TextButton")
  8. local kick = Instance.new("TextButton")
  9. local nolimbs = Instance.new("TextButton")
  10. local sink = Instance.new("TextButton")
  11. local btools = Instance.new("TextButton")
  12. local nuke = Instance.new("TextButton")
  13. local target = Instance.new("TextBox")
  14. local hatless = Instance.new("TextButton")
  15. local credits = Instance.new("TextLabel")
  16.  
  17. --Properties:
  18.  
  19. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  20. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  21.  
  22. back.Name = "back"
  23. back.Parent = ScreenGui
  24. back.BackgroundColor3 = Color3.fromRGB(107, 107, 107)
  25. back.BackgroundTransparency = 0.400
  26. back.Position = UDim2.new(0.249070629, 0, 0.336614162, 0)
  27. back.Size = UDim2.new(0, 395, 0, 251)
  28.  
  29. top.Name = "top"
  30. top.Parent = back
  31. top.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  32. top.BackgroundTransparency = 0.400
  33. top.Size = UDim2.new(0, 395, 0, 50)
  34. top.Font = Enum.Font.Michroma
  35. top.Text = "Game Destroyer"
  36. top.TextColor3 = Color3.fromRGB(0, 0, 0)
  37. top.TextSize = 45.000
  38.  
  39. kill.Name = "kill"
  40. kill.Parent = back
  41. kill.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  42. kill.BackgroundTransparency = 0.400
  43. kill.Position = UDim2.new(0.0227848105, 0, 0.231075704, 0)
  44. kill.Size = UDim2.new(0, 72, 0, 50)
  45. kill.Font = Enum.Font.SourceSans
  46. kill.Text = "Kill"
  47. kill.TextColor3 = Color3.fromRGB(0, 0, 0)
  48. kill.TextSize = 34.000
  49.  
  50. naked.Name = "naked"
  51. naked.Parent = back
  52. naked.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  53. naked.BackgroundTransparency = 0.400
  54. naked.Position = UDim2.new(0.26329115, 0, 0.231075704, 0)
  55. naked.Size = UDim2.new(0, 76, 0, 50)
  56. naked.Font = Enum.Font.SourceSans
  57. naked.Text = "Naked"
  58. naked.TextColor3 = Color3.fromRGB(0, 0, 0)
  59. naked.TextSize = 34.000
  60.  
  61. kick.Name = "kick"
  62. kick.Parent = back
  63. kick.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  64. kick.BackgroundTransparency = 0.400
  65. kick.Position = UDim2.new(0.496202528, 0, 0.231075704, 0)
  66. kick.Size = UDim2.new(0, 76, 0, 50)
  67. kick.Font = Enum.Font.SourceSans
  68. kick.Text = "Kick"
  69. kick.TextColor3 = Color3.fromRGB(0, 0, 0)
  70. kick.TextSize = 34.000
  71.  
  72. nolimbs.Name = "nolimbs"
  73. nolimbs.Parent = back
  74. nolimbs.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  75. nolimbs.BackgroundTransparency = 0.400
  76. nolimbs.Position = UDim2.new(0.759493649, 0, 0.231075704, 0)
  77. nolimbs.Size = UDim2.new(0, 76, 0, 50)
  78. nolimbs.Font = Enum.Font.SourceSans
  79. nolimbs.Text = "No Limbs"
  80. nolimbs.TextColor3 = Color3.fromRGB(0, 0, 0)
  81. nolimbs.TextSize = 23.000
  82.  
  83. sink.Name = "sink"
  84. sink.Parent = back
  85. sink.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  86. sink.BackgroundTransparency = 0.400
  87. sink.Position = UDim2.new(0.0227848105, 0, 0.490039855, 0)
  88. sink.Size = UDim2.new(0, 72, 0, 50)
  89. sink.Font = Enum.Font.SourceSans
  90. sink.Text = "Sink"
  91. sink.TextColor3 = Color3.fromRGB(0, 0, 0)
  92. sink.TextSize = 34.000
  93.  
  94. btools.Name = "btools"
  95. btools.Parent = back
  96. btools.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  97. btools.BackgroundTransparency = 0.400
  98. btools.Position = UDim2.new(0.26329115, 0, 0.490039855, 0)
  99. btools.Size = UDim2.new(0, 72, 0, 50)
  100. btools.Font = Enum.Font.SourceSans
  101. btools.Text = "Btools"
  102. btools.TextColor3 = Color3.fromRGB(0, 0, 0)
  103. btools.TextSize = 34.000
  104.  
  105. nuke.Name = "nuke"
  106. nuke.Parent = back
  107. nuke.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  108. nuke.BackgroundTransparency = 0.400
  109. nuke.Position = UDim2.new(0.506329119, 0, 0.490039855, 0)
  110. nuke.Size = UDim2.new(0, 72, 0, 50)
  111. nuke.Font = Enum.Font.SourceSans
  112. nuke.Text = "Destroy"
  113. nuke.TextColor3 = Color3.fromRGB(0, 0, 0)
  114. nuke.TextSize = 27.000
  115.  
  116. target.Name = "target"
  117. target.Parent = back
  118. target.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  119. target.BackgroundTransparency = 0.400
  120. target.Position = UDim2.new(0.045569621, 0, 0.733067751, 0)
  121. target.Size = UDim2.new(0, 358, 0, 33)
  122. target.Font = Enum.Font.SourceSans
  123. target.Text = ""
  124. target.TextColor3 = Color3.fromRGB(0, 0, 0)
  125. target.TextSize = 14.000
  126.  
  127. hatless.Name = "hatless"
  128. hatless.Parent = back
  129. hatless.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  130. hatless.BackgroundTransparency = 0.400
  131. hatless.Position = UDim2.new(0.759493709, 0, 0.490039855, 0)
  132. hatless.Size = UDim2.new(0, 72, 0, 50)
  133. hatless.Font = Enum.Font.SourceSans
  134. hatless.Text = "No hats"
  135. hatless.TextColor3 = Color3.fromRGB(0, 0, 0)
  136. hatless.TextSize = 27.000
  137.  
  138. credits.Name = "credits"
  139. credits.Parent = back
  140. credits.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  141. credits.BackgroundTransparency = 0.400
  142. credits.BorderSizePixel = 0
  143. credits.Position = UDim2.new(0, 0, 0.916334689, 0)
  144. credits.Size = UDim2.new(0, 395, 0, 21)
  145. credits.Font = Enum.Font.SourceSans
  146. credits.Text = "Credits to diamantiinho to make Game Destroyer!"
  147. credits.TextColor3 = Color3.fromRGB(0, 0, 0)
  148. credits.TextSize = 21.000
  149.  
  150. for i,slaves in pairs(game:GetDescendants()) do
  151. if slaves.Name == "DeleteItem" then
  152. print("L bozo Goofy by diamantiinho")
  153.  
  154.  
  155. kill.MouseButton1Down:connect(function()
  156. if string.lower(target.Text) == "all" then
  157. for i,c in pairs(game.Players:GetPlayers()) do
  158. ohok = c.Character["Head"]
  159. slaves:FireServer(ohok, {Value = ohok})
  160. end
  161. else
  162. if game.Players:FindFirstChild(target.Text) then
  163. if game.Players:FindFirstChild(target.Text).Character then
  164. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character.Head, {Value = game.Players:FindFirstChild(target.Text).Character.Head}) else
  165. print("nibba who this")
  166.  
  167. end
  168.  
  169. end
  170.  
  171. end
  172. end)
  173.  
  174. btools.MouseButton1Down:connect(function()
  175. local Tool = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
  176. local Equipped = false
  177.  
  178. Tool.RequiresHandle = false
  179. Tool.Name = "Destroy Tool"
  180. local Field = Instance.new("SelectionBox",game.Workspace)
  181. local Mouse = game.Players.LocalPlayer:GetMouse()
  182. Field.LineThickness = 0.1
  183.  
  184. Tool.Equipped:connect(function()
  185. Equipped = true
  186.  
  187. while Equipped == true do
  188. if Mouse.Target ~= nil then
  189. Field.Adornee = Mouse.Target
  190.  
  191. else
  192. Field.Adornee = nil
  193. end
  194. wait()
  195. end
  196. end)
  197.  
  198. Tool.Unequipped:connect(function()
  199. Equipped = false
  200. Field.Adornee = nil
  201. end)
  202.  
  203. Tool.Activated:connect(function()
  204. if Mouse.Target ~= nil then
  205. slaves:FireServer(Mouse.Target, {Value = Mouse.Target})
  206. local AttemptTarget = Mouse.Target
  207. while AttemptTarget ~= nil do
  208. AttemptTarget.Velocity = Vector3.new(0,-1000000000000000,0)
  209. AttemptTarget.CanCollide = false
  210. wait()
  211. end
  212.  
  213. end
  214. end)
  215. end)
  216.  
  217. naked.MouseButton1Down:connect(function()
  218. if string.lower(target.Text) == "all" then
  219. for i,c in pairs(game.Players:GetPlayers()) do
  220. ohok = c.Character.Shirt
  221. ohoka = c.Character.Pants
  222. slaves:FireServer(ohok, {Value = ohok})
  223. slaves:FireServer(ohoka, {Value = ohoka})
  224. end
  225. else
  226. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character.Shirt, {Value = game.Players:FindFirstChild(target.Text).Character.Shirt})
  227. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character.Pants, {Value = game.Players:FindFirstChild(target.Text).Character.Pants})
  228. end
  229. end)
  230.  
  231. nolimbs.MouseButton1Down:connect(function()
  232. if string.lower(target.Text) == "all" then
  233. for i,c in pairs(game.Players:GetPlayers()) do
  234. ohok = c.Character["Right Arm"]
  235. ohoka = c.Character["Left Arm"]
  236. ohokb = c.Character["Right Leg"]
  237. ohokc = c.Character["Left Leg"]
  238. slaves:FireServer(ohok, {Value = ohok})
  239. slaves:FireServer(ohoka, {Value = ohoka})
  240. slaves:FireServer(ohokb, {Value = ohokb})
  241. slaves:FireServer(ohokc, {Value = ohokc})
  242. end
  243. else
  244. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character["Right Arm"], {Value = game.Players:FindFirstChild(target.Text).Character["Right Arm"]})
  245. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character["Right Leg"], {Value = game.Players:FindFirstChild(target.Text).Character["Right Leg"]})
  246. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character["Left Arm"], {Value = game.Players:FindFirstChild(target.Text).Character["Left Arm"]})
  247. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character["Left Leg"], {Value = game.Players:FindFirstChild(target.Text).Character["Left Leg"]})
  248. end
  249. end)
  250.  
  251. hatless.MouseButton1Down:connect(function()
  252. if string.lower(target.Text) == "all" then
  253. for i,x in pairs(game.Players:GetPlayers()) do
  254. for i,c in pairs(x.Character:GetChildren()) do
  255. if c:IsA("Accessory") then
  256. ohok = c
  257. slaves:FireServer(ohok, {Value = ohok})
  258.  
  259.  
  260. end
  261. end
  262. end
  263. else
  264. for i, hats in pairs(game.Players:FindFirstChild(target.Text).Character:GetChildren()) do
  265. if hats:IsA("Accessory") then
  266. slaves:FireServer(hats, {Value = hats })
  267. end
  268. end
  269. end
  270. end)
  271.  
  272. sink.MouseButton1Down:connect(function()
  273. if string.lower(target.Text) == "all" then
  274. for i,c in pairs(game.Players:GetPlayers()) do
  275. ohok = c.Character.HumanoidRootPart
  276. slaves:FireServer(ohok, {Value = ohok})
  277. end
  278. else
  279. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character["HumanoidRootPart"], {Value = game.Players:FindFirstChild(target.Text).Character["HumanoidRootPart"]})
  280. end
  281. end)
  282.  
  283. kick.MouseButton1Down:connect(function()
  284. if string.lower(target.Text) == "all" then
  285. for i,c in pairs(game.Players:GetPlayers()) do
  286. ohok = c
  287. slaves:FireServer(ohok, {Value = ohok})
  288. end
  289. else
  290. slaves:FireServer(game.Players:FindFirstChild(target.Text), {Value = game.Players:FindFirstChild(target.Text)})
  291. end
  292. end)
  293.  
  294. nuke.MouseButton1Down:connect(function()
  295. for i,c in pairs(game.Workspace:GetChildren()) do
  296. ohok = c
  297. slaves:FireServer(ohok, {Value = ohok})
  298. end
  299. end)
  300.  
  301. end
  302. end
  303.  
  304. local function THGEX_fake_script() -- back.LocalScript
  305. local script = Instance.new('LocalScript', back)
  306.  
  307. local UIS = game:GetService('UserInputService')
  308.  
  309. local frame = script.Parent
  310.  
  311.  
  312.  
  313. local dragToggle = nil
  314.  
  315. local dragSpeed = 0.25
  316.  
  317. local dragStart = nil
  318.  
  319. local startPos = nil
  320.  
  321.  
  322.  
  323. local function updateInput(input)
  324.  
  325. local delta = input.Position - dragStart
  326.  
  327. local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
  328.  
  329. startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  330.  
  331. game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
  332.  
  333. end
  334.  
  335.  
  336.  
  337. frame.InputBegan:Connect(function(input)
  338.  
  339. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  340.  
  341. dragToggle = true
  342.  
  343. dragStart = input.Position
  344.  
  345. startPos = frame.Position
  346.  
  347. input.Changed:Connect(function()
  348.  
  349. if input.UserInputState == Enum.UserInputState.End then
  350.  
  351. dragToggle = false
  352.  
  353. end
  354.  
  355. end)
  356.  
  357. end
  358.  
  359. end)
  360.  
  361.  
  362.  
  363. UIS.InputChanged:Connect(function(input)
  364.  
  365. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  366.  
  367. if dragToggle then
  368.  
  369. updateInput(input)
  370.  
  371. end
  372.  
  373. end
  374.  
  375. end)
  376. end
  377. coroutine.wrap(THGEX_fake_script)()
  378.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement