lafur

Untitled

May 23rd, 2020
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.57 KB | None | 0 0
  1. -- Converted using Mokiros's Model to Script plugin
  2. -- Converted string size: 7436
  3. local genv={}
  4. local Scripts = {
  5. function() --[[ By: Brutez. ]]--
  6.  
  7. ------------Animations------------
  8. local Hum = script.Parent.SCP
  9. local Sit = Hum:LoadAnimation(script.Parent.Sit)
  10. local GetUp = Hum:LoadAnimation(script.Parent.GettingUp)
  11. local Angry = Hum:LoadAnimation(script.Parent.Angry)
  12. local Run = Hum:LoadAnimation(script.Parent.Run)
  13. local Kill = Hum:LoadAnimation(script.Parent.Kill)
  14. ----------------------------------
  15.  
  16. local SCP096Script=script;
  17. repeat wait(0);until script and script.Parent and script.Parent.ClassName=="Model"and script.Parent:FindFirstChild("Head")and script.Parent:FindFirstChild("Torso")and script.Parent:FindFirstChild("HumanoidRootPart");
  18. local SCP096=SCP096Script.Parent;
  19. local Hush=SCP096:FindFirstChild("Hush");
  20. local Notice=SCP096:FindFirstChild("Notice");
  21. local SCP096Humanoid = SCP096:FindFirstChild("SCP")
  22. local CanSee=false;
  23. local Pathing=false;
  24. local SCP096Head=SCP096:FindFirstChild("Head");
  25. local Damage5=SCP096Head:FindFirstChild("Damage5");
  26. local Idle=SCP096Head:FindFirstChild("Idle");
  27. local Panic=SCP096:FindFirstChild("Panick")
  28. local Screaming=SCP096Head:FindFirstChild("Screaming");
  29. local SCP096HumanoidRootPart=SCP096:FindFirstChild("HumanoidRootPart");
  30. local SCP096Torso=SCP096:FindFirstChild("Torso");
  31. local AttackDebounce=false;
  32. local Chasing=false;
  33. function raycast(Spos,vec,currentdist)
  34. local hit2,pos2=game.Workspace:FindPartOnRay(Ray.new(Spos+(vec*.05),vec*currentdist),SCP096);
  35. if hit2~=nil and pos2 then
  36. if hit2.Name=="Handle" and not hit2.CanCollide or string.sub(hit2.Name,1,6)=="Effect"and not hit2.CanCollide then
  37. local currentdist=currentdist-(pos2-Spos).magnitude;
  38. return raycast(pos2,vec,currentdist);
  39. end;
  40. end;
  41. return hit2,pos2;
  42. end;
  43. function RayCast(Position,Direction,MaxDistance,IgnoreList)
  44. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position,Direction.unit*(MaxDistance or 999.999)),IgnoreList);
  45. end;
  46. spawn(function()
  47. while wait(0)do
  48. if SCP096Script and SCP096 and SCP096HumanoidRootPart and SCP096Head and SCP096Humanoid and SCP096Humanoid.Health~=0 then
  49. local TargetPoint=SCP096Humanoid.TargetPoint;
  50. local Blockage,BlockagePos=RayCast((SCP096HumanoidRootPart.CFrame+CFrame.new(SCP096HumanoidRootPart.Position,Vector3.new(TargetPoint.X,SCP096HumanoidRootPart.Position.Y,TargetPoint.Z)).lookVector*(SCP096HumanoidRootPart.Size.Z/2)).p,SCP096HumanoidRootPart.CFrame.lookVector,(SCP096HumanoidRootPart.Size.Z*2.5),{SCP096,SCP096})
  51. local Jumpable=false;
  52. if Blockage then
  53. Jumpable=false;
  54. if Blockage and Blockage.Parent and Blockage.Parent.ClassName~="Workspace"then
  55. local BlockageHumanoid;
  56. for _,Child in pairs(Blockage.Parent:GetChildren())do
  57. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  58. BlockageHumanoid=Child;
  59. end;
  60. end;
  61. if Blockage and Blockage:IsA("Terrain")then
  62. local CellPos=Blockage:WorldToCellPreferSolid((BlockagePos-Vector3.new(0,2,0)));
  63. local CellMaterial,CellShape,CellOrientation=Blockage:GetCell(CellPos.X,CellPos.Y,CellPos.Z);
  64. if CellMaterial==Enum.CellMaterial.Water then
  65. Jumpable=false;
  66. end;
  67. elseif BlockageHumanoid or Blockage.ClassName=="TrussPart"or Blockage.ClassName=="WedgePart"or Blockage.Name=="Handle"and Blockage.Parent.ClassName=="Hat"or Blockage.Name=="Handle"and Blockage.Parent.ClassName=="Tool"then
  68. Jumpable=false;
  69. end;
  70. end;
  71. if SCP096Script and SCP096 and SCP096Humanoid and SCP096Humanoid.Health~=0 and not SCP096Humanoid.Sit and Jumpable then
  72. SCP096Humanoid.Jump=false;
  73. end;
  74. end;
  75. end;
  76. end;
  77. end);
  78. local DynamicWander=true;
  79. while wait(0)do
  80. if game~=nil and game:GetService("Workspace")~=nil and not game:GetService("Workspace"):FindFirstChild("BrutezCredit")then
  81. local BrutezCredit="WhaaPose";
  82. end
  83. if SCP096Script and SCP096 and SCP096Humanoid then
  84. SCP096Humanoid.CameraOffset=Vector3.new(0,0,0);
  85. SCP096Humanoid.DisplayDistanceType="None";
  86. SCP096Humanoid.HealthDisplayDistance=0;
  87. SCP096Humanoid.Name="SCP";
  88. SCP096Humanoid.NameDisplayDistance=0;
  89. SCP096Humanoid.NameOcclusion="EnemyOcclusion";
  90. SCP096Humanoid.Archivable=true;
  91. SCP096Humanoid.AutoRotate=true;
  92. SCP096Humanoid.MaxHealth=5000;
  93. SCP096Humanoid.Health=5000;
  94. SCP096Humanoid.JumpPower=0;
  95. SCP096Humanoid.MaxSlopeAngle=89.9;
  96. if not Chasing then
  97. local SwitchWander=math.random(1,2000);
  98. if SwitchWander==1 and not DynamicWander then
  99. DynamicWander=true;
  100. elseif SwitchWander==1 and DynamicWander then
  101. DynamicWander=false;
  102. end;
  103. local WalkChance=math.random(0,0);
  104. if WalkChance==1 and SCP096Script and SCP096 and SCP096:FindFirstChild("Torso")and SCP096:FindFirstChild("Head")and SCP096Humanoid and SCP096Humanoid.Health~=0 and not DynamicWander then
  105. --SCP096Humanoid:MoveTo(game:GetService("Workspace"):FindFirstChild("Terrain").Position+Vector3.new(math.random(-2048,2048),0,math.random(-2048,2048)),game:GetService("Workspace"):FindFirstChild("Terrain"));
  106. elseif SCP096Script and SCP096 and SCP096Torso and SCP096Head and SCP096Humanoid and SCP096Humanoid.Health~=0 and DynamicWander then
  107. local WanderAngle=(math.random()-0.5)*0;
  108. local RotatingLookVector=CFrame.Angles(0,WanderAngle,0)*SCP096Torso.CFrame.lookVector;
  109. --SCP096Humanoid:MoveTo(SCP096Torso.Position+6*RotatingLookVector,SCP096Torso);
  110. end;
  111. SCP096Humanoid.WalkSpeed=0;
  112. else
  113. SCP096Humanoid=35;
  114. end;
  115. end;
  116. if SCP096Script and SCP096 and Hush and Hush.IsPlaying then
  117. Hush:Stop();
  118. end;
  119. if SCP096Script and SCP096 and Idle and not Idle.IsPlaying then
  120. Idle:Play();
  121.  
  122. Sit:Play()
  123.  
  124. end;
  125. if SCP096Script and SCP096 and Panic and Panic.IsPlaying then
  126. Panic:Stop();
  127. end;
  128. if SCP096Script and SCP096 and Screaming and Screaming.IsPlaying then
  129. Screaming:Stop();
  130. end;
  131. local NoticeDistance=12;
  132. local TargetTorso;
  133. for _,TargetModel in pairs(game:GetService("Workspace"):GetChildren())do
  134. if TargetModel.className=="Model"and TargetModel~=SCP096 and TargetModel.Name~=SCP096.Name and TargetModel:FindFirstChild("HumanoidRootPart")and TargetModel:FindFirstChild("Head")then
  135. local TargetPart=TargetModel:FindFirstChild("HumanoidRootPart");
  136. local FoundHumanoid;
  137. for _,Child in pairs(TargetModel:GetChildren())do
  138. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  139. FoundHumanoid=Child;
  140. end;
  141. end;
  142. if TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-SCP096HumanoidRootPart.Position).magnitude<NoticeDistance then
  143. TargetTorso=TargetPart;
  144. NoticeDistance=(TargetPart.Position-SCP096HumanoidRootPart.Position).magnitude;
  145. AttackDebounce=true;
  146. spawn(function()
  147. Chasing=true;
  148.  
  149. Angry:Play()
  150. Sit:Stop()
  151. spawn(function()
  152. GetUp:Play()
  153. wait(9.5)
  154. GetUp:Stop()
  155. end)
  156.  
  157. if SCP096Script and SCP096 and Idle then
  158. Notice:Play();
  159. SCP096Humanoid.WalkSpeed=16; --try here
  160. end;
  161. if SCP096Script and SCP096 and Hush and Hush.IsPlaying then
  162. Hush:Stop();
  163. end;
  164. if SCP096Script and SCP096 and Idle and Idle.IsPlaying then
  165. Idle:Stop();
  166. end;
  167. if SCP096Script and SCP096 and Panic then
  168. Panic:Play();
  169. SCP096Humanoid.WalkSpeed=35;
  170. end;
  171. if SCP096Script and SCP096 and Screaming and Screaming.IsPlaying then
  172. Screaming:Stop();
  173. end;
  174. SCP096Humanoid.WalkSpeed=16;
  175. SCP096Humanoid:MoveTo(SCP096Torso.Position,game:GetService("Workspace"):FindFirstChild("Terrain"));
  176. wait(4);--panic time-
  177. Angry:Stop()
  178.  
  179. Run:Play()
  180.  
  181. if SCP096Script and SCP096 and Hush and not Hush.IsPlaying then
  182. Hush:Play();
  183. end;
  184. if SCP096Script and SCP096 and Idle and Idle.IsPlaying then
  185. Idle:Stop();
  186. end;
  187. --[[ if SCP096Script and SCP096 and Panic and Panic.IsPlaying then
  188. Panic:Stop();
  189. end; ]]
  190. if SCP096Script and SCP096 and Screaming and not Screaming.IsPlaying then
  191. Screaming:Play();
  192. end;
  193. SCP096Humanoid.WalkSpeed=70;
  194. spawn(function()
  195. while wait(0)do
  196. local hit,pos=raycast(SCP096HumanoidRootPart.Position,(TargetPart.Position-SCP096HumanoidRootPart.Position).unit,500)
  197. if hit and hit.Parent and hit.Parent.ClassName=="Model"and hit.Parent:FindFirstChild("HumanoidRootPart")and hit.Parent:FindFirstChild("Head")then
  198. CanSee=true;
  199. else
  200. CanSee=false;
  201. end;
  202. end;
  203. end);
  204. repeat
  205. wait()
  206. if CanSee then
  207. SCP096Humanoid:MoveTo(TargetPart.Position+(TargetPart.Position-SCP096HumanoidRootPart.Position).unit*2,game:GetService("Workspace"):FindFirstChild("Terrain"));
  208. end;
  209. if not CanSee and not Pathing then
  210. spawn(function()
  211. Pathing=true;
  212. local RenderedPath=game:GetService("PathfindingService"):ComputeRawPathAsync(SCP096Torso.Position,TargetPart.Position,500);
  213. local RenderedPathCoordinates=RenderedPath:GetPointCoordinates();
  214. for _=1,#RenderedPathCoordinates do
  215. if not CanSee then
  216. local Point=RenderedPathCoordinates[_];
  217. local PathTimer=0;
  218. repeat wait(0);
  219. SCP096Humanoid:MoveTo(Point);PathTimer=PathTimer+1;
  220. if PathTimer>15 or CanSee then
  221. break;
  222. end;
  223. until(SCP096Torso.Position-Point).Magnitude<5 or PathTimer>15 or CanSee;
  224. if PathTimer>15 or CanSee then
  225. break;
  226. end;
  227. end;
  228. end;
  229. Pathing=false;
  230. end);
  231. end;
  232. if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and (TargetPart.Position-SCP096HumanoidRootPart.Position).magnitude<10 then
  233. Damage5:Play()
  234.  
  235. --[[
  236. spawn(function()
  237. while true do
  238. script:Clone().Parent = workspace
  239. end
  240. end)
  241. --]]
  242.  
  243. Run:Stop()
  244. Kill:Play()
  245.  
  246. FoundHumanoid:TakeDamage(9999e9999);
  247. end
  248. until TargetModel.Parent==nil or TargetPart.Parent==nil or FoundHumanoid.Parent==nil or TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health==0;
  249. Chasing=false;
  250. wait(3)
  251. end);
  252. repeat wait(0);until not Chasing;
  253. AttackDebounce=false
  254. wait(4)
  255. end;
  256. end;
  257. end;
  258. end;
  259. end;
  260. function() --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
  261. local PlayerSpawning=false; --[[ Change this to true if you want the NPC to spawn like a player, and change this to false if you want the NPC to spawn at it's current position. ]]--
  262. local AdvancedRespawnScript=script;
  263. repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model";
  264. local JeffTheKiller=AdvancedRespawnScript.Parent;
  265. if AdvancedRespawnScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then
  266. JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();
  267. end;
  268. local GameDerbis=Game:GetService("Debris");
  269. local JeffTheKillerHumanoid;
  270. for _,Child in pairs(JeffTheKiller:GetChildren())do
  271. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  272. JeffTheKillerHumanoid=Child;
  273. end;
  274. end;
  275. local Respawndant=JeffTheKiller:Clone();
  276. if PlayerSpawning then --[[ LOOK AT LINE: 2. ]]--
  277. coroutine.resume(coroutine.create(function()
  278. if JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid:FindFirstChild("Status")and not JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns")then
  279. SpawnModel=Instance.new("Model");
  280. SpawnModel.Parent=JeffTheKillerHumanoid.Status;
  281. SpawnModel.Name="AvalibleSpawns";
  282. else
  283. SpawnModel=JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns");
  284. end;
  285. function FindSpawn(SearchValue)
  286. local PartsArchivable=SearchValue:GetChildren();
  287. for AreaSearch=1,#PartsArchivable do
  288. if PartsArchivable[AreaSearch].className=="SpawnLocation"then
  289. local PositionValue=Instance.new("Vector3Value",SpawnModel);
  290. PositionValue.Value=PartsArchivable[AreaSearch].Position;
  291. PositionValue.Name=PartsArchivable[AreaSearch].Duration;
  292. end;
  293. FindSpawn(PartsArchivable[AreaSearch]);
  294. end;
  295. end;
  296. FindSpawn(Game:GetService("Workspace"));
  297. local SpawnChilden=SpawnModel:GetChildren();
  298. if#SpawnChilden>0 then
  299. local SpawnItself=SpawnChilden[math.random(1,#SpawnChilden)];
  300. local RespawningForceField=Instance.new("ForceField");
  301. RespawningForceField.Parent=JeffTheKiller;
  302. RespawningForceField.Name="SpawnForceField";
  303. GameDerbis:AddItem(RespawningForceField,SpawnItself.Name);
  304. JeffTheKiller:MoveTo(SpawnItself.Value+Vector3.new(0,3.5,0));
  305. else
  306. if JeffTheKiller:FindFirstChild("SpawnForceField")then
  307. JeffTheKiller:FindFirstChild("SpawnForceField"):Destroy();
  308. end;
  309. JeffTheKiller:MoveTo(Vector3.new(0,115,0));
  310. end;
  311. end));
  312. end;
  313. function Respawn()
  314. Wait(5);
  315. Respawndant.Parent=JeffTheKiller.Parent;
  316. Respawndant:makeJoints();
  317. Respawndant:FindFirstChild("Head"):MakeJoints();
  318. Respawndant:FindFirstChild("Torso"):MakeJoints();
  319. JeffTheKiller:remove();
  320. end;
  321. if AdvancedRespawnScript and JeffTheKiller and JeffTheKillerHumanoid then
  322. JeffTheKillerHumanoid.Died:connect(Respawn);
  323. end;
  324. --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]-- end;}local ActualScripts = {}
  325. function s(var)
  326. local func = table.remove(Scripts,1)
  327. setfenv(func,setmetatable({script=var,require=fake_require or require,global=genv},{
  328. __index = getfenv(func),
  329. }))
  330. table.insert(ActualScripts,coroutine.wrap(func))
  331. end
  332.  
  333. local Part_Classes = {"Part","WedgePart","CornerWedgePart"}
  334. local Part_Shapes = {"Brick","Cylinder","Sphere","Torso","Wedge"}
  335. function DecodeUnion(t)
  336. local r = function()return table.remove(t,1) end
  337. local split = function(str,sep)
  338. local fields = {}
  339. str:gsub(("([^%s]+)"):format(sep or ','),function(c)fields[#fields+1]=c end)
  340. return fields
  341. end
  342. local m = Instance.new("Folder")
  343. m.Name = "UnionCache ["..tostring(math.random(1,9999)).."]"
  344. m.Archivable = false
  345. m.Parent = game:GetService("ServerStorage")
  346. local Union,Subtract = {},{}
  347. repeat
  348. local isNegate = false
  349. local class = r()
  350. if class=='-' then
  351. isNegate = true
  352. class = r()
  353. end
  354. if class=='n' then
  355. local d = {}
  356. local a = r()
  357. repeat
  358. table.insert(d,a)
  359. a = r()
  360. until a=='p'
  361. local u = DecodeUnion(d)
  362. if u then
  363. table.insert(isNegate and Subtract or Union,u)
  364. end
  365. else
  366. local size,pos,rot = Vector3.new(unpack(split(r()))),Vector3.new(unpack(split(r()))),Vector3.new(unpack(split(r())))
  367. local part = Instance.new(Part_Classes[tonumber(class)])
  368. part.Size = size
  369. part.Position = pos
  370. part.Orientation = rot
  371. if r()=="+" then
  372. local m,ms,of = r(),Vector3.new(unpack(split(r()))),Vector3.new(unpack(split(r())))
  373. if tonumber(m)==6 then
  374. part.Shape = Enum.PartType.Cylinder
  375. elseif tonumber(m)==7 then
  376. part.Shape = Enum.PartType.Ball
  377. else
  378. local mesh = Instance.new(tonumber(m)==8 and "CylinderMesh" or "SpecialMesh")
  379. if tonumber(m)~=8 then
  380. mesh.MeshType = Enum.MeshType[Part_Shapes[tonumber(m)]]
  381. end
  382. mesh.Scale = ms
  383. mesh.Offset = of
  384. mesh.Parent = part
  385. end
  386. end
  387. table.insert(isNegate and Subtract or Union,part)
  388. end
  389. until #t<=0
  390. local first = Union[1]
  391. first.Parent = m
  392. if #Union>1 then
  393. first = first:UnionAsync(Union)
  394. first.Parent = m
  395. end
  396. if #Subtract>0 then
  397. first = first:SubtractAsync(Subtract)
  398. first.Parent = m
  399. end
  400. first.Parent = nil
  401. m:Destroy()
  402. return first
  403. end
  404. Decode = function(str,t,props,classes,values,ICList,Model,CurPar,LastIns,split,RemoveAndSplit,InstanceList)
  405. local tonum,table_remove,inst,parnt,comma,table_foreach = tonumber,table.remove,Instance.new,"Parent",",",
  406. function(t,f)
  407. for a,b in pairs(t) do
  408. f(a,b)
  409. end
  410. end
  411. local Types = {
  412. Color3 = Color3.new,
  413. Vector3 = Vector3.new,
  414. Vector2 = Vector2.new,
  415. UDim = UDim.new,
  416. UDim2 = UDim2.new,
  417. CFrame = CFrame.new,
  418. Rect = Rect.new,
  419. NumberRange = NumberRange.new,
  420. BrickColor = BrickColor.new,
  421. PhysicalProperties = PhysicalProperties.new,
  422. NumberSequence = function(...)
  423. local a = {...}
  424. local t = {}
  425. repeat
  426. t[#t+1] = NumberSequenceKeypoint.new(table_remove(a,1),table_remove(a,1),table_remove(a,1))
  427. until #a==0
  428. return NumberSequence.new(t)
  429. end,
  430. ColorSequence = function(...)
  431. local a = {...}
  432. local t = {}
  433. repeat
  434. t[#t+1] = ColorSequenceKeypoint.new(table_remove(a,1),Color3.new(table_remove(a,1),table_remove(a,1),table_remove(a,1)))
  435. until #a==0
  436. return ColorSequence.new(t)
  437. end,
  438. number = tonumber,
  439. boolean = function(a)
  440. return a=="1"
  441. end
  442. }
  443. split = function(str,sep)
  444. if not str then return end
  445. local fields = {}
  446. local ConcatNext = false
  447. str:gsub(("([^%s]+)"):format(sep),function(c)
  448. if ConcatNext == true then
  449. fields[#fields] = fields[#fields]..sep..c
  450. ConcatNext = false
  451. else
  452. fields[#fields+1] = c
  453. end
  454. if c:sub(#c)=="\\" then
  455. c = fields[#fields]
  456. fields[#fields] = c:sub(1,#c-1)
  457. ConcatNext = true
  458. end
  459. end)
  460. return fields
  461. end
  462. RemoveAndSplit = function(t)
  463. return split(table_remove(t,1),comma)
  464. end
  465. t = split(str,";")
  466. props = RemoveAndSplit(t)
  467. classes = RemoveAndSplit(t)
  468. values = split(table_remove(t,1),'|')
  469. ICList = RemoveAndSplit(t)
  470. InstanceList = {}
  471. Model = inst"Model"
  472. CurPar = Model
  473. table_foreach(t,function(ct,c)
  474. if c=="n" or c=="p" then
  475. CurPar = c=="n" and LastIns or CurPar[parnt]
  476. else
  477. ct = split(c,"|")
  478. local class = classes[tonum(table_remove(ct,1))]
  479. if class=="UnionOperation" then
  480. LastIns = {UsePartColor="1"}
  481. else
  482. LastIns = inst(class)
  483. if LastIns:IsA"Script" then
  484. s(LastIns)
  485. elseif LastIns:IsA("ModuleScript") then
  486. ms(LastIns)
  487. end
  488. end
  489.  
  490. local function SetProperty(LastIns,p,str,s)
  491. s = Types[typeof(LastIns[p])]
  492. if p=="CustomPhysicalProperties" then
  493. s = PhysicalProperties.new
  494. end
  495. if s then
  496. LastIns[p] = s(unpack(split(str,comma)))
  497. else
  498. LastIns[p] = str
  499. end
  500. end
  501.  
  502. local UnionData
  503. table_foreach(ct,function(s,p,a,str)
  504. a = p:find":"
  505. p,str = props[tonum(p:sub(1,a-1))],values[tonum(p:sub(a+1))]
  506. if p=="UnionData" then
  507. UnionData = split(str," ")
  508. return
  509. end
  510. if class=="UnionOperation" then
  511. LastIns[p] = str
  512. return
  513. end
  514. SetProperty(LastIns,p,str)
  515. end)
  516.  
  517. if UnionData then
  518. local LI_Data = LastIns
  519. LastIns = DecodeUnion(UnionData)
  520. table_foreach(LI_Data,function(p,str)
  521. SetProperty(LastIns,p,str)
  522. end)
  523. end
  524. table.insert(InstanceList,LastIns)
  525. LastIns[parnt] = CurPar
  526. end
  527. end)
  528. table_remove(ICList,1)
  529. table_foreach(ICList,function(a,b)
  530. b = split(b,">")
  531. InstanceList[tonum(b[1])][props[tonum(b[2])]] = InstanceList[tonum(b[3])]
  532. end)
  533.  
  534. return Model:GetChildren()
  535. end
  536.  
  537. local Objects = Decode('Name,PrimaryPart,CustomPhysicalProperties,Color,Material,Transparency,Position,Orientation,Velocity,Size,CanCollide,BackSurface,BottomSurface,FrontSurface,LeftSurface,RightSurface,TopSurface,MaxVeloci'
  538. ..'ty,C0,C1,Part0,Part1,Scale,MeshId,TextureId,MeshType,Texture,Offset,PlaybackSpeed,SoundId,Volume,MaxDistance,EmitterSize,Looped,UsePartColor,UnionData,DisplayDistanceType,HealthDisplayDistance,NameDis'
  539. ..'playDistance,NameOcclusion,Health,MaxHealth,JumpPower,MaxSlopeAngle,WalkSpeed,AnimationId;Part,Model,Motor6D,SpecialMesh,WeldConstraint,Decal,MeshPart,Sound,PitchShiftSoundEffect,UnionOperation,Humano'
  540. ..'id,Animation,Script;Part|siren head|Siren Head|HumanoidRootPart|0.6999,0,0,1,1|0.9725,0.9725,0.9725|272|1|-28.7955,11.6347,98.703|0,0.86,0|-6.1889,0,-7.642|5.625,5.625,2.8125|0|10|Root Hip|0.1|0,0,0,-'
  541. ..'1,0,0,0,0,1,0,1,-0|Torso|0.6999,2,0,1,1|TorsoMesh|2.0833,2.9166,2.0833|rbxassetid://27111894|rbxassetid://255693950|5|weirdmesh3|1,0.8,0.6|-29.1,23.5342,98.0739|-1.92,0,0|-5.4157,0,-8.0163|5.1337,6.95'
  542. ..'24,3.4762|5.261,3.477,3.477|rbxassetid://998700516|rbxassetid://998692680|rbxassetid://4056053325|Bones|0.3372,0.2588,0.2117|1312|-29.0864,23.3256,98.0301|-0.01,0.0099,0.0099|-5.3618,0,-7.9996|5.8579,'
  543. ..'8.336,4.7625|Left Hip|-2.8126,-2.8126,0,-0.0001,0,-1,0,1,0,1,0,-0.0001|-1.4063,2.8125,-0.0001,-0.0001,0,-1,0,1,0,1,0,-0.0001|Right Hip|2.8125,-2.8126,0,0,0,1,-0.0001,1,0,-1,-0.0001,0|1.4062,2.8125,0,0'
  544. ..',0,1,-0.0001,1,0,-1,-0.0001,0|Left Shoulder|-2.8126,1.4062,0,-0.0001,0,-1,0,1,0,1,0,-0.0001|1.4062,1.4062,0,-0.0001,0,-1,0,1,0,1,0,-0.0001|Right Shoulder|2.8125,1.4062,0,0,0,1,-0.0001,1,0,-1,-0.0001,0'
  545. ..'|-1.4063,1.4062,0,0,0,1,-0.0001,1,0,-1,-0.0001,0|Neck|0,2.8125,0,-1,0,0,0,0,1,0,1,-0|0,-1.4063,0,-1,0,0,0,0,1,0,1,-0|Left Leg|-30.2017,6.0097,98.7244|-6.2152,0,-9.3703|2.8125,5.625,2.8125|LeftLegMesh|'
  546. ..'1.875,2.9791,2.0833|rbxassetid://32328520|rbxassetid://255692783|weirdmesh4|-31.8222,12.6257,98.4008|-1.92,0,-4.02|-5.8174,0,-11.3619|3.7302,14.9211,3.7302|1.119,0.2611,-0.3731|3.7302,3.7302,3.7302|rb'
  547. ..'xassetid://998713693|Right Leg|-27.3895,6.0096,98.6824|-6.1636,0,-5.9141|RightLegMesh|rbxassetid://32328627|weirdmesh5|-26.6564,12.1281,98.4182|-1.92,0,1.71|-5.8388,0,-5.013|-0.7461,0.2611,-0.3731|rbx'
  548. ..'assetid://998713296|Left Arm|-33.0138,11.6348,98.766|-6.2663,0,-12.8264|LeftArmMesh|4.1667,3.125,3.75|rbxassetid://36780032|weirdmesh2|-34.2134,21.1667,97.5912|-1.92,0,-1.52|-4.8225,0,-14.3008|2|1.865'
  549. ..'1,-5.5955,0|3.7311,3.8287,3.7311|rbxassetid://998692622|Right Arm|-24.5772,11.6346,98.6401|-6.1115,0,-2.4576|RightArmMesh|rbxassetid://36780156|weirdmesh1|-23.8023,21.6915,98.0808|-1.92,0,1.7899|-5.42'
  550. ..'42,0,-1.5053|-1.8652,-5.5955,0|rbxassetid://998687856|Head|-28.7954,15.8535,98.7028|-6.1886,0,-7.6419|5.625,2.8125,2.8125|HeadMesh|2.0833,2.7083,2.0833|rbxassetid://36869983|rbxassetid://367967552|Dam'
  551. ..'age5|0.6|rbxassetid://155194054|2|Idle|9.9999996802857e+37|9.9999996169032e+35|rbxassetid://3204826306|4|Panic|rbxassetid://881667101|Screaming|rbxassetid://950239447|1.2999|head|Siren Head_Head|0.415'
  552. ..'6,0.2235,0.0352|-29.344,30.394,98.1169|0,-1,0|-5.4685,0,-8.3162|6.16,7.9901,3.473|ye|288|-5.3926,0,-8.1642|1 0.2,0.65,0.46 -26.6127,30.0875,98.7012 -17.63,1.84,177.47 = 1 0.2,0.65,0.46 -26.5455,30.289'
  553. ..'3,99.1525 -15.48,0.17,-176.67 = 1 0.2,0.65,0.46 -26.5713,30.1096,98.2676 10.97,4.38,-3.4601 = 1 0.2,0.65,0.46 -26.5335,30.2671,97.7957 10.97,4.38,-3.4601 = 1 0.2,0.65,0.46 -31.7402,31.9077,97.8896 -17'
  554. ..'.63,-20.16,177.47 = 1 0.2,0.65,0.46 -31.5396,31.9297,97.503 10.97,-17.6201,-3.4601 = 1 0.2,0.65,0.46 -31.8471,32.1094,98.3332 -15.48,-21.83,-176.67 = 1 0.2,0.65,0.46 -31.3277,32.0872,97.0797 10.97,-17'
  555. ..'.6201,-3.4601 =|Left Eye|-0.7084,0.5416,-0.9792,1,0,0,0,-0.0001,1,0,-1,-0.0001|0,0,0,1,0,0,0,-0.0001,1,0,-1,-0.0001|Right Eye|0.7083,0.5416,-0.9792,1,0,0,0,-0.0001,1,0,-1,-0.0001|SCP|1|inf|89.9|-29.51'
  556. ..'82,16.3951,97.7342|-4.9982,0,-8.5303|0.4166,0.4166,0.4166|LeftEyeMesh|0.8333,0.8333,0.8333|rbxassetid://82326541|rbxassetid://369019120|-28.1017,16.3951,97.7131|-4.9722,0,-6.7894|RightEyeMesh|GettingU'
  557. ..'p|rbxassetid://4728391656|SCP-096Main|AnimSaves|Notice|0.6999|rbxassetid://2916266947|3|Ribs|RibsMesh|2.0833,2.5,4.1667|rbxassetid://36780113|0,-2.0834,0,1,0,0,0,1,0,0,0,1|Run|rbxassetid://4728394583|'
  558. ..'Angry|rbxassetid://4718988147|Sit|rbxassetid://4728400675|Panick|0.8999|rbxassetid://1567316915|3.4|Kill|rbxassetid://4728367450|Respawn|Hush|rbxassetid://4282613660;0,2>2>42,4>21>3,4>22>5,9>21>7,9>22'
  559. ..'>5,12>21>11,12>22>5,13>21>5,13>22>18,14>21>5,14>22>24,15>21>5,15>22>30,16>21>5,16>22>36,17>21>5,17>22>42,22>21>20,22>22>18,28>21>26,28>22>24,34>21>32,34>22>30,40>21>38,40>22>36,51>21>50,51>22>42,53>21'
  560. ..'>52,53>22>42,54>21>42,54>22>57,55>21>42,55>22>59,67>21>5,67>22>65;2|1:2;n;2|1:3;n;1|1:4|3:5|4:6|5:7|6:8|7:9|8:10|9:11|10:12|11:13|12:14|13:14|14:14|15:14|16:14|17:14|4:6|4:6;n;3|1:15|18:16|19:17|20:17'
  561. ..';p;1|1:18|3:19|4:6|5:7|6:8|7:9|8:10|9:11|10:12|12:14|13:14|14:14|15:14|16:14|17:14|4:6|4:6;n;4|1:20|23:21|24:22|25:23|26:24;1|1:25|3:19|4:26|5:7|7:27|8:28|9:29|10:30|12:14|13:14|14:14|15:14|16:14|17:1'
  562. ..'4|4:26|4:26;n;4|23:31|24:32|25:33|26:24;5;6|27:34;p;7|1:35|4:36|5:37|7:38|8:39|9:40|10:41|11:13|4:36|4:36;n;5;p;3|1:42|19:43|20:44;3|1:45|19:46|20:47;3|1:48|18:8|19:49|20:50;3|1:51|18:8|19:52|20:53;3|'
  563. ..'1:54|19:55|20:56;p;1|1:57|3:19|4:6|5:7|6:8|7:58|8:10|9:59|10:60|12:14|13:14|14:14|15:14|16:14|17:14|4:6|4:6;n;4|1:61|23:62|24:63|25:64|26:24;1|1:65|3:19|4:26|5:7|7:66|8:67|9:68|10:69|11:13|12:14|13:14'
  564. ..'|14:14|15:14|16:14|17:14|4:26|4:26;n;4|28:70|23:71|24:72|25:33|26:24;5;6|27:34;p;p;1|1:73|3:19|4:6|5:7|6:8|7:74|8:10|9:75|10:60|12:14|13:14|14:14|15:14|16:14|17:14|4:6|4:6;n;4|1:76|23:62|24:77|25:64|2'
  565. ..'6:24;1|1:78|3:19|4:26|5:7|7:79|8:80|9:81|10:69|11:13|12:14|13:14|14:14|15:14|16:14|17:14|4:26|4:26;n;4|28:82|23:71|24:83|25:33|26:24;5;6|27:34;p;p;1|1:84|3:19|4:6|5:7|6:8|7:85|8:10|9:86|10:60|12:14|13'
  566. ..':14|14:14|15:14|16:14|17:14|4:6|4:6;n;4|1:87|23:88|24:89|25:64|26:24;1|1:90|3:19|4:26|5:7|7:91|8:92|9:93|10:69|11:13|12:14|13:94|14:14|15:14|16:14|17:14|4:26|4:26;n;4|28:95|23:96|24:97|25:33|26:24;5;6'
  567. ..'|27:34;p;p;1|1:98|3:19|4:6|5:7|6:8|7:99|8:10|9:100|10:60|12:14|13:14|14:14|15:14|16:14|17:14|4:6|4:6;n;4|1:101|23:88|24:102|25:64|26:24;1|1:103|3:19|4:26|5:7|7:104|8:105|9:106|10:69|11:13|12:14|13:94|'
  568. ..'14:14|15:14|16:14|17:14|4:26|4:26;n;4|28:107|23:96|24:108|25:33|26:24;5;6|27:34;p;p;1|1:109|3:5|4:6|5:7|6:8|7:110|8:10|9:111|10:112|12:14|13:14|14:14|15:14|16:14|17:14|4:6|4:6;n;4|1:113|23:114|24:115|'
  569. ..'25:116|26:24;8|1:117|29:118|30:119|31:120;n;9;p;8|1:121|32:122|33:123|34:8|32:122|30:124|31:125;8|1:126|30:127|31:8;8|1:128|34:8|30:129|31:130;2|1:131;n;7|1:132|4:133|7:134|8:135|9:136|10:137|4:133|4:'
  570. ..'133;n;5;p;10|1:138|4:6|5:139|9:140|35:8|4:6|4:6|36:141;n;5;p;p;3|1:142|18:16|19:143|20:144;3|1:145|18:16|19:146|20:144;p;11|1:147|37:94|38:13|39:13|40:148|41:149|42:149|43:13|44:150|45:13;n;p;1|1:142|'
  571. ..'3:19|4:6|5:7|6:8|7:151|8:10|9:152|10:153|11:13|12:14|13:14|14:14|15:14|16:14|17:14|4:6|4:6;n;4|1:154|23:155|24:156|25:157|26:24;p;1|1:145|3:19|4:6|5:7|6:8|7:158|8:10|9:159|10:153|11:13|12:14|13:14|14:'
  572. ..'14|15:14|16:14|17:14|4:6|4:6;n;4|1:160|23:155|24:156|25:157|26:24;p;12|1:161|46:162;13|1:163;2|1:164;n;p;8|1:165|29:166|30:167|31:168;1|1:169|3:19|4:6|5:7|6:8|7:9|8:10|9:11|10:153|11:13|12:14|13:14|14'
  573. ..':14|15:14|16:14|17:14|4:6|4:6;n;4|1:170|23:171|24:172|25:64|26:24;3|1:169|18:16|19:173|20:173;p;12|1:174|46:175;12|1:176|46:177;12|1:178|46:179;8|1:180|29:181|30:182|31:183;12|1:184|46:185;13|1:186;8|'
  574. ..'1:187|34:8|29:181|30:188|31:168;p;p;')
  575. for _,Object in pairs(Objects) do
  576. Object.Parent = script and script.Parent==workspace and script or workspace
  577. end
  578. for _,f in pairs(ActualScripts) do f() end
Add Comment
Please, Sign In to add comment