Advertisement
lafur

Untitled

May 23rd, 2020
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.42 KB | None | 0 0
  1. -- Converted using Mokiros's Model to Script plugin
  2. -- Converted string size: 12737
  3. local genv={}
  4. local Scripts = {
  5. function() function onTouched(hit)
  6. local human = hit.Parent:findFirstChild("Humanoid")
  7. if (human ~= nil) then
  8. human.Health = human.Health - 5 -- Change the amount to change the damage.
  9. end
  10. end
  11. script.Parent.Touched:connect(onTouched) end;
  12. function() name="NPC"
  13.  
  14. robo=script.Parent:clone()
  15.  
  16. while true do
  17. wait(15)
  18. if script.Parent.NPC.Health<1 then
  19. robot=robo:clone()
  20. robot.Parent=script.Parent.Parent
  21. robot:makeJoints()
  22. script.Parent:remove()
  23. end
  24. end
  25.  
  26.  
  27.  
  28. end;
  29. function() function waitForChild(parent, childName)
  30. local child = parent:findFirstChild(childName)
  31. if child then return child end
  32. while true do
  33. child = parent.ChildAdded:wait()
  34. if child.Name==childName then return child end
  35. end
  36. end
  37.  
  38. local Figure = script.Parent
  39. local Humanoid = waitForChild(Figure, "NPC")
  40. local pose = "Standing"
  41.  
  42. local currentAnim = ""
  43. local currentAnimInstance = nil
  44. local currentAnimTrack = nil
  45. local currentAnimKeyframeHandler = nil
  46. local currentAnimSpeed = 1.0
  47. local animTable = {}
  48. local animNames = {
  49. idle = {
  50. { id = "http://www.roblox.com/asset/?id=507766666", weight = 1 },
  51. { id = "http://www.roblox.com/asset/?id=507766951", weight = 1 },
  52. { id = "http://www.roblox.com/asset/?id=507766388", weight = 9 }
  53. },
  54. walk = {
  55. { id = "http://www.roblox.com/asset/?id=507777826", weight = 10 }
  56. },
  57. run = {
  58. { id = "http://www.roblox.com/asset/?id=507767714", weight = 10 }
  59. },
  60. swim = {
  61. { id = "http://www.roblox.com/asset/?id=507784897", weight = 10 }
  62. },
  63. swimidle = {
  64. { id = "http://www.roblox.com/asset/?id=507785072", weight = 10 }
  65. },
  66. jump = {
  67. { id = "http://www.roblox.com/asset/?id=507765000", weight = 10 }
  68. },
  69. fall = {
  70. { id = "http://www.roblox.com/asset/?id=507767968", weight = 10 }
  71. },
  72. climb = {
  73. { id = "http://www.roblox.com/asset/?id=507765644", weight = 10 }
  74. },
  75. sit = {
  76. { id = "http://www.roblox.com/asset/?id=507768133", weight = 10 }
  77. },
  78. toolnone = {
  79. { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
  80. },
  81. toolslash = {
  82. { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
  83. -- { id = "slash.xml", weight = 10 }
  84. },
  85. toollunge = {
  86. { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
  87. },
  88. wave = {
  89. { id = "http://www.roblox.com/asset/?id=507770239", weight = 10 }
  90. },
  91. point = {
  92. { id = "http://www.roblox.com/asset/?id=507770453", weight = 10 }
  93. },
  94. dance = {
  95. { id = "http://www.roblox.com/asset/?id=507771019", weight = 10 },
  96. { id = "http://www.roblox.com/asset/?id=507771955", weight = 10 },
  97. { id = "http://www.roblox.com/asset/?id=507772104", weight = 10 }
  98. },
  99. dance2 = {
  100. { id = "http://www.roblox.com/asset/?id=507776043", weight = 10 },
  101. { id = "http://www.roblox.com/asset/?id=507776720", weight = 10 },
  102. { id = "http://www.roblox.com/asset/?id=507776879", weight = 10 }
  103. },
  104. dance3 = {
  105. { id = "http://www.roblox.com/asset/?id=507777268", weight = 10 },
  106. { id = "http://www.roblox.com/asset/?id=507777451", weight = 10 },
  107. { id = "http://www.roblox.com/asset/?id=507777623", weight = 10 }
  108. },
  109. laugh = {
  110. { id = "http://www.roblox.com/asset/?id=507770818", weight = 10 }
  111. },
  112. cheer = {
  113. { id = "http://www.roblox.com/asset/?id=507770677", weight = 10 }
  114. },
  115. }
  116.  
  117. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  118. local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  119.  
  120. math.randomseed(tick())
  121.  
  122. function configureAnimationSet(name, fileList)
  123. if (animTable[name] ~= nil) then
  124. for _, connection in pairs(animTable[name].connections) do
  125. connection:disconnect()
  126. end
  127. end
  128. animTable[name] = {}
  129. animTable[name].count = 0
  130. animTable[name].totalWeight = 0
  131. animTable[name].connections = {}
  132.  
  133. -- check for config values
  134. local config = script:FindFirstChild(name)
  135. if (config ~= nil) then
  136. -- print("Loading anims " .. name)
  137. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  138. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  139. local idx = 1
  140. for _, childPart in pairs(config:GetChildren()) do
  141. if (childPart:IsA("Animation")) then
  142. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  143. animTable[name][idx] = {}
  144. animTable[name][idx].anim = childPart
  145. local weightObject = childPart:FindFirstChild("Weight")
  146. if (weightObject == nil) then
  147. animTable[name][idx].weight = 1
  148. else
  149. animTable[name][idx].weight = weightObject.Value
  150. end
  151. animTable[name].count = animTable[name].count + 1
  152. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  153. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  154. idx = idx + 1
  155. end
  156. end
  157. end
  158.  
  159. -- fallback to defaults
  160. if (animTable[name].count <= 0) then
  161. for idx, anim in pairs(fileList) do
  162. animTable[name][idx] = {}
  163. animTable[name][idx].anim = Instance.new("Animation")
  164. animTable[name][idx].anim.Name = name
  165. animTable[name][idx].anim.AnimationId = anim.id
  166. animTable[name][idx].weight = anim.weight
  167. animTable[name].count = animTable[name].count + 1
  168. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  169. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  170. end
  171. end
  172. end
  173.  
  174. -- Setup animation objects
  175. function scriptChildModified(child)
  176. local fileList = animNames[child.Name]
  177. if (fileList ~= nil) then
  178. configureAnimationSet(child.Name, fileList)
  179. end
  180. end
  181.  
  182. script.ChildAdded:connect(scriptChildModified)
  183. script.ChildRemoved:connect(scriptChildModified)
  184.  
  185.  
  186. for name, fileList in pairs(animNames) do
  187. configureAnimationSet(name, fileList)
  188. end
  189.  
  190. -- ANIMATION
  191.  
  192. -- declarations
  193. local toolAnim = "None"
  194. local toolAnimTime = 0
  195.  
  196. local jumpAnimTime = 0
  197. local jumpAnimDuration = 0.31
  198.  
  199. local toolTransitionTime = 0.1
  200. local fallTransitionTime = 0.2
  201.  
  202. -- functions
  203.  
  204. function stopAllAnimations()
  205. local oldAnim = currentAnim
  206.  
  207. -- return to idle if finishing an emote
  208. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  209. oldAnim = "idle"
  210. end
  211.  
  212. currentAnim = ""
  213. currentAnimInstance = nil
  214. if (currentAnimKeyframeHandler ~= nil) then
  215. currentAnimKeyframeHandler:disconnect()
  216. end
  217.  
  218. if (currentAnimTrack ~= nil) then
  219. currentAnimTrack:Stop()
  220. currentAnimTrack:Destroy()
  221. currentAnimTrack = nil
  222. end
  223. return oldAnim
  224. end
  225.  
  226. function setAnimationSpeed(speed)
  227. if speed ~= currentAnimSpeed then
  228. currentAnimSpeed = speed
  229. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  230. end
  231. end
  232.  
  233. function keyFrameReachedFunc(frameName)
  234. if (frameName == "End") then
  235. -- print("Keyframe : ".. frameName)
  236.  
  237. local repeatAnim = currentAnim
  238. -- return to idle if finishing an emote
  239. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  240. repeatAnim = "idle"
  241. end
  242.  
  243. local animSpeed = currentAnimSpeed
  244. playAnimation(repeatAnim, 0.15, Humanoid)
  245. setAnimationSpeed(animSpeed)
  246. end
  247. end
  248.  
  249. -- Preload animations
  250. function playAnimation(animName, transitionTime, humanoid)
  251.  
  252. local roll = math.random(1, animTable[animName].totalWeight)
  253. local origRoll = roll
  254. local idx = 1
  255. while (roll > animTable[animName][idx].weight) do
  256. roll = roll - animTable[animName][idx].weight
  257. idx = idx + 1
  258. end
  259.  
  260. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  261.  
  262. local anim = animTable[animName][idx].anim
  263.  
  264. -- switch animation
  265. if (anim ~= currentAnimInstance) then
  266.  
  267. if (currentAnimTrack ~= nil) then
  268. currentAnimTrack:Stop(transitionTime)
  269. currentAnimTrack:Destroy()
  270. end
  271.  
  272. currentAnimSpeed = 1.0
  273.  
  274. -- load it to the humanoid; get AnimationTrack
  275. currentAnimTrack = humanoid:LoadAnimation(anim)
  276.  
  277. -- play the animation
  278. currentAnimTrack:Play(transitionTime)
  279. currentAnim = animName
  280. currentAnimInstance = anim
  281.  
  282. -- set up keyframe name triggers
  283. if (currentAnimKeyframeHandler ~= nil) then
  284. currentAnimKeyframeHandler:disconnect()
  285. end
  286. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  287.  
  288. end
  289.  
  290. end
  291.  
  292. -------------------------------------------------------------------------------------------
  293. -------------------------------------------------------------------------------------------
  294.  
  295. local toolAnimName = ""
  296. local toolAnimTrack = nil
  297. local toolAnimInstance = nil
  298. local currentToolAnimKeyframeHandler = nil
  299.  
  300. function toolKeyFrameReachedFunc(frameName)
  301. if (frameName == "End") then
  302. -- print("Keyframe : ".. frameName)
  303. playToolAnimation(toolAnimName, 0.0, Humanoid)
  304. end
  305. end
  306.  
  307.  
  308. function playToolAnimation(animName, transitionTime, humanoid)
  309.  
  310. local roll = math.random(1, animTable[animName].totalWeight)
  311. local origRoll = roll
  312. local idx = 1
  313. while (roll > animTable[animName][idx].weight) do
  314. roll = roll - animTable[animName][idx].weight
  315. idx = idx + 1
  316. end
  317. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  318. local anim = animTable[animName][idx].anim
  319.  
  320. if (toolAnimInstance ~= anim) then
  321.  
  322. if (toolAnimTrack ~= nil) then
  323. toolAnimTrack:Stop()
  324. toolAnimTrack:Destroy()
  325. transitionTime = 0
  326. end
  327.  
  328. -- load it to the humanoid; get AnimationTrack
  329. toolAnimTrack = humanoid:LoadAnimation(anim)
  330.  
  331. -- play the animation
  332. toolAnimTrack:Play(transitionTime)
  333. toolAnimName = animName
  334. toolAnimInstance = anim
  335.  
  336. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  337. end
  338. end
  339.  
  340. function stopToolAnimations()
  341. local oldAnim = toolAnimName
  342.  
  343. if (currentToolAnimKeyframeHandler ~= nil) then
  344. currentToolAnimKeyframeHandler:disconnect()
  345. end
  346.  
  347. toolAnimName = ""
  348. toolAnimInstance = nil
  349. if (toolAnimTrack ~= nil) then
  350. toolAnimTrack:Stop()
  351. toolAnimTrack:Destroy()
  352. toolAnimTrack = nil
  353. end
  354.  
  355.  
  356. return oldAnim
  357. end
  358.  
  359. -------------------------------------------------------------------------------------------
  360. -------------------------------------------------------------------------------------------
  361.  
  362.  
  363. function onRunning(speed)
  364. if speed > 0.01 then
  365. local scale = 15.0
  366. playAnimation("walk", 0.1, Humanoid)
  367. setAnimationSpeed(speed / scale)
  368. pose = "Running"
  369. else
  370. playAnimation("idle", 0.1, Humanoid)
  371. pose = "Standing"
  372. end
  373. end
  374.  
  375. function onDied()
  376. pose = "Dead"
  377. end
  378.  
  379. function onJumping()
  380. playAnimation("jump", 0.1, Humanoid)
  381. jumpAnimTime = jumpAnimDuration
  382. pose = "Jumping"
  383. end
  384.  
  385. function onClimbing(speed)
  386. local scale = 5.0
  387. playAnimation("climb", 0.1, Humanoid)
  388. setAnimationSpeed(speed / scale)
  389. pose = "Climbing"
  390. end
  391.  
  392. function onGettingUp()
  393. pose = "GettingUp"
  394. end
  395.  
  396. function onFreeFall()
  397. if (jumpAnimTime <= 0) then
  398. playAnimation("fall", fallTransitionTime, Humanoid)
  399. end
  400. pose = "FreeFall"
  401. end
  402.  
  403. function onFallingDown()
  404. pose = "FallingDown"
  405. end
  406.  
  407. function onSeated()
  408. pose = "Seated"
  409. end
  410.  
  411. function onPlatformStanding()
  412. pose = "PlatformStanding"
  413. end
  414.  
  415. function onSwimming(speed)
  416. if speed > 1.00 then
  417. local scale = 10.0
  418. playAnimation("swim", 0.4, Humanoid)
  419. setAnimationSpeed(speed / scale)
  420. pose = "Swimming"
  421. else
  422. playAnimation("swimidle", 0.4, Humanoid)
  423. pose = "Standing"
  424. end
  425. end
  426.  
  427. function getTool()
  428. for _, kid in ipairs(Figure:GetChildren()) do
  429. if kid.className == "Tool" then return kid end
  430. end
  431. return nil
  432. end
  433.  
  434. function getToolAnim(tool)
  435. for _, c in ipairs(tool:GetChildren()) do
  436. if c.Name == "toolanim" and c.className == "StringValue" then
  437. return c
  438. end
  439. end
  440. return nil
  441. end
  442.  
  443. function animateTool()
  444.  
  445. if (toolAnim == "None") then
  446. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  447. return
  448. end
  449.  
  450. if (toolAnim == "Slash") then
  451. playToolAnimation("toolslash", 0, Humanoid)
  452. return
  453. end
  454.  
  455. if (toolAnim == "Lunge") then
  456. playToolAnimation("toollunge", 0, Humanoid)
  457. return
  458. end
  459. end
  460.  
  461. function moveSit()
  462. RightShoulder.MaxVelocity = 0.15
  463. LeftShoulder.MaxVelocity = 0.15
  464. RightShoulder:SetDesiredAngle(3.14 /2)
  465. LeftShoulder:SetDesiredAngle(-3.14 /2)
  466. RightHip:SetDesiredAngle(3.14 /2)
  467. LeftHip:SetDesiredAngle(-3.14 /2)
  468. end
  469.  
  470. local lastTick = 0
  471.  
  472. function move(time)
  473. local amplitude = 1
  474. local frequency = 1
  475. local deltaTime = time - lastTick
  476. lastTick = time
  477.  
  478. local climbFudge = 0
  479. local setAngles = false
  480.  
  481. if (jumpAnimTime > 0) then
  482. jumpAnimTime = jumpAnimTime - deltaTime
  483. end
  484.  
  485. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  486. playAnimation("fall", fallTransitionTime, Humanoid)
  487. elseif (pose == "Seated") then
  488. playAnimation("sit", 0.5, Humanoid)
  489. return
  490. elseif (pose == "Running") then
  491. playAnimation("walk", 0.1, Humanoid)
  492. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  493. stopAllAnimations()
  494. amplitude = 0.1
  495. frequency = 1
  496. setAngles = true
  497. end
  498.  
  499. -- Tool Animation handling
  500. local tool = getTool()
  501. if tool then
  502.  
  503. animStringValueObject = getToolAnim(tool)
  504.  
  505. if animStringValueObject then
  506. toolAnim = animStringValueObject.Value
  507. -- message recieved, delete StringValue
  508. animStringValueObject.Parent = nil
  509. toolAnimTime = time + .3
  510. end
  511.  
  512. if time > toolAnimTime then
  513. toolAnimTime = 0
  514. toolAnim = "None"
  515. end
  516.  
  517. animateTool()
  518. else
  519. stopToolAnimations()
  520. toolAnim = "None"
  521. toolAnimInstance = nil
  522. toolAnimTime = 0
  523. end
  524. end
  525.  
  526. -- connect events
  527. Humanoid.Died:connect(onDied)
  528. Humanoid.Running:connect(onRunning)
  529. Humanoid.Jumping:connect(onJumping)
  530. Humanoid.Climbing:connect(onClimbing)
  531. Humanoid.GettingUp:connect(onGettingUp)
  532. Humanoid.FreeFalling:connect(onFreeFall)
  533. Humanoid.FallingDown:connect(onFallingDown)
  534. Humanoid.Seated:connect(onSeated)
  535. Humanoid.PlatformStanding:connect(onPlatformStanding)
  536. Humanoid.Swimming:connect(onSwimming)
  537.  
  538. -- setup emote chat hook
  539. script.msg.Changed:connect(function(msg)
  540. script.msg.Value = ""
  541. local emote = ""
  542. if (string.sub(msg, 1, 3) == "/e ") then
  543. emote = string.sub(msg, 4)
  544. elseif (string.sub(msg, 1, 7) == "/emote ") then
  545. emote = string.sub(msg, 8)
  546. end
  547.  
  548. if (pose == "Standing" and emoteNames[emote] ~= nil) then
  549. playAnimation(emote, 0.1, Humanoid)
  550. end
  551. -- print("===> " .. string.sub(msg, 1, 3) .. "(" .. emote .. ")")
  552. end)
  553.  
  554.  
  555. -- main program
  556.  
  557. local runService = game:service("RunService");
  558.  
  559. -- print("bottom")
  560.  
  561. -- initialize to idle
  562. playAnimation("idle", 0.1, Humanoid)
  563. pose = "Standing"
  564.  
  565. while Figure.Parent~=nil do
  566. local _, time = wait(0.1)
  567. move(time)
  568. end
  569.  
  570.  
  571. end;
  572. function() --Responsible for regening a player's humanoid's health
  573.  
  574. -- declarations
  575. local Figure = script.Parent
  576. local Head = Figure:WaitForChild("Head")
  577. local Humanoid = Figure:WaitForChild("NPC")
  578. local regening = false
  579.  
  580. -- regeneration
  581. function regenHealth()
  582. if regening then return end
  583. regening = true
  584.  
  585. while Humanoid.Health < Humanoid.MaxHealth do
  586. local s = wait(1)
  587. local health = Humanoid.Health
  588. if health > 0 and health < Humanoid.MaxHealth then
  589. local newHealthDelta = 0.01 * s * Humanoid.MaxHealth
  590. health = health + newHealthDelta
  591. Humanoid.Health = math.min(health,Humanoid.MaxHealth)
  592. end
  593. end
  594.  
  595. if Humanoid.Health > Humanoid.MaxHealth then
  596. Humanoid.Health = Humanoid.MaxHealth
  597. end
  598.  
  599. regening = false
  600. end
  601.  
  602. Humanoid.HealthChanged:connect(regenHealth)
  603. end;
  604. function() local larm = script.Parent:FindFirstChild("HumanoidRootPart")
  605. local rarm = script.Parent:FindFirstChild("HumanoidRootPart")
  606.  
  607. function findNearestTorso(pos)
  608. local list = game.Workspace:children()
  609. local torso = nil
  610. local dist = 10000
  611. local temp = nil
  612. local human = nil
  613. local temp2 = nil
  614. for x = 1, #list do
  615. temp2 = list[x]
  616. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  617. temp = temp2:findFirstChild("HumanoidRootPart")
  618. human = temp2:findFirstChild("Humanoid")
  619. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  620. if (temp.Position - pos).magnitude < dist then
  621. torso = temp
  622. dist = (temp.Position - pos).magnitude
  623. end
  624. end
  625. end
  626. end
  627. return torso
  628. end
  629.  
  630.  
  631.  
  632.  
  633. while true do
  634. wait(math.random(1,5))
  635. local target = findNearestTorso(script.Parent.HumanoidRootPart.Position)
  636. if target ~= nil then
  637. script.Parent.NPC:MoveTo(target.Position, target)
  638. end
  639.  
  640. end
  641. end;}local ActualScripts = {}
  642. function s(var)
  643. local func = table.remove(Scripts,1)
  644. setfenv(func,setmetatable({script=var,require=fake_require or require,global=genv},{
  645. __index = getfenv(func),
  646. }))
  647. table.insert(ActualScripts,coroutine.wrap(func))
  648. end
  649. Decode = function(str,t,props,classes,values,ICList,Model,CurPar,LastIns,split,RemoveAndSplit,InstanceList)
  650. local tonum,table_remove,inst,parnt,comma,table_foreach = tonumber,table.remove,Instance.new,"Parent",",",
  651. function(t,f)
  652. for a,b in pairs(t) do
  653. f(a,b)
  654. end
  655. end
  656. local Types = {
  657. Color3 = Color3.new,
  658. Vector3 = Vector3.new,
  659. Vector2 = Vector2.new,
  660. UDim = UDim.new,
  661. UDim2 = UDim2.new,
  662. CFrame = CFrame.new,
  663. Rect = Rect.new,
  664. NumberRange = NumberRange.new,
  665. BrickColor = BrickColor.new,
  666. PhysicalProperties = PhysicalProperties.new,
  667. NumberSequence = function(...)
  668. local a = {...}
  669. local t = {}
  670. repeat
  671. t[#t+1] = NumberSequenceKeypoint.new(table_remove(a,1),table_remove(a,1),table_remove(a,1))
  672. until #a==0
  673. return NumberSequence.new(t)
  674. end,
  675. ColorSequence = function(...)
  676. local a = {...}
  677. local t = {}
  678. repeat
  679. t[#t+1] = ColorSequenceKeypoint.new(table_remove(a,1),Color3.new(table_remove(a,1),table_remove(a,1),table_remove(a,1)))
  680. until #a==0
  681. return ColorSequence.new(t)
  682. end,
  683. number = tonumber,
  684. boolean = function(a)
  685. return a=="1"
  686. end
  687. }
  688. split = function(str,sep)
  689. if not str then return end
  690. local fields = {}
  691. local ConcatNext = false
  692. str:gsub(("([^%s]+)"):format(sep),function(c)
  693. if ConcatNext == true then
  694. fields[#fields] = fields[#fields]..sep..c
  695. ConcatNext = false
  696. else
  697. fields[#fields+1] = c
  698. end
  699. if c:sub(#c)=="\\" then
  700. c = fields[#fields]
  701. fields[#fields] = c:sub(1,#c-1)
  702. ConcatNext = true
  703. end
  704. end)
  705. return fields
  706. end
  707. RemoveAndSplit = function(t)
  708. return split(table_remove(t,1),comma)
  709. end
  710. t = split(str,";")
  711. props = RemoveAndSplit(t)
  712. classes = RemoveAndSplit(t)
  713. values = split(table_remove(t,1),'|')
  714. ICList = RemoveAndSplit(t)
  715. InstanceList = {}
  716. Model = inst"Model"
  717. CurPar = Model
  718. table_foreach(t,function(ct,c)
  719. if c=="n" or c=="p" then
  720. CurPar = c=="n" and LastIns or CurPar[parnt]
  721. else
  722. ct = split(c,"|")
  723. local class = classes[tonum(table_remove(ct,1))]
  724. if class=="UnionOperation" then
  725. LastIns = {UsePartColor="1"}
  726. else
  727. LastIns = inst(class)
  728. if LastIns:IsA"Script" then
  729. s(LastIns)
  730. elseif LastIns:IsA("ModuleScript") then
  731. ms(LastIns)
  732. end
  733. end
  734.  
  735. local function SetProperty(LastIns,p,str,s)
  736. s = Types[typeof(LastIns[p])]
  737. if p=="CustomPhysicalProperties" then
  738. s = PhysicalProperties.new
  739. end
  740. if s then
  741. LastIns[p] = s(unpack(split(str,comma)))
  742. else
  743. LastIns[p] = str
  744. end
  745. end
  746.  
  747. local UnionData
  748. table_foreach(ct,function(s,p,a,str)
  749. a = p:find":"
  750. p,str = props[tonum(p:sub(1,a-1))],values[tonum(p:sub(a+1))]
  751. if p=="UnionData" then
  752. UnionData = split(str," ")
  753. return
  754. end
  755. if class=="UnionOperation" then
  756. LastIns[p] = str
  757. return
  758. end
  759. SetProperty(LastIns,p,str)
  760. end)
  761.  
  762. if UnionData then
  763. local LI_Data = LastIns
  764. LastIns = DecodeUnion(UnionData)
  765. table_foreach(LI_Data,function(p,str)
  766. SetProperty(LastIns,p,str)
  767. end)
  768. end
  769. table.insert(InstanceList,LastIns)
  770. LastIns[parnt] = CurPar
  771. end
  772. end)
  773. table_remove(ICList,1)
  774. table_foreach(ICList,function(a,b)
  775. b = split(b,">")
  776. InstanceList[tonum(b[1])][props[tonum(b[2])]] = InstanceList[tonum(b[3])]
  777. end)
  778.  
  779. return Model:GetChildren()
  780. end
  781.  
  782. local Objects = Decode('Name,Color,Transparency,Position,Orientation,Size,CanCollide,CFrame,Value,C0,C1,Part0,Part1,Rotation,PantsTemplate,ShirtTemplate,HealthDisplayDistance,NameDisplayDistance,Health,MaxHealth,HipHeight,Ju'
  783. ..'mpPower,WalkSpeed,HeadColor3,LeftArmColor3,RightArmColor3,LeftLegColor3,RightLegColor3,TorsoColor3,BottomSurface,TopSurface,MeshId,MeshType,Texture,AnimationId,Scale,TextureId;Part,Model,MeshPart,Atta'
  784. ..'chment,Vector3Value,Motor6D,Pants,Shirt,Humanoid,Script,BodyColors,SpecialMesh,Decal,Weld,StringValue,Animation,NumberValue,Accessory;Part|Felipe| |LeftFoot|0.945,0.9058,0.7803|1|98.8964,0.1677,8.9512'
  785. ..'|0,90.04,0|1.0006,0.3354,1.0002|0|LeftAnkleRigAttachment|-0.0091,0.0324,0.0001|-0.0091,0.0324,0.0001,1,0,0,0,1,0,0,0,1|OriginalSize|LeftAnkle|-0.0039,-0.7102,0.0003,1,0,0,0,1,0,0,0,1|LeftHand|1,0.8,0.'
  786. ..'6|98.8975,2.1668,9.9546|0.9992,0.3352,1.0002|LeftWristRigAttachment|-0.0004,0.0579,-0.0155|-0.0004,0.0579,-0.0155,1,0,0,0,1,0,0,0,1|LeftGripAttachment|-0.0109,-0.1687,-0.0155|-90,-0,0|-90,-0,-0|-0.010'
  787. ..'9,-0.1687,-0.0155,1,0,-0,0,0,1,0,-1,0|LeftWrist|-0.0017,-0.6823,-0.0099,1,0,0,0,1,0,0,0,1|LeftLowerArm|98.8919,2.907,9.9533|1.0002,1.2656,1.0002|LeftElbowRigAttachment|-0.0017,0.1229,-0.0099|-0.0017,0'
  788. ..'.1229,-0.0099,1,0,0,0,1,0,0,0,1|-0.0017,-0.6823,-0.0099|LeftElbow|-0.0017,-0.2632,-0.0095,1,0,0,0,1,0,0,0,1|LeftLowerLeg|98.8963,0.9103,8.9564|1.0002,1.4896,1.0003|LeftKneeRigAttachment|-0.0039,0.2898'
  789. ..',0.0003|-0.0039,0.2898,0.0003,1,0,0,0,1,0,0,0,1|-0.0039,-0.7102,0.0003|LeftKnee|-0.0039,-0.2645,0.0005,1,0,0,0,1,0,0,0,1|LeftUpperArm|98.8915,3.293,9.9533|1.0002,1.3955,1.0002|LeftShoulderRigAttachmen'
  790. ..'t|0.2479,0.4567,-0.0095|0.2479,0.4567,-0.0095,1,0,0,0,1,0,0,0,1|-0.0017,-0.2632,-0.0095|LeftShoulderAttachment|-0.0121,0.7097,-0.0095|-0.0121,0.7097,-0.0095,1,0,0,0,1,0,0,0,1|LeftShoulder|-1.2496,0.55'
  791. ..'64,-0.0156,1,0,0,0,1,0,0,0,1|LeftUpperLeg|98.8961,1.4646,8.9564|1.0002,1.5362,1.0009|LeftHipRigAttachment|-0.0039,0.4851,0.0006|-0.0039,0.4851,0.0006,1,0,0,0,1,0,0,0,1|-0.0039,-0.2645,0.0005|LeftHip|-'
  792. ..'0.5046,-0.2431,0.0012,1,0,0,0,1,0,0,0,1|LowerTorso|0.2,0.345,0.5098|98.8952,2.1928,8.4557|2.0001,0.4,1.0002|RootRigAttachment|0.0002,0.133,-0.0143|0.0002,0.133,-0.0143,1,0,0,0,1,0,0,0,1|WaistRigAttach'
  793. ..'ment|0.0002,0.5371,-0.0143|0.0002,0.5371,-0.0143,1,0,0,0,1,0,0,0,1|-0.5046,-0.2431,0.0012|RightHipRigAttachment|0.505,-0.2433,0.001|0.505,-0.2433,0.001,1,0,0,0,1,0,0,0,1|WaistFrontAttachment|0.0002,-0'
  794. ..'.0669,-0.5013|0.0002,-0.0669,-0.5013,1,0,0,0,1,0,0,0,1|WaistCenterAttachment|0.0002,-0.0669,-0.0143|0.0002,-0.0669,-0.0143,1,0,0,0,1,0,0,0,1|WaistBackAttachment|0.0002,-0.0669,0.4908|0.0002,-0.0669,0.'
  795. ..'4908,1,0,0,0,1,0,0,0,1|Root|Pants|http://www.roblox.com/asset/?id=161777997|RightFoot|98.8957,0.1677,7.9596|RightAnkleRigAttachment|0.009,0.0318,0.0001|0.009,0.0318,0.0001,1,0,0,0,1,0,0,0,1|RightAnkle'
  796. ..'|0.0038,-0.7108,0.0002,1,0,0,0,1,0,0,0,1|RightHand|98.8952,2.1669,6.9563|RightWristRigAttachment|0.0008,0.0581,-0.0155|0.0008,0.0581,-0.0155,1,0,0,0,1,0,0,0,1|RightGripAttachment|0.0108,-0.1687,-0.015'
  797. ..'5|0.0108,-0.1687,-0.0155,1,0,-0,0,0,1,0,-1,0|RightWrist|0.0021,-0.6821,-0.0099,1,0,0,0,1,0,0,0,1|RightLowerArm|98.8897,2.907,6.9576|0.0021,-0.6821,-0.0099|RightElbowRigAttachment|0.0021,0.1229,-0.0099'
  798. ..'|0.0021,0.1229,-0.0099,1,0,0,0,1,0,0,0,1|RightElbow|0.0021,-0.2632,-0.0095,1,0,0,0,1,0,0,0,1|RightLowerLeg|98.8956,0.9103,7.9544|RightKneeRigAttachment|0.0038,0.2892,0.0001|0.0038,0.2892,0.0001,1,0,0,'
  799. ..'0,1,0,0,0,1|0.0038,-0.7108,0.0002|RightKnee|0.0038,-0.2651,0.0004,1,0,0,0,1,0,0,0,1|RightUpperArm|98.8892,3.2931,6.9576|RightShoulderRigAttachment|-0.2479,0.4568,-0.0095|-0.2479,0.4568,-0.0095,1,0,0,0'
  800. ..',1,0,0,0,1|0.0021,-0.2632,-0.0095|RightShoulderAttachment|0.0121,0.7097,-0.0095|0.0121,0.7097,-0.0095,1,0,0,0,1,0,0,0,1|RightShoulder|1.2503,0.5565,-0.0156,1,0,0,0,1,0,0,0,1|RightUpperLeg|98.8953,1.46'
  801. ..'46,7.9544|0.0038,0.4849,0.0004|0.0038,0.4849,0.0004,1,0,0,0,1,0,0,0,1|0.0038,-0.2651,0.0004|RightHip|Shirt|http://www.roblox.com/asset/?id=161205001|NPC|50|400|1.35|15|UpperTorso|98.8965,3.1934,8.4558'
  802. ..'|2.0002,1.6009,1.0005|0.0003,-0.4635,-0.0156|0.0003,-0.4635,-0.0156,1,0,0,0,1,0,0,0,1|NeckRigAttachment|0.0003,0.806,-0.0156|0.0003,0.806,-0.0156,1,0,0,0,1,0,0,0,1|-1.2496,0.5564,-0.0156|1.2503,0.5565'
  803. ..',-0.0156|LeftCollarAttachment|-0.9997,0.8042,-0.0156|-0.9997,0.8042,-0.0156,1,0,0,0,1,0,0,0,1|RightCollarAttachment|1.0003,0.8042,-0.0156|1.0003,0.8042,-0.0156,1,0,0,0,1,0,0,0,1|BodyBackAttachment|0.0'
  804. ..'003,-0.2241,0.5231|0.0003,-0.2241,0.5231,1,0,0,0,1,0,0,0,1|BodyFrontAttachment|0.0003,-0.2241,-0.4987|0.0003,-0.2241,-0.4987,1,0,0,0,1,0,0,0,1|Waist|Damage Script|HumanoidRootPart|98.8809,2.3258,8.455'
  805. ..'4|2,2,1|Head|98.8771,4.5651,8.4555|1,1,1|0|http://www.roblox.com/asset?id=419776358|5|FaceCenterAttachment|0,0.0003,0.0038|-0.0001,-0.0001,-0.0001|0,0.0003,0.0038,1,0,-0.0001,-0.0001,1,0,0,-0.0001,1|-'
  806. ..'0.0001,-0.5657,0.0038|-0.0001,-0.5657,0.0038,1,0,0,0,1,0,0,0,1|FaceFrontAttachment|0,0,-0.5934|0,0,-0.5934,1,0,-0.0001,-0.0001,1,0,0,-0.0001,1|HairAttachment|0,0.5991,0.0038|0,0.5991,0.0038,1,0,-0.000'
  807. ..'1,-0.0001,1,0,0,-0.0001,1|HatAttachment|NeckAttachment|-0.0001,-0.5776,0.0038|-0.0001,-0.5776,0.0038,1,0,-0.0001,-0.0001,1,0,0,-0.0001,1|Neck|http://www.roblox.com/asset/?id=116685591|HeadWeld|0,0.5,0'
  808. ..',1,0,0,0,1,0,0,0,1|Respawn|Animate|msg|climb|ClimbAnim|http://www.roblox.com/asset/?id=507765644|fall|FallAnim|http://www.roblox.com/asset/?id=507767968|idle|Animation1|http://www.roblox.com/asset/?id'
  809. ..'=507766388|Weight|9|Animation2|http://www.roblox.com/asset/?id=507766666|jump|JumpAnim|http://www.roblox.com/asset/?id=507765000|run|RunAnim|http://www.roblox.com/asset/?id=5077677142|sit|SitAnim|http'
  810. ..'://www.roblox.com/asset/?id=507768133|swim|Swim|http://www.roblox.com/asset/?id=507784897|swimidle|SwimIdle|http://www.roblox.com/asset/?id=481825862|toolnone|ToolNoneAnim|http://www.roblox.com/asset/'
  811. ..'?id=507768375|walk|http://www.roblox.com/asset/?id=507777826|Health|Handle|98.8771,5.0651,8.4555|4,1,2|4,4,4|rbxassetid://4125549274|http://www.roblox.com/asset/?id=4125544592;0,6>12>17,6>13>3,11>12>1'
  812. ..'2,11>13>7,16>12>22,16>13>12,21>12>46,21>13>17,26>12>130,26>13>22,28>12>130,28>13>22,29>12>130,29>13>22,30>12>130,30>13>22,31>12>130,31>13>22,32>12>130,32>13>22,33>12>130,33>13>22,34>12>130,34>13>22,35'
  813. ..'>12>130,35>13>22,36>12>130,36>13>22,37>12>130,37>13>22,38>12>130,38>13>22,39>12>130,39>13>22,40>12>130,40>13>22,41>12>130,41>13>22,42>12>130,42>13>22,43>12>130,43>13>22,44>12>130,44>13>22,45>12>130,45'
  814. ..'>13>22,50>12>51,50>13>46,59>12>161,59>13>51,61>12>161,61>13>51,62>12>161,62>13>51,63>12>161,63>13>51,64>12>161,64>13>51,65>12>161,65>13>51,66>12>161,66>13>51,67>12>161,67>13>51,68>12>161,68>13>51,69>1'
  815. ..'2>161,69>13>51,70>12>161,70>13>51,71>12>161,71>13>51,72>12>161,72>13>51,73>12>161,73>13>51,74>12>161,74>13>51,75>12>161,75>13>51,76>12>161,76>13>51,77>12>161,77>13>51,78>12>161,78>13>51,83>12>94,83>13'
  816. ..'>80,88>12>89,88>13>84,93>12>99,93>13>89,98>12>123,98>13>94,103>12>130,103>13>99,105>12>130,105>13>99,106>12>130,106>13>99,107>12>130,107>13>99,108>12>130,108>13>99,109>12>130,109>13>99,110>12>130,110>'
  817. ..'13>99,111>12>130,111>13>99,112>12>130,112>13>99,113>12>130,113>13>99,114>12>130,114>13>99,115>12>130,115>13>99,116>12>130,116>13>99,117>12>130,117>13>99,118>12>130,118>13>99,119>12>130,119>13>99,120>1'
  818. ..'2>130,120>13>99,121>12>130,121>13>99,122>12>130,122>13>99,127>12>51,127>13>123,139>12>51,139>13>130,141>12>51,141>13>130,142>12>51,142>13>130,143>12>51,143>13>130,144>12>51,144>13>130,145>12>51,145>13'
  819. ..'>130,146>12>51,146>13>130,147>12>51,147>13>130,148>12>51,148>13>130,149>12>51,149>13>130,150>12>51,150>13>130,151>12>51,151>13>130,152>12>51,152>13>130,153>12>51,153>13>130,154>12>51,154>13>130,155>12'
  820. ..'>51,155>13>130,156>12>51,156>13>130,157>12>51,157>13>130,159>12>51,159>13>130,172>12>130,172>13>164,174>12>130,174>13>164,175>12>130,175>13>164,176>12>130,176>13>164,177>12>130,177>13>164,178>12>130,1'
  821. ..'78>13>164,179>12>130,179>13>164,180>12>130,180>13>164,182>12>130,182>13>164,183>12>130,183>13>164,184>12>130,184>13>164,185>12>130,185>13>164,186>12>130,186>13>164,187>12>130,187>13>164,188>12>130,188'
  822. ..'>13>164,189>12>130,189>13>164,190>12>130,190>13>164,191>12>130,191>13>164,192>12>130,192>13>164,193>12>164,193>13>223;2|1:2;n;2|1:3;n;3|1:4|2:5|3:6|4:7|5:8|6:9|7:10|2:5|2:5;n;4|1:11|4:12|8:13;5|1:14|9'
  823. ..':9;6|1:15|10:16|11:13;p;3|1:17|2:18|3:6|4:19|5:8|6:20|7:10|2:18|2:18;n;4|1:21|4:22|8:23;4|1:24|4:25|5:26|14:27|8:28;5|1:14|9:20;6|1:29|10:30|11:23;p;3|1:31|2:18|3:6|4:32|5:8|6:33|7:10|2:18|2:18;n;4|1:'
  824. ..'34|4:35|8:36;4|1:21|4:37|8:30;5|1:14|9:33;6|1:38|10:39|11:36;p;3|1:40|2:5|3:6|4:41|5:8|6:42|7:10|2:5|2:5;n;4|1:43|4:44|8:45;4|1:11|4:46|8:16;5|1:14|9:42;6|1:47|10:48|11:45;p;3|1:49|2:18|3:6|4:50|5:8|6'
  825. ..':51|7:10|2:18|2:18;n;4|1:52|4:53|8:54;4|1:34|4:55|8:39;4|1:56|4:57|8:58;6|1:59|10:60|11:54;5|1:14|9:51;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|'
  826. ..'1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60'
  827. ..'|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;p;3|1:61|2:5|3:6|4:62|5:8|6:63|7:10|2:5|2:5;n;4|1:64|4:65|8:66;4|1:43|4:67|8:48;5|1:14|9:63;6|1:68|10:69|11:66;p;3|1:70|2:71|3:6|4:72|5:8|6:73|2:71|2:71;n;'
  828. ..'4|1:74|4:75|8:76;4|1:77|4:78|8:79;4|1:64|4:80|8:69;4|1:81|4:82|8:83;4|1:84|4:85|8:86;4|1:87|4:88|8:89;4|1:90|4:91|8:92;6|1:93|11:76;5|1:14|9:73;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:'
  829. ..'93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;p;7|1:94|15:95;3|1:96|'
  830. ..'2:5|3:6|4:97|5:8|6:9|7:10|2:5|2:5;n;4|1:98|4:99|8:100;5|1:14|9:9;6|1:101|10:102|11:100;p;3|1:103|2:18|3:6|4:104|5:8|6:20|7:10|2:18|2:18;n;4|1:105|4:106|8:107;4|1:108|4:109|5:26|14:27|8:110;5|1:14|9:20'
  831. ..';6|1:111|10:112|11:107;p;3|1:113|2:18|3:6|4:114|5:8|6:33|7:10|2:18|2:18;n;4|1:105|4:115|8:112;4|1:116|4:117|8:118;5|1:14|9:33;6|1:119|10:120|11:118;p;3|1:121|2:5|3:6|4:122|5:8|6:42|7:10|2:5|2:5;n;4|1:'
  832. ..'123|4:124|8:125;4|1:98|4:126|8:102;5|1:14|9:42;6|1:127|10:128|11:125;p;3|1:129|2:18|3:6|4:130|5:8|6:51|7:10|2:18|2:18;n;4|1:131|4:132|8:133;4|1:116|4:134|8:120;4|1:135|4:136|8:137;6|1:138|10:139|11:13'
  833. ..'3;5|1:14|9:51;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10'
  834. ..':139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:1'
  835. ..'39|11:133;p;3|1:140|2:5|3:6|4:141|5:8|6:63|7:10|2:5|2:5;n;4|1:81|4:142|8:143;4|1:123|4:144|8:128;5|1:14|9:63;6|1:145|10:83|11:143;p;8|1:146|16:147;9|1:148|17:149|18:149|19:150|20:150|21:151|22:10|23:1'
  836. ..'52;n;p;3|1:153|2:71|3:6|4:154|5:8|6:155|2:71|2:71;n;4|1:77|4:156|8:157;4|1:158|4:159|8:160;4|1:52|4:161|8:60;4|1:131|4:162|8:139;4|1:163|4:164|8:165;4|1:166|4:167|8:168;4|1:169|4:170|8:171;4|1:172|4:1'
  837. ..'73|8:174;6|1:175|10:79|11:157;5|1:14|9:155;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10'
  838. ..':79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;'
  839. ..'10|1:176;6|1:175|10:79|11:157;p;11|24:18|25:18|26:18|27:5|28:5|29:71;1|1:177|3:6|4:178|5:8|6:179|7:10;n;4|1:74;5|1:14|9:179;p;1|1:180|2:18|3:6|4:181|5:8|6:182|30:183|31:183|2:18|2:18;n;12|32:184|33:18'
  840. ..'5;4|1:186|4:187|5:188|14:188|8:189;4|1:158|4:190|8:191;4|1:192|4:193|5:188|14:188|8:194;4|1:195|4:196|5:188|14:188|8:197;4|1:198|4:196|5:188|14:188|8:197;4|1:199|4:200|5:188|14:188|8:201;6|1:202|10:16'
  841. ..'0|11:191;5|1:14|9:182;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;13|34:203;6|1:202|10:160'
  842. ..'|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|1'
  843. ..'1:191;6|1:202|10:160|11:191;14|1:204|10:205;p;10|1:206;10|1:207;n;15|1:208;15|1:209;n;16|1:210|35:211;p;15|1:212;n;16|1:213|35:214;p;15|1:215;n;16|1:216|35:217;n;17|1:218|9:219;p;16|1:220|35:221;n;17|'
  844. ..'1:218|9:6;p;p;15|1:222;n;16|1:223|35:224;p;15|1:225;n;16|1:226|35:227;p;15|1:228;n;16|1:229|35:230;p;15|1:231;n;16|1:232|35:233;p;15|1:234;n;16|1:235|35:236;p;15|1:237;n;16|1:238|35:239;p;15|1:240;n;1'
  845. ..'6|1:226|35:241;p;p;10|1:242;10;18|1:2;n;1|1:243|4:244|5:8|6:245|7:10|30:183|31:183;n;12|36:246|32:247|37:248|33:185;5|1:14|9:245;p;p;p;p;')
  846. for _,Object in pairs(Objects) do
  847. Object.Parent = script and script.Parent==workspace and script or workspace
  848. end
  849. for _,f in pairs(ActualScripts) do f() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement