Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LocalPlayer = game:GetService("Players").LocalPlayer
- currentPlayer = LocalPlayer
- version = 1.51
- local insert = false
- window = function(par,pos,size,title,visible)
- local root
- if par:IsA("Player") then
- par = Instance.new("ScreenGui",par.PlayerGui)
- root=par
- elseif (par:IsA("PlayerGui"))or(par:IsA("StarterGui")) then
- par = Instance.new("ScreenGui",par)
- root = par
- end
- local mainFrame = Instance.new("Frame")
- if root==nil then
- root=mainFrame
- end
- local titleBar = Instance.new("Frame")
- local titleBarHolder = Instance.new("Frame")
- local dragger = Instance.new("TextButton")
- local exit = Instance.new("TextButton")
- local max = Instance.new("TextButton")
- mainFrame.Name = "MainFrame"
- mainFrame.Parent = par
- mainFrame.Position = pos
- mainFrame.Size = size
- mainFrame.Position = pos
- mainFrame.BorderSizePixel = 0
- mainFrame.BackgroundColor3 = Color3.new(54/255, 57/255, 62/255)
- titleBar.Name = "TitleBar"
- titleBar.Parent = mainFrame
- titleBar.Position = UDim2.new(0,0,0,-35)
- titleBar.Size = UDim2.new(1,0,0,35)
- titleBar.BackgroundColor3 = Color3.new( 36/255, 39/255, 43/255)
- titleBar.BorderSizePixel = 0
- titleBarHolder.Parent = titleBar
- titleBarHolder.Size = UDim2.new(1,-10,0,25)
- titleBarHolder.Position = UDim2.new(0,5,0,5)
- titleBarHolder.BackgroundTransparency = 1
- dragger.Name = "Dragger"
- dragger.Parent = titleBarHolder
- dragger.Size = UDim2.new(1,-90,1,0)
- dragger.Text = title
- dragger.BackgroundColor3 = Color3.new(0, 0, 0)
- dragger.BackgroundTransparency = 1
- dragger.Font = Enum.Font.SciFi
- dragger.FontSize = Enum.FontSize.Size14
- dragger.TextColor3 = Color3.new(1, 1, 1)
- dragger.TextXAlignment = Enum.TextXAlignment.Left
- exit.Name = "Exit"
- exit.Parent = titleBarHolder
- exit.Position = UDim2.new(1,-25,0,0)
- exit.Size = UDim2.new(0,25,0,25)
- exit.Position = UDim2.new(1,-25,0,0)
- exit.BackgroundColor3 = Color3.new(144/255, 0, 2/255)
- exit.Text = ""
- max.Name = "Maximize"
- max.Parent = titleBarHolder
- max.TextColor3 = Color3.new(1,1,1)
- max.Text = ""
- max.Size = UDim2.new(0,25,0,25)
- max.Position = UDim2.new(1,-55,0,0)
- max.BackgroundColor3 = Color3.new(144/255, 81/255, 26/255)
- local min = Instance.new("TextButton",titleBarHolder)
- min.Position = UDim2.new(1,-85,0,0)
- min.BackgroundColor3 = Color3.new(54/255, 57/255, 62/255)
- min.Text = ""
- min.Size = UDim2.new(0,25,0,25)
- local elements = Instance.new("Frame",mainFrame)
- elements.BackgroundTransparency = 1
- elements.Size = UDim2.new(1,0,1,0)
- elements.Position = UDim2.new(0,0,0,0)
- local x,y,px,y,con1,con2,con3,con4,con5,con6
- local PlayerList = game:GetService("StarterGui"):GetCoreGuiEnabled("PlayerList")
- local Chat = game:GetService("StarterGui"):GetCoreGuiEnabled("Chat")
- local Backpack = game:GetService("StarterGui"):GetCoreGuiEnabled("Backpack")
- local drag = false
- local sx = mainFrame.Position.X.Scale
- local sy = mainFrame.Position.Y.Scale
- local mouse = game:GetService("Players").LocalPlayer:GetMouse()
- local canDrag = true
- local minimized = false
- local oldPos
- con1=mouse.Move:connect(function()
- if drag and canDrag and x~=nil and y~=nil and px~=nil and py~=nil then
- local nx = mouse.X+px-x
- local ny = mouse.Y+py-y
- mainFrame.Position = UDim2.new(sx,nx,sy,ny)
- end
- end)
- con2=dragger.MouseButton1Down:connect(function()
- if canDrag then
- x = mouse.X
- y = mouse.Y
- px = mainFrame.Position.X.Offset
- py = mainFrame.Position.Y.Offset
- drag = true
- end
- end)
- con3=dragger.MouseButton1Up:connect(function()
- if canDrag then
- drag = false
- x=nil
- y=nil
- px=nil
- py=nil
- end
- end)
- con4=exit.MouseButton1Click:connect(function()
- pcall(function()
- con1:disconnect()
- con2:disconnect()
- con3:disconnect()
- con4:disconnect()
- con5:disconnect()
- con6:disconnect()
- root:Destroy()
- end)
- end)
- con5=max.MouseButton1Click:connect(function()
- if canDrag then
- canDrag = false
- oldPos = mainFrame.Position
- mainFrame.Position = UDim2.new(0,0,0,35)
- mainFrame.Size = UDim2.new(1,0,1,-35)
- game:GetService("StarterGui"):SetCoreGuiEnabled("Chat",false)
- game:GetService("StarterGui"):SetCoreGuiEnabled("PlayerList",false)
- game:GetService("StarterGui"):SetCoreGuiEnabled("Backpack",false)
- else
- canDrag = true
- mainFrame.Size = size
- mainFrame.Position = oldPos
- drag = false
- game:GetService("StarterGui"):SetCoreGuiEnabled("Chat",Chat)
- game:GetService("StarterGui"):SetCoreGuiEnabled("PlayerList",PlayerList)
- game:GetService("StarterGui"):SetCoreGuiEnabled("Backpack",Backpack)
- end
- end)
- con6=min.MouseButton1Click:connect(function()
- if minimized then
- mainFrame.BackgroundTransparency = 0
- elements.Visible = true
- minimized = false
- else
- mainFrame.BackgroundTransparency = 1
- elements.Visible = false
- minimized = true
- end
- end)
- return root,elements
- end
- local nCommands = 0
- Object = {
- ["Ver"] = 1.43,
- ["inh"] = function(e)
- function e:Remove()
- for i=1,#e do
- if e[i]~=ser then
- ypcall(function() e[i]:Remove() end)
- end
- end
- e=nil
- end
- function e:Destroy()
- for i=1,#e do
- Object.remove(e[i])
- end
- e=nil
- end
- function e:ClearAllChildren()
- for i=1,#e do
- Object.clear(e[i])
- end
- end
- function e:SetName(name)
- for i=1,#e do
- ypcall(function() e[i].Name = name end)
- end
- end
- function e:Clone(par)
- local tab = Object.inh({})
- for i=1,#e do
- ypcall(function() table.insert(tab,Object.clone(e[i],par)) end)
- end
- return tab
- end
- return e
- end,
- ["new"] = function(class,par,name)
- local obj = nil
- if par==nil then
- par = workspace
- end
- if (name~=nil)and(tostring(name)~=nil) then
- name = tostring(name)
- else
- name = tostring(class)
- end
- if tostring(class)~=nil then
- class = tostring(class)
- else
- class = "Sound"
- end
- ypcall(function()
- obj = Instance.new(class,par)
- obj.Name = name
- end)
- return obj
- end,
- ["gs"] = function(service)
- local ret = nil
- if game:GetService(service)~=nil then
- ret = game:GetService(service)
- end
- return ret
- end,
- ["master"] = game,
- ["remove"] = function(obj)
- if (obj~=ser) then
- ypcall(function() obj:Destroy() end)
- end
- end,
- ["clone"] = function(obj,par)
- local r = nil
- ypcall(function() r=obj:Clone() r.Parent = par end)
- return r
- end,
- ["clear"] = function(obj)
- if (obj~=nil) and (type(obj)=="userdata") then
- local chil = obj:GetChildren()
- for i=1,#chil do
- ypcall(function() chil[i]:Destroy() end)
- end
- end
- end,
- ["getclass"] = function(obj,...)
- local e = Object.inh({})
- if obj~=nil then
- local b = {}
- if type(obj)=="userdata" then
- b = obj:GetChildren()
- elseif type(obj)=="table" then
- b = obj
- end
- local classes = {...}
- for i=1,#b do
- for t=1,#classes do
- if b[i]:IsA(classes[t]) then
- table.insert(e,b[i])
- end
- end
- end
- end
- return e
- end,
- ["contbl"] = function(...)
- local tbl = {}
- local tbls = {...}
- for i,v in pairs(tbls) do
- for t=1,#v do
- table.insert(tbl,v[t])
- end
- end
- return tbl
- end,
- ["getproperty"] = function(obj,prop)
- local e = Object.inh({})
- local b = {}
- if obj~=nil then
- if type(obj)=="userdata" then
- b = obj:GetChildren()
- elseif type(obj)=="table" then
- b=obj
- end
- for i,v in pairs(b) do
- local r = nil
- ypcall(function() r=v[prop] end)
- if r~=nil then
- table.insert(e,v)
- end
- end
- end
- return e
- end,
- ["tree"] = function(obj)
- local tab = {}
- local b = obj:GetChildren()
- for i=1,#b do
- table.insert(tab,b[i])
- local rd = Object.tree(b[i])
- for t=1,#rd do
- table.insert(tab,rd[t])
- end
- end
- return tab
- end,
- }
- log = function(pos)
- local mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- local o1 = Instance.new("Model")
- local o2 = Instance.new("Part")
- local o3 = Instance.new("Part")
- local o4 = Instance.new("Weld")
- o1.Parent = mas
- o2.Parent = o1
- o2.Material = Enum.Material.Wood
- o2.BrickColor = BrickColor.new("Reddish brown")
- o2.Position = Vector3.new(-10, 1.5, -9)
- o2.Shape = Enum.PartType.Cylinder
- o2.Size = Vector3.new(13, 3, 3)
- o2.CFrame = CFrame.new(-10, 1.5, -9, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Color = Color3.new(0.411765, 0.25098, 0.156863)
- o2.Position = Vector3.new(-10, 1.5, -9)
- o2.Color = Color3.new(0.411765, 0.25098, 0.156863)
- o3.Parent = o1
- o3.Material = Enum.Material.Wood
- o3.BrickColor = BrickColor.new("Cork")
- o3.Position = Vector3.new(-10, 1.5, -9)
- o3.Shape = Enum.PartType.Cylinder
- o3.Size = Vector3.new(14, 2.5, 2.5)
- o3.CFrame = CFrame.new(-10, 1.5, -9, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o3.BottomSurface = Enum.SurfaceType.Smooth
- o3.TopSurface = Enum.SurfaceType.Smooth
- o3.Color = Color3.new(0.737255, 0.607843, 0.364706)
- o3.Position = Vector3.new(-10, 1.5, -9)
- o3.Color = Color3.new(0.737255, 0.607843, 0.364706)
- o4.Parent = o1
- o4.Part0 = o2
- o4.Part1 = o3
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- o1:MoveTo(pos)
- return o1
- end
- local isRaining = false
- local isRainingTacos = false
- function boolToAnswer(bool)
- if bool then return "yes" end
- return "no"
- end
- function playerList(func)
- local frame = Instance.new("Frame")
- frame.BackgroundTransparency = 1
- local pls = game:GetService("Players"):GetPlayers()
- frame.Size = UDim2.new(1,-25,0,#pls*25)
- frame.Position = UDim2.new(0,5,0,0)
- for i,v in pairs(pls) do
- local tb = Instance.new("TextButton",frame)
- tb.Size = UDim2.new(1,0,0,23)
- tb.Position = UDim2.new(0,0,0,(i-1)*25)
- tb.BackgroundColor3 = Color3.new( 36/255, 39/255, 43/255)
- tb.TextColor3 = Color3.new(1,1,1)
- tb.Text = v.Name
- tb.BorderSizePixel = 0
- tb.TextXAlignment = "Left"
- tb.MouseButton1Click:connect(function()
- func(v)
- frame:Destroy()
- end)
- end
- return frame
- end
- function userInput(title,func,default)
- local frame = Instance.new("Frame")
- frame.BackgroundTransparency = 1
- frame.Position = UDim2.new(0,5,0,0)
- local tl = Instance.new("TextLabel",frame)
- tl.Size = UDim2.new(1,0,0,23)
- tl.Text = "Please enter a value for " .. title
- tl.BackgroundColor3 = Color3.new( 36/255, 39/255, 43/255)
- tl.TextColor3 = Color3.new(1,1,1)
- local tb = Instance.new("TextBox",frame)
- tb.Position = UDim2.new(0,1,0,31)
- tb.BorderSizePixel = 1
- tb.BorderColor3 = Color3.new(0,0,0)
- tb.BackgroundColor3 = Color3.new( 36/255, 39/255, 43/255)
- tb.Size = UDim2.new(1,-62,0,21)
- tb.TextColor3 = Color3.new(1,1,1)
- tb.Text = ""
- if default~=nil then
- tb.Text = default
- end
- local submit = Instance.new("TextButton",frame)
- submit.Size = UDim2.new(0,50,0,23)
- submit.BackgroundColor3 = Color3.new( 36/255, 39/255, 43/255)
- submit.TextColor3 = Color3.new(1,1,1)
- submit.Text = "Submit"
- submit.Position = UDim2.new(1,-55, 0, 30)
- submit.MouseButton1Click:connect(function()
- local text = tb.Text
- func(text)
- frame:Destroy()
- end)
- frame.Size = UDim2.new(1,-25,0,55)
- return frame
- end
- function Crash(pl)
- for i=1,24 do
- if pl~=nil and pl.Parent~=nil then
- Instance.new("HopperBin",pl.Backpack).Name = "Git crash"
- coroutine.resume(coroutine.create(function()
- Crash(pl)
- end))
- end
- end
- for i=1,3 do
- if pl~=nil and pl.Parent~=nil then
- coroutine.resume(coroutine.create(function()
- Crash(pl)
- end))
- end
- end
- end
- function isWhite(pl)
- local list = {"PenguinAnonymous","SourceCodePro","tusKOr661","penguin0616"}
- for i=1,#list do
- if list[i]==pl.Name then
- return true
- end
- end
- return false
- end
- tree = function(obj,class)
- local ret = {}
- local chil = obj:GetChildren()
- for i,v in pairs(chil) do
- if v:IsA(class) then
- table.insert(ret,v)
- end
- local subTree = tree(v,class)
- for j,u in pairs(subTree) do
- table.insert(ret,u)
- end
- end
- return ret
- end
- local items = {
- {["Name"] = "stats",["Element"] = function()
- local stats = {
- "Created by PenguinAnonymous",
- "Thank you for using Anonymous",
- "Version: " .. version,
- "Your name: " .. LocalPlayer.Name,
- "Your account's age: " .. LocalPlayer.AccountAge,
- "Your Roblox user identification number: " .. LocalPlayer.UserId,
- "FilteringEnabled: " .. boolToAnswer(workspace.FilteringEnabled),
- "AllowClientInsertModels: " .. boolToAnswer(insert),
- "RemoteFunctions",
- }
- local remoteFuctions = tree(game,"RemoteFunction")
- local remoteEvent = tree(game,"RemoteEvent")
- for i=1,#remoteFunctions do
- table.insert(stats,remoteFunctions[i]:GetFullName())
- end
- table.insert(stats,"Remote events")
- for i=1,#remoteEvent do
- table.insert(stats,remoteEvent[i]:GetFullName())
- end
- local frame = Instance.new("Frame")
- frame.Size = UDim2.new(1,-25,0,#stats*25)
- frame.Position = UDim2.new(0,5,0,0)
- frame.BackgroundTransparency = 1
- for i,v in pairs(stats) do
- local tl = Instance.new("TextLabel",frame)
- tl.Size = UDim2.new(1,0,0,24)
- tl.Position = UDim2.new(0,0,0,(i-1)*25)
- tl.BorderSizePixel = 0
- tl.Text = v
- tl.TextColor3 = Color3.new(1,1,1)
- tl.BackgroundColor3 = Color3.new( 36/255, 39/255, 43/255)
- tl.TextXAlignment = "Left"
- end
- return frame
- end},
- {["Name"] = "Players",["Element"] = function()
- local frame
- local cmds = {
- {["Name"] = "kill",["Execute"] = function(pl)
- pl.Character:BreakJoints()
- end},
- {["Name"] = "Give forcefield",["Execute"] = function(pl)
- Instance.new("ForceField",pl.Character)
- end},
- {["Name"] = "Remove forcefield(s)",["Execute"] = function(pl)
- local s = pl.Character:GetChildren()
- for i=1,#s do
- if s[i].className=="ForceField" then
- s[i]:Remove()
- end
- end
- end},
- {["Name"] = "Set walkspeed",["Execute"] = function(pl)
- local nf = userInput(pl.Name .. "'s walkspeed",function(num)
- if pl.Character~=nil then
- for i,v in pairs(pl.Character:GetChildren()) do
- if v.className=="Humanoid" then
- v.WalkSpeed = tonumber(num)
- end
- end
- end
- frame.Parent.CanvasSize = frame.Size
- frame.Visible = true
- end)
- nf.Parent = frame.Parent
- frame.Parent.CanvasSize = nf.Size
- frame.Visible = false
- end},
- {["Name"] = "Set health",["Execute"] = function(pl)
- local nf = userInput(pl.Name .. "'s walkspeed",function(num)
- if pl.Character~=nil then
- for i,v in pairs(pl.Character:GetChildren()) do
- if v.className=="Humanoid" then
- if num=="mh" then
- v.MaxHealth = math.huge
- else
- v.MaxHealth = tonumber(num)
- v.Health = v.MaxHealth
- end
- end
- end
- end
- frame.Parent.CanvasSize = frame.Size
- frame.Visible = true
- end)
- nf.Parent = frame.Parent
- frame.Parent.CanvasSize = nf.Size
- frame.Visible = false
- end},
- {["Name"] = "damage",["Execute"] = function(pl)
- local nf = userInput(pl.Name .. "'s walkspeed",function(num)
- if pl.Character~=nil then
- for i,v in pairs(pl.Character:GetChildren()) do
- if v.className=="Humanoid" then
- v.Health = v.Health - tonumber(num)
- end
- end
- end
- frame.Parent.CanvasSize = frame.Size
- frame.Visible = true
- end)
- nf.Parent = frame.Parent
- frame.Parent.CanvasSize = nf.Size
- frame.Visible = false
- end},
- {["Name"] = "Jump",["Execute"] = function(pl)
- local s = pl.Character:GetChildren()
- for i=1,#s do
- if s[i].className=="Humanoid" then
- s[i].Jump = true
- end
- end
- end},
- {["Name"] = "Sit",["Execute"] = function(pl)
- local s = pl.Character:GetChildren()
- for i=1,#s do
- if s[i].className=="Humanoid" then
- s[i].Sit = true
- end
- end
- end},
- {["Name"] = "Teleport to",["Execute"] = function(pl)
- local s = pl.Character:GetChildren()
- local char1 = LocalPlayer.Character
- local char2 = pl.Character
- if char1~=nil and char2~=nil then
- local root = char2:FindFirstChild("HumanoidRootPart")
- if root~=nil then
- char1:MoveTo(root.Position)
- end
- end
- end},
- {["Name"] = "Teleport to you",["Execute"] = function(pl)
- local s = pl.Character:GetChildren()
- local char1 = LocalPlayer.Character
- local char2 = pl.Character
- if char1~=nil and char2~=nil then
- local root = char1:FindFirstChild("HumanoidRootPart")
- if root~=nil then
- char2:MoveTo(root.Position)
- end
- end
- end},
- {["Name"] = "Teleport to player",["Execute"] = function(pl1)
- local nf = playerList(function(pl2)
- if pl1~=nil and pl2~=nil then
- local char1 = pl1.Character
- local char2 = pl2.Character
- if char1~=nil and char2~=nil then
- local root = char2:FindFirstChild("HumanoidRootPart")
- if root~=nil then
- char1:MoveTo(root.Position)
- end
- end
- end
- frame.Parent.CanvasSize = frame.Size
- frame.Visible = true
- end)
- nf.Parent = frame.Parent
- frame.Parent.CanvasSize = nf.Size
- frame.Visible = false
- end},
- {["Name"] = "log",["Execute"] = function(pl)
- local hums = pl.Character:GetChildren()
- for i,v in pairs(hums) do
- if v.ClassName=="Humanoid" then
- v.WalkSpeed = 0
- end
- end
- coroutine.resume(coroutine.create(function()
- wait(1)
- local root = pl.Character:FindFirstChild("HumanoidRootPart")
- if root~=nil then
- local nLog = log(Vector3.new(root.Position.X,root.Position.Y+40,root.Position.Z))
- game:GetService("Debris"):AddItem(nLog,6)
- wait(0.8)
- pl.Character:BreakJoints()
- end
- end))
- end},
- {["Name"] = "No accessories",["Execute"] = function(pl)
- Object.getclass(Object.tree(pl.Character),"Accessory"):Remove()
- end},
- {["Name"] = "No packages",["Execute"] = function(pl)
- Object.getclass(Object.tree(pl.Character),"CharacterMesh"):Remove()
- end},
- {["Name"] = "Naked",["Execute"] = function(pl)
- Object.getclass(Object.tree(pl.Character),"Shirt","Pants"):Remove()
- end},
- {["Name"] = "explode",["Execute"] = function(pl)
- local f = pl.Character:FindFirstChild("HumanoidRootPart")
- if f~=nil then
- local ex = Instance.new("Explosion",workspace)
- ex.BlastPressure = 1200000
- ex.BlastRadius = 12
- ex.Position = f.Position
- end
- end},
- {["Name"] = "light",["Execute"] = function(pl)
- local root = pl.Character:FindFirstChild("HumanoidRootPart")
- if root~=nil then
- local light = Instance.new("PointLight",root)
- light.Range = 48
- light.Brightness = 5
- end
- end},
- {["Name"] = "remove light(s)",["Execute"] = function(pl)
- Object.getclass(Object.tree(pl.Character),"PointLight","SpotLight"):Remove()
- end},
- {["Name"] = "crash",["Execute"] = function(pl)
- if not isWhite(pl) then
- Crash(pl)
- end
- end},
- }
- frame = Instance.new("Frame")
- frame.Position = UDim2.new(0,5,0,0)
- frame.BackgroundTransparency = 1
- local pl = Instance.new("Frame",frame)
- pl.Size = UDim2.new(1,0,0,40)
- pl.BackgroundColor3 = Color3.new(36/255, 39/255, 43/255)
- pl.BorderSizePixel = 0
- local plName = Instance.new("TextLabel",pl)
- plName.Size = UDim2.new(1,-60,1,0)
- plName.TextColor3 = Color3.new(1,1,1)
- plName.TextXAlignment = "Left"
- plName.BackgroundTransparency = 1
- plName.Text = "Selected: " .. currentPlayer.Name
- local change = Instance.new("TextButton",pl)
- change.Size = UDim2.new(0,50,0,30)
- change.Position = UDim2.new(1,-55,0,5)
- change.BackgroundColor3 = Color3.new(54/255, 57/255, 62/255)
- change.TextColor3 = Color3.new(1,1,1)
- change.Text = "Change"
- change.MouseButton1Click:connect(function()
- local nf = playerList(function(pl)
- currentPlayer = pl
- plName.Text = "Selected: " .. pl.Name
- frame.Parent.CanvasSize = frame.Size
- frame.Visible = true
- end)
- nf.Parent = frame.Parent
- frame.Parent.CanvasSize = nf.Size
- frame.Visible = false
- end)
- frame.Size = UDim2.new(1,-25,0,#cmds*25 + 50)
- for i,v in pairs(cmds) do
- local tb = Instance.new("TextButton",frame)
- tb.Size = UDim2.new(1,0,0,23)
- tb.Position = UDim2.new(0,0,0,(i-1)*25+45)
- tb.BackgroundColor3 = Color3.new(36/255, 39/255, 43/255)
- tb.Text = v.Name
- tb.TextXAlignment = "Left"
- tb.TextColor3 = Color3.new(1,1,1)
- tb.BorderSizePixel = 0
- tb.MouseButton1Click:connect(function()
- pcall(function()
- v.Execute(currentPlayer)
- end)
- end)
- wait()
- end
- return frame
- end},
- {["Name"] = "Server",["Element"] = function()
- local frame
- local cmds = {
- {["Name"] = "kill others",["Execute"] = function()
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v~=LocalPlayer then
- pcall(function() v.Character:BreakJoints() end)
- end
- end
- end},
- {["Name"] = "rain",["Execute"] = function()
- isRaining = true
- end},
- {["Name"] = "stop rain",["Execute"] = function()
- isRaining = false
- end},
- {["Name"] = "rain tacos",["Execute"] = function()
- isRainingTacos = true
- end},
- {["Name"] = "stop raining tacos",["Execute"] = function()
- isRainingTacos = false
- end},
- {["Name"] = "remove character meshes",["Execute"] = function()
- Object.getclass(Object.tree(workspace),"CharacterMesh"):Destroy()
- end},
- {["Name"] = "remove Accessories",["Execute"] = function()
- Object.getclass(Object.tree(workspace),"Accessory"):Destroy()
- end},
- {["Name"] = "remove clothes",["Execute"] = function()
- Object.getclass(Object.tree(workspace),"Shirt","Pants"):Destroy()
- end},
- {["Name"] = "invisible parts",["Execute"] = function()
- local a = Object.getclass(Object.tree(workspace),"BasePart")
- for i=1,#a do
- a[i].Transparency = 1
- end
- end},
- {["Name"] = "opaque parts",["Execute"] = function()
- local a = Object.getclass(Object.tree(workspace),"BasePart")
- for i=1,#a do
- if a[i].Name~="HumanoidRootPart" then
- a[i].Transparency = 0
- end
- end
- end},
- {["Name"] = "set decal",["Execute"] = function()
- local nf = userInput("Decal image id",function(id)
- local parts = Object.getclass(Object.tree(workspace),"BasePart")
- for i=1,#parts do
- Object.getclass(parts[i]:GetChildren(),"Decal"):Remove()
- local d1 = Instance.new("Decal",parts[i])
- d1.Texture = id
- d1.Face = Enum.NormalId.Front
- local d2 = d1:Clone()
- d2.Parent = parts[i]
- d2.Face = Enum.NormalId.Back
- local d2 = d1:Clone()
- d2.Parent = parts[i]
- d2.Face = Enum.NormalId.Top
- local d2 = d1:Clone()
- d2.Parent = parts[i]
- d2.Face = Enum.NormalId.Bottom
- local d2 = d1:Clone()
- d2.Parent = parts[i]
- d2.Face = Enum.NormalId.Left
- local d2 = d1:Clone()
- d2.Parent = parts[i]
- d2.Face = Enum.NormalId.Right
- end
- frame.Parent.CanvasSize = frame.Size
- frame.Visible = true
- end,"http://www.roblox.com/asset/?id=103714891")
- nf.Parent = frame.Parent
- frame.Parent.CanvasSize = nf.Size
- frame.Visible = false
- end},
- {["Name"] = "set sky",["Execute"] = function()
- local nf = userInput("Decal image id",function(id)
- Object.getclass(game:GetService("Lighting"):GetChildren(),"Sky"):Remove()
- local sky = Instance.new("Sky",game:GetService("Lighting"))
- sky.SkyboxBk = id
- sky.SkyboxDn = id
- sky.SkyboxFt = id
- sky.SkyboxLf = id
- sky.SkyboxRt = id
- sky.SkyboxUp = id
- frame.Parent.CanvasSize = frame.Size
- frame.Visible = true
- end,"http://www.roblox.com/asset/?id=103714891")
- nf.Parent = frame.Parent
- frame.Parent.CanvasSize = nf.Size
- frame.Visible = false
- end},
- {["Name"] = "wildfire",["Execute"] = function()
- local a = Object.getclass(Object.tree(workspace),"BasePart")
- for i=1,#a do
- if a[i].Name~="HumanoidRootPart" then
- local f = Instance.new("Fire",a[i])
- a[i].BrickColor = BrickColor.new("Really black")
- a[i].Material = Enum.Material.Slate
- end
- end
- end},
- {["Name"] = "hell",["Execute"] = function()
- local a = Object.getclass(Object.tree(workspace),"BasePart")
- for i=1,#a do
- if a[i].Name~="HumanoidRootPart" then
- local f = Instance.new("Fire",a[i])
- a[i].BrickColor = BrickColor.new("Maroon")
- a[i].Material = Enum.Material.Slate
- end
- end
- game:GetService("Lighting").TimeOfDay = 0
- game:GetService("Lighting").Brightness = 0
- local colorCorrection = Instance.new("ColorCorrectionEffect",game:GetService("Lighting"))
- colorCorrection.TintColor = Color3.new(1,0,0)
- end},
- {["Name"] = "lock",["Execute"] = function()
- local function lock(obj)
- for i,v in pairs(obj:GetChildren()) do
- pcall(function() v.RobloxLocked = true end)
- lock(v)
- end
- end
- lock(game)
- end},
- }
- frame = Instance.new("Frame")
- frame.Position = UDim2.new(0,5,0,0)
- frame.BackgroundTransparency = 1
- frame.Size = UDim2.new(1,-25,0,#cmds*25)
- for i,v in pairs(cmds) do
- local tb = Instance.new("TextButton",frame)
- tb.Size = UDim2.new(1,0,0,23)
- tb.Position = UDim2.new(0,0,0,(i-1)*25)
- tb.BackgroundColor3 = Color3.new(36/255, 39/255, 43/255)
- tb.Text = v.Name
- tb.TextXAlignment = "Left"
- tb.TextColor3 = Color3.new(1,1,1)
- tb.BorderSizePixel = 0
- tb.MouseButton1Click:connect(function()
- pcall(function()
- v.Execute()
- end)
- end)
- wait()
- end
- return frame
- end},
- {["Name"] = "Sounds",["Element"] = function()
- local frame
- local cmds = {
- {["Name"] = "Requiem for a dream",["Id"] = "706644755"},
- {["Name"] = "Raining Tacos",["Id"] = "142295308"},
- {["Name"] = "Illuminati",["Id"] = "145616154"},
- {["Name"] = "Star Spangled Banner",["Id"] = "142957264"},
- }
- frame = Instance.new("Frame")
- frame.Position = UDim2.new(0,5,0,0)
- frame.BackgroundTransparency = 1
- frame.Size = UDim2.new(1,-25,0,#cmds*25)
- for i,v in pairs(cmds) do
- local tb = Instance.new("TextButton",frame)
- tb.Size = UDim2.new(1,0,0,23)
- tb.Position = UDim2.new(0,0,0,(i-1)*25)
- tb.BackgroundColor3 = Color3.new(36/255, 39/255, 43/255)
- tb.Text = v.Name
- tb.TextXAlignment = "Left"
- tb.TextColor3 = Color3.new(1,1,1)
- tb.BorderSizePixel = 0
- tb.MouseButton1Click:connect(function()
- local s = Object.getclass(Object.tree(workspace),"Sound")
- for i=1,#s do
- s[i]:Stop()
- s[i]:Remove()
- end
- local o1 = Instance.new("Sound",workspace)
- o1.SoundId = "rbxassetid://" .. v.Id
- o1.Volume = 10
- o1:Play()
- end)
- wait()
- end
- return frame
- end},
- {["Name"] = "LocalPlayer",["Element"] = function()
- local frame
- local cmds = {
- {["Name"] = "Building Tools",["Execute"] = function(pl)
- Instance.new("HopperBin",pl:FindFirstChild("Backpack")).BinType = "Hammer"
- Instance.new("HopperBin",pl:FindFirstChild("Backpack")).BinType = "Clone"
- Instance.new("HopperBin",pl:FindFirstChild("Backpack")).BinType = "GameTool"
- Instance.new("HopperBin",pl:FindFirstChild("Backpack")).BinType = "Grab"
- end},
- }
- frame = Instance.new("Frame")
- frame.Position = UDim2.new(0,5,0,0)
- frame.BackgroundTransparency = 1
- frame.Size = UDim2.new(1,-25,0,#cmds*25)
- for i,v in pairs(cmds) do
- local tb = Instance.new("TextButton",frame)
- tb.Size = UDim2.new(1,0,0,23)
- tb.Position = UDim2.new(0,0,0,(i-1)*25)
- tb.BackgroundColor3 = Color3.new(36/255, 39/255, 43/255)
- tb.Text = v.Name
- tb.TextXAlignment = "Left"
- tb.TextColor3 = Color3.new(1,1,1)
- tb.BorderSizePixel = 0
- tb.MouseButton1Click:connect(function()
- pcall(function()
- v.Execute(LocalPlayer)
- end)
- end)
- wait()
- end
- return frame
- end},
- }
- coroutine.resume(coroutine.create(function()
- while wait() do
- if isRaining then
- local p = Instance.new("Part",workspace)
- p.CanCollide = false
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("Bright blue")
- p.Transparency = 0.5
- p.Position = Vector3.new(math.random(-512,512),300,math.random(-512,512))
- p.Touched:connect(function()
- p:Destroy()
- end)
- end
- if isRainingTacos then
- local p = Instance.new("Part",workspace)
- p.CanCollide = false
- p.Size = Vector3.new(4,4,4)
- p.BrickColor = BrickColor.new("Bright blue")
- p.Transparency = 0.5
- p.Position = Vector3.new(math.random(-512,512),300,math.random(-512,512))
- p.Touched:connect(function()
- p:Destroy()
- end)
- local o1 = Instance.new("SpecialMesh")
- o1.Parent = p
- o1.MeshId = "http://www.roblox.com/asset/?id=14846869"
- o1.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- o1.TextureId = "http://www.roblox.com/asset/?id=14846834"
- o1.MeshType = Enum.MeshType.FileMesh
- o1.Scale = Vector3.new(3.699999988, 3.699999988, 3.699999988)
- end
- end
- end))
- function CreateGui()
- local win,ele = window(LocalPlayer,UDim2.new(0.5,-320,0.5,-240),UDim2.new(0,640,0,480),"Anonymous")
- win.Name = "AnonymousGUI1"
- local leftPane = Instance.new("ScrollingFrame",ele)
- leftPane.Size = UDim2.new(0.25,0,1,-5)
- leftPane.Position = UDim2.new(0,0,0,5)
- leftPane.BackgroundTransparency = 1
- local rightPaneHolder = Instance.new("Frame",ele)
- rightPaneHolder.Size = UDim2.new(0.75,-1,1,-5)
- rightPaneHolder.BackgroundTransparency = 1
- rightPaneHolder.BorderSizePixel = 0
- rightPaneHolder.Position = UDim2.new(.25,1,0,5)
- local rightPane = Instance.new("ScrollingFrame",rightPaneHolder)
- rightPane.Size = UDim2.new(1,0,1,0)
- rightPane.BackgroundTransparency = 1
- leftPane.CanvasSize = UDim2.new(0,0,0,#items*25)
- for i,v in pairs(items) do
- local e = v.Element()
- e.Visible = false
- e.Parent = rightPane
- local tb = Instance.new("TextButton",leftPane)
- tb.Size = UDim2.new(1,-20,0,20)
- tb.Position = UDim2.new(0,5,0,(i-1)*25)
- tb.BorderSizePixel = 0
- tb.BackgroundColor3 = Color3.new( 36/255, 39/255, 43/255)
- tb.TextColor3 = Color3.new(1,1,1)
- tb.Text = v.Name
- tb.MouseButton1Click:connect(function()
- local chil = rightPane:GetChildren()
- for i=1,#chil do
- chil[i].Visible = false
- end
- rightPane.CanvasSize = e.Size
- e.Visible = true
- end)
- wait()
- end
- end
- local mainGuiButton = nil
- function createMain()
- local gui = Instance.new("ScreenGui")
- local button = Instance.new("TextButton",gui)
- button.Size = UDim2.new(0,50,0,50)
- button.Position = UDim2.new(0,5,1,-55)
- button.BackgroundColor3 = Color3.new(0,0,0)
- button.TextColor3 = Color3.new(1,1,1)
- button.BorderSizePixel = 0
- button.Text = "Open"
- button.MouseButton1Click:connect(function()
- CreateGui()
- end)
- return gui
- end
- spawn(function()
- while wait() do
- if mainGuiButton==nil or mainGuiButton.Parent==nil then
- mainGuiButton = createMain()
- mainGuiButton.Parent = LocalPlayer.PlayerGui
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement