Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by fabuss254 for Seraph 1.6.0
- -- Current version: 1.1
- -- Enjoy! :D
- --[==[
- CHANGELOG:
- ------------ 1.1 -------------------------
- + added to game for return to the game child selection
- + added the posibility to get all detail of a Instance
- + added the posibility to change some value of some specific instance class
- + added instance librairis: Part, string value, number value, int value
- ------------ 1.0 -------------------------
- + Created the gui :3
- --]==]
- local Loc = game.Players.LocalPlayer.PlayerGui
- local Interval = 0
- local Interval2 = 0
- local CurrentLoc = game
- local CurrentLocString = "game"
- local GUI = Instance.new("ScreenGui",game.CoreGui)
- GUI.ResetOnSpawn = false
- GUI.Name = "ELIXplorer"
- local Main = Instance.new("Frame",GUI)
- Main.Name = "Main"
- Main.Selectable = true
- Main.ClipsDescendants = true
- Main.Draggable = true
- Main.Size = UDim2.new(0, 500,0, 500)
- Main.Position = UDim2.new(0.5, -500,0.5, -500)
- Main.Active = true
- Main.Style = "DropShadow"
- local Temp = Instance.new("TextLabel",Main)
- Temp.BackgroundTransparency = 1
- Temp.Text = "ELIXplorer V1.1"
- Temp.TextStrokeTransparency = 0
- Temp.TextScaled = true
- Temp.Size = UDim2.new(1, 0,0, 50)
- Temp.TextColor3 = Color3.new(255,0,0)
- local Content = Instance.new("ScrollingFrame",Main)
- Content.BorderSizePixel = 0
- Content.Size = UDim2.new(1, -50,1,-250)
- Content.Position = UDim2.new(0, 0,0, 50)
- Content.BackgroundTransparency = 0.42
- Content.ScrollBarThickness = 6
- local Content2 = Instance.new("ScrollingFrame",Main)
- Content2.BorderSizePixel = 0
- Content2.Size = UDim2.new(1, 0,1,-300)
- Content2.Position = UDim2.new(0, 0,1, -190)
- Content2.BackgroundTransparency = 0.42
- Content.ScrollBarThickness = 6
- local HH1 = Instance.new("TextLabel",Content2)
- HH1.BorderSizePixel = 0
- HH1.Size = UDim2.new(1, 0,0,25)
- HH1.Text = "Instance Name - Instance Class Name"
- HH1.TextScaled = true
- local TT = Instance.new("Folder",Loc)
- local LPT = Instance.new("TextButton",TT)
- LPT.BorderSizePixel = 0
- LPT.BackgroundTransparency = 0.75
- LPT.Size = UDim2.new(1,0,0,25)
- LPT.Text = ""
- local InsName = Instance.new("TextLabel",LPT)
- InsName.Position = UDim2.new(0, 0,0, 0)
- InsName.Size = UDim2.new(1, -200,1,0)
- InsName.Name = "InsName"
- InsName.BackgroundTransparency = 1
- local InsClassName = Instance.new("TextLabel",LPT)
- InsClassName.Position = UDim2.new(0, 200,0, 0)
- InsClassName.Size = UDim2.new(1, -200,1,0)
- InsClassName.Name = "InsClassName"
- InsClassName.BackgroundTransparency = 1
- local ToolBar = Instance.new("Frame",Main)
- ToolBar.Size = UDim2.new(0, 50,1, -250)
- ToolBar.Position = UDim2.new(1, -50,0, 50)
- ToolBar.Name = "ToolBar"
- local Return = Instance.new("TextButton",ToolBar)
- Return.Size = UDim2.new(1,0,0,50)
- Return.Text = "Return"
- local Return2 = Instance.new("TextButton",ToolBar)
- Return2.Size = UDim2.new(1,0,0,50)
- Return2.Position = UDim2.new(0,0,0,50)
- Return2.Text = "Print Path"
- local Return3 = Instance.new("TextButton",ToolBar)
- Return3.Size = UDim2.new(1,0,0,50)
- Return3.Position = UDim2.new(0,0,0,100)
- Return3.Text = "To game"
- local PPP = Instance.new("ObjectValue",GUI)
- PPP.Value = CurrentLoc
- local P1P = Instance.new("ObjectValue",LPT)
- P1P.Value = CurrentLoc
- P1P.Name = "ObjectLocation"
- Return3.MouseButton1Click:connect(function()
- PPP.Value = game
- CurrentLocString = "game"
- Content:ClearAllChildren()
- search()
- end)
- Return2.MouseButton1Click:connect(function()
- print(CurrentLocString)
- end)
- Return.MouseButton1Click:connect(function()
- if PPP.Value ~= game then
- local TTTTTT = PPP.Value.Name
- CurrentLocString = string.gsub(CurrentLocString,"."..TTTTTT,"")
- PPP.Value = PPP.Value.Parent
- Content:ClearAllChildren()
- search()
- end
- end)
- ---- function for create textlabel/Textbutton easily
- function TextLL(NameT, TextT, Trans, Modifiable, nub, ModifValue)
- local i = Instance.new("TextLabel",Content2)
- i.Name = NameT
- i.Position = UDim2.new(0,0,0,Interval2)
- i.Size = UDim2.new(1,-100,0,25)
- i.BorderSizePixel = 0
- i.TextScaled = true
- i.Text = TextT
- i.TextXAlignment = "Left"
- i.BackgroundTransparency = Trans or 1
- if Modifiable == "true" then
- local a = Instance.new("TextBox",i)
- a.Name = NameT
- a.Position = UDim2.new(1,-100,0,0)
- a.Size = UDim2.new(0,100,0,25)
- a.BorderSizePixel = 0
- a.BackgroundTransparency = 0.5
- if nub == "Number" then
- a.Text = "Insert a Number"
- a.FocusLost:connect(function(TTT)
- if TTT then
- local change = tonumber(a.Text)
- PVale.Value[ModifValue] = change
- end
- end)
- elseif nub == "String" then
- a.Text = "Insert a String"
- a.FocusLost:connect(function(TTT)
- if TTT then
- local change = tostring(a.Text)
- PVale.Value[ModifValue] = change
- end
- end)
- else
- a:Destroy()
- warn("[ELIXplorer Error]: Number or String expected. not ".. tostring(nub)..".Deleted the Modifiable Value.")
- end
- a.Active = true
- end
- Interval2 = Interval2 + 25
- end
- ----- Stats search
- function search()
- for _,gg in pairs(PPP.Value:GetChildren()) do
- local RT = LPT:Clone()
- RT.Parent = Content
- RT.InsName.Text = gg.Name
- RT.InsClassName.Text = gg.ClassName
- RT.Position = UDim2.new(0,0,0,Interval)
- RT.ObjectLocation.Value = gg
- Interval = Interval + 25
- Content.CanvasSize = UDim2.new(0,0,0,Interval)
- RT.MouseButton1Click:connect(function()
- PPP.Value = RT.ObjectLocation.Value
- --print(PPP.Value.Name)
- CurrentLocString = CurrentLocString.."."..PPP.Value.Name
- Content:ClearAllChildren()
- search()
- end)
- RT.MouseEnter:connect(function()
- Interval2 = 50
- Content2:ClearAllChildren()
- local HH1 = Instance.new("TextLabel",Content2)
- HH1.BorderSizePixel = 0
- HH1.Size = UDim2.new(1, 0,0,25)
- HH1.Text = RT.InsName.Text.." - "..RT.InsClassName.Text
- HH1.TextScaled = true
- PVale = RT.ObjectLocation
- --- Class Libraries
- if PVale.Value.ClassName == "Part" then
- --TextLL("1","none: "..tostring(PVale.Value.Parent))
- TextLL("1","-------Appearence",0.5)
- TextLL("1","BrickColor: "..tostring(PVale.Value.BrickColor))
- TextLL("1","Material: "..tostring(PVale.Value.Material))
- TextLL("1","Reflectance: "..tostring(PVale.Value.Reflectance),1, "true", "Number", "Reflectance")
- TextLL("1","Transparency: "..tostring(PVale.Value.Transparency),1, "true", "Number", "Transparency")
- TextLL("1","-------Data",0.5)
- TextLL("1","ClassName: "..tostring(PVale.Value.ClassName))
- TextLL("1","Name: "..tostring(PVale.Value.Name),1, "true", "String", "Name")
- TextLL("1","Orientation: "..tostring(PVale.Value.Orientation))
- TextLL("1","Parent: "..tostring(PVale.Value.Parent))
- TextLL("1","Position: "..tostring(PVale.Value.Position))
- TextLL("1","RotVelocity: "..tostring(PVale.Value.RotVelocity))
- TextLL("1","Velocity: "..tostring(PVale.Value.Velocity))
- TextLL("1","-------Behavior",0.5)
- TextLL("1","Anchored: "..tostring(PVale.Value.Anchored))
- TextLL("1","Archivable: "..tostring(PVale.Value.Archivable))
- TextLL("1","CanCollide: "..tostring(PVale.Value.CanCollide))
- TextLL("1","Locked: "..tostring(PVale.Value.Locked))
- TextLL("1","ResizeableFaces: "..tostring(PVale.Value.ResizeableFaces))
- TextLL("1","ResizeIncrement: "..tostring(PVale.Value.ResizeIncrement))
- TextLL("1","-------Part",0.5)
- TextLL("1","CustomPhysicalProperties: "..tostring(PVale.Value.CustomPhysicalProperties))
- TextLL("1","Shape: "..tostring(PVale.Value.Shape))
- TextLL("1","Size: "..tostring(PVale.Value.Size))
- elseif PVale.Value.ClassName == "StringValue" then
- TextLL("1","ClassName: "..tostring(PVale.Value.ClassName))
- TextLL("1","Name: "..tostring(PVale.Value.Name))
- TextLL("1","Parent: "..tostring(PVale.Value.Parent))
- TextLL("1","Value: "..tostring(PVale.Value.Value),1, "true", "String", "Value")
- elseif PVale.Value.ClassName == "IntValue" then
- TextLL("1","ClassName: "..tostring(PVale.Value.ClassName))
- TextLL("1","Name: "..tostring(PVale.Value.Name))
- TextLL("1","Parent: "..tostring(PVale.Value.Parent))
- TextLL("1","Value: "..tostring(PVale.Value.Value),1, "true", "Number", "Value")
- elseif PVale.Value.ClassName == "NumberValue" then
- TextLL("1","ClassName: "..tostring(PVale.Value.ClassName))
- TextLL("1","Name: "..tostring(PVale.Value.Name))
- TextLL("1","Parent: "..tostring(PVale.Value.Parent))
- TextLL("1","Value: "..tostring(PVale.Value.Value),1, "true", "Number", "Value")
- else
- TextLL("Unknow","The ClassName is unknow for now, sorry :/")
- end
- Content2.CanvasSize = UDim2.new(0,0,0,Interval2)
- end)
- end
- Interval = 0
- end
- search()
- -- Want support? my discord: fabuss254#9232
Add Comment
Please, Sign In to add comment