Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- made by PureRandom
- -- Version 0.3
- -- --change log -- -- -- -- -- --\
- -- \
- -- fixed a few scripts \
- -- added new functions |
- -- made it more stable /
- -- /
- -- --change log -- -- -- -- -- --/
- -- works as of 22/07/19
- -- Instances:
- local oofyGUI = Instance.new("ScreenGui")
- local maingui = Instance.new("Frame")
- local title = Instance.new("TextLabel")
- local god = Instance.new("TextButton")
- local Btools = Instance.new("TextButton")
- local speed = Instance.new("TextButton")
- local eclickTP = Instance.new("TextButton")
- local close = Instance.new("TextButton")
- local feflood = Instance.new("TextButton")
- local Noclip = Instance.new("TextButton")
- local fly = Instance.new("TextButton")
- local chattroll = Instance.new("TextButton")
- local creeperR6 = Instance.new("TextButton")
- local explorer = Instance.new("TextButton")
- local gettool = Instance.new("TextButton")
- local savetool = Instance.new("TextButton")
- --Properties:
- oofyGUI.Name = "oofy GUI"
- oofyGUI.Parent = game.CoreGui
- maingui.Name = "maingui"
- maingui.Parent = oofyGUI
- maingui.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- maingui.Position = UDim2.new(0.346260846, 0, 0.191559449, 0)
- maingui.Size = UDim2.new(0, 532, 0, 309)
- maingui.Draggable = true
- maingui.Active = true
- title.Name = "title"
- title.Parent = maingui
- title.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- title.BorderSizePixel = 0
- title.Position = UDim2.new(0.359855831, 0, 0, 0)
- title.Size = UDim2.new(0, 148, 0, 40)
- title.Font = Enum.Font.SciFi
- title.Text = "oofy gui V3"
- title.TextColor3 = Color3.new(0, 0, 0)
- title.TextSize = 20
- god.Name = "god"
- god.Parent = maingui
- god.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
- god.Position = UDim2.new(0, 0, 0.203883499, 0)
- god.Size = UDim2.new(0, 149, 0, 50)
- god.Font = Enum.Font.SourceSans
- god.Text = "FE god"
- god.TextColor3 = Color3.new(0, 0, 0)
- god.TextSize = 14
- god.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.Name = 1
- local l = game.Players.LocalPlayer.Character["1"]:Clone()
- l.Parent = game.Players.LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- game.Players.LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- end)
- Btools.Name = "Btools"
- Btools.Parent = maingui
- Btools.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
- Btools.Position = UDim2.new(0, 0, 0.41747573, 0)
- Btools.Size = UDim2.new(0, 149, 0, 50)
- Btools.Font = Enum.Font.SourceSans
- Btools.Text = "Btools"
- Btools.TextColor3 = Color3.new(0, 0, 0)
- Btools.TextSize = 14
- Btools.MouseButton1Down:connect(function()
- game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
- for index, child in pairs(game:GetService("Workspace"):GetChildren()) do
- if child.ClassName == "Part" then
- child.Locked = false
- end
- if child.ClassName == "MeshPart" then
- child.Locked = false
- end
- if child.ClassName == "UnionOperation" then
- child.Locked = false
- end
- if child.ClassName == "Model" then
- for index, chil in pairs(child:GetChildren()) do
- if chil.ClassName == "Part" then
- chil.Locked = false
- end
- if chil.ClassName == "MeshPart" then
- chil.Locked = false
- end
- if chil.ClassName == "UnionOperation" then
- chil.Locked = false
- end
- if chil.ClassName == "Model" then
- for index, childe in pairs(chil:GetChildren()) do
- if childe.ClassName == "Part" then
- childe.Locked = false
- end
- if childe.ClassName == "MeshPart" then
- childe.Locked = false
- end
- if childe.ClassName == "UnionOperation" then
- childe.Locked = false
- end
- if childe.ClassName == "Model" then
- for index, childeo in pairs(childe:GetChildren()) do
- if childeo.ClassName == "Part" then
- childeo.Locked = false
- end
- if childeo.ClassName == "MeshPart" then
- childeo.Locked = false
- end
- if childeo.ClassName == "UnionOperation" then
- childeo.Locked = false
- end
- if childeo.ClassName == "Model" then
- end
- end
- end
- end
- end
- end
- end
- end
- c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
- c.BinType = Enum.BinType.Hammer
- c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
- c.BinType = Enum.BinType.Clone
- c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
- c.BinType = Enum.BinType.Grab
- end)
- speed.Name = "speed"
- speed.Parent = maingui
- speed.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
- speed.Position = UDim2.new(0, 0, 0.631067991, 0)
- speed.Size = UDim2.new(0, 149, 0, 50)
- speed.Font = Enum.Font.SourceSans
- speed.Text = "Speed"
- speed.TextColor3 = Color3.new(0, 0, 0)
- speed.TextSize = 14
- speed.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 75
- end)
- eclickTP.Name = "e + click TP"
- eclickTP.Parent = maingui
- eclickTP.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
- eclickTP.Position = UDim2.new(0, 0, 0.838187754, 0)
- eclickTP.Size = UDim2.new(0, 149, 0, 50)
- eclickTP.Font = Enum.Font.SourceSans
- eclickTP.Text = "E + Click TP"
- eclickTP.TextColor3 = Color3.new(0, 0, 0)
- eclickTP.TextSize = 14
- eclickTP.MouseButton1Down:connect(function()
- local enableKey = "e" -- what key you need to press to teleport
- ------------------------------------
- -- getting needed locals
- local p = game.Players.LocalPlayer
- local mouse = p:GetMouse()
- local char = p.Character
- -- creating gui creation functions
- local function setProperties(gui,t)
- gui.BackgroundColor3 = Color3.new(0,0,0)
- gui.BackgroundTransparency = t
- gui.BorderSizePixel = 0
- end
- local function setText(gui,te)
- gui.TextStrokeTransparency = 0
- gui.TextStrokeColor3 = Color3.new(255,255,255)
- gui.TextColor3 = Color3.new(0,0,0)
- gui.Text = te
- gui.TextScaled = true
- gui.TextXAlignment = Enum.TextXAlignment.Center
- end
- --- creating gui
- local gui = Instance.new("ScreenGui",p.PlayerGui)
- gui.Name = "TeleportationInfo"
- local f = Instance.new("Frame",gui)
- f.Size = UDim2.new(0.2,0,0.4,0)
- f.Position = UDim2.new(1,0,0.3,0)
- setProperties(f,0.5)
- local open = Instance.new("TextButton",gui)
- open.Name = "Open"
- setProperties(open,0.5)
- setText(open,"Tele Help")
- open.Size = UDim2.new(0.1,0,0.05,0)
- open.Position = UDim2.new(1 - open.Size.X.Scale,0,0.5,0)
- local text = Instance.new("TextLabel",f)
- text.Name = "Text"
- setProperties(text,1)
- text.Size = UDim2.new(1,0,0.8,0)
- setText(text,"Hold 'e' and click where you want to teleport. Click on this gui to close.")
- local name = "elite_doge"
- local text2 = text:Clone()
- text2.Parent = text.Parent
- text2.Size = UDim2.new(1,0,0.2,0)
- text2.Position = UDim2.new(0,0,0.8,0)
- text2.Name = "Creator"
- local isOpen = false
- local close = Instance.new("TextButton",f)
- close.Name = "Close"
- text2.Text = "Developed by " .. name.. ", 1/11/2015"
- setProperties(close,1)
- close.Visible = false
- close.Text = ""
- close.Size = UDim2.new(1,0,1,0)
- -- creating gui functions
- close.MouseButton1Down:connect(function()
- if isOpen == true then
- f:TweenPosition(UDim2.new(1,0,0.3,0),"InOut","Quad",1,true)
- open:TweenPosition(UDim2.new(1 - open.Size.X.Scale,0,0.5,0),"InOut","Quad",1,true)
- isOpen = false
- close.Visible = false
- else
- close.Visible = false
- open:TweenPosition(UDim2.new(1,0,0.5,0),"InOut","Quad",1,true)
- end
- end)
- open.MouseButton1Down:connect(function()
- if isOpen == false then
- isOpen = true
- f:TweenPosition(UDim2.new(1 - f.Size.X.Scale,0,0.3,0),"InOut","Quad",1,true)
- open:TweenPosition(UDim2.new(1,0,0.5,0),"InOut","Quad",1,true)
- close.Visible = true
- end
- end)
- -- click and keydown functions
- local enabled = false
- mouse.KeyDown:connect(function(key)
- key = key:lower()
- if key == "e" then
- enabled = true
- end
- end)
- mouse.KeyUp:connect(function(key)
- key = key:lower()
- if key == "e" then
- enabled = false
- end
- end)
- mouse.Button1Down:connect(function()
- if char and enabled == true then
- char.HumanoidRootPart.CFrame = mouse.Hit + Vector3.new(0,7,0)
- end
- end)
- end)
- close.Name = "close"
- close.Parent = maingui
- close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- close.Position = UDim2.new(0.939585924, 0, 9.31322575e-10, 0)
- close.Size = UDim2.new(0, 32, 0, 28)
- close.Font = Enum.Font.SourceSans
- close.Text = "X"
- close.TextColor3 = Color3.new(0, 0, 0)
- close.TextSize = 14
- close.MouseButton1Down:connect(function()
- script.Parent:Remove()
- end)
- feflood.Name = "fe flood"
- feflood.Parent = maingui
- feflood.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
- feflood.Position = UDim2.new(0.719066083, 0, 0.197411031, 0)
- feflood.Size = UDim2.new(0, 149, 0, 50)
- feflood.Font = Enum.Font.SourceSans
- feflood.Text = "fe flood"
- feflood.TextColor3 = Color3.new(0, 0, 0)
- feflood.TextSize = 14
- feflood.MouseButton1Down:connect(function()
- local region = Region3.new(Vector3.new(-1250,0,-1250), Vector3.new(1250,18,1250))
- region = region:ExpandToGrid(4)
- game.Workspace.Terrain:FillRegion(region, 4, Enum.Material.Water)
- end)
- Noclip.Name = "Noclip"
- Noclip.Parent = maingui
- Noclip.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
- Noclip.Position = UDim2.new(0.718730927, 0, 0.41747576, 0)
- Noclip.Size = UDim2.new(0, 149, 0, 50)
- Noclip.Font = Enum.Font.SourceSans
- Noclip.Text = "Noclip"
- Noclip.TextColor3 = Color3.new(0, 0, 0)
- Noclip.TextSize = 14
- Noclip.MouseButton1Down:connect(function()
- noclip = false
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- noclip = not noclip
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- end)
- fly.Name = "fly"
- fly.Parent = maingui
- fly.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
- fly.Position = UDim2.new(0.718730986, 0, 0.838187754, 0)
- fly.Size = UDim2.new(0, 149, 0, 50)
- fly.Font = Enum.Font.SourceSans
- fly.Text = "fly"
- fly.TextColor3 = Color3.new(0, 0, 0)
- fly.TextSize = 14
- fly.MouseButton1Down:connect(function()
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
- local mouse = game.Players.LocalPlayer:GetMouse()
- repeat wait() until mouse
- local plr = game.Players.LocalPlayer
- local torso = plr.Character.Torso
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 50
- local speed = 0
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0.1,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- plr.Character.Humanoid.PlatformStand = true
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- else
- bv.velocity = Vector3.new(0,0.1,0)
- end
- bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- until not flying
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- plr.Character.Humanoid.PlatformStand = false
- end
- mouse.KeyDown:connect(function(key)
- if key:lower() == "e" then
- if flying then flying = false
- else
- flying = true
- Fly()
- end
- elseif key:lower() == "w" then
- ctrl.f = 1
- elseif key:lower() == "s" then
- ctrl.b = -1
- elseif key:lower() == "a" then
- ctrl.l = -1
- elseif key:lower() == "d" then
- ctrl.r = 1
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key:lower() == "w" then
- ctrl.f = 0
- elseif key:lower() == "s" then
- ctrl.b = 0
- elseif key:lower() == "a" then
- ctrl.l = 0
- elseif key:lower() == "d" then
- ctrl.r = 0
- end
- end)
- Fly()
- end)
- chattroll.Name = "chat troll"
- chattroll.Parent = maingui
- chattroll.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
- chattroll.Position = UDim2.new(0.359708428, 0, 0.19741106, 0)
- chattroll.Size = UDim2.new(0, 149, 0, 50)
- chattroll.Font = Enum.Font.SourceSans
- chattroll.Text = "chat troll"
- chattroll.TextColor3 = Color3.new(0, 0, 0)
- chattroll.TextSize = 14
- chattroll.MouseButton1Click:connect(function()
- game:GetService('RunService').Heartbeat:connect(function()
- game.Players:Chat('IN BRITAN BRITS LIKE TEA. IN SOVIET RUSSIA TEA LIKES YOU :3')
- end)
- end)
- creeperR6.Name = "creeper (R6)"
- creeperR6.Parent = maingui
- creeperR6.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
- creeperR6.Position = UDim2.new(0.359708428, 0, 0.414239556, 0)
- creeperR6.Size = UDim2.new(0, 149, 0, 50)
- creeperR6.Font = Enum.Font.SourceSans
- creeperR6.Text = "creeper (R6)"
- creeperR6.TextColor3 = Color3.new(0, 0, 0)
- creeperR6.TextSize = 14
- creeperR6.MouseButton1Click:connect(function()
- local lol = game:GetService('Players').LocalPlayer
- lol.Character["Head"].Mesh:Destroy()
- lol.Character["Left Arm"]:Destroy()
- lol.Character["Right Arm"]:Destroy()
- for i,v in pairs(game:GetService('Players').LocalPlayer.Character:GetDescendants()) do
- if v:IsA'Hat' or v:IsA'Accessory' then
- v.Parent = game:GetService'Workspace'
- end
- end
- local fuck = game:GetService('Players').LocalPlayer
- if game.Players.LocalPlayer == fuck then
- print("succesfully creeped u! enjoy!")
- end
- end)
- explorer.Name = "explorer"
- explorer.Parent = maingui
- explorer.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
- explorer.Position = UDim2.new(0.718730986, 0, 0.631067991, 0)
- explorer.Size = UDim2.new(0, 149, 0, 50)
- explorer.Font = Enum.Font.SourceSans
- explorer.Text = "explorer"
- explorer.TextColor3 = Color3.new(0, 0, 0)
- explorer.TextSize = 14
- explorer.MouseButton1Click:connect(function()
- TextProperties = {"ClassName", "Name", "Value", "Text", "Reflectance", "Transparency", "Heat", "TeamName", "WalkSpeed", "Health", "MaxHealth", "Size", "Position", "AccountAge", "RobloxLocked", "TeamColor", "userId", "Brightness", "Ambient", "TimeOfDay", "FieldOfView", "CameraType", "LinkedSource"}
- BoolProperties = {"Anchored", "CanCollide", "Disabled", "Jump", "Sit", "Visible", "Enabled", "Locked", "FilteringEnabled", "StreamingEnabled", "GlobalShadows"}
- BrickColorProperties = {"BrickColor", "Color", "TeamColor", "Texture", "Value"}
- s = Instance.new("ScreenGui", game.CoreGui)
- pgr = Instance.new("TextButton")
- pgr.Parent = s
- pgr.Size = UDim2.new(0,100,0,40)
- pgr.Position = UDim2.new(0,30,0,440)
- pgr.Text="Explorer"
- pgr.BackgroundTransparency = 0.3
- pgr.TextColor = BrickColor.new("White")
- pgr.BackgroundColor = BrickColor.new("Really Black")
- pgr.BorderColor = BrickColor.new("Black")
- pgr.Font = "ArialBold"
- pgr.FontSize = "Size14"
- pgr.TextStrokeColor3 = Color3.new(0/0,0/0,0/0)
- pgr.TextStrokeTransparency = 0.3
- pgr.BorderSizePixel = 1
- pgr.BorderColor = BrickColor.new("White")
- if game.CoreGui:findFirstChild("Explorer") then
- game.CoreGui:findFirstChild("Explorer"):Remove()
- end
- local Cloned
- local Deleted
- local DeleteParent
- local Player
- local Search
- local ScriptSearch
- local Gui
- local Cloned = nil
- local Deleted = nil
- local DeleteParent = nil
- local Current = 0
- local CurrentOption = 0
- function Clear()
- if Gui then
- Gui:Remove()
- end
- Current = 0
- CurrentOption = 0
- end
- function AddButton(N, Function, Color, Copy)
- if not N then
- error("RenderButton - No Name Specified")
- end
- if not Function then
- error("RenderButton - No Function Specified")
- end
- if not Color then
- Color = Color3.new(1, 1, 1)
- end
- if Copy == nil then
- Copy = true
- end
- P = Instance.new("TextButton")
- if Copy then
- P.Size = UDim2.new(0, 110, 0, 20)
- else
- P.Size = UDim2.new(0, 130, 0, 20)
- end
- P.Text = N.Name
- P.Name = N.Name
- P.Parent = Gui
- P.BackgroundColor3 = Color
- P.TextColor3 = Color3.new(0, 0, 0)
- P.BackgroundTransparency = 0.5
- P.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300, 0, 50+(20*((Current%30)-1)))
- P.MouseButton1Click:connect(function()
- Function(P)
- end)
- D = Instance.new("TextButton")
- D.Size = UDim2.new(0, 20, 0, 20)
- D.Text = "X"
- D.Name = N.Name
- D.Parent = Gui
- D.BackgroundColor3 = Color3.new(1, 0, 0)
- D.TextColor3 = Color3.new(0, 0, 0)
- D.BackgroundTransparency = 0.5
- D.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300+130, 0, 50+(20*((Current%30)-1)))
- D.MouseButton1Click:connect(function()
- Deleted = N
- DeleteParent = N.Parent
- N.Parent = nil
- Clear()
- Search(DeleteParent)
- end)
- if Copy then
- C = Instance.new("TextButton")
- C.Size = UDim2.new(0, 20, 0, 20)
- C.Text = "C"
- C.Name = N.Name
- C.Parent = Gui
- C.BackgroundColor3 = Color3.new(0, 1, 0.5)
- C.TextColor3 = Color3.new(0, 0, 0)
- C.BackgroundTransparency = 0.5
- C.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300+110, 0, 50+(20*((Current%30)-1)))
- C.MouseButton1Click:connect(function()
- Cloned = N
- Clear()
- Search(N.Parent)
- end)
- end
- Current = Current + 1
- return P
- end
- function AddOption(N, Function, Color, Text)
- if not N then
- error("RenderButton - No Name Specified")
- end
- if not Color then
- Color = Color3.new(1, 1, 1)
- end
- if Text == nil then
- Text = false
- end
- if Text then
- P = Instance.new("TextBox")
- else
- P = Instance.new("TextButton")
- end
- P.Text = N
- P.Name = N
- P.Parent = Gui
- P.BackgroundColor3 = Color
- P.TextColor3 = Color3.new(0, 0, 0)
- P.BackgroundTransparency = 0.5
- P.Size = UDim2.new(0, 150, 0, 20)
- P.Position = UDim2.new(0, ((math.modf(CurrentOption/30))*150)+150, 0, 50+(20*((CurrentOption%30)-1)))
- if not Text and Function then
- P.MouseButton1Click:connect(function() Function(P) end)
- end
- CurrentOption = CurrentOption + 1
- return P
- end
- function AddTextOption(Obj, Prop)
- local Ob = Obj
- local Pro = Prop
- if type(Ob[Pro]) == "number" or type(Ob[Pro]) == "string" then
- CurrentOption = CurrentOption + 1
- local T = AddOption(Ob[Pro], nil, Color3.new(0.1, 0.4, 0.1), true)
- CurrentOption = CurrentOption - 2
- local O = AddOption("Change "..Pro..":", function() Ob[Pro] = T.Text end, Color3.new(0.1, 0.8, 0.1), false)
- CurrentOption = CurrentOption + 1
- end
- end
- function AddBrickColorOption(Obj, Prop)
- local Ob = Obj
- local Pro = Prop
- if BrickColor.new(tostring(Ob[Pro])) == Ob[Pro] then
- CurrentOption = CurrentOption + 1
- local T = AddOption(tostring(Ob[Pro]), nil, Color3.new(0.1, 0.4, 0.1), true)
- CurrentOption = CurrentOption - 2
- local O = AddOption("Change "..Pro..":", function() Ob[Pro] = BrickColor.new(T.Text) end, Color3.new(0.1, 0.8, 0.1), false)
- CurrentOption = CurrentOption + 1
- end
- end
- function AddBoolOption(Obj, Prop)
- local Ob = Obj
- local Pro = Prop
- if type(Ob[Pro]) == "boolean" then
- local O = AddOption(Pro..": "..tostring(Ob[Pro]), nil, Color3.new(0.1, 0.8, 0.1), false)
- O.MouseButton1Click:connect(function()
- if Ob[Pro] then
- Ob[Pro] = false
- O.Text = Pro..": false"
- else
- Ob[Pro] = true
- O.Text = Pro..": true"
- end
- end)
- end
- end
- function TestProperty(Obj, Property)
- Success = pcall(function()
- if Obj[Property] then
- return
- end
- end)
- return Success
- end
- function LoadOptions(Object)
- for Num, Prop in pairs(TextProperties) do
- if TestProperty(Object, Prop) then
- AddTextOption(Object, Prop)
- end
- end
- for Num, Prop in pairs(BoolProperties) do
- if TestProperty(Object, Prop) then
- AddBoolOption(Object, Prop)
- end
- end
- for Num, Prop in pairs(BrickColorProperties) do
- if TestProperty(Object, Prop) then
- AddBrickColorOption(Object, Prop)
- end
- end
- end
- function Search(Object)
- Gui = Instance.new("ScreenGui")
- Gui.Parent = game.CoreGui
- Gui.Name = "Explorer"
- if Object ~= game then
- AddOption("Back", function()
- Clear();
- Search(Object.Parent)
- end, Color3.new(0.5, 1, 1), false)
- end
- AddOption("Reload", function() Clear(); Search(Object); end, Color3.new(0.2, 1, 0.2), false)
- if Cloned then
- AddOption("Paste", function() Cloned:Clone().Parent = Object; Clear(); Search(Object); end, Color3.new(0.5, 1, 1), false)
- end
- if Deleted then
- AddOption("Undo", function() Deleted.Parent = DeleteParent; Deleted = nil; DeletedParent = nil; Clear(); Search(Object); end, Color3.new(1, 0.6, 0.1), false)
- end
- if Object:IsA("Player") then
- AddOption("Goto Character", function() Clear(); if Object.Character then Search(Object.Character); end end, Color3.new(1, 1, 1), false)
- end
- if Object:IsA("LocalScript") then
- AddOption("EditScript", function() Clear(); ScriptSearch(Object); end, Color3.new(1, 1, 1), false)
- end
- if Object:IsA("Terrain") then
- AddOption("Clear", function() Object:Clear(); end, Color3.new(1, 1, 1), false)
- end
- LoadOptions(Object)
- AddOption("Close", Clear, Color3.new(1, 0.2, 0), false)
- if not Object:IsA("Workspace") or not Object:IsA("Player") then
- for Num, Obj in pairs(Object:GetChildren()) do
- --if not Obj:IsA("BasePart") or not Object.Parent == game.Workspace then
- if true then
- if Obj:IsA("LocalScript") then
- AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 0, 0), true)
- elseif Obj:IsA("Script") or Obj:IsA("StarterScript") or Obj:IsA("CoreScript") then
- AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(0.5, 0.5, 0.8), true)
- elseif Obj.Parent == game then
- AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), false)
- else
- AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), true)
- end
- end
- end
- end
- function MoveUp(Place, Amount)
- for i,v in pairs(Place:GetChildren()) do
- if v:IsA("TextLabel") or v:IsA("TextBox") then
- v.Position = v.Position + UDim2.new(0,0,0,-Amount)
- end
- end
- end
- function MoveDown(Place, Amount)
- for i,v in pairs(Place:GetChildren()) do
- if v:IsA("TextLabel") or v:IsA("TextBox") then
- v.Position = v.Position + UDim2.new(0,0,0,Amount)
- end
- end
- end
- i=0
- function ScriptSearch(S)
- Script2 = S
- Script = Script2.Source
- Table = {}
- Enabled = true
- Gui = Instance.new("ScreenGui")
- Gui.Parent = game.CoreGui
- Gui.Name = "Explorer"
- while Enabled do
- Start, End = string.find(Script, '\n')
- print(Start, End)
- if Start and End then
- table.insert(Table, string.sub(Script, 1, End))
- New = string.sub(Script, End+1, string.len(Script))
- Script = New
- else
- Enabled = false
- table.insert(Table, string.sub(Script, 1, End))
- print("Finished")
- end
- end
- P = Instance.new("TextLabel")
- P.Size = UDim2.new(0, 500, 0, 20)
- P.Text = Script2.Name
- P.Name = "Script Line"
- P.Parent = Gui
- P.BackgroundColor3 = Color3.new(1, 1, 1)
- P.TextColor3 = Color3.new(0, 0, 0)
- P.BackgroundTransparency = 0.5
- P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
- P.TextXAlignment = "Left"
- i=i+1
- New = {}
- for I,Val in pairs(Table) do
- print(Val)
- P = Instance.new("TextBox")
- P.ClearTextOnFocus = false
- P.Size = UDim2.new(0, 500, 0, 20)
- P.Text = Val
- P.Name = "Script Line"
- P.Parent = Gui
- P.BackgroundColor3 = Color3.new(1, 1, 1)
- P.TextColor3 = Color3.new(0, 0, 0)
- P.BackgroundTransparency = 0.5
- P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
- P.TextXAlignment = "Left"
- table.insert(New, P)
- i=i+1
- end
- i=1
- P = Instance.new("TextButton")
- P.Size = UDim2.new(0, 20, 0, 20)
- P.Text = "^"
- P.Name = "Scroll"
- P.Parent = Gui
- P.BackgroundColor3 = Color3.new(1, 1, 1)
- P.TextColor3 = Color3.new(0, 0, 0)
- P.BackgroundTransparency = 0.5
- P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
- P.MouseButton1Click:connect(function()
- MoveUp(Gui, -20)
- end)
- i=i+1
- P = Instance.new("TextButton")
- P.Size = UDim2.new(0, 20, 0, 20)
- P.Text = "v"
- P.Name = "Scroll"
- P.Parent = Gui
- P.BackgroundColor3 = Color3.new(1, 1, 1)
- P.TextColor3 = Color3.new(0, 0, 0)
- P.BackgroundTransparency = 0.5
- P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
- P.MouseButton1Click:connect(function()
- MoveDown(Gui, -20)
- end)
- i=i+1
- P = Instance.new("TextButton")
- P.Size = UDim2.new(0, 20, 0, 20)
- P.Text = "^^"
- P.Name = "Scroll"
- P.Parent = Gui
- P.BackgroundColor3 = Color3.new(1, 1, 1)
- P.TextColor3 = Color3.new(0, 0, 0)
- P.BackgroundTransparency = 0.5
- P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
- P.MouseButton1Click:connect(function()
- MoveUp(Gui, -200)
- end)
- i=i+1
- P = Instance.new("TextButton")
- P.Size = UDim2.new(0, 20, 0, 20)
- P.Text = "vv"
- P.Name = "Scroll"
- P.Parent = Gui
- P.BackgroundColor3 = Color3.new(1, 1, 1)
- P.TextColor3 = Color3.new(0, 0, 0)
- P.BackgroundTransparency = 0.5
- P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
- P.MouseButton1Click:connect(function()
- MoveDown(Gui, -200)
- end)
- i=i+1
- P = Instance.new("TextButton")
- P.Size = UDim2.new(0, 20, 0, 20)
- P.Text = "S"
- P.Name = "Save"
- P.Parent = Gui
- P.BackgroundColor3 = Color3.new(0, 1, 0)
- P.TextColor3 = Color3.new(0, 0, 0)
- P.BackgroundTransparency = 0.5
- P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
- P.MouseButton1Click:connect(function()
- StringS = ""
- for Num, Obj in pairs(New) do
- StringS = StringS..Obj.Text..'\n'
- end
- S.Source = StringS
- S.Disabled = true
- S.Disabled = false
- end)
- i=i+1
- P = Instance.new("TextButton")
- P.Size = UDim2.new(0, 20, 0, 20)
- P.Text = "x"
- P.Name = "Back"
- P.Parent = Gui
- P.BackgroundColor3 = Color3.new(1, 0.2, 0)
- P.TextColor3 = Color3.new(0, 0, 0)
- P.BackgroundTransparency = 0.5
- P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
- P.MouseButton1Click:connect(function()
- Clear()
- i=0
- Search(S)
- end)
- i=i+1
- end
- end
- pgr.MouseButton1Click:connect(function()
- Clear()
- Search(game)
- end)
- end)
- gettool.Name = "get tool"
- gettool.Parent = maingui
- gettool.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
- gettool.Position = UDim2.new(0.357142866, 0, 0.631067991, 0)
- gettool.Size = UDim2.new(0, 149, 0, 50)
- gettool.Font = Enum.Font.SourceSans
- gettool.Text = "get tool"
- gettool.TextColor3 = Color3.new(0, 0, 0)
- gettool.TextSize = 14
- gettool.MouseButton1Click:connect(function()
- for _,v in pairs(game.Players.LocalPlayer:GetChildren()) do
- if (v:IsA("Tool")) then
- v.Parent = game.Players.LocalPlayer.Backpack
- end
- end
- end)
- savetool.Name = "save tool"
- savetool.Parent = maingui
- savetool.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
- savetool.Position = UDim2.new(0.357142866, 0, 0.838187754, 0)
- savetool.Size = UDim2.new(0, 149, 0, 50)
- savetool.Font = Enum.Font.SourceSans
- savetool.Text = "save tool"
- savetool.TextColor3 = Color3.new(0, 0, 0)
- savetool.TextSize = 14
- savetool.MouseButton1Click:connect(function()
- for _,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if (v:IsA("Tool")) then
- v.Parent = game.Players.LocalPlayer
- end
- end
- end)
- -- other:
- warn("oofy gui has loaded!")
- warn("this is version 0.3")
Add Comment
Please, Sign In to add comment