Advertisement
Guest User

Untitled

a guest
Jan 19th, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.83 KB | None | 0 0
  1. local Killallgui = Instance.new("ScreenGui")
  2. local Menu = Instance.new("Frame")
  3. local Tittle = Instance.new("TextLabel")
  4. local separation = Instance.new("TextLabel")
  5. local InstaKill = Instance.new("TextButton")
  6. local Tpall = Instance.new("TextButton")
  7. local Close = Instance.new("TextButton")
  8.  
  9.  
  10. Killallgui.Name = "Killallgui"
  11. Killallgui.Parent = game.CoreGui
  12.  
  13. Menu.Name = "Menu"
  14. Menu.Parent = Killallgui
  15. Menu.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  16. Menu.Position = UDim2.new(0, 0, 0.402234644, 0)
  17. Menu.Size = UDim2.new(0, 130, 0, 150)
  18. Menu.Style = Enum.FrameStyle.DropShadow
  19.  
  20. Tittle.Name = "Tittle"
  21. Tittle.Parent = Menu
  22. Tittle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  23. Tittle.BackgroundTransparency = 1.000
  24. Tittle.Position = UDim2.new(0.113541707, 0, -0.0441988967, 0)
  25. Tittle.Size = UDim2.new(0, 86, 0, 32)
  26. Tittle.Font = Enum.Font.Antique
  27. Tittle.Text = "AUTO KILL"
  28. Tittle.TextColor3 = Color3.fromRGB(255, 255, 255)
  29. Tittle.TextScaled = true
  30. Tittle.TextSize = 14.000
  31. Tittle.TextTransparency = 0.500
  32. Tittle.TextWrapped = true
  33.  
  34. separation.Name = "separation"
  35. separation.Parent = Menu
  36. separation.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  37. separation.BackgroundTransparency = 1.000
  38. separation.Position = UDim2.new(-0.0199999996, 0, 0.0141041838, 0)
  39. separation.Size = UDim2.new(0, 119, 0, 36)
  40. separation.Font = Enum.Font.SourceSans
  41. separation.Text = "_____________________________"
  42. separation.TextColor3 = Color3.fromRGB(255, 255, 255)
  43. separation.TextScaled = true
  44. separation.TextSize = 14.000
  45. separation.TextTransparency = 0.500
  46. separation.TextWrapped = true
  47.  
  48. InstaKill.Name = "InstaKill"
  49. InstaKill.Parent = Menu
  50. InstaKill.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  51. InstaKill.BackgroundTransparency = 0.900
  52. InstaKill.LayoutOrder = 1
  53. InstaKill.Position = UDim2.new(0.00499999989, 0, 0.284100026, 0)
  54. InstaKill.Size = UDim2.new(0, 112, 0, 29)
  55. InstaKill.Font = Enum.Font.Antique
  56. InstaKill.Text = "- InstaKill -"
  57. InstaKill.TextColor3 = Color3.fromRGB(255, 255, 255)
  58. InstaKill.TextScaled = true
  59. InstaKill.TextSize = 14.000
  60. InstaKill.TextTransparency = 0.500
  61. InstaKill.TextWrapped = true
  62. InstaKill.MouseButton1Down:connect(function()
  63. game.StarterGui:SetCore("SendNotification",{Title="Treasure Quest V1.1",Text="This functionality is not yet available.",Duration=3})
  64. end)
  65.  
  66. Tpall.Name = "Tpall"
  67. Tpall.Parent = Menu
  68. Tpall.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  69. Tpall.BackgroundTransparency = 0.900
  70. Tpall.LayoutOrder = 1
  71. Tpall.Position = UDim2.new(0.00499999989, 0, 0.578344464, 0)
  72. Tpall.Size = UDim2.new(0, 112, 0, 29)
  73. Tpall.Font = Enum.Font.Antique
  74. Tpall.Text = "- TP All -"
  75. Tpall.TextColor3 = Color3.fromRGB(255, 255, 255)
  76. Tpall.TextScaled = true
  77. Tpall.TextSize = 14.000
  78. Tpall.TextTransparency = 0.500
  79. Tpall.TextWrapped = true
  80. Tpall.MouseButton1Down:Connect(function()
  81. for i,v in pairs(workspace.DungeonFolder:GetChildren()) do
  82. if v:FindFirstChild("Monsters") then
  83. game.Players.LocalPlayer.SimulationRadius=10000000
  84. for i,v in pairs(v.Monsters:GetChildren()) do
  85. if v:FindFirstChildOfClass("Humanoid") then
  86. v.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,2,0)
  87. end
  88. end
  89. end
  90. end
  91. end)
  92.  
  93. Close.Name = "Close"
  94. Close.Parent = Menu
  95. Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  96. Close.BackgroundTransparency = 0.900
  97. Close.LayoutOrder = 1
  98. Close.Position = UDim2.new(0.00499999989, 0, 0.850000024, 0)
  99. Close.Size = UDim2.new(0, 112, 0, 17)
  100. Close.Font = Enum.Font.Antique
  101. Close.Text = "- CLOSE -"
  102. Close.TextColor3 = Color3.fromRGB(255, 255, 255)
  103. Close.TextScaled = true
  104. Close.TextSize = 14.000
  105. Close.TextTransparency = 0.500
  106. Close.TextWrapped = true
  107. Close.MouseButton1Down:connect(function()
  108. Menu.Visible = false
  109. end)local Killallgui = Instance.new("ScreenGui")
  110. local Menu = Instance.new("Frame")
  111. local Tittle = Instance.new("TextLabel")
  112. local separation = Instance.new("TextLabel")
  113. local InstaKill = Instance.new("TextButton")
  114. local Tpall = Instance.new("TextButton")
  115. local Close = Instance.new("TextButton")
  116. local Options = Instance.new("Frame")
  117. local Monsters = Instance.new("TextButton")
  118. local Boss = Instance.new("TextButton")
  119.  
  120.  
  121. Killallgui.Name = "Killallgui"
  122. Killallgui.Parent = game.CoreGui
  123.  
  124. Menu.Name = "Menu"
  125. Menu.Parent = Killallgui
  126. Menu.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  127. Menu.Position = UDim2.new(0, 0, 0.402234644, 0)
  128. Menu.Size = UDim2.new(0, 130, 0, 150)
  129. Menu.Style = Enum.FrameStyle.DropShadow
  130.  
  131. Tittle.Name = "Tittle"
  132. Tittle.Parent = Menu
  133. Tittle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  134. Tittle.BackgroundTransparency = 1.000
  135. Tittle.Position = UDim2.new(0.113541707, 0, -0.0441988967, 0)
  136. Tittle.Size = UDim2.new(0, 86, 0, 32)
  137. Tittle.Font = Enum.Font.Antique
  138. Tittle.Text = "AUTO KILL"
  139. Tittle.TextColor3 = Color3.fromRGB(255, 255, 255)
  140. Tittle.TextScaled = true
  141. Tittle.TextSize = 14.000
  142. Tittle.TextTransparency = 0.500
  143. Tittle.TextWrapped = true
  144.  
  145. separation.Name = "separation"
  146. separation.Parent = Menu
  147. separation.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  148. separation.BackgroundTransparency = 1.000
  149. separation.Position = UDim2.new(-0.0199999996, 0, 0.0141041838, 0)
  150. separation.Size = UDim2.new(0, 119, 0, 36)
  151. separation.Font = Enum.Font.SourceSans
  152. separation.Text = "_____________________________"
  153. separation.TextColor3 = Color3.fromRGB(255, 255, 255)
  154. separation.TextScaled = true
  155. separation.TextSize = 14.000
  156. separation.TextTransparency = 0.500
  157. separation.TextWrapped = true
  158.  
  159. InstaKill.Name = "InstaKill"
  160. InstaKill.Parent = Menu
  161. InstaKill.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  162. InstaKill.BackgroundTransparency = 0.900
  163. InstaKill.LayoutOrder = 1
  164. InstaKill.Position = UDim2.new(0.00499999989, 0, 0.284100026, 0)
  165. InstaKill.Size = UDim2.new(0, 112, 0, 29)
  166. InstaKill.Font = Enum.Font.Antique
  167. InstaKill.Text = "- InstaKill -"
  168. InstaKill.TextColor3 = Color3.fromRGB(255, 255, 255)
  169. InstaKill.TextScaled = true
  170. InstaKill.TextSize = 14.000
  171. InstaKill.TextTransparency = 0.500
  172. InstaKill.TextWrapped = true
  173.  
  174. Options.Name = "Options"
  175. Options.Parent = InstaKill
  176. Options.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  177. Options.BorderSizePixel = 0
  178. Options.Position = UDim2.new(1, 1, 0, 0)
  179. Options.Size = UDim2.new(0, 100, 0, 80)
  180. Options.Visible = false
  181. Options.Style = Enum.FrameStyle.DropShadow
  182.  
  183. Monsters.Name = "Monsters"
  184. Monsters.Parent = Options
  185. Monsters.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  186. Monsters.BackgroundTransparency = 0.900
  187. Monsters.Size = UDim2.new(1, 0, 0, 30)
  188. Monsters.Font = Enum.Font.Antique
  189. Monsters.Text = "- Monsters -"
  190. Monsters.TextColor3 = Color3.fromRGB(255, 255, 255)
  191. Monsters.TextScaled = true
  192. Monsters.TextSize = 14.000
  193. Monsters.TextTransparency = 0.500
  194.  
  195. Boss.Name = "Boss"
  196. Boss.Parent = Options
  197. Boss.BackgroundColor3 = Color3.new(1, 1, 1)
  198. Boss.BackgroundTransparency = 1
  199. Boss.BorderSizePixel = 0
  200. Boss.Position = UDim2.new(0, 0, 0, 33)
  201. Boss.Size = UDim2.new(1, 0, 0, 30)
  202. Boss.Font = Enum.Font.Antique
  203. Boss.Text = "- Bosses -"
  204. Boss.TextColor3 = Color3.fromRGB(255, 255, 255)
  205. Boss.TextScaled = true
  206. Boss.TextSize = 14.000
  207. Boss.TextTransparency = 0.500
  208.  
  209. Tpall.Name = "Tpall"
  210. Tpall.Parent = Menu
  211. Tpall.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  212. Tpall.BackgroundTransparency = 0.900
  213. Tpall.LayoutOrder = 1
  214. Tpall.Position = UDim2.new(0.00499999989, 0, 0.578344464, 0)
  215. Tpall.Size = UDim2.new(0, 112, 0, 29)
  216. Tpall.Font = Enum.Font.Antique
  217. Tpall.Text = "- TP All -"
  218. Tpall.TextColor3 = Color3.fromRGB(255, 255, 255)
  219. Tpall.TextScaled = true
  220. Tpall.TextSize = 14.000
  221. Tpall.TextTransparency = 0.500
  222. Tpall.TextWrapped = true
  223. Tpall.MouseButton1Down:Connect(function()
  224. for i,v in pairs(workspace.DungeonFolder:GetChildren()) do
  225. if v:FindFirstChild("Monsters") then
  226. game.Players.LocalPlayer.SimulationRadius=10000000
  227. for i,v in pairs(v.Monsters:GetChildren()) do
  228. if v:FindFirstChildOfClass("Humanoid") then
  229. v.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,2,0)
  230. end
  231. end
  232. end
  233. end
  234. end)
  235.  
  236. Close.Name = "Close"
  237. Close.Parent = Menu
  238. Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  239. Close.BackgroundTransparency = 0.900
  240. Close.LayoutOrder = 1
  241. Close.Position = UDim2.new(0.00499999989, 0, 0.850000024, 0)
  242. Close.Size = UDim2.new(0, 112, 0, 17)
  243. Close.Font = Enum.Font.Antique
  244. Close.Text = "- CLOSE -"
  245. Close.TextColor3 = Color3.fromRGB(255, 255, 255)
  246. Close.TextScaled = true
  247. Close.TextSize = 14.000
  248. Close.TextTransparency = 0.500
  249. Close.TextWrapped = true
  250. Close.MouseButton1Down:connect(function()
  251. Menu.Visible = false
  252. end)
  253.  
  254. local tweenInfo = TweenInfo.new(0.1,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0)
  255. local TweenService = game:GetService("TweenService")
  256. --Selection Code
  257. local function Clicked(obj)
  258. if obj.BackgroundTransparency > 0.8 then
  259. TweenService:Create(obj, tweenInfo, {BackgroundTransparency = 0.8}):Play()
  260. end
  261. if obj.BackgroundTransparency >= 0.8 and obj.BackgroundTransparency <= 0.81 then
  262. TweenService:Create(obj, tweenInfo, {BackgroundTransparency = 1}):Play()
  263. end
  264. end
  265.  
  266. InstaKill.MouseButton1Down:Connect(function()
  267. Options.Visible = not Options.Visible
  268. end)
  269. local InstaKill_Ops = {}
  270. for i,v in pairs(Options:GetChildren()) do
  271. InstaKill_Ops[v.Name] = false
  272. v.MouseButton1Down:Connect(function()
  273. Clicked(v)
  274. InstaKill_Ops[v.Name] = not InstaKill_Ops[v.Name]
  275. if InstaKill_Ops[v.Name] == true then
  276. if InstaKill.BackgroundTransparency > 0.9 then
  277. Clicked(InstaKill)
  278. end
  279. else
  280. local count = 0
  281. for i,v in pairs(InstaKill_Ops) do if v == false then count = count + 1 end end
  282. if count == 2 then
  283. Clicked(InstaKill)
  284. end
  285. end
  286. end)
  287. end
  288.  
  289.  
  290. spawn(function()
  291. while wait(0.25) do
  292. game.Players.LocalPlayer.SimulationRadius= 10000000
  293. for i,v in pairs(workspace.DungeonFolder:GetChildren()) do
  294. if InstaKill_Ops["Monsters"] == true and v.Name ~= "BossRoom" then
  295. if v:FindFirstChild("Monsters") then
  296. for i,v in pairs(v.Monsters:GetChildren()) do
  297. if v.Name ~= "Hippo" and v.Name ~= "Blaze" and v:FindFirstChildOfClass("Humanoid") then
  298. v:FindFirstChildOfClass("Humanoid").Health = 0
  299. end
  300. end
  301. end
  302. end
  303. if InstaKill_Ops["Boss"] == true and v.Name == "BossRoom" then
  304. if v:FindFirstChild("Monsters") then
  305. for i,v in pairs(v.Monsters:GetChildren()) do
  306. if v:FindFirstChildOfClass("Humanoid") then
  307. v:FindFirstChildOfClass("Humanoid").Health = 0
  308. end
  309. end
  310. end
  311. end
  312. end
  313. if workspace.DungeonFolder:FindFirstChild("BossRoom") ~= nil and workspace.DungeonFolder:FindFirstChild("BossRoom"):FindFirstChild("Monsters") and #workspace.DungeonFolder:FindFirstChild("BossRoom"):FindFirstChild("Monsters"):GetChildren() == 0 then
  314. workspace.DungeonFolder:WaitForChild('EndRoom')
  315. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.DungeonFolder.EndRoom.Finish.CFrame
  316. end
  317. end
  318. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement