Advertisement
Kchemerisov

EXPLOIT GUI

Jul 23rd, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.28 KB | None | 0 0
  1. --      Hax Gui by DANELIIT
  2. player = script.Parent.Parent.Parent.Parent
  3.  
  4. isList = false
  5.  
  6. admin = false
  7.  
  8. cane = false
  9.  
  10. sc = ""
  11.  
  12. startg = true
  13.  
  14. Tools = script.Parent.Tools
  15. New = script.Parent.New
  16. Insert = script.Parent.Insert
  17. Badges = script.Parent.Badges
  18. Info = script.Parent.Info
  19. Intro = script.Parent.Intro
  20. Cmds = script.Parent.Commands
  21.  
  22. --      Script Functions
  23.  
  24. function closeIntro()
  25.     wait(2)
  26.     for i = 1, 10 do
  27.         Intro.BackgroundTransparency = Intro.BackgroundTransparency + .1
  28.         Intro.T1.TextTransparency = Intro.T1.TextTransparency + .1
  29.         Intro.T2.TextTransparency = Intro.T2.TextTransparency + .1
  30.         Intro.T3.TextTransparency = Intro.T3.TextTransparency + .1
  31.         wait(.07)
  32.     end
  33.     Intro.Visible = false
  34. end
  35.  
  36. function CALL()
  37.     Tools.Visible = false
  38.     New.Visible = false
  39.     Insert.Visible = false
  40.     Badges.Visible = false
  41.     Info.Visible = false
  42.     Cmds.Visible = false
  43. end
  44.  
  45. function oc(msg)
  46.     if isList then
  47.         isList = false
  48.         script.Parent.Listen.Text = "Listen For Script..."
  49.         sc = msg
  50.     end
  51. end
  52.  
  53. --      Button Functions
  54.  
  55. function execute()
  56.         new = script.runs:Clone()
  57.         thing = Instance.new("StringValue")
  58.         thing.Name = "c"
  59.         thing.Value = sc
  60.         thing.Parent = new
  61.         new.Parent = Workspace
  62.         new.Disabled = false
  63. end
  64.  
  65. function clearscripts()
  66.     for i, v in pairs(Workspace:children()) do
  67.         if v.Name == "runs" and v.className == "Script" then
  68.             v:Remove()
  69.         end
  70.     end
  71.     script.Parent.Clear.Text = "Cleared"
  72.     wait(2)
  73.     script.Parent.Clear.Text = "Clear Scripts"
  74. end
  75.  
  76. function eyeball()
  77.     e = game:service("InsertService"):LoadAsset(43292340):children()[1]
  78.     local me = Instance.new("StringValue")
  79.     me.Value = player.Name
  80.     me.Name = "me"
  81.     me.Parent = e
  82.     e.Parent = Workspace
  83.     e.Disabled = false
  84.     wait(2)
  85.     if Workspace:findFirstChild("AOINDIOSNOIN") then Workspace.AOINDIOSNOIN.Text = "" end
  86. end
  87.  
  88. function admin()
  89.     if Workspace:findFirstChild("Person299's Admin Commands V2") then
  90.         Workspace["Person299's Admin Commands V2"]:Remove()
  91.     end
  92.     game:service("InsertService"):LoadAsset(43226148):children()[1].Parent = Workspace
  93. end
  94.  
  95. function cane()
  96.     if not player.StarterGear:findFirstChild("Coolbob44 Cane") and startg then
  97.     x = game:service("InsertService"):LoadAsset(43090419)
  98.     x:children()[1].Parent = player.StarterGear
  99.     end
  100.     x = game:service("InsertService"):LoadAsset(43090419)
  101.     x:children()[1].Parent = player.Backpack
  102. end
  103.  
  104. function b_tools()
  105.     x = game:service("InsertService"):LoadAsset(65974615)
  106.     for i, v in pairs(x:children()) do
  107.         v.Parent=player.Backpack
  108.     end
  109. end
  110.  
  111. function sword()
  112.     if not player.StarterGear:findFirstChild("Sword") and startg then
  113.     x = game:service("InsertService"):LoadAsset(43209951)
  114.     x:children()[1].Parent = player.StarterGear
  115.     end
  116.     x = game:service("InsertService"):LoadAsset(43209951)
  117.     x:children()[1].Parent = player.Backpack
  118. end
  119.  
  120. function fly()
  121.     if not player.StarterGear:findFirstChild("Sword") and startg then
  122.     x = game:service("InsertService"):LoadAsset(43225778)
  123.     x:children()[1].Parent = player.StarterGear
  124.     end
  125.     x = game:service("InsertService"):LoadAsset(43225778)
  126.     x:children()[1].Parent = player.Backpack
  127. end
  128.  
  129. function killAll()
  130.     for i, v in pairs(game.Players:children()) do
  131.         if v.Character then
  132.             v.Character:BreakJoints()
  133.         end
  134.     end
  135. end
  136.  
  137. function cleanWorkspace()
  138.     local chars = {}
  139.     for i, v in pairs(game.Players:children()) do
  140.         if v.Character then
  141.             chars[#chars+1] = v.Character
  142.         end
  143.     end
  144.     for i, v in pairs(Workspace:children()) do
  145.         local isChar = false
  146.         for i2, v2 in pairs(chars) do
  147.             if v == v2 then
  148.                 isChar = true
  149.             end
  150.         end
  151.         if not isChar and v.className ~= "Camera" then
  152.             v:Remove()
  153.         end
  154.     end
  155.     local part = Instance.new("Part")
  156.     part.Parent = Workspace
  157.     part.Name = "Base"
  158.     part.formFactor = "Plate"
  159.     part.Size = Vector3.new(300,.2,300)
  160.     part.Position = Vector3.new(0,0,0)
  161.     part.Anchored = true
  162.     part.BrickColor = BrickColor.new("Camo")
  163. end
  164.  
  165. function removeAllParts()
  166.     local class = "BasePart"
  167. --------------------------
  168. local ee = { }
  169. function find(dir)
  170.     for i, v in pairs(dir:children()) do
  171.         table.insert(ee, v)
  172.         find(v)
  173.     end
  174. end
  175. find(Workspace)
  176. for i = 1, #ee do
  177.     if ee[i] then
  178.     if ee[i]:IsA(class) and ee[i].Name ~= "Base" and ee[i].Name ~= "Torso" and not ee[i]:findFirstChild("keep") then
  179.         ee[i]:Remove()
  180.         wait()
  181.     end
  182.     end
  183. end
  184.  
  185. local xp = Instance.new("Part")
  186. xp.Parent = Workspace
  187. xp.Size = Vector3.new(300,0,300)
  188. xp.CFrame = CFrame.new(Vector3.new(0,0,0))
  189. xp.Anchored = true
  190. xp.BrickColor = BrickColor.new("Camo")
  191. end
  192.  
  193. function removeAllSpawns()
  194.         local class = "SpawnLocation"
  195. --------------------------
  196. local ee = { }
  197. function find(dir)
  198.     for i, v in pairs(dir:children()) do
  199.         table.insert(ee, v)
  200.         find(v)
  201.     end
  202. end
  203. find(Workspace)
  204. for i = 1, #ee do
  205.     if ee[i] then
  206.     if ee[i]:IsA(class) and ee[i].Name ~= "Base" and ee[i].Name ~= "Torso" and not ee[i]:findFirstChild("keep") then
  207.         ee[i]:Remove()
  208.         wait()
  209.     end
  210.     end
  211. end
  212.  
  213. end
  214.  
  215. --      Badge Functions
  216.  
  217. function sfoth2()
  218.     badge = {14469725, 14498946, 14469303, 38830432, 37135144, 14417332, 14468788, 14468882, 14468729, 42215927}
  219. ba = game:service("BadgeService")
  220.  
  221. for i, v in pairs(game.Players:children()) do
  222.     uid = v.userId
  223.     for i2 = 1, #badge do
  224.         ba:AwardBadge(uid, badge[i2])
  225.     end
  226. end
  227. end
  228.  
  229. function sf()
  230.     badge = {40807833, 33993472, 36534758, 36535184, 35881190, 36635169, 38037123, 41917825, 35790293, 40452683, 37248386, 33993393, 35406394, 37726940, 42712773, 33993442, 35878923, 33993365, 42712552, 42712876, 35874966, 36534462}
  231. ba = game:service("BadgeService")
  232.  
  233. for i, v in pairs(game.Players:children()) do
  234.     uid = v.userId
  235.     for i2 = 1, #badge do
  236.         ba:AwardBadge(uid, badge[i2])
  237.     end
  238. end
  239. end
  240.  
  241. --      Button Functions
  242.  
  243. function startListening()
  244.     if isList == false then
  245.     script.Parent.Listen.Text = "Listening..."
  246.     isList = true
  247.     else
  248.     script.Parent.Listen.Text = "Listen For Script..."
  249.     isList = false
  250.     end
  251. end
  252.  
  253. function ff()
  254.     char = player.Character
  255.     fff = char:findFirstChild("ForceField")
  256.     if fff then
  257.     fff:Remove()
  258.     else
  259.     Instance.new("ForceField").Parent = char
  260.     end
  261.    
  262. end
  263.  
  264. --      onLoad Function Calls
  265.  
  266. closeIntro()
  267.  
  268. --      Connections
  269.  
  270. Badges.SFOTH.MouseButton1Click:connect(sfoth2)
  271. Badges.SFG.MouseButton1Click:connect(sf)
  272. Badges.Close.MouseButton1Click:connect(function() Badges.Visible = false end)
  273.  
  274. New.Close.MouseButton1Click:connect(function() New.Visible = false end)
  275.  
  276. Tools.SG.MouseButton1Click:connect(function()
  277.     if startg then
  278.         startg = false
  279.         Tools.SG.Text = "Insert into StarterGear too: No"
  280.     else
  281.         startg = true
  282.         Tools.SG.Text = "Insert into StarterGear too: Yes"
  283.     end
  284. end)
  285.  
  286. Tools.Cane.MouseButton1Click:connect(cane)
  287. Tools.Sword.MouseButton1Click:connect(sword)
  288. Tools.Fly.MouseButton1Click:connect(fly)
  289. Tools.Build.MouseButton1Click:connect(b_tools)
  290. Tools.Close.MouseButton1Click:connect(function() Tools.Visible = false end)
  291.  
  292. Insert.Eyeball.MouseButton1Click:connect(eyeball)
  293. Insert.Admin.MouseButton1Click:connect(admin)
  294. Insert.Close.MouseButton1Click:connect(function() Insert.Visible = false end)
  295.  
  296. Info.Close.MouseButton1Click:connect(function() Info.Visible = false end)
  297.  
  298. Cmds.Clean.MouseButton1Click:connect(cleanWorkspace)
  299. Cmds.DM.MouseButton1Click:connect(removeAllParts)
  300. Cmds.DS.MouseButton1Click:connect(removeAllSpawns)
  301. Cmds.KillAll.MouseButton1Click:connect(killAll)
  302. Cmds.Close.MouseButton1Click:connect(function() Cmds.Visible = false end)
  303.  
  304. script.Parent.BadgesB.MouseButton1Click:connect(function() CALL() Badges.Visible = true end)
  305. script.Parent.NI.MouseButton1Click:connect(function() CALL() New.Visible = true end)
  306. script.Parent.ToolsB.MouseButton1Click:connect(function() CALL() Tools.Visible = true end)
  307. script.Parent.InsertB.MouseButton1Click:connect(function() CALL() Insert.Visible = true end)
  308. script.Parent.InfoB.MouseButton1Click:connect(function() CALL() Info.Visible = true end)
  309. script.Parent.CommandsB.MouseButton1Click:connect(function() CALL() Cmds.Visible = true end)
  310.  
  311. script.Parent.Clear.MouseButton1Click:connect(clearscripts)
  312. script.Parent.Reset.MouseButton1Click:connect(function() if player.Character then player.Character:BreakJoints() end end)
  313. script.Parent.FF.MouseButton1Click:connect(ff)
  314. script.Parent.Listen.MouseButton1Click:connect(startListening)
  315. script.Parent.Execute.MouseButton1Click:connect(execute)
  316. player.Chatted:connect(oc)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement