Advertisement
Vzurxy

DTools GUI

Jan 12th, 2019
623
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.24 KB | None | 0 0
  1. --[[
  2.  
  3. Execute _G.Mode = (Number here) , to select a mode.
  4.  
  5. 1 - Parents it to game | Most games wont check game.
  6. 2 - Makes a folder in game and parents it to the folder | Can disguise it as a plugin folder.
  7. 3 - Turns off CanCollide, turns on Anchored, and makes it invisible | Good for games that doesnt check properties.
  8. 4 - Parents to nil | Will help in games that detect if the part is still there
  9. 5 - Sets CFrame Position to 999999999 and position to 999999999 | Will teleport parts away very fast.
  10. 6 - RobloxLocks it and deletes | Good for games which try to put it back again.
  11. 7 - Names it random characters and deletes | Good for games that actually check the part of the name before doing the anti destroy.
  12. 8 - Creates a model in "workspace" and places a part in it and deletes model | Good for games that avoids models.
  13. 9 - Parents to character and kills | Fast way to delete parts.
  14. 10 - Makes the part really small. | Good for games which detects destroying of parts.
  15. 11 - Normal Btools | ( Some games can detect this and can ban you. )
  16. 12 - Puts the part in game.CoreGui.RobloxGui | Really good defense, since game creators can't access game.CoreGui.RobloxGui.
  17.  
  18. ]]--
  19.  
  20. local PARENT
  21. if game:GetService("CoreGui"):FindFirstChild("RobloxGui") then
  22. PARENT = game:GetService("CoreGui").RobloxGui
  23. else
  24. PARENT = game:GetService("CoreGui")
  25. end
  26.  
  27. _G.Mode = 1
  28.  
  29. _G.RainbowGlow = true -- Set to false if you dont want a rainbow effect.
  30.  
  31. local LocalPlayer = game:GetService("Players").LocalPlayer
  32. local Mouse = LocalPlayer:GetMouse()
  33. local Toggled = false
  34. local Target = Mouse.Target
  35. local Folder = Instance.new("Folder", game)
  36.  
  37. local ViewingBox = Instance.new("SelectionBox", PARENT)
  38. ViewingBox.Adornee = nil
  39. ViewingBox.Color3 = Color3.fromRGB(255, 255, 255)
  40. ViewingBox.SurfaceColor3 = Color3.fromRGB(255, 255, 255)
  41. ViewingBox.LineThickness = 0.1
  42.  
  43. function randomString()
  44. local length = math.random(20,40)
  45. local array = {}
  46. for i = 1, length do
  47. array[i] = string.char(math.random(32, 126))
  48. end
  49. return table.concat(array)
  50. end
  51.  
  52. -- Instances:
  53.  
  54. local DestroyUI = Instance.new("ScreenGui")
  55. local Main = Instance.new("TextButton")
  56. local Check = false
  57. local UITextSizeConstraint = Instance.new("UITextSizeConstraint")
  58. local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
  59.  
  60. --Properties:
  61.  
  62. DestroyUI.Name = "DestroyUI"
  63. DestroyUI.Parent = PARENT
  64.  
  65. Main.Name = "Main"
  66. Main.Parent = DestroyUI
  67. Main.AnchorPoint = Vector2.new(1, 0)
  68. Main.BackgroundColor3 = Color3.fromRGB(255,255,255)
  69. Main.BorderSizePixel = 0
  70. Main.Position = UDim2.new(1, 0, 0, 0)
  71. Main.Size = UDim2.new(0.150000006, 0, 0.0500000007, 0)
  72. Main.AutoButtonColor = false
  73. Main.Font = Enum.Font.Gotham
  74. Main.Text = "Destroy"
  75. Main.TextColor3 = Color3.fromRGB(255, 0, 0)
  76. Main.TextScaled = true
  77. Main.TextSize = 14
  78. Main.TextWrapped = true
  79.  
  80. Main.Active = true
  81. Main.Draggable = false
  82.  
  83. UITextSizeConstraint.Parent = Main
  84. UITextSizeConstraint.MaxTextSize = 40
  85.  
  86. UIAspectRatioConstraint.Parent = Main
  87. UIAspectRatioConstraint.AspectRatio = 4
  88.  
  89. -- Scripts
  90.  
  91. local tweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out)
  92.  
  93. local tweenToGreen = {TextColor3 = Color3.fromRGB(0, 255, 127)}
  94. local tweenToRed = {TextColor3 = Color3.fromRGB(255, 0, 0)}
  95.  
  96. local AnimationGreen = game:GetService("TweenService"):Create(Main, tweenInfo, tweenToGreen)
  97. local AnimationRed = game:GetService("TweenService"):Create(Main, tweenInfo, tweenToRed)
  98.  
  99. Main.MouseButton1Down:Connect(function()
  100. if not Check then
  101. Check = true
  102. AnimationGreen:Play()
  103. Toggled = true
  104. ViewingBox.Parent = workspace
  105. Main.Draggable = true
  106. ViewingBox.Adornee = nil
  107. while Toggled == true do
  108. wait(0.01)
  109. ViewingBox.Adornee = Mouse.Target
  110. end
  111. else
  112. Main.Draggable = true
  113. Check = false
  114. AnimationRed:Play()
  115. Toggled = false
  116. ViewingBox.Adornee = nil
  117. ViewingBox.Parent = PARENT
  118. end
  119. end)
  120.  
  121. Mouse.Button1Down:Connect(function()
  122. if Toggled == true then
  123. local Target = Mouse.Target
  124. if _G.Mode == 1 then
  125. Target.Parent = game
  126. elseif _G.Mode == 2 then
  127. Target.Parent = Folder
  128. elseif _G.Mode == 3 then
  129. Target.CanCollide = false
  130. Target.Anchored = true
  131. Target.Transparency = 1
  132. elseif _G.Mode == 4 then
  133. Target.Parent = nil
  134. elseif _G.Mode == 5 then
  135. Target.CFrame = CFrame.new(999999999, 999999999, 999999999)
  136. Target.Position = Vector3.new(999999999, 999999999, 999999999)
  137. elseif _G.Mode == 6 then
  138. Target.RobloxLocked = true
  139. Target.Parent = nil
  140. elseif _G.Mode == 7 then
  141. Target.Name = randomString()
  142. Target.Parent = nil
  143. elseif _G.Mode == 8 then
  144. local Model = Instance.new("Model", game)
  145. Target.Parent = Model
  146. Model:Destroy()
  147. elseif _G.Mode == 9 then
  148. Target.Parent = LocalPlayer.Character
  149. LocalPlayer.Character:BreakJoints()
  150. elseif _G.Mode == 10 then
  151. Target.Size = Vector3.new(0, 0, 0)
  152. elseif _G.Mode == 11 then
  153. Target:Destroy()
  154. elseif _G.Mode == 12 then
  155. Target.Parent = PARENT
  156. end
  157. end
  158. end)
  159.  
  160. while _G.RainbowGlow do
  161. for i = 0,1,0.01 do
  162. ViewingBox.Color3 = Color3.fromHSV(i,1,1)
  163. wait(0.01)
  164. end
  165. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement