View difference between Paste ID: sR59w7us and 3UAihCaa
SHOW: | | - or go back to the newest paste.
1
-- Made by fabuss254 for Seraph 1.6.0
2
-- Current version: 1.1
3
-- Enjoy! :D
4
5
--[==[
6
	CHANGELOG:
7
	------------ 1.1 -------------------------
8
	+ added to game for return to the game child selection
9
	+ added the posibility to get all detail of a Instance
10
	+ added the posibility to change some value of some specific instance class
11
	+ added instance librairis: Part, string value, number value, int value
12
	
13
	------------ 1.0 -------------------------
14
	+ Created the gui :3
15
--]==]
16
17
local Loc = game.Players.LocalPlayer.PlayerGui
18
local Interval = 0
19
local Interval2 = 0
20
local CurrentLoc = game
21
local CurrentLocString = "game"
22
23
local GUI = Instance.new("ScreenGui",game.CoreGui)
24
GUI.ResetOnSpawn = false
25
GUI.Name = "ELIXplorer"
26
27
local Main = Instance.new("Frame",GUI)
28
Main.Name = "Main"
29
Main.Selectable = true
30
Main.ClipsDescendants = true
31
Main.Draggable = true
32
Main.Size = UDim2.new(0, 500,0, 500)
33
Main.Position = UDim2.new(0.5, -500,0.5, -500)
34
Main.Active = true
35
Main.Style = "DropShadow"
36
37
local Temp = Instance.new("TextLabel",Main)
38
Temp.BackgroundTransparency = 1
39
Temp.Text = "ELIXplorer V1.1"
40
Temp.TextStrokeTransparency = 0
41
Temp.TextScaled = true
42
Temp.Size = UDim2.new(1, 0,0, 50)
43
Temp.TextColor3 = Color3.new(255,0,0)
44
45
local Content = Instance.new("ScrollingFrame",Main)
46
Content.BorderSizePixel = 0
47
Content.Size = UDim2.new(1, -50,1,-250)
48
Content.Position = UDim2.new(0, 0,0, 50)
49
Content.BackgroundTransparency = 0.42
50
Content.ScrollBarThickness = 6
51
52
local Content2 = Instance.new("ScrollingFrame",Main)
53
Content2.BorderSizePixel = 0
54
Content2.Size = UDim2.new(1, 0,1,-300)
55
Content2.Position = UDim2.new(0, 0,1, -190)
56
Content2.BackgroundTransparency = 0.42
57
Content.ScrollBarThickness = 6
58
59
local HH1 = Instance.new("TextLabel",Content2)
60
HH1.BorderSizePixel = 0
61
HH1.Size = UDim2.new(1, 0,0,25)
62
HH1.Text = "Instance Name - Instance Class Name"
63
HH1.TextScaled = true
64
65
local TT = Instance.new("Folder",Loc)
66
67
local LPT = Instance.new("TextButton",TT)
68
LPT.BorderSizePixel = 0
69
LPT.BackgroundTransparency = 0.75
70
LPT.Size = UDim2.new(1,0,0,25)
71
LPT.Text = ""
72
73
local InsName = Instance.new("TextLabel",LPT)
74
InsName.Position = UDim2.new(0, 0,0, 0)
75
InsName.Size = UDim2.new(1, -200,1,0)
76
InsName.Name = "InsName"
77
InsName.BackgroundTransparency = 1
78
79
local InsClassName = Instance.new("TextLabel",LPT)
80
InsClassName.Position = UDim2.new(0, 200,0, 0)
81
InsClassName.Size = UDim2.new(1, -200,1,0)
82
InsClassName.Name = "InsClassName"
83
InsClassName.BackgroundTransparency = 1
84
85
local ToolBar = Instance.new("Frame",Main)
86
ToolBar.Size = UDim2.new(0, 50,1, -250)
87
ToolBar.Position = UDim2.new(1, -50,0, 50)
88
ToolBar.Name = "ToolBar"
89
90
local Return = Instance.new("TextButton",ToolBar)
91
Return.Size = UDim2.new(1,0,0,50)
92
Return.Text = "Return"
93
94
local Return2 = Instance.new("TextButton",ToolBar)
95
Return2.Size = UDim2.new(1,0,0,50)
96
Return2.Position = UDim2.new(0,0,0,50)
97
Return2.Text = "Print Path"
98
99
local Return3 = Instance.new("TextButton",ToolBar)
100
Return3.Size = UDim2.new(1,0,0,50)
101
Return3.Position = UDim2.new(0,0,0,100)
102
Return3.Text = "To game"
103
104
local PPP = Instance.new("ObjectValue",GUI)
105
PPP.Value = CurrentLoc
106
107
local P1P = Instance.new("ObjectValue",LPT)
108
P1P.Value = CurrentLoc
109
P1P.Name = "ObjectLocation"
110
111
Return3.MouseButton1Click:connect(function()
112
	PPP.Value = game
113
	CurrentLocString = "game"
114
	Content:ClearAllChildren()
115
	search()
116
end)
117
Return2.MouseButton1Click:connect(function()
118
	print(CurrentLocString)
119
end)
120
Return.MouseButton1Click:connect(function()
121
	if PPP.Value ~= game then
122
	local TTTTTT = PPP.Value.Name
123
	CurrentLocString = string.gsub(CurrentLocString,"."..TTTTTT,"")
124
	PPP.Value = PPP.Value.Parent
125
	Content:ClearAllChildren()
126
	search()
127
end
128
end)
129
130
---- function for create textlabel/Textbutton easily
131
132
function TextLL(NameT, TextT, Trans, Modifiable, nub, ModifValue)
133
	local i = Instance.new("TextLabel",Content2)
134
	i.Name = NameT
135
	i.Position = UDim2.new(0,0,0,Interval2)
136
	i.Size = UDim2.new(1,-100,0,25)
137
	i.BorderSizePixel = 0
138
	i.TextScaled = true
139
	i.Text = TextT
140
	i.TextXAlignment = "Left"
141
	i.BackgroundTransparency = Trans or 1
142
	if Modifiable == "true" then
143
		local a = Instance.new("TextBox",i)
144
		a.Name = NameT
145
		a.Position = UDim2.new(1,-100,0,0)
146
		a.Size = UDim2.new(0,100,0,25)
147
		a.BorderSizePixel = 0
148
		a.BackgroundTransparency = 0.5
149
		if nub == "Number" then
150
			a.Text = "Insert a Number"
151
			a.FocusLost:connect(function(TTT)
152
				if TTT then
153
				local change = tonumber(a.Text)
154
				PVale.Value[ModifValue] = change
155
				end
156
			end)
157
		elseif nub == "String" then
158
			a.Text = "Insert a String"
159
			a.FocusLost:connect(function(TTT)
160
				if TTT then
161
				local change = tostring(a.Text)
162
				PVale.Value[ModifValue] = change
163
				end
164
			end)
165
		else
166
			a:Destroy()
167
			warn("[ELIXplorer Error]: Number or String expected. not ".. tostring(nub)..".Deleted the Modifiable Value.")
168
		end
169
		a.Active = true
170
	end
171
	Interval2 = Interval2 + 25
172
end
173
174
----- Stats search
175
176
function search()
177
	for _,gg in pairs(PPP.Value:GetChildren()) do
178
		local RT = LPT:Clone()
179
		RT.Parent = Content
180
		RT.InsName.Text = gg.Name
181
		RT.InsClassName.Text = gg.ClassName
182
		RT.Position = UDim2.new(0,0,0,Interval)
183
		RT.ObjectLocation.Value = gg
184
		Interval = Interval + 25
185
		Content.CanvasSize = UDim2.new(0,0,0,Interval)
186
		RT.MouseButton1Click:connect(function()
187
			PPP.Value = RT.ObjectLocation.Value
188
			--print(PPP.Value.Name)
189
			CurrentLocString = CurrentLocString.."."..PPP.Value.Name
190
			Content:ClearAllChildren()
191
			search()
192
		end)
193
		RT.MouseEnter:connect(function()
194
			Interval2 = 50
195
			Content2:ClearAllChildren()
196
			local HH1 = Instance.new("TextLabel",Content2)
197
			HH1.BorderSizePixel = 0
198
			HH1.Size = UDim2.new(1, 0,0,25)
199
			HH1.Text = RT.InsName.Text.." - "..RT.InsClassName.Text
200
			HH1.TextScaled = true
201
			PVale = RT.ObjectLocation
202
			--- Class Libraries
203
			if PVale.Value.ClassName == "Part" then
204
				--TextLL("1","none: "..tostring(PVale.Value.Parent))
205
				TextLL("1","-------Appearence",0.5)
206
				TextLL("1","BrickColor: "..tostring(PVale.Value.BrickColor))
207
				TextLL("1","Material: "..tostring(PVale.Value.Material))
208
				TextLL("1","Reflectance: "..tostring(PVale.Value.Reflectance),1, "true", "Number", "Reflectance")
209
				TextLL("1","Transparency: "..tostring(PVale.Value.Transparency),1, "true", "Number", "Transparency")
210
				TextLL("1","-------Data",0.5)
211
				TextLL("1","ClassName: "..tostring(PVale.Value.ClassName))
212
				TextLL("1","Name: "..tostring(PVale.Value.Name),1, "true", "String", "Name")
213
				TextLL("1","Orientation: "..tostring(PVale.Value.Orientation))
214
				TextLL("1","Parent: "..tostring(PVale.Value.Parent))
215
				TextLL("1","Position: "..tostring(PVale.Value.Position))
216
				TextLL("1","RotVelocity: "..tostring(PVale.Value.RotVelocity))
217
				TextLL("1","Velocity: "..tostring(PVale.Value.Velocity))
218
				TextLL("1","-------Behavior",0.5)
219
				TextLL("1","Anchored: "..tostring(PVale.Value.Anchored))
220
				TextLL("1","Archivable: "..tostring(PVale.Value.Archivable))
221
				TextLL("1","CanCollide: "..tostring(PVale.Value.CanCollide))
222
				TextLL("1","Locked: "..tostring(PVale.Value.Locked))
223
				TextLL("1","ResizeableFaces: "..tostring(PVale.Value.ResizeableFaces))
224
				TextLL("1","ResizeIncrement: "..tostring(PVale.Value.ResizeIncrement))
225
				TextLL("1","-------Part",0.5)
226
				TextLL("1","CustomPhysicalProperties: "..tostring(PVale.Value.CustomPhysicalProperties))
227
				TextLL("1","Shape: "..tostring(PVale.Value.Shape))
228
				TextLL("1","Size: "..tostring(PVale.Value.Size))
229
				
230
			elseif PVale.Value.ClassName == "StringValue" then
231
				TextLL("1","ClassName: "..tostring(PVale.Value.ClassName))
232
				TextLL("1","Name: "..tostring(PVale.Value.Name))
233
				TextLL("1","Parent: "..tostring(PVale.Value.Parent))
234
				TextLL("1","Value: "..tostring(PVale.Value.Value),1, "true", "String", "Value")
235
				
236
			elseif PVale.Value.ClassName == "IntValue" then
237
				TextLL("1","ClassName: "..tostring(PVale.Value.ClassName))
238
				TextLL("1","Name: "..tostring(PVale.Value.Name))
239
				TextLL("1","Parent: "..tostring(PVale.Value.Parent))
240
				TextLL("1","Value: "..tostring(PVale.Value.Value),1, "true", "Number", "Value")
241
				
242
			elseif PVale.Value.ClassName == "NumberValue" then
243
				TextLL("1","ClassName: "..tostring(PVale.Value.ClassName))
244
				TextLL("1","Name: "..tostring(PVale.Value.Name))
245
				TextLL("1","Parent: "..tostring(PVale.Value.Parent))
246
				TextLL("1","Value: "..tostring(PVale.Value.Value),1, "true", "Number", "Value")
247
			else
248
				TextLL("Unknow","The ClassName is unknow for now, sorry :/")
249
			end
250
			Content2.CanvasSize = UDim2.new(0,0,0,Interval2)
251
		end)
252
	end
253
	Interval = 0
254
end
255
256
search()
257
258
-- Want support? my discord: fabuss254#9232