ColorblindRBLX

AnimR15

Sep 1st, 2020 (edited)
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 36.84 KB | None | 0 0
  1. HumanDied = false
  2. local CountSCIFIMOVIELOL = 1
  3. function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
  4.     local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
  5.     AlignPos.ApplyAtCenterOfMass = true;
  6.     AlignPos.MaxForce = 5772000--67752;
  7.     AlignPos.MaxVelocity = math.huge/9e110;
  8.     AlignPos.ReactionForceEnabled = false;
  9.     AlignPos.Responsiveness = 200;
  10.     AlignPos.RigidityEnabled = false;
  11.     local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
  12.     AlignOri.MaxAngularVelocity = math.huge/9e110;
  13.     AlignOri.MaxTorque = 5772000
  14.     AlignOri.PrimaryAxisOnly = false;
  15.     AlignOri.ReactionTorqueEnabled = false;
  16.     AlignOri.Responsiveness = 200;
  17.     AlignOri.RigidityEnabled = false;
  18.     local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "AthPO_"..CountSCIFIMOVIELOL
  19.     local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "AthPO_"..CountSCIFIMOVIELOL
  20.     AttachmentA.Orientation = Angle or Vector3.new(0,0,0)
  21.     AttachmentA.Position = (Position or Vector3.new(0,0,0)) + Part0.CenterOfMass
  22.     AlignPos.Attachment1 = AttachmentA;
  23.     AlignPos.Attachment0 = AttachmentB;
  24.     AlignOri.Attachment1 = AttachmentA;
  25.     AlignOri.Attachment0 = AttachmentB;
  26.     CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
  27.     return {AlignPos,AttachmentA,AttachmentB,AlignOri,AttachmentC,AttachmentD}
  28. end
  29.  
  30. if _G.netted ~= true then
  31.     _G.netted = true
  32.     coroutine.wrap(function()
  33.         settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  34.         settings().Physics.ThrottleAdjustTime = math.huge*math.huge
  35.         settings().Physics.AllowSleep = false
  36.         game:GetService("RunService").RenderStepped:Connect(function()
  37.             game:FindFirstChildOfClass("Players").LocalPlayer.MaximumSimulationRadius=math.pow(math.huge,math.huge)
  38.             sethiddenproperty(game:FindFirstChildOfClass("Players").LocalPlayer,"SimulationRadius",math.huge*math.huge)
  39.         end)
  40.     end)()
  41. end
  42.  
  43. warn([==[
  44.  
  45. Bypass made by Mizt
  46. Thanks for choosing my bypass
  47.  
  48. ]==])
  49. game:FindFirstChildOfClass("Players").LocalPlayer["Character"].Archivable = true
  50. local hatnameclone = {}
  51. for _,v in next, game:FindFirstChildOfClass("Players").LocalPlayer["Character"]:GetChildren() do
  52.     if v:IsA("Accessory") then
  53.         if hatnameclone[v.Name] then
  54.             if hatnameclone[v.Name] == "s" then
  55.                 hatnameclone[v.Name] = {}
  56.             end
  57.             table.insert(hatnameclone[v.Name],v)
  58.         else
  59.             hatnameclone[v.Name] = "s"
  60.         end
  61.     end
  62. end
  63. for _,v in pairs(hatnameclone) do
  64.     if type(v) == "table" then
  65.         local num = 1
  66.         for _,w in pairs(v) do
  67.             w.Name = w.Name..num
  68.             num = num + 1
  69.         end
  70.     end
  71. end
  72. hatnameclone = nil
  73.  
  74. local DeadChar = game:FindFirstChildOfClass("Players").LocalPlayer.Character
  75.  
  76. local fldr = Instance.new("Folder",workspace)
  77. fldr.Name = "Bypass by Mizt"
  78. local CloneChar = game:GetObjects("rbxassetid://5227463276")[1]
  79. CloneChar.Parent = fldr
  80. CloneChar.HumanoidRootPart.CFrame = game:FindFirstChildOfClass("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame
  81. CloneChar.Humanoid.BreakJointsOnDeath = false
  82. CloneChar.Name = "non"
  83. CloneChar.Humanoid.DisplayDistanceType = "None"
  84.  
  85. for _,v in next, DeadChar:GetChildren() do
  86.     if v:IsA("Accessory") then
  87.         local topacc = false
  88.         if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
  89.         local clonnedhat = v:Clone()
  90.         clonnedhat.Parent = CloneChar
  91.         local hatath = clonnedhat.Handle:FindFirstChildOfClass("Attachment")
  92.         local partath
  93.         for _,v in pairs(CloneChar:GetChildren()) do
  94.             if v:IsA("BasePart") then
  95.                 for _,w in pairs(v:GetChildren()) do
  96.                     if w.Name == hatath.Name then
  97.                         partath = w
  98.                         break
  99.                     end
  100.                 end
  101.                 if partath then break end
  102.             end
  103.         end
  104.         local accweld = Instance.new("Weld",clonnedhat.Handle)
  105.         accweld.Name = "AccessoryWeld"
  106.         accweld.Part0 = clonnedhat.Handle
  107.         accweld.Part1 = partath.Parent
  108.         accweld.C0 = hatath.CFrame
  109.         accweld.C1 = partath.CFrame
  110.         if v.Handle:FindFirstChildOfClass("Attachment") then
  111.             local ath__ = v.Handle:FindFirstChildOfClass("Attachment")
  112.             if ath__.Name == "HatAttachment" or ath__.Name == "HairAttachment" or ath__.Name == "FaceFrontAttachment" or ath__.Name == "FaceCenterAttachment" then
  113.                 topacc = ath__.Name
  114.             end
  115.         end
  116.         local bv = Instance.new("BodyVelocity",v.Handle)
  117.         bv.Velocity = Vector3.new(0,0,0)
  118.         coroutine.wrap(function()
  119.             if topacc then
  120.                 local allthings = SCIFIMOVIELOL(v.Handle,DeadChar.UpperTorso,Vector3.new(0,1.35,0)+ (DeadChar.Head[topacc].Position + (v.Handle[topacc].Position*-1)),Vector3.new(0,0,0))
  121.                 local normaltop = allthings[1].Attachment1
  122.                 local alipos = allthings[1]
  123.                 local alirot = allthings[4]
  124.                 local p0 = v.Handle
  125.                 local p1 = DeadChar.Head
  126.                 while true do
  127.                     game:GetService("RunService").RenderStepped:wait()
  128.                     if HumanDied then break end
  129.                     coroutine.wrap(function()
  130.                         if alipos.Attachment1 == normaltop then
  131.                             p0.CFrame = (((DeadChar.UpperTorso.CFrame * CFrame.new(0,1.35,0)) * p1[topacc].CFrame) * p0[topacc].CFrame:inverse())
  132.                         else
  133.                             v.Handle.CFrame = alipos.Attachment1.Parent.CFrame * CFrame.new(alipos.Attachment1.Position) * CFrame.Angles(math.rad(alirot.Attachment1.Rotation.X),math.rad(alirot.Attachment1.Rotation.Y),math.rad(alirot.Attachment1.Rotation.Z))
  134.                         end
  135.                     end)()
  136.                 end
  137.             else
  138.                 SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  139.                 --[[while true do
  140.                     game:GetService("RunService").RenderStepped:wait()
  141.                     if HumanDied then break end
  142.                     local alipos = CloneChar[v.Name].Handle:FindFirstChildOfClass("AlignPosition")
  143.                     local alirot = CloneChar[v.Name].Handle:FindFirstChildOfClass("AlignOrientation")
  144.                     v.Handle.CFrame = alipos.Attachment1.Parent.CFrame * CFrame.new(alipos.Attachment1.Position) * CFrame.Angles(math.rad(alirot.Attachment1.Rotation.X),math.rad(alirot.Attachment1.Rotation.Y),math.rad(alirot.Attachment1.Rotation.Z))
  145.                 end]]
  146.             end
  147.         end)()
  148.     end
  149. end
  150.  
  151. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  152. game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  153. DeadChar.Parent = game
  154. local a = DeadChar.UpperTorso
  155. local b = DeadChar.HumanoidRootPart
  156. local c = DeadChar.Humanoid
  157. DeadChar.LowerTorso.Root.Parent = b
  158. DeadChar.Head.Neck.Parent = a
  159. a.Parent = game:FindFirstChildOfClass("Workspace")
  160. c.Parent = game:FindFirstChildOfClass("Workspace")
  161. local told = a:Clone()
  162. local told1 = c:Clone()
  163. b["Root"].Part1 = told
  164. b["Root"].Part0 = DeadChar.Head
  165. a.Name = "torso"
  166. a.Neck:Destroy()
  167. c.Name = "hum"
  168. told.Parent = DeadChar
  169. told1.Parent = DeadChar
  170. DeadChar.PrimaryPart = told
  171. told1.Health = 0
  172. a.Parent = DeadChar
  173. c.Parent = DeadChar
  174. b["Root"]:Destroy()
  175. DeadChar.HumanoidRootPart.Parent = workspace
  176.  
  177. told:Destroy()
  178. told1:Destroy()
  179. a.Name = "UpperTorso"
  180. DeadChar.Parent = workspace
  181.  
  182. if CloneChar.Head:FindFirstChildOfClass("Decal") then CloneChar.Head:FindFirstChildOfClass("Decal").Transparency = 1 end
  183. if DeadChar:FindFirstChild("Animate") then DeadChar:FindFirstChild("Animate"):Destroy() end
  184.  
  185.  
  186. local con
  187. function UnCollide()
  188.     if HumanDied then con:Disconnect(); return end
  189.     --[[for _,Parts in next, CloneChar:GetDescendants() do
  190.         if Parts:IsA("BasePart") then
  191.             Parts.CanCollide = false
  192.         end
  193.     end]]
  194.     for _,Parts in next, DeadChar:GetDescendants() do
  195.         if Parts:IsA("BasePart") then
  196.         Parts.CanCollide = false
  197.         end
  198.     end
  199. end
  200. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  201.  
  202. local resetBindable = Instance.new("BindableEvent")
  203. resetBindable.Event:connect(function()
  204.     game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  205.     resetBindable:Destroy()
  206.     pcall(function()
  207.         game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  208.         DeadChar.Head:Destroy()
  209.         DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  210.         game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  211.         if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  212.     end)
  213. end)
  214. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  215.  
  216. coroutine.wrap(function()
  217.     while true do
  218.         game:GetService("RunService").RenderStepped:wait()
  219.         if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChildOfClass("Humanoid") or CloneChar:FindFirstChildOfClass("Humanoid").Health <= 0 and not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChildOfClass("Humanoid") or DeadChar:FindFirstChildOfClass("Humanoid").Health <= 0 then
  220.             HumanDied = true
  221.             print("DEAD")
  222.             pcall(function()
  223.                 game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  224.                 DeadChar.Head:Destroy()
  225.                 DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  226.                 game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  227.                 if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  228.             end)
  229.             if resetBindable then
  230.                 game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  231.                 resetBindable:Destroy()
  232.             end
  233.             break
  234.         end    
  235.     end
  236. end)()
  237.  
  238. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  239. SCIFIMOVIELOL(DeadChar["UpperTorso"],CloneChar["Torso"],Vector3.new(0,0.15,0),Vector3.new(0,0,0))
  240. SCIFIMOVIELOL(DeadChar["LowerTorso"],CloneChar["Torso"],Vector3.new(0,-0.78,0),Vector3.new(0,0,0))
  241.  
  242. SCIFIMOVIELOL(DeadChar["LeftUpperArm"],CloneChar["Left Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  243. SCIFIMOVIELOL(DeadChar["LeftLowerArm"],CloneChar["Left Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  244. SCIFIMOVIELOL(DeadChar["LeftHand"],CloneChar["Left Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  245. SCIFIMOVIELOL(DeadChar["RightUpperArm"],CloneChar["Right Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  246. SCIFIMOVIELOL(DeadChar["RightLowerArm"],CloneChar["Right Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  247. SCIFIMOVIELOL(DeadChar["RightHand"],CloneChar["Right Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  248.  
  249. SCIFIMOVIELOL(DeadChar["LeftUpperLeg"],CloneChar["Left Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  250. SCIFIMOVIELOL(DeadChar["LeftLowerLeg"],CloneChar["Left Leg"],Vector3.new(0,-0.2,0),Vector3.new(0,0,0))
  251. SCIFIMOVIELOL(DeadChar["LeftFoot"],CloneChar["Left Leg"],Vector3.new(0,-0.85,0),Vector3.new(0,0,0))
  252. SCIFIMOVIELOL(DeadChar["RightUpperLeg"],CloneChar["Right Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  253. SCIFIMOVIELOL(DeadChar["RightLowerLeg"],CloneChar["Right Leg"],Vector3.new(0,-0.2,0),Vector3.new(0,0,0))
  254. SCIFIMOVIELOL(DeadChar["RightFoot"],CloneChar["Right Leg"],Vector3.new(0,-0.85,0),Vector3.new(0,0,0))
  255.  
  256. for _,v in pairs(DeadChar:GetChildren()) do
  257.     if v:IsA("BasePart") and v.Name ~= "Head" then
  258.         --[[local bv = Instance.new("BodyVelocity",v)
  259.         bv.Velocity = Vector3.new(0,0,0)
  260.         coroutine.wrap(function()
  261.             while true do
  262.                 game:GetService("RunService").RenderStepped:wait()
  263.                 if HumanDied then break end
  264.                 v.CFrame = CloneChar[v.Name].CFrame
  265.             end
  266.         end)()]]
  267.     elseif v:IsA("BasePart") and v.Name == "Head" then
  268.         local bv = Instance.new("BodyVelocity",v)
  269.         bv.Velocity = Vector3.new(0,0,0)
  270.         coroutine.wrap(function()
  271.             while true do
  272.                 game:GetService("RunService").RenderStepped:wait()
  273.                 if HumanDied then break end
  274.                 v.CFrame = DeadChar.UpperTorso.CFrame * CFrame.new(0,1.35,0)
  275.             end
  276.         end)()
  277.     end
  278. end
  279.  
  280. for _,BodyParts in next, CloneChar:GetDescendants() do
  281. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  282. BodyParts.Transparency = 1 end end
  283. game:GetService("RunService").RenderStepped:wait()
  284. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  285. game:FindFirstChildOfClass("Workspace"):FindFirstChildOfClass("Camera").CameraSubject = CloneChar.Humanoid
  286.  
  287. for _,v in pairs(DeadChar:GetDescendants()) do
  288.     if v.ClassName == "Motor6D" then
  289.         v:Destroy()
  290.     end
  291. end
  292. fldr.Parent = DeadChar
  293.  
  294. function RUNANIMATESCRIPT(FOLDER)
  295.  
  296. local Figure = FOLDER.Parent
  297. local Torso = Figure:WaitForChild("Torso")
  298. local RightShoulder = Torso:WaitForChild("Right Shoulder")
  299. local LeftShoulder = Torso:WaitForChild("Left Shoulder")
  300. local RightHip = Torso:WaitForChild("Right Hip")
  301. local LeftHip = Torso:WaitForChild("Left Hip")
  302. local Neck = Torso:WaitForChild("Neck")
  303. local Humanoid = Figure:WaitForChild("Humanoid")
  304. local pose = "Standing"
  305.  
  306. local currentAnim = ""
  307. local currentAnimInstance = nil
  308. local currentAnimTrack = nil
  309. local currentAnimKeyframeHandler = nil
  310. local currentAnimSpeed = 1.0
  311. local animTable = {}
  312. local animNames = {
  313.     idle =  {  
  314.                 { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
  315.                 { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
  316.             },
  317.     walk =  {  
  318.                 { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
  319.             },
  320.     run =   {
  321.                 { id = "run.xml", weight = 10 }
  322.             },
  323.     jump =  {
  324.                 { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  325.             },
  326.     fall =  {
  327.                 { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  328.             },
  329.     climb = {
  330.                 { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  331.             },
  332.     sit =   {
  333.                 { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  334.             }, 
  335.     toolnone = {
  336.                 { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  337.             },
  338.     toolslash = {
  339.                 { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  340. --              { id = "slash.xml", weight = 10 }
  341.             },
  342.     toollunge = {
  343.                 { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  344.             },
  345.     wave = {
  346.                 { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  347.             },
  348.     point = {
  349.                 { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  350.             },
  351.     dance1 = {
  352.                 { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  353.                 { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  354.                 { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  355.             },
  356.     dance2 = {
  357.                 { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  358.                 { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  359.                 { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  360.             },
  361.     dance3 = {
  362.                 { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  363.                 { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  364.                 { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  365.             },
  366.     laugh = {
  367.                 { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  368.             },
  369.     cheer = {
  370.                 { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  371.             },
  372. }
  373. local dances = {"dance1", "dance2", "dance3"}
  374.  
  375. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  376. local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  377.  
  378. function configureAnimationSet(name, fileList)
  379.     if (animTable[name] ~= nil) then
  380.         for _, connection in pairs(animTable[name].connections) do
  381.             connection:disconnect()
  382.         end
  383.     end
  384.     animTable[name] = {}
  385.     animTable[name].count = 0
  386.     animTable[name].totalWeight = 0
  387.     animTable[name].connections = {}
  388.  
  389.     -- check for config values
  390.     local config = FOLDER:FindFirstChild(name)
  391.     if (config ~= nil) then
  392. --      print("Loading anims " .. name)
  393.         table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  394.         table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  395.         local idx = 1
  396.         for _, childPart in pairs(config:GetChildren()) do
  397.             if (childPart:IsA("Animation")) then
  398.                 table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  399.                 animTable[name][idx] = {}
  400.                 animTable[name][idx].anim = childPart
  401.                 local weightObject = childPart:FindFirstChild("Weight")
  402.                 if (weightObject == nil) then
  403.                     animTable[name][idx].weight = 1
  404.                 else
  405.                     animTable[name][idx].weight = weightObject.Value
  406.                 end
  407.                 animTable[name].count = animTable[name].count + 1
  408.                 animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  409.     --          print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  410.                 idx = idx + 1
  411.             end
  412.         end
  413.     end
  414.  
  415.     -- fallback to defaults
  416.     if (animTable[name].count <= 0) then
  417.         for idx, anim in pairs(fileList) do
  418.             animTable[name][idx] = {}
  419.             animTable[name][idx].anim = Instance.new("Animation")
  420.             animTable[name][idx].anim.Name = name
  421.             animTable[name][idx].anim.AnimationId = anim.id
  422.             animTable[name][idx].weight = anim.weight
  423.             animTable[name].count = animTable[name].count + 1
  424.             animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  425. --          print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  426.         end
  427.     end
  428. end
  429.  
  430. -- Setup animation objects
  431. function scriptChildModified(child)
  432.     local fileList = animNames[child.Name]
  433.     if (fileList ~= nil) then
  434.         configureAnimationSet(child.Name, fileList)
  435.     end
  436. end
  437.  
  438. FOLDER.ChildAdded:connect(scriptChildModified)
  439. FOLDER.ChildRemoved:connect(scriptChildModified)
  440.  
  441.  
  442. for name, fileList in pairs(animNames) do
  443.     configureAnimationSet(name, fileList)
  444. end
  445.  
  446. -- ANIMATION
  447.  
  448. -- declarations
  449. local toolAnim = "None"
  450. local toolAnimTime = 0
  451.  
  452. local jumpAnimTime = 0
  453. local jumpAnimDuration = 0.3
  454.  
  455. local toolTransitionTime = 0.1
  456. local fallTransitionTime = 0.3
  457. local jumpMaxLimbVelocity = 0.75
  458.  
  459. -- functions
  460.  
  461. function stopAllAnimations()
  462.     local oldAnim = currentAnim
  463.  
  464.     -- return to idle if finishing an emote
  465.     if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  466.         oldAnim = "idle"
  467.     end
  468.  
  469.     currentAnim = ""
  470.     currentAnimInstance = nil
  471.     if (currentAnimKeyframeHandler ~= nil) then
  472.         currentAnimKeyframeHandler:disconnect()
  473.     end
  474.  
  475.     if (currentAnimTrack ~= nil) then
  476.         currentAnimTrack:Stop()
  477.         currentAnimTrack:Destroy()
  478.         currentAnimTrack = nil
  479.     end
  480.     return oldAnim
  481. end
  482.  
  483. function setAnimationSpeed(speed)
  484.     if speed ~= currentAnimSpeed then
  485.         currentAnimSpeed = speed
  486.         currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  487.     end
  488. end
  489.  
  490. function keyFrameReachedFunc(frameName)
  491.     if (frameName == "End") then
  492.  
  493.         local repeatAnim = currentAnim
  494.         -- return to idle if finishing an emote
  495.         if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  496.             repeatAnim = "idle"
  497.         end
  498.        
  499.         local animSpeed = currentAnimSpeed
  500.         playAnimation(repeatAnim, 0.0, Humanoid)
  501.         setAnimationSpeed(animSpeed)
  502.     end
  503. end
  504.  
  505. -- Preload animations
  506. function playAnimation(animName, transitionTime, humanoid)
  507.        
  508.     local roll = math.random(1, animTable[animName].totalWeight)
  509.     local origRoll = roll
  510.     local idx = 1
  511.     while (roll > animTable[animName][idx].weight) do
  512.         roll = roll - animTable[animName][idx].weight
  513.         idx = idx + 1
  514.     end
  515. --      print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  516.     local anim = animTable[animName][idx].anim
  517.  
  518.     -- switch animation    
  519.     if (anim ~= currentAnimInstance) then
  520.        
  521.         if (currentAnimTrack ~= nil) then
  522.             currentAnimTrack:Stop(transitionTime)
  523.             currentAnimTrack:Destroy()
  524.         end
  525.  
  526.         currentAnimSpeed = 1.0
  527.    
  528.         -- load it to the humanoid; get AnimationTrack
  529.         currentAnimTrack = humanoid:LoadAnimation(anim)
  530.         currentAnimTrack.Priority = Enum.AnimationPriority.Core
  531.            
  532.         -- play the animation
  533.         currentAnimTrack:Play(transitionTime)
  534.         currentAnim = animName
  535.         currentAnimInstance = anim
  536.  
  537.         -- set up keyframe name triggers
  538.         if (currentAnimKeyframeHandler ~= nil) then
  539.             currentAnimKeyframeHandler:disconnect()
  540.         end
  541.         currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  542.        
  543.     end
  544.  
  545. end
  546.  
  547. -------------------------------------------------------------------------------------------
  548. -------------------------------------------------------------------------------------------
  549.  
  550. local toolAnimName = ""
  551. local toolAnimTrack = nil
  552. local toolAnimInstance = nil
  553. local currentToolAnimKeyframeHandler = nil
  554.  
  555. function toolKeyFrameReachedFunc(frameName)
  556.     if (frameName == "End") then
  557. --      print("Keyframe : ".. frameName)   
  558.         playToolAnimation(toolAnimName, 0.0, Humanoid)
  559.     end
  560. end
  561.  
  562.  
  563. function playToolAnimation(animName, transitionTime, humanoid, priority)     
  564.        
  565.         local roll = math.random(1, animTable[animName].totalWeight)
  566.         local origRoll = roll
  567.         local idx = 1
  568.         while (roll > animTable[animName][idx].weight) do
  569.             roll = roll - animTable[animName][idx].weight
  570.             idx = idx + 1
  571.         end
  572. --      print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  573.         local anim = animTable[animName][idx].anim
  574.  
  575.         if (toolAnimInstance ~= anim) then
  576.            
  577.             if (toolAnimTrack ~= nil) then
  578.                 toolAnimTrack:Stop()
  579.                 toolAnimTrack:Destroy()
  580.                 transitionTime = 0
  581.             end
  582.                    
  583.             -- load it to the humanoid; get AnimationTrack
  584.             toolAnimTrack = humanoid:LoadAnimation(anim)
  585.             if priority then
  586.                 toolAnimTrack.Priority = priority
  587.             end
  588.                
  589.             -- play the animation
  590.             toolAnimTrack:Play(transitionTime)
  591.             toolAnimName = animName
  592.             toolAnimInstance = anim
  593.  
  594.             currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  595.         end
  596. end
  597.  
  598. function stopToolAnimations()
  599.     local oldAnim = toolAnimName
  600.  
  601.     if (currentToolAnimKeyframeHandler ~= nil) then
  602.         currentToolAnimKeyframeHandler:disconnect()
  603.     end
  604.  
  605.     toolAnimName = ""
  606.     toolAnimInstance = nil
  607.     if (toolAnimTrack ~= nil) then
  608.         toolAnimTrack:Stop()
  609.         toolAnimTrack:Destroy()
  610.         toolAnimTrack = nil
  611.     end
  612.  
  613.  
  614.     return oldAnim
  615. end
  616.  
  617. -------------------------------------------------------------------------------------------
  618. -------------------------------------------------------------------------------------------
  619.  
  620.  
  621. function onRunning(speed)
  622.     if speed > 0.01 then
  623.         playAnimation("walk", 0.1, Humanoid)
  624.         if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  625.             setAnimationSpeed(speed / 14.5)
  626.         end
  627.         pose = "Running"
  628.     else
  629.         if emoteNames[currentAnim] == nil then
  630.             playAnimation("idle", 0.1, Humanoid)
  631.             pose = "Standing"
  632.         end
  633.     end
  634. end
  635.  
  636. function onDied()
  637.     pose = "Dead"
  638. end
  639.  
  640. function onJumping()
  641.     playAnimation("jump", 0.1, Humanoid)
  642.     jumpAnimTime = jumpAnimDuration
  643.     pose = "Jumping"
  644. end
  645.  
  646. function onClimbing(speed)
  647.     playAnimation("climb", 0.1, Humanoid)
  648.     setAnimationSpeed(speed / 12.0)
  649.     pose = "Climbing"
  650. end
  651.  
  652. function onGettingUp()
  653.     pose = "GettingUp"
  654. end
  655.  
  656. function onFreeFall()
  657.     if (jumpAnimTime <= 0) then
  658.         playAnimation("fall", fallTransitionTime, Humanoid)
  659.     end
  660.     pose = "FreeFall"
  661. end
  662.  
  663. function onFallingDown()
  664.     pose = "FallingDown"
  665. end
  666.  
  667. function onSeated()
  668.     pose = "Seated"
  669. end
  670.  
  671. function onPlatformStanding()
  672.     pose = "PlatformStanding"
  673. end
  674.  
  675. function onSwimming(speed)
  676.     if speed > 0 then
  677.         pose = "Running"
  678.     else
  679.         pose = "Standing"
  680.     end
  681. end
  682.  
  683. function getTool() 
  684.     for _, kid in ipairs(Figure:GetChildren()) do
  685.         if kid.className == "Tool" then return kid end
  686.     end
  687.     return nil
  688. end
  689.  
  690. function getToolAnim(tool)
  691.     for _, c in ipairs(tool:GetChildren()) do
  692.         if c.Name == "toolanim" and c.className == "StringValue" then
  693.             return c
  694.         end
  695.     end
  696.     return nil
  697. end
  698.  
  699. function animateTool()
  700.    
  701.     if (toolAnim == "None") then
  702.         playToolAnimation("toolnone", toolTransitionTime, Humanoid, Enum.AnimationPriority.Idle)
  703.         return
  704.     end
  705.  
  706.     if (toolAnim == "Slash") then
  707.         playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action)
  708.         return
  709.     end
  710.  
  711.     if (toolAnim == "Lunge") then
  712.         playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action)
  713.         return
  714.     end
  715. end
  716.  
  717. function moveSit()
  718.     RightShoulder.MaxVelocity = 0.15
  719.     LeftShoulder.MaxVelocity = 0.15
  720.     RightShoulder:SetDesiredAngle(3.14 /2)
  721.     LeftShoulder:SetDesiredAngle(-3.14 /2)
  722.     RightHip:SetDesiredAngle(3.14 /2)
  723.     LeftHip:SetDesiredAngle(-3.14 /2)
  724. end
  725.  
  726. local lastTick = 0
  727.  
  728. function move(time)
  729.     local amplitude = 1
  730.     local frequency = 1
  731.         local deltaTime = time - lastTick
  732.         lastTick = time
  733.  
  734.     local climbFudge = 0
  735.     local setAngles = false
  736.  
  737.         if (jumpAnimTime > 0) then
  738.             jumpAnimTime = jumpAnimTime - deltaTime
  739.         end
  740.  
  741.     if (pose == "FreeFall" and jumpAnimTime <= 0) then
  742.         playAnimation("fall", fallTransitionTime, Humanoid)
  743.     elseif (pose == "Seated") then
  744.         playAnimation("sit", 0.5, Humanoid)
  745.         return
  746.     elseif (pose == "Running") then
  747.         playAnimation("walk", 0.1, Humanoid)
  748.     elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  749. --      print("Wha " .. pose)
  750.         stopAllAnimations()
  751.         amplitude = 0.1
  752.         frequency = 1
  753.         setAngles = true
  754.     end
  755.  
  756.     if (setAngles) then
  757.         local desiredAngle = amplitude * math.sin(time * frequency)
  758.  
  759.         RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  760.         LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  761.         RightHip:SetDesiredAngle(-desiredAngle)
  762.         LeftHip:SetDesiredAngle(-desiredAngle)
  763.     end
  764.  
  765.     -- Tool Animation handling
  766.     local tool = getTool()
  767.     if tool and tool:FindFirstChild("Handle") then
  768.    
  769.         local animStringValueObject = getToolAnim(tool)
  770.  
  771.         if animStringValueObject then
  772.             toolAnim = animStringValueObject.Value
  773.             -- message recieved, delete StringValue
  774.             animStringValueObject.Parent = nil
  775.             toolAnimTime = time + .3
  776.         end
  777.  
  778.         if time > toolAnimTime then
  779.             toolAnimTime = 0
  780.             toolAnim = "None"
  781.         end
  782.  
  783.         animateTool()      
  784.     else
  785.         stopToolAnimations()
  786.         toolAnim = "None"
  787.         toolAnimInstance = nil
  788.         toolAnimTime = 0
  789.     end
  790. end
  791.  
  792.  
  793. local events = {}
  794. local eventHum = Humanoid
  795.  
  796. local function onUnhook()
  797.     for i = 1, #events do
  798.         events[i]:Disconnect()
  799.     end
  800.     events = {}
  801. end
  802.  
  803. local function onHook()
  804.     onUnhook()
  805.    
  806.     pose = eventHum.Sit and "Seated" or "Standing"
  807.    
  808.     events = {
  809.         eventHum.Died:connect(onDied),
  810.         eventHum.Running:connect(onRunning),
  811.         eventHum.Jumping:connect(onJumping),
  812.         eventHum.Climbing:connect(onClimbing),
  813.         eventHum.GettingUp:connect(onGettingUp),
  814.         eventHum.FreeFalling:connect(onFreeFall),
  815.         eventHum.FallingDown:connect(onFallingDown),
  816.         eventHum.Seated:connect(onSeated),
  817.         eventHum.PlatformStanding:connect(onPlatformStanding),
  818.         eventHum.Swimming:connect(onSwimming)
  819.     }
  820. end
  821.  
  822.  
  823. onHook()
  824. --FOLDER:WaitForChild("Loaded").Value = true
  825.  
  826.  
  827. -- main program
  828.  
  829. -- initialize to idle
  830. playAnimation("idle", 0.1, Humanoid)
  831. pose = "Standing"
  832.  
  833. spawn(function()
  834.     while Figure.Parent ~= nil do
  835.         local _, time = wait(0.1)
  836.         move(time)
  837.     end
  838. end)
  839.  
  840. return {
  841.     onRunning = onRunning,
  842.     onDied = onDied,
  843.     onJumping = onJumping,
  844.     onClimbing = onClimbing,
  845.     onGettingUp = onGettingUp,
  846.     onFreeFall = onFreeFall,
  847.     onFallingDown = onFallingDown,
  848.     onSeated = onSeated,
  849.     onPlatformStanding = onPlatformStanding,
  850.     onHook = onHook,
  851.     onUnhook = onUnhook
  852. }
  853.  
  854. end
  855. RUNANIMATESCRIPT(CloneChar.Animate)
  856. return(function(IllIllIlIlIIIIIIIl,lIIIlIllIIllI,lIIIlIllIIllI)local lIIIIIIlIIIII=string.char;local IlIlIIIlIlIlllIl=string.sub;local IlIIIIIIIIIIIIl=table.concat;local llIIlllIlIl=math.ldexp;local IlIIIlIllIlIlllIIllIlll=getfenv or function()return _ENV end;local llllIlIIIIlI=select;local lIlIlIlllIllllI=unpack or table.unpack;local lIIIlIllIIllI=tonumber;local lIlllIllIIIlllI='\69\71\71\71\70\67\71\71\71\48\38\53\41\70\238\71\71\71\101\77\19\15\14\20\103\14\20\103\19\15\2\103\8\21\14\0\14\9\6\11\103\4\20\1\2\107\103\19\15\14\20\103\14\20\103\8\23\2\9\103\20\8\18\21\4\2\103\20\4\21\14\23\19\77\14\1\103\30\8\18\103\20\2\2\103\19\15\14\20\103\14\9\103\6\9\8\19\15\2\21\103\20\4\21\14\23\19\77\6\9\3\103\19\15\2\30\103\3\14\3\9\19\103\4\21\2\3\14\19\103\10\2\103\1\21\8\10\103\10\6\12\14\9\0\103\14\19\77\23\11\2\6\20\2\103\3\10\103\10\2\103\125\103\4\40\43\40\53\37\43\46\41\35\103\21\40\37\43\40\63\100\118\117\116\115\77\101\67\71\71\71\70\71\71\71\65\71\71\71\70\71\71\71\65\71\71\71\67\71\71\71\85\67\71\71\71\70\71\71\71\85\64\71\70\71\69\71\71\71\71\69\71\71\71\69\71\70\71\71\65\71\71\71\70\71\71\71\71\71\71\71\71';local lIIIlIllIIllI=(bit or bit32);local lllIlIlIllIlIIlIII=lIIIlIllIIllI and lIIIlIllIIllI.bxor or function(lIIIlIllIIllI,IIlIlIIIllIIIlIlllll)local IllllIIlllIIlIlIllIII,lllIlIlIllIlIIlIII,IlIIllllIIlIlII=1,0,10 while lIIIlIllIIllI>0 and IIlIlIIIllIIIlIlllll>0 do local IllIllIlIlIIIIIIIl,IlIIllllIIlIlII=lIIIlIllIIllI%2,IIlIlIIIllIIIlIlllll%2 if IllIllIlIlIIIIIIIl~=IlIIllllIIlIlII then lllIlIlIllIlIIlIII=lllIlIlIllIlIIlIII+IllllIIlllIIlIlIllIII end lIIIlIllIIllI,IIlIlIIIllIIIlIlllll,IllllIIlllIIlIlIllIII=(lIIIlIllIIllI-IllIllIlIlIIIIIIIl)/2,(IIlIlIIIllIIIlIlllll-IlIIllllIIlIlII)/2,IllllIIlllIIlIlIllIII*2 end if lIIIlIllIIllI<IIlIlIIIllIIIlIlllll then lIIIlIllIIllI=IIlIlIIIllIIIlIlllll end while lIIIlIllIIllI>0 do local IIlIlIIIllIIIlIlllll=lIIIlIllIIllI%2 if IIlIlIIIllIIIlIlllll>0 then lllIlIlIllIlIIlIII=lllIlIlIllIlIIlIII+IllllIIlllIIlIlIllIII end lIIIlIllIIllI,IllllIIlllIIlIlIllIII=(lIIIlIllIIllI-IIlIlIIIllIIIlIlllll)/2,IllllIIlllIIlIlIllIII*2 end return lllIlIlIllIlIIlIII end local function IIlIlIIIllIIIlIlllll(IIlIlIIIllIIIlIlllll,lIIIlIllIIllI,IllllIIlllIIlIlIllIII)if IllllIIlllIIlIlIllIII then local lIIIlIllIIllI=(IIlIlIIIllIIIlIlllll/2^(lIIIlIllIIllI-1))%2^((IllllIIlllIIlIlIllIII-1)-(lIIIlIllIIllI-1)+1);return lIIIlIllIIllI-lIIIlIllIIllI%1;else local lIIIlIllIIllI=2^(lIIIlIllIIllI-1);return(IIlIlIIIllIIIlIlllll%(lIIIlIllIIllI+lIIIlIllIIllI)>=lIIIlIllIIllI)and 1 or 0;end;end;local lIIIlIllIIllI=1;local function IllllIIlllIIlIlIllIII()local IllllIIlllIIlIlIllIII,IllIllIlIlIIIIIIIl,IlIIllllIIlIlII,IIlIlIIIllIIIlIlllll=IllIllIlIlIIIIIIIl(lIlllIllIIIlllI,lIIIlIllIIllI,lIIIlIllIIllI+3);IllllIIlllIIlIlIllIII=lllIlIlIllIlIIlIII(IllllIIlllIIlIlIllIII,71)IllIllIlIlIIIIIIIl=lllIlIlIllIlIIlIII(IllIllIlIlIIIIIIIl,71)IlIIllllIIlIlII=lllIlIlIllIlIIlIII(IlIIllllIIlIlII,71)IIlIlIIIllIIIlIlllll=lllIlIlIllIlIIlIII(IIlIlIIIllIIIlIlllll,71)lIIIlIllIIllI=lIIIlIllIIllI+4;return(IIlIlIIIllIIIlIlllll*16777216)+(IlIIllllIIlIlII*65536)+(IllIllIlIlIIIIIIIl*256)+IllllIIlllIIlIlIllIII;end;local function lIllIlIIlIlIIIllllllllIIl()local IllllIIlllIIlIlIllIII=lllIlIlIllIlIIlIII(IllIllIlIlIIIIIIIl(lIlllIllIIIlllI,lIIIlIllIIllI,lIIIlIllIIllI),71);lIIIlIllIIllI=lIIIlIllIIllI+1;return IllllIIlllIIlIlIllIII;end;local function IlIIllllIIlIlII()local IIlIlIIIllIIIlIlllll,IllllIIlllIIlIlIllIII=IllIllIlIlIIIIIIIl(lIlllIllIIIlllI,lIIIlIllIIllI,lIIIlIllIIllI+2);IIlIlIIIllIIIlIlllll=lllIlIlIllIlIIlIII(IIlIlIIIllIIIlIlllll,71)IllllIIlllIIlIlIllIII=lllIlIlIllIlIIlIII(IllllIIlllIIlIlIllIII,71)lIIIlIllIIllI=lIIIlIllIIllI+2;return(IllllIIlllIIlIlIllIII*256)+IIlIlIIIllIIIlIlllll;end;local function lIlIIIIll()local lIIIlIllIIllI=IllllIIlllIIlIlIllIII();local IllllIIlllIIlIlIllIII=IllllIIlllIIlIlIllIII();local IlIIllllIIlIlII=1;local lllIlIlIllIlIIlIII=(IIlIlIIIllIIIlIlllll(IllllIIlllIIlIlIllIII,1,20)*(2^32))+lIIIlIllIIllI;local lIIIlIllIIllI=IIlIlIIIllIIIlIlllll(IllllIIlllIIlIlIllIII,21,31);local IllllIIlllIIlIlIllIII=((-1)^IIlIlIIIllIIIlIlllll(IllllIIlllIIlIlIllIII,32));if(lIIIlIllIIllI==0)then if(lllIlIlIllIlIIlIII==0)then return IllllIIlllIIlIlIllIII*0;else lIIIlIllIIllI=1;IlIIllllIIlIlII=0;end;elseif(lIIIlIllIIllI==2047)then return(lllIlIlIllIlIIlIII==0)and(IllllIIlllIIlIlIllIII*(1/0))or(IllllIIlllIIlIlIllIII*(0/0));end;return llIIlllIlIl(IllllIIlllIIlIlIllIII,lIIIlIllIIllI-1023)*(IlIIllllIIlIlII+(lllIlIlIllIlIIlIII/(2^52)));end;local llIIlllIlIl=IllllIIlllIIlIlIllIII;local function llIlIIlIl(IllllIIlllIIlIlIllIII)local IIlIlIIIllIIIlIlllll;if(not IllllIIlllIIlIlIllIII)then IllllIIlllIIlIlIllIII=llIIlllIlIl();if(IllllIIlllIIlIlIllIII==0)then return'';end;end;IIlIlIIIllIIIlIlllll=IlIlIIIlIlIlllIl(lIlllIllIIIlllI,lIIIlIllIIllI,lIIIlIllIIllI+IllllIIlllIIlIlIllIII-1);lIIIlIllIIllI=lIIIlIllIIllI+IllllIIlllIIlIlIllIII;local IllllIIlllIIlIlIllIII={}for lIIIlIllIIllI=1,#IIlIlIIIllIIIlIlllll do IllllIIlllIIlIlIllIII[lIIIlIllIIllI]=lIIIIIIlIIIII(lllIlIlIllIlIIlIII(IllIllIlIlIIIIIIIl(IlIlIIIlIlIlllIl(IIlIlIIIllIIIlIlllll,lIIIlIllIIllI,lIIIlIllIIllI)),71))end return IlIIIIIIIIIIIIl(IllllIIlllIIlIlIllIII);end;local lIIIlIllIIllI=IllllIIlllIIlIlIllIII;local function IlIIIIIIIIIIIIl(...)return{...},llllIlIIIIlI('#',...)end local function llIIlllIlIl()local IlIlIIIlIlIlllIl={};local lIlllIllIIIlllI={};local lllIlIlIllIlIIlIII={};local IlIIIIIIIIIIIIl={[#{{169;862;642;659};{979;48;113;123};}]=lIlllIllIIIlllI,[#{{808;720;453;806};"1 + 1 = 111";{354;173;892;134};}]=nil,[#{"1 + 1 = 111";{452;653;676;749};"1 + 1 = 111";{339;344;776;502};}]=lllIlIlIllIlIIlIII,[#{{894;564;454;731};}]=IlIlIIIlIlIlllIl,};local lIIIlIllIIllI=IllllIIlllIIlIlIllIII()local IllIllIlIlIIIIIIIl={}for IIlIlIIIllIIIlIlllll=1,lIIIlIllIIllI do local IllllIIlllIIlIlIllIII=lIllIlIIlIlIIIllllllllIIl();local lIIIlIllIIllI;if(IllllIIlllIIlIlIllIII==3)then lIIIlIllIIllI=(lIllIlIIlIlIIIllllllllIIl()~=0);elseif(IllllIIlllIIlIlIllIII==2)then lIIIlIllIIllI=lIlIIIIll();elseif(IllllIIlllIIlIlIllIII==1)then lIIIlIllIIllI=llIlIIlIl();end;IllIllIlIlIIIIIIIl[IIlIlIIIllIIIlIlllll]=lIIIlIllIIllI;end;for lIIIlIllIIllI=1,IllllIIlllIIlIlIllIII()do lllIlIlIllIlIIlIII[lIIIlIllIIllI]=IllllIIlllIIlIlIllIII();end;for lIlllIllIIIlllI=1,IllllIIlllIIlIlIllIII()do local lIIIlIllIIllI=lIllIlIIlIlIIIllllllllIIl();if(IIlIlIIIllIIIlIlllll(lIIIlIllIIllI,1,1)==0)then local lllIlIlIllIlIIlIII=IIlIlIIIllIIIlIlllll(lIIIlIllIIllI,2,3);local lIllIlIIlIlIIIllllllllIIl=IIlIlIIIllIIIlIlllll(lIIIlIllIIllI,4,6);local lIIIlIllIIllI={IlIIllllIIlIlII(),IlIIllllIIlIlII(),nil,nil};if(lllIlIlIllIlIIlIII==0)then lIIIlIllIIllI[#("b3d")]=IlIIllllIIlIlII();lIIIlIllIIllI[#("Akz3")]=IlIIllllIIlIlII();elseif(lllIlIlIllIlIIlIII==1)then lIIIlIllIIllI[#("EPg")]=IllllIIlllIIlIlIllIII();elseif(lllIlIlIllIlIIlIII==2)then lIIIlIllIIllI[#{{229;276;362;804};"1 + 1 = 111";"1 + 1 = 111";}]=IllllIIlllIIlIlIllIII()-(2^16)elseif(lllIlIlIllIlIIlIII==3)then lIIIlIllIIllI[#("Pf0")]=IllllIIlllIIlIlIllIII()-(2^16)lIIIlIllIIllI[#{{638;982;11;841};{770;236;948;766};{414;765;550;961};"1 + 1 = 111";}]=IlIIllllIIlIlII();end;if(IIlIlIIIllIIIlIlllll(lIllIlIIlIlIIIllllllllIIl,1,1)==1)then lIIIlIllIIllI[#("If")]=IllIllIlIlIIIIIIIl[lIIIlIllIIllI[#{"1 + 1 = 111";{189;710;783;536};}]]end if(IIlIlIIIllIIIlIlllll(lIllIlIIlIlIIIllllllllIIl,2,2)==1)then lIIIlIllIIllI[#("xCc")]=IllIllIlIlIIIIIIIl[lIIIlIllIIllI[#("d49")]]end if(IIlIlIIIllIIIlIlllll(lIllIlIIlIlIIIllllllllIIl,3,3)==1)then lIIIlIllIIllI[#("xoft")]=IllIllIlIlIIIIIIIl[lIIIlIllIIllI[#("g4Xt")]]end IlIlIIIlIlIlllIl[lIlllIllIIIlllI]=lIIIlIllIIllI;end end;IlIIIIIIIIIIIIl[3]=lIllIlIIlIlIIIllllllllIIl();for lIIIlIllIIllI=1,IllllIIlllIIlIlIllIII()do lIlllIllIIIlllI[lIIIlIllIIllI-1]=llIIlllIlIl();end;return IlIIIIIIIIIIIIl;end;local IlIlIIIlIlIlllIl=pcall local function llIlIIlIl(lllIlIlIllIlIIlIII,lIIIlIllIIllI,IllIllIlIlIIIIIIIl)lllIlIlIllIlIIlIII=(lllIlIlIllIlIIlIII==true and llIIlllIlIl())or lllIlIlIllIlIIlIII;return(function(...)local IlIIllllIIlIlII=1;local lIIIlIllIIllI=-1;local lIlllIllIIIlllI={...};local lIllIlIIlIlIIIllllllllIIl=llllIlIIIIlI('#',...)-1;local llllIlIIIIlI=lllIlIlIllIlIIlIII[#{"1 + 1 = 111";}];local IIlIlIIIllIIIlIlllll=lllIlIlIllIlIIlIII[#{"1 + 1 = 111";{752;260;690;797};"1 + 1 = 111";}];local lIIIlIllIIllI=lllIlIlIllIlIIlIII[#{{54;790;926;572};{363;346;403;6};}];local function llIIlllIlIl()local lIIIlIllIIllI=IlIIIIIIIIIIIIl local lllIlIlIllIlIIlIII={};local lIIIlIllIIllI={};local IllllIIlllIIlIlIllIII={};for lIIIlIllIIllI=0,lIllIlIIlIlIIIllllllllIIl do if(lIIIlIllIIllI>=IIlIlIIIllIIIlIlllll)then lllIlIlIllIlIIlIII[lIIIlIllIIllI-IIlIlIIIllIIIlIlllll]=lIlllIllIIIlllI[lIIIlIllIIllI+1];else IllllIIlllIIlIlIllIII[lIIIlIllIIllI]=lIlllIllIIIlllI[lIIIlIllIIllI+1];end;end;local lIIIlIllIIllI=lIllIlIIlIlIIIllllllllIIl-IIlIlIIIllIIIlIlllll+1 local lIIIlIllIIllI;local IIlIlIIIllIIIlIlllll;while true do lIIIlIllIIllI=llllIlIIIIlI[IlIIllllIIlIlII];IIlIlIIIllIIIlIlllll=lIIIlIllIIllI[#("z")];if IIlIlIIIllIIIlIlllll<=#("3Tb")then if IIlIlIIIllIIIlIlllll<=#("y")then if IIlIlIIIllIIIlIlllll==#("")then IllllIIlllIIlIlIllIII[lIIIlIllIIllI[#("og")]]=IllIllIlIlIIIIIIIl[lIIIlIllIIllI[#("6CS")]];else do return end;end;elseif IIlIlIIIllIIIlIlllll>#("z1")then local lIIIlIllIIllI=lIIIlIllIIllI[#("Hm")]IllllIIlllIIlIlIllIII[lIIIlIllIIllI](IllllIIlllIIlIlIllIII[lIIIlIllIIllI+1])else local lIIIlIllIIllI=lIIIlIllIIllI[#("az")]IllllIIlllIIlIlIllIII[lIIIlIllIIllI](IllllIIlllIIlIlIllIII[lIIIlIllIIllI+1])end;elseif IIlIlIIIllIIIlIlllll<=#("3Uu44")then if IIlIlIIIllIIIlIlllll==#("J5nq")then IllllIIlllIIlIlIllIII[lIIIlIllIIllI[#("Fa")]]=IllIllIlIlIIIIIIIl[lIIIlIllIIllI[#{"1 + 1 = 111";"1 + 1 = 111";{246;903;947;887};}]];else IllllIIlllIIlIlIllIII[lIIIlIllIIllI[#("mT")]]=lIIIlIllIIllI[#("eUn")];end;elseif IIlIlIIIllIIIlIlllll>#("aQV6Tx")then IllllIIlllIIlIlIllIII[lIIIlIllIIllI[#("ia")]]=lIIIlIllIIllI[#("38M")];else do return end;end;IlIIllllIIlIlII=IlIIllllIIlIlII+1;end;end;A,B=IlIIIIIIIIIIIIl(IlIlIIIlIlIlllIl(llIIlllIlIl))if not A[1]then local lIIIlIllIIllI=lllIlIlIllIlIIlIII[4][IlIIllllIIlIlII]or'?';error('ERROR IN IRONBREW SCRIPT [LINE '..lIIIlIllIIllI..']:'..A[2]);wait(9e9);else return lIlIlIlllIllllI(A,2,B);end;end);end;return llIlIIlIl(true,{},IlIIIlIllIlIlllIIllIlll())();end)(string.byte,table.insert,setmetatable);
Add Comment
Please, Sign In to add comment