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: 4968
- local Scripts = { function()
- local d=script.Parent a=true function b(e)if not a then return end a=false d.GripForward=Vector3.new(-0,-0,1)d.GripPos=Vector3.new(-1.5,-0.7,-0.3)d.GripRight=Vector3.new(-1,0,0)d.GripUp=Vector3.new(0,1,0)wait(1)d.GripForward=Vector3.new(-0,-0,1)d.GripPos=Vector3.new(-1.5,-0.7,0.2)d.GripRight=Vector3.new(-1,0,0)d.GripUp=Vector3.new(0,1,0)wait(1)d.GripForward=Vector3.new(-0,-0,1)d.GripPos=Vector3.new(-1.5,-0.7,0.6)d.GripRight=Vector3.new(-1,0,0)d.GripUp=Vector3.new(0,1,0)wait(1)d.Parent.Humanoid.Health=d.Parent.Humanoid.Health-0 script.Parent:remove()end function c(e)if e==nil then print("Mouse not found")return end e.Icon="rbxasset://textures\\ArrowCursor.png"e.Button1Down:connect(function()b(e)end)end d.Equipped:connect(c)
- end; function()
- function a(d,e)local f=Instance.new("Weld")f.Part0=d f.Part1=e local g=CFrame.new(d.Position)local h=d.CFrame:inverse()*g local i=e.CFrame:inverse()*g f.C0=h f.C1=i f.Parent=d end function b(d)if d.className=="Part"then a(script.Parent.Handle,d)d.Anchored=false else local e=d:GetChildren()for f=1,#e do b(e[f])end end end function c()b(script.Parent)end script.Parent.Equipped:connect(c)script.Parent.Unequipped:connect(c)c()
- 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,TextureId,Grip,GripPos,GripForward,GripRight,Color,Position,Orientation,Size,BottomSurface,TopSurface,MeshId,MeshType,C0,C1,Part0,Part1,SoundId,Volume;Part,Tool,SpecialMesh,Weld,Sound,LocalScript'
- ..',Script;Part|Pizza|http://www.roblox.com/asset/?id=22595979|0.55,-0.101,-0.101,-0.149,0,0.988,0,1,-0,-0.989,0,-0.149|0.55,-0.101,-0.101|-0.989,0,0.148|-0.149,0,-0.989|Handle|0.803,0.803,0.803|63.5,0.4'
- ..',-56.5|0,-180,0|1,0.8,1|0|http://www.roblox.com/asset/?id=22589477|http://www.roblox.com/asset/?id=22589467|5|-0.001,-0.001,0,-0.001,-0.001,1,-0.001,1,0,-1,0,-0.001|-0.001,-0.001,0,-0.001,0.999,-0.002'
- ..',0,0.001,0.999,1,0,-0.001|0,-0.001,-0.001,-0.001,0,-1,0,0.999,0,1,0,0|0,0,0,-0.001,0.996,-0.084,-0.001,0.083,0.996,1,0,-0.001|0,-0.001,-0.001,-0.001,0,-1,0,0.999,0,1,-0.001,-0.001|0.533,0,-0.4,-0.001,'
- ..'0,-1,0,0.999,0,1,-0.001,-0.001|-0.001,0,-0.534,1,-0.001,-0.001,0,0.999,0,0,-0.001,0.999|0.533,0.373,-0.001,-0.001,0,-1,0,0.999,0,1,-0.001,-0.001|-0.001,0.132,0.4,0,0.999,0,-0.001,0,-1,-1,0,0|-0.001,-0'
- ..'.401,-0.133,0,0.999,0,-1,0,0,0,-0.001,0.999|0,0,0.132,-1,0,0,0,0.999,0,-0.001,0,-1|0,-0.401,0.933,0,0.999,0,1,-0.001,-0.001,-0.001,0,-1|0,-0.934,0.4,0,0.999,0,0,-0.001,0.999,1,-0.001,-0.001|-0.001,-0.'
- ..'374,-0.534,1,-0.001,-0.001,0,0.999,0,0,-0.001,0.999|-0.534,0,-0.401,0,-0.001,0.999,0,0.999,0,-1,0,0|0,0,-0.934,1,0,-0.001,0,0.999,0,0,-0.001,0.999|0,-0.001,0,-0.001,0.997,0.063,0,-0.064,0.997,1,0,-0.0'
- ..'01|0.533,0,-0.4,-0.001,0.997,0.063,0,-0.064,0.997,1,0,-0.001|-0.001,0,-0.534,1,0,-0.001,0,-0.064,0.998,0,-0.999,-0.064|0.533,0.373,-0.001,-0.001,0.998,0.063,0,-0.064,0.998,1,0,-0.001|-0.001,0.132,0.4,'
- ..'0,-0.064,0.998,-0.001,0.998,0.063,-1,-0.001,0|0,-0.401,-0.133,0,-0.064,0.997,-1,-0.001,0,0,-0.998,-0.064|0,0,0.132,-1,-0.001,0,0,-0.064,0.998,-0.001,0.998,0.063|0,-0.401,0.933,0,-0.064,0.998,1,0,-0.00'
- ..'1,-0.001,0.998,0.063|0,-0.934,0.4,0,-0.064,0.997,0,-0.998,-0.064,1,0,-0.001|-0.001,-0.374,-0.534,1,0,-0.001,0,-0.064,0.998,0,-0.999,-0.064|-0.534,0,-0.401,0,-0.998,-0.064,0,-0.064,0.997,-1,-0.001,0|-0'
- ..'.001,0,-0.934,1,0,0,0,-0.064,0.997,0,-0.998,-0.064|0,0,-0.001,-0.001,0,-1,0,0.999,0,1,-0.001,-0.001|0,-0.401,-0.133,0,0.999,0,-1,0,0,0,-0.001,0.999|-0.001,0,0,-0.001,0.997,-0.07,0,0.069,0.997,1,0,-0.0'
- ..'01|0.533,0,-0.4,-0.001,0.997,-0.07,0,0.069,0.997,1,0,0|-0.001,0,-0.534,1,0,-0.001,0,0.069,0.997,0,-0.998,0.069|0.533,0.373,-0.001,-0.001,0.997,-0.07,0,0.069,0.997,1,0,-0.001|-0.001,0.132,0.4,0,0.069,0'
- ..'.997,-0.001,0.997,-0.07,-1,-0.001,0|0,-0.401,-0.133,0,0.069,0.997,-1,-0.001,0,0,-0.998,0.069|0,0,0.132,-1,-0.001,0,0,0.069,0.997,-0.001,0.997,-0.07|0,-0.401,0.933,0,0.069,0.997,1,0,-0.001,-0.001,0.997'
- ..',-0.07|0,-0.934,0.4,0,0.069,0.997,0,-0.998,0.069,1,0,-0.001|-0.001,-0.374,-0.534,1,0,-0.001,0,0.069,0.997,0,-0.998,0.069|-0.534,0,-0.401,0,-0.998,0.069,0,0.069,0.997,-1,-0.001,0|-0.001,0,-0.934,1,0,0,'
- ..'0,0.069,0.997,0,-0.998,0.069|0,0.132,0.4,0,0.999,0,-0.001,0,-1,-1,0,0|-0.001,0,-0.934,1,-0.001,-0.001,0,0.999,0,0,-0.001,0.999|0,-0.001,-0.001,-1,0,0,0,1,-0.001,-0.001,-0.001,-1|0,0,0,-0.031,-0.999,0.'
- ..'051,-0.998,0.027,-0.066,0.064,-0.054,-0.997|0,0,0,-1,0,0,0,1,-0.001,-0.001,-0.001,-1.001|0,-0.001,-0.001,-1,-0.001,0,-0.001,1,-0.001,-0.001,-0.001,-1.001|-0.001,0,-0.001,-1,-0.001,-0.001,-0.001,1,-0.0'
- ..'01,0,-0.001,-1.001|0,-0.001,0,-1,-0.001,-0.001,-0.001,1,-0.001,0,-0.001,-1.001|0,-0.001,-0.001,-1,-0.001,-0.001,-0.001,1,-0.001,0,-0.001,-1.001|OpenSound|http://www.roblox.com/asset/?id=22593428|1|Dri'
- ..'nkSound|http://www.roblox.com/asset/?id=22593942|0,0,0,-1,-0.001,-0.001,-0.001,1,-0.001,0,-0.001,-1|0,0,0,-1,-0.001,0,-0.001,1,0,-0.001,0,-1|Local Gui|Welding;0,68>17>2,68>18>2,69>17>2,69>18>2,70>17>2'
- ..',70>18>2,71>17>2,71>18>2,72>17>2,72>18>2,73>17>2,73>18>2,74>17>2,74>18>2,75>17>2,75>18>2,76>17>2,76>18>2,79>17>2,79>18>2,80>17>2,80>18>2,81>17>2,81>18>2;2|1:2|2:3|3:4|4:5|5:6|6:7;n;1|1:8|7:9|8:10|9:11'
- ..'|10:12|11:13|12:13|7:9|7:9;n;3|13:14|2:15|14:16;4|15:17|16:17;4|15:18|16:18;4|15:19|16:19;4|15:20|16:20;4|15:21|16:21;4|15:21|16:22;4|15:21|16:23;4|15:21|16:24;4|15:21|16:25;4|15:21|16:26;4|15:21|16:2'
- ..'7;4|15:21|16:28;4|15:21|16:29;4|15:21|16:30;4|15:21|16:31;4|15:21|16:32;4|15:33|16:33;4|15:33|16:34;4|15:33|16:35;4|15:33|16:36;4|15:33|16:37;4|15:33|16:38;4|15:33|16:39;4|15:33|16:40;4|15:33|16:41;4|'
- ..'15:33|16:42;4|15:33|16:43;4|15:33|16:44;4|15:45|16:45;4|15:45|16:22;4|15:45|16:23;4|15:45|16:24;4|15:45|16:25;4|15:45|16:46;4|15:45|16:27;4|15:45|16:28;4|15:45|16:29;4|15:45|16:30;4|15:45|16:31;4|15:4'
- ..'5|16:32;4|15:47|16:47;4|15:47|16:48;4|15:47|16:49;4|15:47|16:50;4|15:47|16:51;4|15:47|16:52;4|15:47|16:53;4|15:47|16:54;4|15:47|16:55;4|15:47|16:56;4|15:47|16:57;4|15:47|16:58;4|15:45|16:45;4|15:45|16'
- ..':22;4|15:45|16:23;4|15:45|16:24;4|15:45|16:59;4|15:45|16:46;4|15:45|16:27;4|15:45|16:28;4|15:45|16:29;4|15:45|16:30;4|15:45|16:31;4|15:45|16:60;4|15:61|16:61;4|15:62|16:62;4|15:63|16:63;4|15:64|16:64;'
- ..'4|15:65|16:65;4|15:66|16:66;4|15:67|16:67;4|15:67|16:67;4|15:65|16:65;5|1:68|19:69|20:70;5|1:71|19:72|20:70;4|15:73|16:73;4|15:74|16:74;4|15:74|16:74;p;6|1:75;7|1:76;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