-
Notifications
You must be signed in to change notification settings - Fork 1
/
GearGiverTest
417 lines (395 loc) · 20.3 KB
/
GearGiverTest
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
-- Converted using Mokiros's Model to Script Version 3
-- Converted string size: 10432 characters
local ScriptFunctions = {
function(script,require)
function onTouched(hit)
if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Chest") == nil then
local g = script.Parent.Parent.Chest:clone()
g.Parent = hit.Parent
local C = g:GetChildren()
for i=1, #C do
if C[i].className == "Part" or C[i].className == "UnionOperation" or C[i].className == "MeshPart" then
local W = Instance.new("Weld")
W.Part0 = g.Middle
W.Part1 = C[i]
local CJ = CFrame.new(g.Middle.Position)
local C0 = g.Middle.CFrame:inverse()*CJ
local C1 = C[i].CFrame:inverse()*CJ
W.C0 = C0
W.C1 = C1
W.Parent = g.Middle
end
local Y = Instance.new("Weld")
Y.Part0 = hit.Parent.Torso
Y.Part1 = g.Middle
Y.C0 = CFrame.new(0, 0, 0)
Y.Parent = Y.Part0
end
local h = g:GetChildren()
for i = 1, # h do
h[i].Anchored = false
h[i].CanCollide = false
end
end
end
script.Parent.Touched:connect(onTouched)
end
}
local ScriptIndex = 0
local Scripts,ModuleScripts,ModuleCache = {},{},{}
local _require = require
function require(obj,...)
local index = ModuleScripts[obj]
if not index then
local a,b = pcall(_require,obj,...)
return not a and error(b,2) or b
end
local res = ModuleCache[index]
if res then return res end
res = ScriptFunctions[index](obj,require)
if res==nil then error("Module code did not return exactly one value",2) end
ModuleCache[index] = res
return res
end
local function Script(obj,ismodule)
ScriptIndex = ScriptIndex + 1
local t = ismodule and ModuleScripts or Scripts
t[obj] = ScriptIndex
end
function RunScripts()
for script, index in pairs(Scripts) do
coroutine.wrap(function()
ScriptFunctions[index](script, require)
end)()
end
end
local function DecodeUnion(Values,Flags,Parse,data)
local m = Instance.new("Folder")
m.Name = "UnionCache ["..tostring(math.random(1,9999)).."]"
m.Archivable = false
m.Parent = game:GetService("ServerStorage")
local Union,Subtract = {},{}
if not data then
data = Parse('B')
end
local ByteLength = (data % 4) + 1
local Length = Parse('I'..ByteLength)
local ValueFMT = ('I'..Flags[1])
for i = 1,Length do
local data = Parse('B')
local part
local isNegate = bit32.band(data,0b10000000) > 0
local isUnion = bit32.band(data,0b01000000) > 0
if isUnion then
part = DecodeUnion(Values,Flags,Parse,data)
else
local isMesh = data % 2 == 1
local ClassName = Values[Parse(ValueFMT)]
part = Instance.new(ClassName)
part.Size = Values[Parse(ValueFMT)]
part.Position = Values[Parse(ValueFMT)]
part.Orientation = Values[Parse(ValueFMT)]
if isMesh then
local mesh = Instance.new("SpecialMesh")
mesh.MeshType = Values[Parse(ValueFMT)]
mesh.Scale = Values[Parse(ValueFMT)]
mesh.Offset = Values[Parse(ValueFMT)]
mesh.Parent = part
end
end
part.Parent = m
table.insert(isNegate and Subtract or Union,part)
end
local first = table.remove(Union,1)
if #Union>0 then
first = first:UnionAsync(Union)
end
if #Subtract>0 then
first = first:SubtractAsync(Subtract)
end
m:Destroy()
return first
end
local function Decode(str)
local StringLength = #str
-- Base64 decoding
do
local decoder = {}
for b64code, char in pairs(('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='):split('')) do
decoder[char:byte()] = b64code-1
end
local n = StringLength
local t,k = table.create(math.floor(n/4)+1),1
local padding = str:sub(-2) == '==' and 2 or str:sub(-1) == '=' and 1 or 0
for i = 1, padding > 0 and n-4 or n, 4 do
local a, b, c, d = str:byte(i,i+3)
local v = decoder[a]*0x40000 + decoder[b]*0x1000 + decoder[c]*0x40 + decoder[d]
t[k] = string.char(bit32.extract(v,16,8),bit32.extract(v,8,8),bit32.extract(v,0,8))
k = k + 1
end
if padding == 1 then
local a, b, c = str:byte(n-3,n-1)
local v = decoder[a]*0x40000 + decoder[b]*0x1000 + decoder[c]*0x40
t[k] = string.char(bit32.extract(v,16,8),bit32.extract(v,8,8))
elseif padding == 2 then
local a, b = str:byte(n-3,n-2)
local v = decoder[a]*0x40000 + decoder[b]*0x1000
t[k] = string.char(bit32.extract(v,16,8))
end
str = table.concat(t)
end
local Position = 1
local function Parse(fmt)
local Values = {string.unpack(fmt,str,Position)}
Position = table.remove(Values)
return table.unpack(Values)
end
local Settings = Parse('B')
local Flags = Parse('B')
Flags = {
--[[ValueIndexByteLength]] bit32.extract(Flags,6,2)+1,
--[[InstanceIndexByteLength]] bit32.extract(Flags,4,2)+1,
--[[ConnectionsIndexByteLength]] bit32.extract(Flags,2,2)+1,
--[[MaxPropertiesLengthByteLength]] bit32.extract(Flags,0,2)+1,
--[[Use Double instead of Float]] bit32.band(Settings,0b1) > 0
}
local ValueFMT = ('I'..Flags[1])
local InstanceFMT = ('I'..Flags[2])
local ConnectionFMT = ('I'..Flags[3])
local PropertyLengthFMT = ('I'..Flags[4])
local ValuesLength = Parse(ValueFMT)
local Values = table.create(ValuesLength)
local CFrameIndexes = {}
local ValueDecoders = {
--!!Start
[1] = function(Modifier)
return Parse('s'..Modifier)
end,
--!!Split
[2] = function(Modifier)
return Modifier ~= 0
end,
--!!Split
[3] = function()
return Parse('d')
end,
--!!Split
[4] = function(_,Index)
table.insert(CFrameIndexes,{Index,Parse(('I'..Flags[1]):rep(3))})
end,
--!!Split
[5] = {CFrame.new,Flags[5] and 'dddddddddddd' or 'ffffffffffff'},
--!!Split
[6] = {Color3.fromRGB,'BBB'},
--!!Split
[7] = {BrickColor.new,'I2'},
--!!Split
[8] = function(Modifier)
local len = Parse('I'..Modifier)
local kpts = table.create(len)
for i = 1,len do
kpts[i] = ColorSequenceKeypoint.new(Parse('f'),Color3.fromRGB(Parse('BBB')))
end
return ColorSequence.new(kpts)
end,
--!!Split
[9] = function(Modifier)
local len = Parse('I'..Modifier)
local kpts = table.create(len)
for i = 1,len do
kpts[i] = NumberSequenceKeypoint.new(Parse(Flags[5] and 'ddd' or 'fff'))
end
return NumberSequence.new(kpts)
end,
--!!Split
[10] = {Vector3.new,Flags[5] and 'ddd' or 'fff'},
--!!Split
[11] = {Vector2.new,Flags[5] and 'dd' or 'ff'},
--!!Split
[12] = {UDim2.new,Flags[5] and 'di2di2' or 'fi2fi2'},
--!!Split
[13] = {Rect.new,Flags[5] and 'dddd' or 'ffff'},
--!!Split
[14] = function()
local flags = Parse('B')
local ids = {"Top","Bottom","Left","Right","Front","Back"}
local t = {}
for i = 0,5 do
if bit32.extract(flags,i,1)==1 then
table.insert(t,Enum.NormalId[ids[i+1]])
end
end
return Axes.new(unpack(t))
end,
--!!Split
[15] = function()
local flags = Parse('B')
local ids = {"Top","Bottom","Left","Right","Front","Back"}
local t = {}
for i = 0,5 do
if bit32.extract(flags,i,1)==1 then
table.insert(t,Enum.NormalId[ids[i+1]])
end
end
return Faces.new(unpack(t))
end,
--!!Split
[16] = {PhysicalProperties.new,Flags[5] and 'ddddd' or 'fffff'},
--!!Split
[17] = {NumberRange.new,Flags[5] and 'dd' or 'ff'},
--!!Split
[18] = {UDim.new,Flags[5] and 'di2' or 'fi2'},
--!!Split
[19] = function()
return Ray.new(Vector3.new(Parse(Flags[5] and 'ddd' or 'fff')),Vector3.new(Parse(Flags[5] and 'ddd' or 'fff')))
end
--!!End
}
for i = 1,ValuesLength do
local TypeAndModifier = Parse('B')
local Type = bit32.band(TypeAndModifier,0b11111)
local Modifier = (TypeAndModifier - Type) / 0b100000
local Decoder = ValueDecoders[Type]
if type(Decoder)=='function' then
Values[i] = Decoder(Modifier,i)
else
Values[i] = Decoder[1](Parse(Decoder[2]))
end
end
for i,t in pairs(CFrameIndexes) do
Values[t[1]] = CFrame.fromMatrix(Values[t[2]],Values[t[3]],Values[t[4]])
end
local InstancesLength = Parse(InstanceFMT)
local Instances = {}
local NoParent = {}
for i = 1,InstancesLength do
local ClassName = Values[Parse(ValueFMT)]
local obj
local MeshPartMesh,MeshPartScale
if ClassName == "UnionOperation" then
obj = DecodeUnion(Values,Flags,Parse)
obj.UsePartColor = true
elseif ClassName:find("Script") then
obj = Instance.new("Folder")
Script(obj,ClassName=='ModuleScript')
elseif ClassName == "MeshPart" then
obj = Instance.new("Part")
MeshPartMesh = Instance.new("SpecialMesh")
MeshPartMesh.MeshType = Enum.MeshType.FileMesh
MeshPartMesh.Parent = obj
else
obj = Instance.new(ClassName)
end
local Parent = Instances[Parse(InstanceFMT)]
local PropertiesLength = Parse(PropertyLengthFMT)
local AttributesLength = Parse(PropertyLengthFMT)
Instances[i] = obj
for i = 1,PropertiesLength do
local Prop,Value = Values[Parse(ValueFMT)],Values[Parse(ValueFMT)]
-- ok this looks awful
if MeshPartMesh then
if Prop == "MeshId" then
MeshPartMesh.MeshId = Value
continue
elseif Prop == "TextureID" then
MeshPartMesh.TextureId = Value
continue
elseif Prop == "Size" then
if not MeshPartScale then
MeshPartScale = Value
else
MeshPartMesh.Scale = Value / MeshPartScale
end
elseif Prop == "MeshSize" then
if not MeshPartScale then
MeshPartScale = Value
MeshPartMesh.Scale = obj.Size / Value
else
MeshPartMesh.Scale = MeshPartScale / Value
end
continue
end
end
obj[Prop] = Value
end
if MeshPartMesh then
if MeshPartMesh.MeshId=='' then
if MeshPartMesh.TextureId=='' then
MeshPartMesh.TextureId = 'rbxasset://textures/meshPartFallback.png'
end
MeshPartMesh.Scale = obj.Size
end
end
for i = 1,AttributesLength do
obj:SetAttribute(Values[Parse(ValueFMT)],Values[Parse(ValueFMT)])
end
if not Parent then
table.insert(NoParent,obj)
else
obj.Parent = Parent
end
end
local ConnectionsLength = Parse(ConnectionFMT)
for i = 1,ConnectionsLength do
local a,b,c = Parse(InstanceFMT),Parse(ValueFMT),Parse(InstanceFMT)
Instances[a][Values[b]] = Instances[c]
end
return NoParent
end
local Objects = Decode('AECeASEFTW9kZWwhBE5hbWUhA1JGTSEKV29ybGRQaXZvdARcAV0BXgEhBFBhcnQhBUdpdmVyIQhBbmNob3JlZCIhDUJvdHRvbVN1cmZhY2UDAAAAAAAAAAAhCkJyaWNrQ29sb3IH9QMhBkNGcmFtZQQZAF8BYAEhCkNhbkNvbGxpZGUCIQVDb2xvcgYEr+whCE1hdGVy'
..'aWFsAwAAAAAAgJRAIQtPcmllbnRhdGlvbgoAAAAAAAC0wgAAAAAhCFBvc2l0aW9uCvn3cMKtb19AoWj0QiEIUm90YXRpb24K1yOxwkjhs8JIYa3CIQRTaXplCgChDUBmZhZAwvUoQCEKVG9wU3VyZmFjZSEMVHJhbnNwYXJlbmN5AwAAAAAAAPA/IQZTY3JpcHQhBVRv'
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AAtAC4ALwAwACUABAsAAgA0AAgACQAOADUAFAA2ABYANwAYADgAGgA5ABwAOgArADsALQA8AC8APQAlAAQLAAIANAAIAAkADgA+ABQANgAWAD8AGABA'
..'ABoAQQAcADoAKwA7AC0APAAvAD0AJQAEDAACAEIACAAJAA4AQwAQABEARAAJABYAFwAYAEUAGgBGABwARwArAEgALQBJAC8AMAAlAAQJAAIASgAIAAkADgBLABQAFQAYAEwAHABNACsATgAtAE8ALwAwACUABAsACAAJAA4AUAAQABEARAAJABYAUQAYAFIAGgBTABwA'
..'VAArAFUALQBWAC8AVwAlAAQJAAIAWAAIAAkADgBZABQAFQAYAFoAHABbACsAXAAtAF0ALwAwACUABAsAAgBeAAgACQAOAF8AFAAVABYAYAAYAGEAGgBiABwAYwArAGQALQBlAC8AMAAlAAQJAAIASgAIAAkADgBmABQAFQAYAGcAHABoACsAaQAtAGoALwAwACUABAsA'
..'AgBrAAgACQAOAGwAFAAVABYAYAAYAG0AGgBiABwAbgArAG8ALQBwAC8AMAAlAAQLAAIAcQAIAAkADgByABQANgAWAHMAGAB0ABoAdQAcAHYAKwB3AC0AeAAvAHkAJQAECwACAHoACAAJAA4AewAUABUAFgB8ABgAfQAaAH4AHAB/ACsAgAAtAIEALwCCACUABAkAAgCD'
..'AAgACQAOAIQAFAA2ABgAhQAcAIYAKwCHAC0AiAAvADAAJQAECwACAIkACAAJAA4AigAUABUAFgCLABgAjAAaAIsAHACNACsAjgAtAI8ALwAwACUABA4AAgCQAAgACQAOAJEAEAARAJIAkwBEAAkAFAAVABYAlAAYAJUAGgCWABwAlwArAJgALQCXAC8AmQAlAAQJAAIA'
..'mgAIAAkADgCbABQANgAYAJwAHACdACsAngAtAJ8ALwAwACUABAsAAgCgAAgACQAOAKEAFAAVABYAYAAYAKIAGgBiABwAowArAKQALQClAC8AMAAlAAQNAAIApgAIAAkADgCnABAAEQBEAAkAFAAVABYAqAAYAKkAGgCqABwAqwArAKwALQCtAC8ArgAlAAQLAAIArwAI'
..'AAkADgCwABQANgAWAD8AGACxABoAQQAcALIAKwCzAC0AtAAvADAABgAECwACALUACAAJAA4AtgAQABEAtwC4ABYAYAAYALkAugC4ABoAYgAcALsAHwAgACUABAsAAgC8AAgACQAOAL0AFAAVABYAYAAYAL4AGgBiABwAvwArAMAALQDBAC8AMAAlAAQLAAIAwgAIAAkA'
..'DgDDABQAFQAWAMQAGADFABoAxgAcAMcAKwDIAC0AyQAvADAAJQAECwACAEoACAAJAA4AygAUABUAFgAXABgAywAaAMwAHADNACsAzgAtAM8ALwAwANAAQANADQEGANkA2gDVANsA3ADdAAEGAN4A3wDgANsA3ADdAAEGAOEA4gDjANsA3ADdAAEGAOQA5QDVANsA3ADd'
..'AAEGAN4A5gDnANsA3ADdAAEGAOgA6QDVANsA3ADdAAEGAOoA6wDsANsA3ADdAAEGAO0A7gDvANsA3ADdAAEGAPAA8QDgANsA3ADdAAEGAPIA8wDgANsA3ADdAAEGAPQA9QDVANsA3ADdAAEGAPYA9wD4ANsA3ADdAAEGAPkA+gD7ANsA3ADdAAEGAPwA/QDVANsA3ADd'
..'AAEGAPwA/gDVANsA3ADdAAQLAAIA0QAIAAkADADSAA4A0wAQABEAEgDUABQANgAWANUAGADWABoA1wAcANgAJQAEDQACAP8ACAAJAAwAAAEOAAEBEAARABIAAgEUABUAFgADARgABAEaAAUBHAAGASsABwEtAAgBJQAEDwACAAkBCAAJAAwACgEOAAsBEAARAAwBEQAS'
..'AA0BFAAOARYADwEYABABGgARARwAEgErABMBLQAUAS8AMAAlAAQLAAIAFQEIAAkADgAWARQAFQAWAGAAGAAXARoAYgAcABgBKwAZAS0AGgEvADAAJQAEDQACAKYACAAJAA4AGwEQABEARAAJABQAFQAWAKgAGAAcARoAqgAcAKsAKwCsAC0ArQAvAK4AJQAEDQACAB0B'
..'CAAJAA4AHgEQABEARAAJABQAFQAWAB8BGAAgARoAIQEcACIBKwAjAS0AJAEvACUBJQAECwACACYBCAAJAA4AJwEUABUAFgAoARgAKQEaACoBHAArASsALAEtAC0BLwAuASUABAsAAgBKAAgACQAOAC8BFAAVABYAYAAYADABGgBiABwAMQErADIBLQAzAS8AMAAlAAQI'
..'AAIANAEIAAkADgA1ARgANgEcADcBKwA4AS0AOQEvADoBJQAEDQACADsBCAAJAA4APAEQABEARAAJABQAFQAWAD0BGAA+ARoAPwEcAEABKwBBAS0AQgEvAEMBJQAECwACAEoACAAJAA4ARAEUABUAFgBgABgARQEaAGIAHABGASsARwEtAEgBLwAwACUABA0AAgCmAAgA'
..'CQAOAEkBEAARAEQACQAUABUAFgCoABgASgEaAKoAHACrACsArAAtAK0ALwCuACUABA0AAgA7AQgACQAOAEsBEAARAEQACQAUABUAFgBMARgATQEaAE4BHABAASsAQQEtAEIBLwBDAdAAQAMABgBWAVcBxAAABgBYAVkBxAAABgBaAVsBxAAACQAIAAkADABPAQ4AUAES'
..'AFEBFABSARYAxAAYAFMBGgBUARwAVQEA')
for _,obj in pairs(Objects) do
obj.Parent = script or workspace
end
RunScripts()