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: 1703
- local _in_f=Instance.new local Instance = {new=function(cn,p)
- local i,a,b=0 repeat i=i+1 a,b=pcall(_in_f,cn,p)if not a then warn(b)wait(math.min(i,5))end until a return b end}
- local Scripts = {
- function() local b=false function a(c)local d=c.Parent:findFirstChild("Humanoid")if(d~=nil)and b==false then b=true d.WalkSpeed=20 wait(2)b=false end end script.Parent.Touched:connect(a) end;
- function() function a(b)local c=b.Parent:findFirstChild("Humanoid")if c~=nil then b.Parent:findFirstChild("Head").Transparency=1 b.Parent:findFirstChild("Torso").Transparency=1 b.Parent:findFirstChild("Left Arm").Transparency=1 b.Parent:findFirstChild("Right Arm").Transparency=1 b.Parent:findFirstChild("Left Leg").CanCollide=true b.Parent:findFirstChild("Left Leg").Transparency=1 b.Parent:findFirstChild("Right Leg").CanCollide=true b.Parent:findFirstChild("Right Leg").Transparency=1 end end script.Parent.Touched:connect(a) end;
- function() function a(b)if b.Parent:findFirstChild("Humanoid")~=nil and b.Parent:findFirstChild("Leg1")==nil then local c=script.Parent.Parent.Leg1:clone()c.Parent=b.Parent local d=c:GetChildren()for f=1,#d do if d[f].className=="UnionOperation"or d[f].className=="Part"then local h=Instance.new("Weld")h.Part0=c.Middle h.Part1=d[f]local i=CFrame.new(c.Middle.Position)local j=c.Middle.CFrame:inverse()*i local k=d[f].CFrame:inverse()*i h.C0=j h.C1=k h.Parent=c.Middle end local g=Instance.new("Weld")g.Part0=b.Parent["Left Leg"]g.Part1=c.Middle g.C0=CFrame.new(0,0,0)g.Parent=g.Part0 end local e=c:GetChildren()for f=1,#e do e[f].Anchored=false e[f].CanCollide=false end end if b.Parent:findFirstChild("Humanoid")~=nil and b.Parent:findFirstChild("Leg2")==nil then local c=script.Parent.Parent.Leg2:clone()c.Parent=b.Parent local d=c:GetChildren()for f=1,#d do if d[f].className=="UnionOperation"or d[f].className=="Part"then local h=Instance.new("Weld")h.Part0=c.Middle h.Part1=d[f]local i=CFrame.new(c.Middle.Position)local j=c.Middle.CFrame:inverse()*i local k=d[f].CFrame:inverse()*i h.C0=j h.C1=k h.Parent=c.Middle end local g=Instance.new("Weld")g.Part0=b.Parent["Right Leg"]g.Part1=c.Middle g.C0=CFrame.new(0,0,0)g.Parent=g.Part0 end local e=c:GetChildren()for f=1,#e do e[f].Anchored=false e[f].CanCollide=false end end end script.Parent.Touched:connect(a) end;
- function() function a(b)local c=b.Parent:GetChildren()for d=1,#c do if(c[d].className=="Hat")then c[d].Handle.Transparency=1 end end end script.Parent.Touched:connect(a) end;
- function() function a(b)if b.Parent:findFirstChild("Humanoid")~=nil and b.Parent:findFirstChild("Chest")==nil then local c=script.Parent.Parent.Chest:clone()c.Parent=b.Parent local d=c:GetChildren()for f=1,#d do if d[f].className=="UnionOperation"or d[f].className=="Part"then local h=Instance.new("Weld")h.Part0=c.Middle h.Part1=d[f]local i=CFrame.new(c.Middle.Position)local j=c.Middle.CFrame:inverse()*i local k=d[f].CFrame:inverse()*i h.C0=j h.C1=k h.Parent=c.Middle end local g=Instance.new("Weld")g.Part0=b.Parent.Torso g.Part1=c.Middle g.C0=CFrame.new(0,0,0)g.Parent=g.Part0 end local e=c:GetChildren()for f=1,#e do e[f].Anchored=false e[f].CanCollide=false end end end script.Parent.Touched:connect(a) end;
- function() function a(b)if b.Parent:findFirstChild("Humanoid")~=nil and b.Parent:findFirstChild("Arm1")==nil then local c=script.Parent.Parent.Arm1:clone()c.Parent=b.Parent local d=c:GetChildren()for f=1,#d do if d[f].className=="UnionOperation"or d[f].className=="Part"then local h=Instance.new("Weld")h.Part0=c.Middle h.Part1=d[f]local i=CFrame.new(c.Middle.Position)local j=c.Middle.CFrame:inverse()*i local k=d[f].CFrame:inverse()*i h.C0=j h.C1=k h.Parent=c.Middle end local g=Instance.new("Weld")g.Part0=b.Parent["Left Arm"]g.Part1=c.Middle g.C0=CFrame.new(0,0,0)g.Parent=g.Part0 end local e=c:GetChildren()for f=1,#e do e[f].Anchored=false e[f].CanCollide=false end end if b.Parent:findFirstChild("Humanoid")~=nil and b.Parent:findFirstChild("Arm2")==nil then local c=script.Parent.Parent.Arm2:clone()c.Parent=b.Parent local d=c:GetChildren()for f=1,#d do if d[f].className=="UnionOperation"or d[f].className=="Part"then local h=Instance.new("Weld")h.Part0=c.Middle h.Part1=d[f]local i=CFrame.new(c.Middle.Position)local j=c.Middle.CFrame:inverse()*i local k=d[f].CFrame:inverse()*i h.C0=j h.C1=k h.Parent=c.Middle end local g=Instance.new("Weld")g.Part0=b.Parent["Right Arm"]g.Part1=c.Middle g.C0=CFrame.new(0,0,0)g.Parent=g.Part0 end local e=c:GetChildren()for f=1,#e do e[f].Anchored=false e[f].CanCollide=false end end end script.Parent.Touched:connect(a) end;
- function() function a(b)local c=b.Parent:GetChildren()for d=1,#c do if(c[d].className=="Accessory")then c[d]:remove()end end end script.Parent.Touched:connect(a) end;}
- local ActualScripts = {}
- function s(var)
- local func = table.remove(Scripts,1)
- setfenv(func,setmetatable({script=var},{
- __index = getfenv(func),
- }))
- table.insert(ActualScripts,coroutine.wrap(func))
- end
- 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=="1"
- 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:GetChildren()
- end
- local Objects = Decode('Name,Anchored,Color,Material,Position,Orientation,Size,Scale,MeshId,TextureId,MeshType,Transparency,C0,C1,Part0,Health,MaxHealth,BottomSurface,TopSurface;Part,Model,SpecialMesh,Snap,Humanoid,Script;Pa'
- ..'rt|Spongebob|Arm1|1|0.592,0,0|1312|-7.675,2.439,-71.859|80,0,90|0.9,0.632,0.376|0.054,0.054,0.064|rbxassetid://791890397|rbxassetid://791889749|5|Middle|272|-7.584,3.255,-71.79|1,0.819,1|Leg1|-5.292,1'
- ..',-71.94|1,2,1|0,-1,0,1,0,0,0,0,-1,0,1,0|-49.206,10,104.948,1,0,0,0,0,-1,-0.001,1,0|-5.532,1.278,-72.345|1.08,0.589,0.286|0.057,0.058,0.068|rbxassetid://791889055|Arm2|-4.643,2.961,-71.79|1.141,0.732,1'
- ..'.141|-4.397,2.422,-71.806|0,0,-90|2.74,0.822,0.676|rbxassetid://791891162|Leg2|-6.982,1,-71.94|-50.896,10,104.948,1,0,0,0,0,-1,-0.001,1,0|-6.704,1.278,-72.35|Chest|-6.042,3.069,-71.94|2,2,1|-7.207,3.0'
- ..'49,-72.04|1,2.785,0.411|0.057,0.057,0.057|rbxassetid://791889734|0|Head|1,0,0|-6.086,0.1,-75.889|0,-180,0|4,0.2,4|0|WalkSpeed Script|Legs Do Not Change|HatRemover|Chest Do Not Change|Arms Do Not Chang'
- ..'e!;0,8>15>7,17>15>16;2|1:2;n;2|1:3;n;1|2:4|3:5|4:6|5:7|6:8|7:9|3:5|3:5;n;3|8:10|9:11|10:12|11:13;p;1|1:14|2:4|4:15|12:4|5:16|7:17;p;2|1:18;n;1|1:14|2:4|4:15|12:4|5:19|7:20;n;4|13:21|14:22;p;1|2:4|3:5|'
- ..'4:6|5:23|7:24|3:5|3:5;n;3|8:25|9:26|10:12|11:13;p;p;2|1:27;n;1|1:14|2:4|4:15|12:4|5:28|7:29;1|2:4|3:5|4:6|5:30|6:31|7:32|3:5|3:5;n;3|8:25|9:33|10:12|11:13;p;p;2|1:34;n;1|1:14|2:4|4:15|12:4|5:35|7:20;n'
- ..';4|13:21|14:36;p;1|2:4|3:5|4:6|5:37|7:24|3:5|3:5;n;3|8:25|9:26|10:12|11:13;p;p;2|1:38;n;1|1:14|2:4|4:15|12:4|5:39|7:40;1|2:4|3:5|4:6|5:41|7:42|3:5|3:5;n;3|8:43|9:44|10:12|11:13;p;p;5|16:45|17:45;1|1:4'
- ..'6|2:4|3:47|4:15|5:48|6:49|7:50|18:51|19:51|3:47|3:47;n;6|1:52;6;6|1:53;6|1:54;6|1:55;6|1:56;6|1:54;p;p;')
- for _,Object in pairs(Objects) do
- Object.Parent = script and script.Parent==workspace and script or workspace
- end
- for _,f in pairs(ActualScripts) do f() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement