Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Converted using Mokiros's Model to Script plugin
- -- Converted string size: 9313
- local Decode = function(str,t,props,classes,values,ICList,Model,CurPar,LastIns,split,RemoveAndSplit,InstanceList)
- local tonum,table_remove,inst,parnt,comma,table_foreach = tonumber,table.remove,Instance.new,"Parent",",",
- function(t,f)
- for a,b in pairs(t) do
- f(a,b)
- end
- end
- local Types = {
- Color3 = Color3.new,
- Vector3 = Vector3.new,
- Vector2 = Vector2.new,
- UDim = UDim.new,
- UDim2 = UDim2.new,
- CFrame = CFrame.new,
- Rect = Rect.new,
- NumberRange = NumberRange.new,
- NumberSequence = function(...)
- local a = {...}
- local t = {}
- repeat
- t[#t+1] = NumberSequenceKeypoint.new(table_remove(a,1),table_remove(a,1),table_remove(a,1))
- until #a==0
- return NumberSequence.new(t)
- end,
- ColorSequence = function(...)
- local a = {...}
- local t = {}
- repeat
- t[#t+1] = ColorSequenceKeypoint.new(table_remove(a,1),Color3.new(table_remove(a,1),table_remove(a,1),table_remove(a,1)))
- until #a==0
- return ColorSequence.new(t)
- end,
- number = tonumber,
- boolean = function(a)
- return a=="true"
- end
- }
- split = function(str,sep)
- if not str then return end
- local fields = {}
- local ConcatNext = false
- str:gsub(("([^%s]+)"):format(sep),function(c)
- if ConcatNext == true then
- fields[#fields] = fields[#fields]..sep..c
- ConcatNext = false
- else
- fields[#fields+1] = c
- end
- if c:sub(#c)=="\\" then
- c = fields[#fields]
- fields[#fields] = c:sub(1,#c-1)
- ConcatNext = true
- end
- end)
- return fields
- end
- RemoveAndSplit = function(t)
- return split(table_remove(t,1),comma)
- end
- t = split(str,";")
- props = RemoveAndSplit(t)
- classes = RemoveAndSplit(t)
- values = split(table_remove(t,1),'|')
- ICList = RemoveAndSplit(t)
- InstanceList = {}
- Model = inst"Model"
- CurPar = Model
- table_foreach(t,function(ct,c)
- if c=="n" or c=="p" then
- CurPar = c=="n" and LastIns or CurPar[parnt]
- else
- ct = split(c,"|")
- local class = classes[tonum(table_remove(ct,1))]
- if class=="UnionOperation" then
- LastIns = {Locked="true",Anchored="true",UsePartColor="true"}
- else
- LastIns = inst(class)
- if LastIns:IsA"Script" then
- s(LastIns)
- end
- end
- local function SetProperty(LastIns,p,str,s)
- s = Types[typeof(LastIns[p])]
- LastIns[p] = s and s(unpack(split(str,comma))) or str
- end
- local UnionData
- table_foreach(ct,function(s,p,a,str)
- a = p:find":"
- p,str = props[tonum(p:sub(1,a-1))],values[tonum(p:sub(a+1))]
- if p=="UnionData" then
- UnionData = split(str," ")
- return
- end
- if class=="UnionOperation" then
- LastIns[p] = str
- return
- end
- SetProperty(LastIns,p,str)
- end)
- if UnionData then
- local LI_Data = LastIns
- LastIns = DecodeUnion(UnionData)
- table_foreach(LI_Data,function(p,str)
- SetProperty(LastIns,p,str)
- end)
- end
- table.insert(InstanceList,LastIns)
- LastIns[parnt] = CurPar
- end
- end)
- table_remove(ICList,1)
- table_foreach(ICList,function(a,b)
- b = split(b,">")
- InstanceList[tonum(b[1])][props[tonum(b[2])]] = InstanceList[tonum(b[3])]
- end)
- return Model
- end
- local Model = Decode('Name,Anchored,Color,Position,Orientation,Size,TopSurface,Scale,CFrame,Texture,Transparency,CanCollide,BottomSurface,MaxVelocity,C0,C1,Part0,Part1,LeftSurface,RightSurface,AttachmentPoint,AttachmentPos'
- ..',MeshId,TextureId,MeshType,Rotation,Value,AttachmentForward,AttachmentUp,PantsTemplate,ShirtTemplate,HeadColor3,LeftArmColor3,RightArmColor3,LeftLegColor3,RightLegColor3,TorsoColor3,Face,Material,Base'
- ..'Angle;Part,Model,SpecialMesh,Attachment,Decal,Motor6D,Humanoid,Accessory,Vector3Value,Weld,Pants,Shirt,BodyColors,Snap,RotateP;Part| |Head|true|0.843,0.772,0.603|6.505,5.404,22.275|-14.311,-169.521,-4'
- ..'.37|2,1,1|Smooth|1.25,1.25,1.25|HatAttachment|0,0.6,0|0,0.6,0,1,0,0,0,1,0,0,0,1|HairAttachment|FaceFrontAttachment|0,0,-0.601|0,0,-0.601,1,0,0,0,1,0,0,0,1|FaceCenterAttachment|face|rbxassetid://101618'
- ..'1246|HumanoidRootPart|1|6.416,3.922,22.05|-9.391,-144.711,-3.451|2,2,1|false|RootJoint|0.1|0,0,0,-1,0,0,0,0,1,0,1,-0|Left Arm|7.637,4.285,22.132|74.23,-157.43,34.259|1,2,1|LeftShoulderAttachment|0,1,0'
- ..'|0,1,0,1,0,0,0,1,0,0,0,1|Left Leg|7.935,2.752,22.112|77.089,-149.691,-38.92|Right Arm|5.893,3.81,24.281|87.669,108.86,-100.551|RightShoulderAttachment|Right Leg|6.422,3.221,22.866|-34.62,-142.92,-4.14'
- ..'|Torso|Weld|roblox|Right Hip|1,-1,0,0,0,1,0,1,-0,-1,0,0|0.5,-0.736,0.51,0,0,1,0.427,0.904,0,-0.905,0.427,0|Left Shoulder|-1,0.5,0,0,0,-1,0,1,0,1,0,0|0.5,0.5,0,0.725,0.076,-0.684,0.679,0.071,0.729,0.10'
- ..'4,-0.995,0|Left Hip|-1,-1,0,0,0,-1,0,1,0,1,0,0|-0.5,1,0,-0.559,0,-0.83,0.827,0.072,-0.557,0.06,-0.998,-0.041|WaistFrontAttachment|0,-1,-0.5|0,-1,-0.5,1,0,0,0,1,0,0,0,1|WaistCenterAttachment|0,-1,0|0,-'
- ..'1,0,1,0,0,0,1,0,0,0,1|WaistBackAttachment|0,-1,0.5|0,-1,0.5,1,0,0,0,1,0,0,0,1|RightCollarAttachment|1,1,0|1,1,0,1,0,0,0,1,0,0,0,1|NeckAttachment|LeftCollarAttachment|-1,1,0|-1,1,0,1,0,0,0,1,0,0,0,1|Bo'
- ..'dyFrontAttachment|0,0,-0.5|0,0,-0.5,1,0,0,0,1,0,0,0,1|BodyBackAttachment|0,0,0.5|0,0,0.5,1,0,0,0,1,0,0,0,1|Bandana|0,0.8,0,1,0,0,0,1,0,0,0,1|0,0.8,0|Handle|6.514,5.115,22.198|1,1,1|1,0.899,1|http://ww'
- ..'w.roblox.com/asset/?id=20637493|http://www.roblox.com/asset/?id=20637003|FileMesh|0,0.3,-0.601|0,-0.001,-0.001|0,0.3,-0.601,1,0,-0.001,-0.001,1,-0.001,0,0,1|OriginalSize|AccessoryWeld|StargateHeadphon'
- ..'es|0,-0.196,-0.981|-0,-0,0,1,0,-0,0,0.98,0.195,0,-0.196,0.98|0,0.98,-0.196|6.49,5.888,22.403|-3.04,-170.381,-4.24|1,1,2|http://www.roblox.com/asset/?id=35278664|rbxassetid://1190686985|0,0.098,-0.02|-'
- ..'11.299,0,-0.001|0,0.098,-0.02,1,0,0,-0.001,0.98,0.195,0,-0.196,0.98|BookWings|0,0.34,0.25,1,0,0,0,1,0,0,0,1|0,0.34,0.25|6.219,4.676,21.845|1.6,0.8,1.599|1.2,1.2,1.2|rbxassetid://2309337895|rbxassetid:'
- ..'//2309338779|0,-0.7,0.1|0,-0.7,0.1,1,0,0,0,1,0,0,0,1|OwlBuddy|5.655,5.182,22.843|rbxassetid://1224856571|rbxassetid://1224856976|0,-0.341,0|0,-0.341,0,1,0,0,0,1,0,0,0,1|Pants|http://www.roblox.com/ass'
- ..'et/?id=129459076|Shirt|http://www.roblox.com/asset/?id=108129062|BoiledWoolWinterHat|0,-0.201,-0.02,1,0,0,0,1,0,0,0,1|0,-0.201,-0.02|6.481,6.086,22.435|1.4,1.4,1.599|1,1,0.93|http://www.roblox.com/ass'
- ..'et/?id=105348972 |http://www.roblox.com/asset/?id=105349030 |0,-0.1,-0.021|0,-0.1,-0.021,1,0,-0.001,-0.001,1,-0.001,0,0,1|5.024,0.025,10.61|0,110,0|14.08,0.05,15.389|Picnic|http://www.roblox.com/asset'
- ..'/?id=1139294527|Top|Notebook|0.411,0.4,0.36|6.92,3.557,25.058|0,0.009,0|2.799,0.2,2|http://www.roblox.com/asset/?id=28472815|0.066,0.066,0.066|6.91,4.486,26.281|-75,0.009,0|2.579,0.2,1.589|http://www.'
- ..'roblox.com/asset/?id=125769084|Bottom|http://www.roblox.com/asset/?id=14420891|6.92,4.468,26.292|2.799,0.2,1.799|http://www.roblox.com/asset/?id=22020223|Picnic Table|0.917,0.721,0.572|Wood|11.332,0.9'
- ..'11,20.565|0,20.01,0|0.777,0.933,0.777|Wedge|11.598,0.911,21.295|0,-159.991,-180|11.598,1.844,21.295|11.864,1.844,22.026|11.864,2.777,22.026|0,0.466,0,-1,-0,-0,0,0,1,0,1,0|-5.055,-0.156,0.388,1,0,0,0,0'
- ..',1,-0.001,-1,0|12.13,2.777,22.757|12.284,1.766,24.77|-90,110,0|12.441,0.311,0.777|6.948,2.311,22.161|0,-159.991,0|11.664,0.311,0.777|1,1,0.899|Brick|6.682,2.311,21.43|6.416,2.311,20.7|8.844,3.399,28.5'
- ..'05|12.441,0.311,1.555|0,-0.156,0,1,0,0,-0,-0,-1,0,1,0|5.054,0.466,0.388,1,-0.001,0,0,0,-1,-0.001,1,0|-5.055,0.466,0.388,1,-0.001,0,0,0,-1,-0.001,1,0|8.312,3.399,27.044|7.78,3.399,25.582|7.248,3.399,24'
- ..'.121|5.054,0.466,0.388,-1,0,-0,0,0,-1,0,-1,0|9.436,2.311,30.359|14.259,0.911,28.603|13.993,0.911,27.872|0,20.01,180|13.993,1.844,27.872|13.727,1.844,27.141|13.727,2.777,27.141|0.411,0.25,0.156|13.461,'
- ..'2.777,26.411|9.702,2.311,31.089|1.833,0.911,24.023|2.099,0.911,24.754|2.099,1.844,24.754|2.365,1.844,25.485|2.365,2.777,25.485|2.631,2.777,26.215|3.808,1.766,27.856|90,-70,0|9.968,2.311,31.82|4.76,0.9'
- ..'11,32.061|4.493,0.911,31.33|4.493,1.844,31.33|4.227,1.844,30.6|4.227,2.777,30.6|3.961,2.777,29.869|d��������������ng.........you got owned...|0.25;0,10>17>9,10>18>17,19>17>17,19>18>16,20>17>17,20>18>1'
- ..'1,21>17>17,21>18>13,36>17>32,36>18>2,42>17>38,42>18>2,48>17>44,48>18>17,54>17>50,54>18>17,62>17>58,62>18>2,87>17>85,87>18>105,99>17>97,99>18>119,100>17>97,100>18>150,107>17>105,107>18>134;2|1:2;n;1|1:'
- ..'3|2:4|3:5|4:6|5:7|6:8|7:9|3:5|3:5;n;3|8:10;4|1:11|4:12|9:13;4|1:14|4:12|9:13;4|1:15|4:16|9:17;4|1:18;5|1:19|10:20;p;1|1:21|2:4|11:22|4:23|5:24|6:25|12:26|13:9|7:9;n;6|1:27|14:28|15:29|16:29;p;1|1:30|2'
- ..':4|3:5|4:31|5:32|6:33|12:26|3:5|3:5;n;4|1:34|4:35|9:36;p;1|1:37|2:4|3:5|4:38|5:39|6:33|12:26|13:9|3:5|3:5;1|1:40|2:4|3:5|4:41|5:42|6:33|12:26|3:5|3:5;n;4|1:43|4:35|9:36;p;1|1:44|2:4|3:5|4:45|5:46|6:33'
- ..'|12:26|13:9|3:5|3:5;1|1:47|2:4|3:5|4:23|5:24|6:25|19:48|20:48|3:5|3:5;n;5|1:49;6|1:50|14:28|15:51|16:52;6|1:53|14:28|15:54|16:55;6|1:56|14:28|15:57|16:58;4|1:59|4:60|9:61;4|1:62|4:63|9:64;4|1:65|4:66|'
- ..'9:67;4|1:68|4:69|9:70;4|1:71|4:35|9:36;4|1:72|4:73|9:74;4|1:75|4:76|9:77;4|1:78|4:79|9:80;p;7;n;p;8|1:81|21:82|22:83;n;1|1:84|2:4|4:85|5:7|6:86|12:26|13:9|7:9;n;3|8:87|23:88|24:89|25:90;4|1:15|4:91|5:'
- ..'92|26:92|9:93;9|1:94|27:86;10|1:95|15:93|16:17;p;p;8|1:96|28:97|21:98|29:99;n;1|1:84|2:4|4:100|5:101|6:102|12:26|13:9|7:9;n;3|8:87|23:103|24:104|25:90;4|1:11|4:105|5:106|26:106|9:107;9|1:94|27:102;10|'
- ..'1:95|15:107|16:13;p;p;8|1:108|21:109|22:110;n;1|1:84|2:4|4:111|5:24|6:112|12:26|13:9|7:9;n;3|8:113|23:114|24:115|25:90;4|1:78|4:116|9:117;9|1:94|27:112;10|1:95|15:117|16:80;p;p;8|1:118|21:109|22:110;n'
- ..';1|1:84|2:4|4:119|5:24|6:112|12:26|13:9|7:9;n;3|23:120|24:121|25:90;4|1:68|4:122|9:123;9|1:94|27:112;10|1:95|15:123|16:70;p;p;11|1:124|30:125;12|1:126|31:127;8|1:128|21:129|22:130;n;1|1:84|2:4|4:131|5'
- ..':7|6:132|12:26|13:9|7:9;n;3|8:133|23:134|24:135|25:90;4|1:11|4:136|5:92|26:92|9:137;9|1:94|27:132;10|1:95|15:137|16:13;p;p;13|32:5|33:5|34:5|35:5|36:5|37:5;p;1|2:4|4:138|5:139|6:140|13:9|7:9;n;5|1:141'
- ..'|10:142|38:143;p;2|1:144;n;1|2:4|3:145|4:146|5:147|6:148|7:9|3:145|3:145;n;5|10:149|38:143;p;1|2:4|3:150|4:151|5:152|6:153|13:9|7:9|3:150|3:150;n;5|10:154|38:155;5|10:156|38:143;p;1|2:4|3:150|4:157|5:'
- ..'152|6:158|13:9|7:9|3:150|3:150;n;5|10:154|38:155;5|10:159|38:143;p;p;2|1:160;n;2;n;1|2:4|3:161|39:162|4:163|5:164|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:167|5:168|6:165|3:161|3:161;n;3|25'
- ..':166;p;1|2:4|3:161|39:162|4:169|5:164|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:170|5:168|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:171|5:164|6:165|3:161|3:161;n;3|25:166;14|15:172'
- ..'|16:173;p;1|2:4|3:161|39:162|4:174|5:168|6:165|3:161|3:161;n;3|25:166;p;p;1|2:4|3:161|39:162|4:175|5:176|6:177|13:9|7:9|3:161|3:161;1|2:4|3:161|39:162|4:178|5:179|6:180|7:9|3:161|3:161;n;3|8:181|25:18'
- ..'2;p;1|2:4|3:161|39:162|4:183|5:179|6:180|7:9|3:161|3:161;n;3|8:181|25:182;p;1|2:4|3:161|39:162|4:184|5:179|6:180|7:9|3:161|3:161;n;3|8:181|25:182;p;1|2:4|3:161|39:162|4:185|5:179|6:186|7:9|3:161|3:161'
- ..';n;3|8:181|25:182;14|15:187|16:188;14|15:187|16:189;p;1|2:4|3:161|39:162|4:190|5:179|6:186|7:9|3:161|3:161;n;3|8:181|25:182;p;1|2:4|3:161|39:162|4:191|5:179|6:186|7:9|3:161|3:161;n;3|8:181|25:182;p;1|'
- ..'2:4|3:161|39:162|4:192|5:179|6:186|7:9|3:161|3:161;n;3|8:181|25:182;14|15:187|16:193;p;1|2:4|3:161|39:162|4:194|5:179|6:180|7:9|3:161|3:161;n;3|8:181|25:182;p;2;n;1|2:4|3:161|39:162|4:195|5:179|6:165|'
- ..'3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:196|5:197|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:198|5:179|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:199|5:197|6:165|3:161|3:161;n;'
- ..'3|25:166;p;1|2:4|3:161|39:162|4:200|5:179|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:201|39:162|4:202|5:197|6:165|3:201|3:201;n;3|25:166;p;p;1|2:4|3:161|39:162|4:203|5:179|6:180|7:9|3:161|3:161;n;3|8:181|'
- ..'25:182;p;2;n;1|2:4|3:161|39:162|4:204|5:164|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:205|5:168|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:206|5:164|6:165|3:161|3:161;n;3|25:166;p;1'
- ..'|2:4|3:161|39:162|4:207|5:168|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:208|5:164|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:209|5:168|6:165|3:161|3:161;n;3|25:166;p;p;1|2:4|3:161|3'
- ..'9:162|4:210|5:211|6:177|13:9|7:9|3:161|3:161;1|2:4|3:161|39:162|4:212|5:179|6:180|7:9|3:161|3:161;n;3|8:181|25:182;p;2;n;1|2:4|3:161|39:162|4:213|5:179|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:16'
- ..'2|4:214|5:197|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:215|5:179|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:216|5:197|6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:217|5:179|'
- ..'6:165|3:161|3:161;n;3|25:166;p;1|2:4|3:161|39:162|4:218|5:197|6:165|3:161|3:161;n;3|25:166;p;p;15|1:219|40:220;p;')
- Model.Parent = workspace
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement