Advertisement
LoaderGame

MY UTG REMAKE

Jul 13th, 2019
11,885
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 333.80 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Frame = Instance.new("ImageLabel")
  6. local Cop = Instance.new("TextButton")
  7. local _4 = Instance.new("ImageLabel")
  8. local Chara = Instance.new("TextButton")
  9. local _3 = Instance.new("ImageLabel")
  10. local Ali = Instance.new("TextButton")
  11. local _2 = Instance.new("ImageLabel")
  12. local Sans = Instance.new("TextButton")
  13. local _1 = Instance.new("ImageLabel")
  14. local TextLabel = Instance.new("TextLabel")
  15. local TextLabel_Roundify_12px = Instance.new("ImageLabel")
  16. local Close = Instance.new("TextButton")
  17. local _5 = Instance.new("ImageLabel")
  18. --Properties:
  19. ScreenGui.Parent = game.CoreGui
  20.  
  21. Frame.Name = "Frame"
  22. Frame.Parent = ScreenGui
  23. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  24. Frame.BackgroundTransparency = 1
  25. Frame.Position = UDim2.new(0.146592706, 0, 0.275160611, 0)
  26. Frame.Size = UDim2.new(0, 484, 0, 281)
  27. Frame.Image = "rbxassetid://2851926732"
  28. Frame.ImageColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  29. Frame.ScaleType = Enum.ScaleType.Slice
  30. Frame.SliceCenter = Rect.new(12, 12, 12, 12)
  31. Frame.Draggable = true
  32.  
  33. Cop.Name = "Cop"
  34. Cop.Parent = Frame
  35. Cop.BackgroundColor3 = Color3.new(1, 1, 1)
  36. Cop.BackgroundTransparency = 1
  37. Cop.BorderSizePixel = 0
  38. Cop.Position = UDim2.new(0.51628989, 0, 0.520068228, 0)
  39. Cop.Size = UDim2.new(0, 135, 0, 41)
  40. Cop.ZIndex = 2
  41. Cop.Font = Enum.Font.Code
  42. Cop.Text = "Cop"
  43. Cop.TextColor3 = Color3.new(1, 1, 1)
  44. Cop.TextSize = 30
  45. Cop.TextWrapped = true
  46. Cop.MouseButton1Down:connect(function()
  47. -----------------------------------
  48. --WATCH OUT HERE COMES THE COPPAS--
  49. ----------------------------------------------------------------
  50. --By CKbackup (Sugarie Saffron)                               --
  51. --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw--
  52. --Discord: Sugarie Saffron#4705                               --
  53. ----------------------------------------------------------------
  54.  
  55. print([[
  56. --Script Cop--
  57. By CKbackup (Sugarie Saffron)                              
  58. YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw
  59. Discord: Sugarie Saffron#4705    
  60. --------------------------------
  61. As I've been demoted from my SB
  62. Mod rank in VSB, I don't see the
  63. need to hold this back any longer.
  64.  
  65. Also, if the anims look weird or
  66. the weapon looks out of place,
  67. it's because it's actually modeled
  68. off a scaled rig with a package.
  69. It looks better with the Boy
  70. package.
  71. --------------------------------
  72. (Keys)
  73. M - Mute/Play Music
  74.  
  75. Click - Baton Swing
  76. (Hold) Q - Run
  77. Z - Pistol
  78. X - Arrest
  79.  
  80. P - Move Jail(s)
  81. ]])
  82.  
  83. wait(1/60)
  84. Effects = { }
  85. local Player = game:service'Players'.localPlayer
  86. local chara = Player.Character
  87. local Humanoid = chara:FindFirstChildOfClass("Humanoid")
  88. local Mouse = Player:GetMouse()
  89. local LeftArm = chara["Left Arm"]
  90. local RightArm = chara["Right Arm"]
  91. local LeftLeg = chara["Left Leg"]
  92. local RightLeg = chara["Right Leg"]
  93. local Head = chara.Head
  94. local Torso = chara.Torso
  95. local RootPart = chara.HumanoidRootPart
  96. local RootJoint = RootPart.RootJoint
  97. local attack = false
  98. local Anim = 'Idle'
  99. local attacktype = 1
  100. local delays = false
  101. local play = true
  102. local targetted = nil
  103. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  104. local velocity = RootPart.Velocity.y
  105. local sine = 0
  106. local change = 1
  107. local doe = 0
  108. local Create = LoadLibrary("RbxUtility").Create
  109. Humanoid.WalkSpeed = 16
  110.  
  111.  
  112.  
  113. Humanoid.Animator.Parent = nil
  114. chara.Animate.Parent = nil
  115.  
  116. local pos = Vector3.new(0,0,-50)
  117.  
  118. local newMotor = function(part0, part1, c0, c1)
  119.     local w = Create('Motor'){
  120.         Parent = part0,
  121.         Part0 = part0,
  122.         Part1 = part1,
  123.         C0 = c0,
  124.         C1 = c1,
  125.     }
  126.     return w
  127. end
  128.  
  129. function clerp(a, b, t)
  130.     return a:lerp(b, t)
  131. end
  132.  
  133. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  134. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  135.  
  136. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  137. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  138. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  139. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  140. RootJoint.C1 = CFrame.new(0, 0, 0)
  141. RootJoint.C0 = CFrame.new(0, 0, 0)
  142. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  143. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  144.  
  145.  
  146. local rarmc1 = RW.C1
  147. local larmc1 = LW.C1
  148. local rlegc1 = RH.C1
  149. local llegc1 = LH.C1
  150.  
  151. local resetc1 = false
  152.  
  153. function PlayAnimationFromTable(table, speed, bool)
  154.     RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  155.     Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  156.     RW.C0 = clerp(RW.C0, table[3], speed)
  157.     LW.C0 = clerp(LW.C0, table[4], speed)
  158.     RH.C0 = clerp(RH.C0, table[5], speed)
  159.     LH.C0 = clerp(LH.C0, table[6], speed)
  160.     if bool == true then
  161.         if resetc1 == false then
  162.             resetc1 = true
  163.             RootJoint.C1 = RootJoint.C1
  164.             Torso.Neck.C1 = Torso.Neck.C1
  165.             RW.C1 = rarmc1
  166.             LW.C1 = larmc1
  167.             RH.C1 = rlegc1
  168.             LH.C1 = llegc1
  169.         end
  170.     end
  171. end
  172.  
  173.  
  174. ArtificialHB = Instance.new("BindableEvent", script)
  175. ArtificialHB.Name = "Heartbeat"
  176. script:WaitForChild("Heartbeat")
  177. frame = 0.03333333333333
  178. tf = 0
  179. allowframeloss = false
  180. tossremainder = false
  181. lastframe = tick()
  182. script.Heartbeat:Fire()
  183. game:GetService("RunService").Heartbeat:connect(function(s, p)
  184.   tf = tf + s
  185.   if tf >= frame then
  186.     if allowframeloss then
  187.       script.Heartbeat:Fire()
  188.       lastframe = tick()
  189.     else
  190.       for i = 1, math.floor(tf / frame) do
  191.         script.Heartbeat:Fire()
  192.       end
  193.       lastframe = tick()
  194.     end
  195.     if tossremainder then
  196.       tf = 0
  197.     else
  198.       tf = tf - frame * math.floor(tf / frame)
  199.     end
  200.   end
  201. end)
  202. function swait(num)
  203.   if num == 0 or num == nil then
  204.     ArtificialHB.Event:wait()
  205.   else
  206.     for i = 0, num do
  207.       ArtificialHB.Event:wait()
  208.     end
  209.   end
  210. end
  211.  
  212. function RemoveOutlines(part)
  213.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  214. end
  215.    
  216.  
  217. CFuncs = { 
  218.     ["Part"] = {
  219.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  220.             local Part = Create("Part"){
  221.                 Parent = Parent,
  222.                 Reflectance = Reflectance,
  223.                 Transparency = Transparency,
  224.                 CanCollide = false,
  225.                 Locked = true,
  226.                 BrickColor = BrickColor.new(tostring(BColor)),
  227.                 Name = Name,
  228.                 Size = Size,
  229.                 Material = Material,
  230.             }
  231.             RemoveOutlines(Part)
  232.             return Part
  233.         end;
  234.     };
  235.    
  236.     ["Mesh"] = {
  237.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  238.             local Msh = Create(Mesh){
  239.                 Parent = Part,
  240.                 Offset = OffSet,
  241.                 Scale = Scale,
  242.             }
  243.             if Mesh == "SpecialMesh" then
  244.                 Msh.MeshType = MeshType
  245.                 Msh.MeshId = MeshId
  246.             end
  247.             return Msh
  248.         end;
  249.     };
  250.    
  251.     ["Mesh"] = {
  252.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  253.             local Msh = Create(Mesh){
  254.                 Parent = Part,
  255.                 Offset = OffSet,
  256.                 Scale = Scale,
  257.             }
  258.             if Mesh == "SpecialMesh" then
  259.                 Msh.MeshType = MeshType
  260.                 Msh.MeshId = MeshId
  261.             end
  262.             return Msh
  263.         end;
  264.     };
  265.    
  266.     ["Weld"] = {
  267.         Create = function(Parent, Part0, Part1, C0, C1)
  268.             local Weld = Create("Weld"){
  269.                 Parent = Parent,
  270.                 Part0 = Part0,
  271.                 Part1 = Part1,
  272.                 C0 = C0,
  273.                 C1 = C1,
  274.             }
  275.             return Weld
  276.         end;
  277.     };
  278.    
  279.     ["ParticleEmitter"] = {
  280.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  281.             local fp = Create("ParticleEmitter"){
  282.                 Parent = Parent,
  283.                 Color = ColorSequence.new(Color1, Color2),
  284.                 LightEmission = LightEmission,
  285.                 Size = Size,
  286.                 Texture = Texture,
  287.                 Transparency = Transparency,
  288.                 ZOffset = ZOffset,
  289.                 Acceleration = Accel,
  290.                 Drag = Drag,
  291.                 LockedToPart = LockedToPart,
  292.                 VelocityInheritance = VelocityInheritance,
  293.                 EmissionDirection = EmissionDirection,
  294.                 Enabled = Enabled,
  295.                 Lifetime = LifeTime,
  296.                 Rate = Rate,
  297.                 Rotation = Rotation,
  298.                 RotSpeed = RotSpeed,
  299.                 Speed = Speed,
  300.                 VelocitySpread = VelocitySpread,
  301.             }
  302.             return fp
  303.         end;
  304.     };
  305.  
  306.     CreateTemplate = {
  307.    
  308.     };
  309. }
  310.  
  311.  
  312. function so(id,par,pit,vol)
  313.   local sou = Instance.new("Sound", par or workspace)
  314.   if par == chara then
  315.     sou.Parent = chara.Torso
  316.   end
  317.   sou.Volume = vol
  318.   sou.Pitch = pit or 1
  319.   sou.SoundId = "rbxassetid://" .. id
  320.   sou.PlayOnRemove = true
  321.   sou:Destroy()
  322. end
  323.  
  324. local mus = Instance.new("Sound",Head)
  325. mus.Name = "mus"
  326. mus.SoundId = "rbxassetid://345868687"
  327. mus.Looped = true
  328. mus.Volume = 1
  329. mus:Play()
  330.  
  331. New = function(Object, Parent, Name, Data)
  332.     local Object = Instance.new(Object)
  333.     for Index, Value in pairs(Data or {}) do
  334.         Object[Index] = Value
  335.     end
  336.     Object.Parent = Parent
  337.     Object.Name = Name
  338.     return Object
  339. end
  340.  
  341. local PoliceHat = New("Part",chara,"PoliceHat",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(2, 0.400000006, 1),CFrame = CFrame.new(18.3999939, 1.20000005, -23.1000061, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  342. local Mesh = New("SpecialMesh",PoliceHat,"Mesh",{Scale = Vector3.new(1.10000002, 1.20000005, 1.10000002),MeshId = "rbxassetid://1028788",TextureId = "rbxassetid://152240477",MeshType = Enum.MeshType.FileMesh,})
  343. local Weld = New("ManualWeld",PoliceHat,"Weld",{Part0 = PoliceHat,Part1 = Head,C1 = CFrame.new(0, 0.700000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  344. for i, v in pairs(chara:children()) do
  345. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("BodyColors") then
  346. v:Destroy()
  347. elseif v.Name == "FakeHeadM" then
  348. v.Ahoge.Mesh.Scale = Vector3.new()
  349. elseif v.Name == "Chest" then
  350. for a, b in pairs(v:children()) do
  351. if b.Name ~= "Tail" then
  352. b.Transparency = 1
  353. end
  354. end
  355. end
  356. end
  357. local sh = Instance.new("Shirt",chara)
  358. local pn = Instance.new("Pants",chara)
  359. sh.ShirtTemplate = "rbxassetid://133284214"
  360. pn.PantsTemplate = "rbxassetid://15224239"
  361.  
  362.  
  363. bdefc0 = CFrame.new(.8,-1,0)*CFrame.Angles(math.rad(30),0,0)
  364. gdefc0 = CFrame.new(-.8,-1,0)*CFrame.Angles(math.rad(130),0,0)
  365.  
  366. local baton = Instance.new("Part",chara)
  367. baton.Name = "Baton"
  368. baton.Size = Vector3.new(.2,.2,3.2)
  369. baton.BrickColor = BrickColor.new("Really black")
  370. baton.CanCollide = false
  371. CFuncs.Mesh.Create("SpecialMesh", baton, "FileMesh", "rbxassetid://11820238", Vector3.new(), Vector3.new(1.5,1.5,1.5))
  372.  
  373. local bweld = Instance.new("Weld",baton)
  374. bweld.Part0 = Torso
  375. bweld.Part1 = baton
  376. bweld.C0 = bdefc0
  377.  
  378. local att1 = Instance.new("Attachment",baton)
  379. att1.Position = Vector3.new(-baton.Size.X/2,baton.Size.Y/2,baton.Size.Z/2)
  380. local att2 = Instance.new("Attachment",baton)
  381. att2.Position = Vector3.new(-baton.Size.X/2,-baton.Size.Y/2,-baton.Size.Z/2)
  382. local tr1 = Instance.new("Trail",baton)
  383. tr1.Color = ColorSequence.new(Color3.new(1,1,1))
  384. tr1.Transparency = NumberSequence.new(0,1)
  385. tr1.Lifetime = .5
  386. tr1.Enabled = false
  387. tr1.LightEmission = 1
  388. tr1.Attachment0 = att1
  389. tr1.Attachment1 = att2
  390. local att3 = Instance.new("Attachment",RightLeg)
  391. att3.Position = Vector3.new(0,1,0)
  392. local att4 = Instance.new("Attachment",RightLeg)
  393. att4.Position = Vector3.new(0,-1,0)
  394. local tr2 = Instance.new("Trail",RightLeg)
  395. tr2.Color = ColorSequence.new(Color3.new(1,1,1))
  396. tr2.Transparency = NumberSequence.new(0,1)
  397. tr2.Lifetime = .5
  398. tr2.Enabled = false
  399. tr2.LightEmission = 1
  400. tr2.Attachment0 = att3
  401. tr2.Attachment1 = att4
  402.  
  403. local gun = Instance.new("Part",chara)
  404. gun.Name = "Gun"
  405. gun.Size = Vector3.new(.2,.2,.2)
  406. gun.BrickColor = BrickColor.new("Really black")
  407. gun.CanCollide = false
  408. CFuncs.Mesh.Create("SpecialMesh", gun, "FileMesh", "rbxassetid://72012879", Vector3.new(), Vector3.new(2,2,2))
  409.  
  410. local gweld = Instance.new("Weld",gun)
  411. gweld.Part0 = Torso
  412. gweld.Part1 = gun
  413. gweld.C0 = gdefc0
  414.  
  415. function rayCast(Position, Direction, Range, Ignore)
  416.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  417. end
  418.  
  419. function mdmg(Part, Magnitude, HitType)
  420.     for _, c in pairs(workspace:GetDescendants()) do
  421.         local hum = c:FindFirstChildOfClass("Humanoid")
  422.         if hum ~= nil then
  423.             local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso")
  424.             if head ~= nil then
  425.                 local targ = head.Position - Part.Position
  426.                 local mag = targ.magnitude
  427.                 if mag <= Magnitude and c.Name ~= Player.Name and c:FindFirstChild("MagDmgd")==nil then
  428.                 if c.Name ~= chara then
  429.                 if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" then
  430.             local val = Instance.new("BoolValue",c)
  431.             val.Name = "MagDmgd"
  432.             local asd = Instance.new("ParticleEmitter",head)
  433.             asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  434.             asd.LightEmission = .1
  435.             asd.Size = NumberSequence.new(0.2)
  436.             asd.Texture = "rbxassetid://771221224"
  437.             aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 1)})
  438.             bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  439.             asd.Transparency = bbb
  440.             asd.Size = aaa
  441.             asd.ZOffset = .9
  442.             asd.Acceleration = Vector3.new(0, -5, 0)
  443.             asd.LockedToPart = false
  444.             asd.EmissionDirection = "Back"
  445.             asd.Lifetime = NumberRange.new(1, 2)
  446.             asd.Rate = 1000
  447.             asd.Rotation = NumberRange.new(-100, 100)
  448.             asd.RotSpeed = NumberRange.new(-100, 100)
  449.             asd.Speed = NumberRange.new(6)
  450.             asd.VelocitySpread = 10000
  451.             asd.Enabled = false
  452.             asd:Emit(20)
  453.             game:service'Debris':AddItem(asd,3)
  454.                     --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  455.                 if HitType == "Blunt" then             
  456.                 so(386946017,head,.95,3)
  457.                 game:service'Debris':AddItem(val,1)
  458.                 elseif HitType == "Shot" then
  459.                 so(144884872,head,.9,3)
  460.                 game:service'Debris':AddItem(val,.05)  
  461.                 end
  462.                 local soaa = Instance.new("Sound",c.Head)
  463.                 soaa.Volume = .5
  464.                 local cho = math.random(1,5)
  465.                 if cho == 1 then
  466.                 soaa.SoundId = "rbxassetid://111896685"
  467.                 elseif cho == 2 then
  468.                 soaa.SoundId = "rbxassetid://535528169"
  469.                 elseif cho == 3 then
  470.                 soaa.SoundId = "rbxassetid://1080363252"
  471.                 elseif cho == 4 then
  472.                 soaa.SoundId = "rbxassetid://147758746"
  473.                 elseif cho == 5 then
  474.                 soaa.SoundId = "rbxassetid://626777433"
  475.                 soaa.Volume = .2
  476.                 soaa.TimePosition = 1
  477.                 end
  478.                 game:service'Debris':AddItem(soaa,6)
  479.                 soaa:Play()
  480.                     for i,v in pairs(c:children()) do
  481.                     if v:IsA("LocalScript") or v:IsA("Tool") then
  482.                     v:Destroy()
  483.                     end
  484.                     end
  485.                     hum.PlatformStand = true
  486.                     head.Velocity = RootPart.CFrame.lookVector*50
  487.                     head.RotVelocity = Vector3.new(10,0,0)
  488.                     chatfunc("Let that be a warning!")
  489.                     coroutine.wrap(function()
  490.                     swait(5)
  491.                     c:BreakJoints() end)()
  492.                        else
  493.                     end
  494.                 end
  495.             end
  496.         end
  497.     end
  498.     end
  499. end
  500.  
  501. --[[FindNearestTorso = function(pos)
  502.     local list = (game.workspace:GetDescendants())
  503.     local torso = nil
  504.     local dist = 1000
  505.     local temp, human, temp2 = nil, nil, nil
  506.     for x = 1, #list do
  507.         temp2 = list[x]
  508.         if temp2.className == "Model" and temp2.Name ~= chara.Name then
  509.             temp = temp2:findFirstChild("Torso")
  510.             human = temp2:FindFirstChildOfClass("Humanoid")
  511.             if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  512.                 local dohit = true
  513.                 if dohit == true then
  514.                     torso = temp
  515.                     dist = (temp.Position - pos).magnitude
  516.                 end
  517.             end
  518.         end
  519.     end
  520.     return torso, dist
  521. end]]
  522.  
  523.  
  524. function FindNearestTorso(Position, Distance, SinglePlayer)
  525.     if SinglePlayer then
  526.         return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  527.     end
  528.     local List = {}
  529.     for i, v in pairs(workspace:GetDescendants()) do
  530.         if v:IsA("Model") then
  531.             if v:findFirstChild("Head") then
  532.                 if v ~= chara then
  533.                     if (v.Head.Position - Position).magnitude <= Distance then
  534.                         table.insert(List, v)
  535.                     end
  536.                 end
  537.             end
  538.         end
  539.     end
  540.     return List
  541. end
  542.  
  543.  
  544. --Chat Function--
  545. function chatfunc(text)
  546. coroutine.wrap(function()
  547. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  548. chara:FindFirstChild("TalkingBillBoard"):destroy()
  549. end
  550. local naeeym2 = Instance.new("BillboardGui",chara)
  551. naeeym2.Size = UDim2.new(0,100,0,40)
  552. naeeym2.StudsOffset = Vector3.new(0,3,0)
  553. naeeym2.Adornee = chara.Head
  554. naeeym2.Name = "TalkingBillBoard"
  555. local tecks2 = Instance.new("TextLabel",naeeym2)
  556. tecks2.BackgroundTransparency = 1
  557. tecks2.BorderSizePixel = 0
  558. tecks2.Text = ""
  559. tecks2.Font = "Fantasy"
  560. tecks2.FontSize = "Size24"
  561. tecks2.TextStrokeTransparency = 0
  562. tecks2.TextColor3 = Color3.new(1,1,1)
  563. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  564. tecks2.Size = UDim2.new(1,0,0.5,0)
  565. for i = 1,string.len(text),1 do
  566. tecks2.Text = string.sub(text,1,i)
  567. swait()
  568. end
  569. swait(30)
  570. for i = 1, 5 do
  571. swait()
  572. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  573. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  574. tecks2.TextTransparency = tecks2.TextTransparency + .2
  575. end
  576. naeeym2:Destroy()
  577. end)()
  578. end
  579.  
  580.  
  581.  
  582. EffectModel = Create("Model"){
  583.     Parent = chara,
  584.     Name = "Effects",
  585. }
  586.  
  587.  
  588. Effects = {
  589.     Block = {
  590.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  591.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  592.             prt.Anchored = true
  593.             prt.CFrame = cframe
  594.             local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  595.             game:GetService("Debris"):AddItem(prt, 10)
  596.             if Type == 1 or Type == nil then
  597.                 table.insert(Effects, {
  598.                     prt,
  599.                     "Block1",
  600.                     delay,
  601.                     x3,
  602.                     y3,
  603.                     z3,
  604.                     msh
  605.                 })
  606.             elseif Type == 2 then
  607.                 table.insert(Effects, {
  608.                     prt,
  609.                     "Block2",
  610.                     delay,
  611.                     x3,
  612.                     y3,
  613.                     z3,
  614.                     msh
  615.                 })
  616.             end
  617.         end;
  618.     };
  619.  
  620.         Cylinder = {
  621.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  622.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())     
  623.             prt.Anchored = true
  624.             prt.CFrame = cframe
  625.             local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  626.             game:GetService("Debris"):AddItem(prt, 10)
  627.             table.insert(Effects, {
  628.                 prt,
  629.                 "Cylinder",
  630.                 delay,
  631.                 x3,
  632.                 y3,
  633.                 z3,
  634.                 msh
  635.             })
  636.         end;
  637.     };
  638.     Head = {
  639.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  640.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  641.             prt.Anchored = true
  642.             prt.CFrame = cframe
  643.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  644.             game:GetService("Debris"):AddItem(prt, 10)
  645.             table.insert(Effects, {
  646.                 prt,
  647.                 "Cylinder",
  648.                 delay,
  649.                 x3,
  650.                 y3,
  651.                 z3,
  652.                 msh
  653.             })
  654.         end;
  655.     };
  656.    
  657.     Sphere = {
  658.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  659.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  660.             prt.Anchored = true
  661.             prt.CFrame = cframe
  662.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  663.             game:GetService("Debris"):AddItem(prt, 10)
  664.             table.insert(Effects, {
  665.                 prt,
  666.                 "Cylinder",
  667.                 delay,
  668.                 x3,
  669.                 y3,
  670.                 z3,
  671.                 msh
  672.             })
  673.         end;
  674.     };
  675.    
  676.     Elect = {
  677.         Create = function(cff, x, y, z)
  678.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  679.             prt.Anchored = true
  680.             prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  681.             prt.CFrame = CFrame.new(prt.Position)
  682.             game:GetService("Debris"):AddItem(prt, 2)
  683.             local xval = math.random() / 2
  684.             local yval = math.random() / 2
  685.             local zval = math.random() / 2
  686.             local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  687.             table.insert(Effects, {
  688.                 prt,
  689.                 "Elec",
  690.                 0.1,
  691.                 x,
  692.                 y,
  693.                 z,
  694.                 xval,
  695.                 yval,
  696.                 zval
  697.             })
  698.         end;
  699.  
  700.     };
  701.    
  702.     Ring = {
  703.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  704.             local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  705.             prt.Anchored = true
  706.             prt.CFrame = cframe
  707.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  708.             game:GetService("Debris"):AddItem(prt, 10)
  709.             table.insert(Effects, {
  710.                 prt,
  711.                 "Cylinder",
  712.                 delay,
  713.                 x3,
  714.                 y3,
  715.                 z3,
  716.                 msh
  717.             })
  718.         end;
  719.     };
  720.  
  721.  
  722.     Wave = {
  723.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  724.             local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  725.             prt.Anchored = true
  726.             prt.CFrame = cframe
  727.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  728.             game:GetService("Debris"):AddItem(prt, 10)
  729.             table.insert(Effects, {
  730.                 prt,
  731.                 "Cylinder",
  732.                 delay,
  733.                 x3,
  734.                 y3,
  735.                 z3,
  736.                 msh
  737.             })
  738.         end;
  739.     };
  740.  
  741.     Break = {
  742.         Create = function(brickcolor, cframe, x1, y1, z1)
  743.             local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  744.             prt.Anchored = true
  745.             prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  746.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  747.             local num = math.random(10, 50) / 1000
  748.             game:GetService("Debris"):AddItem(prt, 10)
  749.             table.insert(Effects, {
  750.                 prt,
  751.                 "Shatter",
  752.                 num,
  753.                 prt.CFrame,
  754.                 math.random() - math.random(),
  755.                 0,
  756.                 math.random(50, 100) / 100
  757.             })
  758.         end;
  759.     };
  760.    
  761.     Fire = {
  762.         Create = function(brickcolor, cframe, x1, y1, z1, delay)
  763.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  764.             prt.Anchored = true
  765.             prt.CFrame = cframe
  766.             msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  767.             game:GetService("Debris"):AddItem(prt, 10)
  768.             table.insert(Effects, {
  769.                 prt,
  770.                 "Fire",
  771.                 delay,
  772.                 1,
  773.                 1,
  774.                 1,
  775.                 msh
  776.             })
  777.         end;
  778.     };
  779.    
  780.     FireWave = {
  781.         Create = function(brickcolor, cframe, x1, y1, z1)
  782.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  783.             prt.Anchored = true
  784.             prt.CFrame = cframe
  785.             msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  786.             local d = Create("Decal"){
  787.                 Parent = prt,
  788.                 Texture = "rbxassetid://26356434",
  789.                 Face = "Top",
  790.             }
  791.             local d = Create("Decal"){
  792.                 Parent = prt,
  793.                 Texture = "rbxassetid://26356434",
  794.                 Face = "Bottom",
  795.             }
  796.             game:GetService("Debris"):AddItem(prt, 10)
  797.             table.insert(Effects, {
  798.                 prt,
  799.                 "FireWave",
  800.                 1,
  801.                 30,
  802.                 math.random(400, 600) / 100,
  803.                 msh
  804.             })
  805.         end;
  806.     };
  807.    
  808.     Lightning = {
  809.         Create = function(p0, p1, tym, ofs, col, th, tra, last)
  810.             local magz = (p0 - p1).magnitude
  811.             local curpos = p0
  812.             local trz = {
  813.                 -ofs,
  814.                 ofs
  815.             }
  816.             for i = 1, tym do
  817.                 local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  818.                 local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  819.                 local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  820.                 li.Material = "Neon"
  821.                 if tym == i then
  822.                     local magz2 = (curpos - p1).magnitude
  823.                     li.Size = Vector3.new(th, th, magz2)
  824.                     li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  825.                     table.insert(Effects, {
  826.                         li,
  827.                         "Disappear",
  828.                         last
  829.                     })
  830.                 else
  831.                     do
  832.                         do
  833.                             li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  834.                             curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  835.                             game.Debris:AddItem(li, 10)
  836.                             table.insert(Effects, {
  837.                                 li,
  838.                                 "Disappear",
  839.                                 last
  840.                             })
  841.                         end
  842.                     end
  843.                 end
  844.             end
  845.         end
  846.     };
  847.  
  848.     EffectTemplate = {
  849.  
  850.     };
  851. }
  852.  
  853.  
  854. function smek()
  855. attack = true
  856. bweld.Part0 = RightArm
  857. bweld.C0 = CFrame.new(-.2,-2,.4)*CFrame.Angles(math.rad(90),0,math.rad(180))
  858. Humanoid.WalkSpeed = 40
  859. for i=0,1,.2 do
  860. swait()
  861. PlayAnimationFromTable({       
  862. CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  863. CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  864. CFrame.new(1.6195364, 0.256343663, -3.60019794e-06, 0.939692736, -0.342020124, -8.94069672e-08, 0.342020154, 0.939692676, -4.35416268e-07, 2.08616257e-07, 3.87430191e-07, 1),
  865. CFrame.new(-1.65980804, 0.323206544, 5.72385352e-06, 0.866025329, 0.500000238, -2.98023224e-07, -0.500000179, 0.866025388, -1.34623383e-06, -4.47034836e-07, 1.29640102e-06, 1.00000012),
  866. CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616),
  867. CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544),
  868. }, .3, false)
  869. end
  870. Humanoid.WalkSpeed = 2
  871. tr1.Enabled = true
  872. so(536642316,baton,1,1)
  873. for i=0,1,.1 do
  874. swait()
  875. PlayAnimationFromTable({       
  876. CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992),
  877. CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992),
  878. CFrame.new(1.06065702, 1.09677029, -0.161810428, 0.400286436, 0.242276207, 0.88378346, 0.734158754, -0.661962748, -0.151050553, 0.548435688, 0.709300876, -0.442843854),
  879. CFrame.new(-1.59605861, 0.10887894, 1.11486224e-06, 0.984807909, 0.173648059, -2.23517418e-06, -0.173648059, 0.984807849, 3.82394944e-07, 2.29477882e-06, 1.86264515e-08, 1),
  880. CFrame.new(0.685087919, -1.96527183, 0.0673596561, 0.92541647, -0.163175598, -0.342020869, 0.173647985, 0.984807849, 2.90093368e-07, 0.336824894, -0.0593915246, 0.939692438),
  881. CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511),
  882. }, .3, false)
  883. mdmg(baton,3,"Blunt")
  884. end
  885. swait(5)
  886. bweld.Part0 = Torso
  887. bweld.C0 = bdefc0
  888. Humanoid.WalkSpeed = 16
  889. tr1.Enabled = false
  890. attack = false
  891. end
  892.  
  893. function asmek()
  894. attack = true
  895. --local par
  896. --coroutine.wrap(function()
  897. --repeat swait() par = rayCast(RootPart.Position,Vector3.new(0,-1,0),3,chara) until par~=nil or Torso.Velocity.Y == 0
  898. --tr2.Enabled = false
  899. --attack = false
  900. --end)()
  901. --for i=0,1,.2 do
  902. --swait()
  903. --PlayAnimationFromTable({     
  904. --CFrame.new(0, -0.0460019112, -0.0689063296, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  905. --CFrame.new(0, 1.52556431, -0.222140759, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  906. --CFrame.new(1.59158015, 0.575856388, 6.13234874e-07, 0.642787039, -0.766044974, -4.38231467e-07, 0.766045034, 0.642787039, 1.78813934e-07, 1.63912773e-07, -4.39584255e-07, 1.00000012),
  907. --CFrame.new(-1.59158027, 0.575856209, 6.13234988e-07, 0.642787039, 0.766044974, 4.38231467e-07, -0.766045034, 0.642787039, 1.78813934e-07, -1.63912773e-07, -4.39584255e-07, 1.00000012),
  908. --CFrame.new(0.499998927, -1.99999928, 3.81469772e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  909. --CFrame.new(-0.5, -1.41182017, 0.232474089, 1, 0, 0, 0, 0.642786622, 0.766045392, 0, -0.766045392, 0.642786622),
  910. --}, .3, false)
  911. --end
  912. tr2.Enabled = true
  913. so(536642316,RightLeg,1,1)
  914. for i=0,1.5,.1 do
  915. swait()
  916. PlayAnimationFromTable({       
  917. CFrame.new(0, -0.11843279, 0.00109164417, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414)*CFrame.Angles(math.rad(-360*i),0,0),
  918. CFrame.new(0, 1.36002374, -0.491580963, 1, 0, 0, 0, 0.642787457, 0.766044736, 0, -0.766044736, 0.642787457),
  919. CFrame.new(1.59157825, 0.575854659, 4.30346518e-06, 0.64278698, -0.766045034, -1.0103544e-07, 0.766045094, 0.64278698, -5.36441803e-07, 5.06639481e-07, 2.98023224e-07, 1.00000012),
  920. CFrame.new(-1.59158015, 0.575855613, 2.39611677e-06, 0.64278698, 0.766045034, 1.0103544e-07, -0.766045094, 0.64278698, -5.36441803e-07, -5.06639481e-07, 2.98023224e-07, 1.00000012),
  921. CFrame.new(0.399999022, -1.92074621, -0.716740668, 1, 0, 0, 0, 0.766044736, -0.642787457, 0, 0.642787457, 0.766044736),
  922. CFrame.new(-0.5, -1.41181993, 0.232477784, 1, 0, 0, 0, 0.642787457, 0.766044736, 0, -0.766044736, 0.642787457),
  923. }, .3, false)
  924. if i >= .4 then
  925. mdmg(RightLeg,3.5,"Blunt")
  926. end
  927. end
  928. tr2.Enabled = false
  929. attack = false
  930. end
  931.  
  932. local shots = 7
  933. zhold = true
  934. function shoot()
  935. attack = true
  936. so(169799883,gun,1,1)
  937. for i=0,1,.1 do
  938. swait()
  939. PlayAnimationFromTable({       
  940. CFrame.new(0.0524868444, 0, -0.0110093001, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
  941. CFrame.new(-0.0421711877, 1.49999738, -0.0331315249, 0.852868021, -0.0612752885, -0.518518507, 0.17364794, 0.969846606, 0.171008661, 0.492404759, -0.235887513, 0.837791562),
  942. CFrame.new(0.611007333, -0.00932076573, -0.639356554, 0.653100669, 0.696805716, -0.296515375, -0.748181939, 0.533255994, -0.394793421, -0.116975725, 0.479687244, 0.869607329),
  943. CFrame.new(-1.29161143, -0.030067116, -0.0939707607, 0.98480773, -0.163176328, 0.0593894422, 0.173647985, 0.925416648, -0.336824149, 1.78813934e-06, 0.342019945, 0.939692736),
  944. CFrame.new(0.499998003, -2.00000095, 3.84449959e-06, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
  945. CFrame.new(-0.499998897, -2.00000095, 1.59442425e-06, 0.98480767, 0, 0.173648536, 0, 1, 0, -0.173648536, 0, 0.98480767),
  946. }, .3, false)
  947. end
  948. Humanoid.WalkSpeed = 2
  949. local ref = Instance.new("Part",chara)
  950. ref.Size = Vector3.new(0,0,0)
  951. ref.Anchored = true
  952. ref.CanCollide = false
  953. ref.Transparency = 1
  954. gweld.Part0 = RightArm
  955. gweld.C0 = CFrame.new(.1,-1.5,-.2)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-40))
  956. for i=0,1,.1 do
  957. swait()
  958. PlayAnimationFromTable({       
  959. CFrame.new(0, -0.0301527902, -0.171009317, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  960. CFrame.new(0.0984806046, 1.48289788, -0.00301507115, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
  961. CFrame.new(0.9734447, 0.943128467, -1.04116416, 0.76604414, 0.642788053, 0, 0.219846308, -0.262002349, -0.939692736, -0.604023278, 0.719846129, -0.342019886),
  962. CFrame.new(-0.516993761, 0.475136518, -0.924885869, 0, -0.499998987, 0.866025984, 0.939692736, -0.29619813, -0.171009615, 0.342019886, 0.813798308, 0.469845414),
  963. CFrame.new(0.5, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  964. CFrame.new(-0.500000238, -1.99999905, 5.96046164e-08, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  965. }, .3, false)
  966. end
  967. swait(5)
  968. repeat
  969. so(470245800,gun,1,1)
  970. ref.CFrame = Mouse.Hit
  971. mdmg(ref,3,"Shot")
  972. local hitpt = Instance.new("Part",EffectModel)
  973. hitpt.Size = Vector3.new(0,0,.3)
  974. local bf = Instance.new("BodyVelocity",hitpt)
  975. bf.P = 10000
  976. bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
  977. game:service'Debris':AddItem(bf,.1)
  978. hitpt.CFrame = gun.CFrame * CFrame.new(0,-.5,.5) * CFrame.Angles(math.rad(90),0,0)
  979. bf.Velocity = Vector3.new(0,5,0) + RootPart.CFrame.rightVector*10
  980. local hitm = Instance.new("SpecialMesh",hitpt)
  981. hitm.MeshId = "http://www.roblox.com/asset/?id=94295100"
  982. hitm.TextureId = "http://www.roblox.com/asset/?id=94287792"
  983. hitm.Scale = Vector3.new(3,3,3.5)
  984. coroutine.wrap(function()
  985. swait(120)
  986. for i = 0,1.1 do
  987. swait()
  988. hitpt.Transparency = i
  989. end
  990. hitpt:Destroy()
  991. end)()
  992. Effects.Block.Create(BrickColor.new("Bright yellow"), gun.CFrame*CFrame.new(0,.6,.3), 0,0,0,1,1,1, 0.05)
  993. shots = shots - 1
  994. for i=0,1,.2 do
  995. swait()
  996. PlayAnimationFromTable({       
  997. CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  998. CFrame.new(0.0984815434, 1.48289728, -0.00301322341, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
  999. CFrame.new(0.973445654, 1.13885617, -0.660623372, 0.766044199, 0.642787933, 5.27496837e-08, 0.413175672, -0.492403269, -0.766045034, -0.492404401, 0.586824477, -0.64278698),
  1000. CFrame.new(-0.516991675, 0.65931946, -0.711421967, 0, -0.499999166, 0.866025925, 0.766044796, -0.556670487, -0.321393073, 0.642787218, 0.663414717, 0.383021772),
  1001. CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1002. CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1003. }, .3, false)
  1004. end
  1005. for i=0,1,.2 do
  1006. swait()
  1007. PlayAnimationFromTable({       
  1008. CFrame.new(0, -0.0301527902, -0.171009317, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1009. CFrame.new(0.0984806046, 1.48289788, -0.00301507115, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
  1010. CFrame.new(0.9734447, 0.943128467, -1.04116416, 0.76604414, 0.642788053, 0, 0.219846308, -0.262002349, -0.939692736, -0.604023278, 0.719846129, -0.342019886),
  1011. CFrame.new(-0.516993761, 0.475136518, -0.924885869, 0, -0.499998987, 0.866025984, 0.939692736, -0.29619813, -0.171009615, 0.342019886, 0.813798308, 0.469845414),
  1012. CFrame.new(0.5, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1013. CFrame.new(-0.500000238, -1.99999905, 5.96046164e-08, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1014. }, .3, false)
  1015. end
  1016. if shots == 0 then
  1017. so(147323220,gun,1,1)
  1018. for i=0,1.3,.1 do
  1019. swait()
  1020. PlayAnimationFromTable({       
  1021. CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1022. CFrame.new(0.0984815434, 1.48289728, -0.00301322341, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
  1023. CFrame.new(0.973445654, 1.13885617, -0.660623372, 0.766044199, 0.642787933, 5.27496837e-08, 0.413175672, -0.492403269, -0.766045034, -0.492404401, 0.586824477, -0.64278698),
  1024. CFrame.new(-1.29161143, -0.030067116, -0.0939707607, 0.98480773, -0.163176328, 0.0593894422, 0.173647985, 0.925416648, -0.336824149, 1.78813934e-06, 0.342019945, 0.939692736),
  1025. CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1026. CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1027. }, .3, false)
  1028. end
  1029. local MagPartt = New("Part",chara,"MagPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000033, 0.399999976, 1),CFrame = CFrame.new(-9.29999638, 0.700002313, -0.200002074, 1, 0, 0, 0, 0, 1, 0, -1, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1030. MagPartt.CFrame = gun.CFrame * CFrame.new(0,-.5,-.5) * CFrame.Angles(0,0,0)
  1031. coroutine.wrap(function()
  1032. swait(5)
  1033. MagPartt.CanCollide = true
  1034. swait(120)
  1035. for i = 0,1.1 do
  1036. swait()
  1037. MagPartt.Transparency = i
  1038. end
  1039. MagPartt:Destroy()
  1040. end)()
  1041. swait(10)
  1042. local MagPart = New("Part",chara,"MagPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(.2,.4,1),CFrame = CFrame.new(-9.29999638, 0.700002313, -0.200002074, 1, 0, 0, 0, 0, 1, 0, -1, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1043. local Weld = New("ManualWeld",MagPart,"Weld",{Part0 = MagPart,Part1 = chara["Left Arm"],C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)),C1 = CFrame.new(0.200001717, -1.20000005, -0.200000286, 1, 0, 0, 0, 0, 1, 0, -1, 0),})
  1044. for i=0,1.4,.2 do
  1045. swait()
  1046. PlayAnimationFromTable({       
  1047. CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1048. CFrame.new(0.0984815434, 1.48289728, -0.00301322341, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
  1049. CFrame.new(0.973445654, 1.13885617, -0.660623372, 0.766044199, 0.642787933, 5.27496837e-08, 0.413175672, -0.492403269, -0.766045034, -0.492404401, 0.586824477, -0.64278698),
  1050. CFrame.new(-0.516991675, 0.65931946, -0.711421967, 0, -0.499999166, 0.866025925, 0.766044796, -0.556670487, -0.321393073, 0.642787218, 0.663414717, 0.383021772),
  1051. CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1052. CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1053. }, .3, false)
  1054. end
  1055. MagPart:Destroy()
  1056. swait(5)
  1057. for i=0,1,.2 do
  1058. swait()
  1059. PlayAnimationFromTable({       
  1060. CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1061. CFrame.new(0.0984815434, 1.48289728, -0.00301322341, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
  1062. CFrame.new(1.16020393, 0.666379213, -0.905047119, 0.76604414, 0.604023218, 0.219846413, 0.219846308, 0.0751920938, -0.972632408, -0.604023278, 0.793411791, -0.0751917362),
  1063. CFrame.new(-0.629211903, 0.930547178, -0.87133497, 0.262002915, -0.642787874, -0.71984607, -0.958213985, -0.262002975, -0.114805877, -0.114805937, 0.71984601, -0.684573948),
  1064. CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1065. CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1066. }, .3, false)
  1067. end
  1068. so(506273075,gun,1,1)
  1069. for i=0,1,.2 do
  1070. swait()
  1071. PlayAnimationFromTable({       
  1072. CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1073. CFrame.new(0.0984815434, 1.48289728, -0.00301322341, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
  1074. CFrame.new(1.16020393, 0.666379213, -0.905047119, 0.76604414, 0.604023218, 0.219846413, 0.219846308, 0.0751920938, -0.972632408, -0.604023278, 0.793411791, -0.0751917362),
  1075. CFrame.new(-0.629361629, 0.793605626, -0.495871037, 0.262002915, -0.642787874, -0.71984607, -0.958213985, -0.262002975, -0.114805877, -0.114805937, 0.71984601, -0.684573948),
  1076. CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1077. CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1078. }, .3, false)
  1079. end
  1080. for i=0,1,.2 do
  1081. swait()
  1082. PlayAnimationFromTable({       
  1083. CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1084. CFrame.new(0.0984815434, 1.48289728, -0.00301322341, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
  1085. CFrame.new(1.16020393, 0.666379213, -0.905047119, 0.76604414, 0.604023218, 0.219846413, 0.219846308, 0.0751920938, -0.972632408, -0.604023278, 0.793411791, -0.0751917362),
  1086. CFrame.new(-0.629211903, 0.930547178, -0.87133497, 0.262002915, -0.642787874, -0.71984607, -0.958213985, -0.262002975, -0.114805877, -0.114805937, 0.71984601, -0.684573948),
  1087. CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1088. CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1089. }, .3, false)
  1090. end
  1091. shots = 7
  1092. swait(10)
  1093. for i=0,1,.2 do
  1094. swait()
  1095. PlayAnimationFromTable({       
  1096. CFrame.new(0, -0.0301527902, -0.171009317, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1097. CFrame.new(0.0984806046, 1.48289788, -0.00301507115, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
  1098. CFrame.new(0.9734447, 0.943128467, -1.04116416, 0.76604414, 0.642788053, 0, 0.219846308, -0.262002349, -0.939692736, -0.604023278, 0.719846129, -0.342019886),
  1099. CFrame.new(-0.516993761, 0.475136518, -0.924885869, 0, -0.499998987, 0.866025984, 0.939692736, -0.29619813, -0.171009615, 0.342019886, 0.813798308, 0.469845414),
  1100. CFrame.new(0.5, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1101. CFrame.new(-0.500000238, -1.99999905, 5.96046164e-08, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1102. }, .3, false)
  1103. end
  1104. end
  1105. until zhold == false
  1106. swait(5)
  1107. ref:Destroy()
  1108. so(211134014,gun,1,1)
  1109. for i=0,1,.1 do
  1110. swait()
  1111. PlayAnimationFromTable({       
  1112. CFrame.new(0.0524868444, 0, -0.0110093001, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
  1113. CFrame.new(-0.0421711877, 1.49999738, -0.0331315249, 0.852868021, -0.0612752885, -0.518518507, 0.17364794, 0.969846606, 0.171008661, 0.492404759, -0.235887513, 0.837791562),
  1114. CFrame.new(0.611007333, -0.00932076573, -0.639356554, 0.653100669, 0.696805716, -0.296515375, -0.748181939, 0.533255994, -0.394793421, -0.116975725, 0.479687244, 0.869607329),
  1115. CFrame.new(-1.29161143, -0.030067116, -0.0939707607, 0.98480773, -0.163176328, 0.0593894422, 0.173647985, 0.925416648, -0.336824149, 1.78813934e-06, 0.342019945, 0.939692736),
  1116. CFrame.new(0.499998003, -2.00000095, 3.84449959e-06, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
  1117. CFrame.new(-0.499998897, -2.00000095, 1.59442425e-06, 0.98480767, 0, 0.173648536, 0, 1, 0, -0.173648536, 0, 0.98480767),
  1118. }, .3, false)
  1119. end
  1120. gweld.Part0 = Torso
  1121. gweld.C0 = gdefc0
  1122. Humanoid.WalkSpeed = 16
  1123. attack = false
  1124. end
  1125.  
  1126. local Jails = Instance.new("Model",chara)
  1127. Jails.Name = "Jails"
  1128. function arrest()
  1129. attack = true
  1130. if Mouse.Target~= nil then
  1131. local dude = Mouse.Target.Parent
  1132. local ply = game:service'Players':GetPlayerFromCharacter(dude)
  1133. if dude:FindFirstChildOfClass("Humanoid") then
  1134. Humanoid.WalkSpeed = 0
  1135. for i,v in pairs(dude:children()) do
  1136. if v:IsA("LocalScript") or v:IsA("Tool") then
  1137. v:Destroy()
  1138. end
  1139. end
  1140. local haed = dude:FindFirstChild("Head")
  1141. local JailCell = New("Model",Jails,"JailCell",{})
  1142. local SpawnPart = New("Part",JailCell,"SpawnPart",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(-76.1000137, 3.00000596, -1.99999905, 1, 0, 0, 0, 0, 1, 0, -1, 0),Anchored = true,CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1143. local removescriptspart = New("Part",JailCell,"removescriptspart",{Transparency = 1,Transparency = 1,Size = Vector3.new(16, 9, 13),CFrame = CFrame.new(-69.5999985, 5.5000062, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1144. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(6, 9, 1),CFrame = CFrame.new(-75.0999985, 5.5000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1145. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(19, 1, 16),CFrame = CFrame.new(-69.5999985, 0.50000602, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1146. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(-68.5999985, 6.0000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1147. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1148. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(1, 9, 16),CFrame = CFrame.new(-78.5999985, 5.5000062, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1149. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-77.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1150. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1151. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(-69.5999985, 6.0000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1152. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1153. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999946, 0.600000024, 1.60000014),CFrame = CFrame.new(-62.3000031, 2.70000601, 0.600000381, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1154. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.400000006, 0.200000003, 0.800000012),CFrame = CFrame.new(-61.5, 3.10000563, 1.39999962, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1155. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(35, 1, 6),CFrame = CFrame.new(-69.5999985, 0.50000602, 12, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1156. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 2.50000572, 4.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1157. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.400000006, 0.400000006, 0.400000036),CFrame = CFrame.new(-61.2999992, 3.40000558, 1.39999962, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1158. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 5.5000062, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1159. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 16),CFrame = CFrame.new(-85.0999985, 0.50000602, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1160. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999946, 0.600000024, 1.60000014),CFrame = CFrame.new(-65.8999939, 2.10000563, -4.79999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1161. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(2, 0.200000003, 2.00000024),CFrame = CFrame.new(-62.1000023, 2.30000591, 1.39999962, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1162. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.19999993, 0.600000024, 0.400000036),CFrame = CFrame.new(-65.1000061, 2.10000563, -4.19999886, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1163. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(2, 0.600000143, 0.400000155),CFrame = CFrame.new(-61.3000031, 2.70000529, 1.39999962, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1164. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999946, 0.600000024, 1.60000014),CFrame = CFrame.new(-62.3000031, 2.70000505, 2.19999886, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1165. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Bright blue"),Material = Enum.Material.Granite,Size = Vector3.new(1.19999981, 0.400000036, 1.20000005),CFrame = CFrame.new(-62.1000023, 2.60000587, 1.39999962, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0509804, 0.411765, 0.67451),})
  1166. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.Glass,Reflectance = 1,Size = Vector3.new(2, 2.80000019, 0.200000003),CFrame = CFrame.new(-61.1999969, 5.20000648, 1.40000057, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),})
  1167. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Metal,Size = Vector3.new(0.599999964, 0.200000033, 0.200000003),CFrame = CFrame.new(-64.5999985, 3.70000505, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1168. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.39999998, 1.20000005, 1.39999998),CFrame = CFrame.new(-61.8000031, 1.6000061, 1.39999962, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1169. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.19999993, 0.600000024, 0.400000036),CFrame = CFrame.new(-62.9000015, 2.70000601, 1.3999958, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1170. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-71.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1171. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1172. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(2, 0.200000003, 2.00000024),CFrame = CFrame.new(-65.0999985, 1.70000601, -5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1173. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.39999998, 0.600000024, 1.39999998),CFrame = CFrame.new(-65.0999985, 1.30000627, -5.29999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1174. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(-67.5999985, 6.0000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1175. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1176. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-74.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1177. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1178. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(-71.5999985, 6.0000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1179. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1180. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(19, 1, 16),CFrame = CFrame.new(-69.5999985, 10.5000114, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1181. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Bright blue"),Material = Enum.Material.Granite,Size = Vector3.new(1.19999981, 0.400000036, 1.20000005),CFrame = CFrame.new(-65.0999985, 2.00000572, -5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0509804, 0.411765, 0.67451),})
  1182. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-72.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1183. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1184. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-76.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1185. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1186. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-75.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1187. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1188. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(3.99999976, 0.400000095, 6),CFrame = CFrame.new(-76.1000137, 2.6000061, -1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1189. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(2, 2.40000033, 0.400000155),CFrame = CFrame.new(-65.0999985, 3.00000525, -5.79999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1190. Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999946, 0.600000024, 1.60000014),CFrame = CFrame.new(-64.3000031, 2.10000491, -4.79999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1191. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 3),CFrame = CFrame.new(-81.0999985, 0.50000602, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1192. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-70.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1193. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1194. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-73.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1195. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1196. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(3.99999976, 0.400000036, 8),CFrame = CFrame.new(-76.1000137, 2.20000601, -2, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1197. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(1, 9, 16),CFrame = CFrame.new(-60.5999985, 5.5000062, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1198. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-77.5999985, 1.50000584, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1199. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1200. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(-70.5999985, 6.0000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1201. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1202. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(3.99999976, 0.400000095, 2),CFrame = CFrame.new(-76.1000137, 2.6000061, -5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1203. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 4.50000572, 2.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1204. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 3.50000572, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1205. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 1.50000584, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1206. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 7.5000062, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1207. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 6.5000062, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1208. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 9.50000572, -2.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1209. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 3, 1),CFrame = CFrame.new(-81.0999985, 2.5000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1210. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 3),CFrame = CFrame.new(-81.0999985, 0.50000602, 7.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1211. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(1, 3, 21),CFrame = CFrame.new(-86.5999985, 2.50000596, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1212. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 8.50000572, -1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1213. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(6, 9, 1),CFrame = CFrame.new(-64.0999985, 5.5000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1214. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(5, 3, 1),CFrame = CFrame.new(-69.5999985, 2.50000572, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1215. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(5, 2, 1),CFrame = CFrame.new(-69.5999985, 9.00000572, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1216. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 10.5000114, -3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1217. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-62.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1218. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1219. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-74.5999985, 1.50000584, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1220. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1221. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-74.5999985, 1.50000584, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1222. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1223. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-77.5999985, 1.50000584, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1224. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1225. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-69.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1226. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1227. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-66.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1228. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1229. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-67.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1230. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1231. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-65.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1232. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1233. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-68.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1234. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1235. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-64.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1236. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1237. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-63.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1238. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1239. Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-61.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1240. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
  1241. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 6.5000062, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1242. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 2.50000572, 4.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1243. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 10.5000114, -3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1244. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 4.50000572, 2.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1245. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 3.50000572, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1246. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 8.50000572, -1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1247. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 9.50000572, -2.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1248. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 16),CFrame = CFrame.new(-54.0999985, 0.50000602, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1249. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 3),CFrame = CFrame.new(-58.0999985, 0.50000602, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1250. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 5.5000062, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1251. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 3),CFrame = CFrame.new(-58.0999985, 0.50000602, 7.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1252. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 7.5000062, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1253. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 1.50000584, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1254. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(1, 3, 21),CFrame = CFrame.new(-52.5999985, 2.50000596, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1255. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 3, 1),CFrame = CFrame.new(-58.0999985, 2.5000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1256. Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(35, 3, 1),CFrame = CFrame.new(-69.5999985, 2.50000596, 14.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1257. JailCell:MoveTo(pos)
  1258. removescriptspart.Touched:connect(function(hit)
  1259. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= chara then
  1260. for i,v in pairs(hit.Parent:children()) do
  1261. if v:IsA("LocalScript") or v:IsA("Tool") then
  1262. v:Destroy()
  1263. end
  1264. end
  1265. end
  1266. end)
  1267.     for _, v in pairs(chara:children()) do
  1268.       if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  1269.         do
  1270.           local p = v:clone()
  1271.           p.Name = "trail"
  1272.           p.Parent = workspace
  1273.           p.Transparency = 0.5
  1274.           p.Anchored = true
  1275.           p.BrickColor = BrickColor.White()
  1276.           p.Material = "Neon"
  1277.           p:BreakJoints()
  1278.           p.CanCollide = false
  1279.           if v == chara.Head then
  1280.           for a, b in pairs(p:children()) do
  1281.           if b:IsA("Sound") then
  1282.           b:Destroy()
  1283.           end
  1284.           end
  1285.           end
  1286.           coroutine.resume(coroutine.create(function()
  1287.             for i = 1, 50 do
  1288.               swait()
  1289.               p.Transparency = i / 50
  1290.             end
  1291.             p:Destroy()
  1292.           end))
  1293.         end
  1294.       end
  1295.       if v.className == "Accessory" then
  1296.       end
  1297. end
  1298. so(1055279036,Torso,1,3)
  1299. if haed~=nil then
  1300. haed.Anchored = true
  1301. Head.CFrame = haed.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(0,math.rad(180),0)
  1302. end
  1303. for i=0,1,.1 do
  1304. swait()
  1305. PlayAnimationFromTable({       
  1306. CFrame.new(0.174721688, 0, -0.147934705, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388),
  1307. CFrame.new(3.35276127e-06, 1.44895828, -0.0894558877, 0.939692616, 3.12924385e-07, -0.342020482, 0.0593909845, 0.98480773, 0.163176119, 0.336824477, -0.173648328, 0.925416529),
  1308. CFrame.new(1.5, 0.499998093, -0.40000084, 0.939692676, -0.342020601, 0, 0, 0, -1, 0.342020601, 0.939692676, 0),
  1309. CFrame.new(-1.52924228, 0.286380947, -3.51718177e-06, 0.939692855, 0.342019916, 2.08616257e-07, -0.342019856, 0.939692736, -1.5155652e-07, -2.08616257e-07, 8.94069672e-08, 1.00000024),
  1310. CFrame.new(0.499998987, -2.00000095, -1.14738941e-06, 0.939692676, 0, -0.342020601, 0, 1, 0, 0.342020601, 0, 0.939692676),
  1311. CFrame.new(-0.499998212, -2.00000095, 1.90734909e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  1312. }, .3, false)
  1313. end
  1314. chatfunc("You are under arrest! Now face your sentence!")
  1315. swait(50)
  1316.                 local soaa = Instance.new("Sound",haed)
  1317.                 soaa.Volume = 1
  1318.                 local cho = math.random(1,5)
  1319.                 if cho == 1 then
  1320.                 soaa.SoundId = "rbxassetid://111896685"
  1321.                 elseif cho == 2 then
  1322.                 soaa.SoundId = "rbxassetid://535528169"
  1323.                 elseif cho == 3 then
  1324.                 soaa.SoundId = "rbxassetid://1080363252"
  1325.                 elseif cho == 4 then
  1326.                 soaa.SoundId = "rbxassetid://147758746"
  1327.                 elseif cho == 5 then
  1328.                 soaa.SoundId = "rbxassetid://626777433"
  1329.                 soaa.Volume = .3
  1330.                 soaa.TimePosition = 1
  1331.                 end
  1332.                 game:service'Debris':AddItem(soaa,6)
  1333.                 soaa:Play()
  1334. if haed~=nil then
  1335. haed.Anchored = false
  1336. end
  1337. Humanoid.WalkSpeed = 16
  1338. local jc = JailCell
  1339. if ply~=nil then
  1340. local p = ply
  1341. coroutine.wrap(function()
  1342. while true do
  1343. swait()
  1344. if p~=nil and p.Character ~= nil and p.Character:FindFirstChild("Head") and jc ~= nil then
  1345. if (p.Character:FindFirstChild("Head").Position - removescriptspart.Position).magnitude >= 10 then
  1346. p.Character:FindFirstChild("Head").CFrame = SpawnPart.CFrame*CFrame.new(0,2,0)
  1347. end
  1348. elseif p==nil then
  1349. jc:Destroy()
  1350. break
  1351. elseif jc==nil then
  1352. break
  1353. end
  1354. end
  1355. end)()
  1356. coroutine.wrap(function()
  1357. while true do
  1358. swait()
  1359. if p~=nil and p.Character ~= nil then
  1360. for i,v in pairs(p.Character:children()) do
  1361. if v:IsA("LocalScript") or v:IsA("Tool") then
  1362. if v:IsA("LocalScript") then
  1363. v.Disabled = true
  1364. end
  1365. v:Destroy()
  1366. end
  1367. end
  1368. end
  1369. end
  1370. end)()
  1371. p.CharacterAdded:connect(function()
  1372. if p~=nil and p.Character ~= nil and p.Character:FindFirstChild("Head") and jc~=nil then
  1373. p.Character:FindFirstChild("Head").CFrame = SpawnPart.CFrame*CFrame.new(0,2,0)
  1374. end
  1375. end)
  1376. elseif ply == nil then
  1377. coroutine.wrap(function()
  1378. local ch = dude
  1379. while true do
  1380. swait()
  1381. if ch ~= nil and ch:FindFirstChild("Head") and jc~=nil and jc:FindFirstChild("SpawnPart")~=nil then
  1382. if (ch:FindFirstChild("Head").Position - removescriptspart.Position).magnitude >= 10 then
  1383. ch:FindFirstChild("Head").CFrame = SpawnPart.CFrame*CFrame.new(0,2,0)
  1384. end
  1385. elseif ch.Parent==nil then
  1386. jc:Destroy()
  1387. break
  1388. elseif jc.Parent==nil then
  1389. break
  1390. end
  1391. end
  1392. end)()
  1393. end
  1394. end
  1395. end
  1396. attack = false
  1397. end
  1398.  
  1399.  
  1400. qhold = false
  1401. justsprinted = false
  1402. function sprint()
  1403. attack = true
  1404. --print("supurinto?")
  1405. --justsprinted = true
  1406. --coroutine.wrap(function()
  1407. --swait(10)
  1408. --justsprinted = false
  1409. --end)()
  1410. repeat
  1411. swait()
  1412. PlayAnimationFromTable({       
  1413. CFrame.new(-2.4138464e-07, 0.123327732, -0.188363045, 1, -4.38293796e-07, 1.20420327e-06, 0, 0.939692736, 0.342019886, -1.28148622e-06, -0.342019916, 0.939692736) * CFrame.new(0, 0- .08 * math.cos((sine/2.5)), 0),
  1414. CFrame.new(0, 1.41422474, 0.0894482136, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1415. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, -.6 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 2.5)), 0, 0),
  1416. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, .6 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0),
  1417. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0),
  1418. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 2.5)), 0, 0),
  1419. }, .3, false)
  1420. Humanoid.WalkSpeed = 40
  1421. until qhold == false or Torso.Velocity == Vector3.new(0,0,0)
  1422. --print'sutoppu'
  1423. Humanoid.WalkSpeed = 16
  1424. attack = false
  1425. end
  1426.  
  1427.  
  1428. function movejails()
  1429. pos = Mouse.Hit.p
  1430. for i,v in pairs(Jails:children()) do
  1431. swait(5)
  1432. v:MoveTo(pos)
  1433. end
  1434. end
  1435.  
  1436. Mouse.Button1Down:connect(function()
  1437.     if attack == false then
  1438.     if Anim == "Jump" or Anim == "Fall" then
  1439.     asmek()
  1440.     else
  1441.     smek()
  1442.     end
  1443.     end
  1444. end)
  1445.  
  1446. local sprintt = 0
  1447.  
  1448.  
  1449. Mouse.KeyDown:connect(function(k)
  1450.     k = k:lower()
  1451.     if k=='m' then
  1452.     if mus.IsPlaying == true then
  1453.     mus:Stop()
  1454.     elseif mus.IsPaused == true then
  1455.     mus:Play()
  1456.     end
  1457.     end
  1458.     if attack == false then
  1459.     if k == 'q' then
  1460.     qhold = true
  1461.     sprint()
  1462.     elseif k == 'x' then
  1463.     arrest()
  1464.     elseif k == 'z' then
  1465.     zhold = true
  1466.     shoot()
  1467.     elseif k == 'p' then
  1468.     movejails()
  1469.     end
  1470.     end
  1471. end)
  1472.  
  1473.  
  1474. Mouse.KeyUp:connect(function(k)
  1475.     k = k:lower()
  1476.     if k == 'q' then
  1477.     qhold = false
  1478.     elseif k == 'z' then
  1479.     zhold = false
  1480.     end
  1481. end)
  1482.  
  1483.  
  1484. coroutine.wrap(function()
  1485. while 1 do
  1486. swait()
  1487. if doe <= 360 then
  1488.     doe = doe + 2
  1489. else
  1490.     doe = 0
  1491. end
  1492. end
  1493. end)()
  1494. while true do
  1495.     swait()
  1496.     for i, v in pairs(chara:GetChildren()) do
  1497.         if v:IsA("Part") then
  1498.             v.Material = "SmoothPlastic"
  1499.         elseif v:IsA("Accessory") then
  1500.             v:WaitForChild("Handle").Material = "SmoothPlastic"
  1501.         end
  1502.     end
  1503. while true do
  1504. swait()
  1505.     if sprintt >= 1 then
  1506.     sprintt = sprintt - 1
  1507.     end
  1508.    
  1509.     if Head:FindFirstChild("mus")==nil then
  1510.     mus = Instance.new("Sound",Head)
  1511.     mus.Name = "mus"
  1512.     mus.SoundId = "rbxassetid://345868687"
  1513.     mus.Looped = true
  1514.     mus.Volume = 1
  1515.     mus:Play()
  1516.     end
  1517.     Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1518.     velocity = RootPart.Velocity.y
  1519.     sine = sine + change
  1520.     local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara)
  1521.         if RootPart.Velocity.y > 1 and hit == nil then
  1522.             Anim = "Jump"
  1523.             if attack == false then
  1524.         PlayAnimationFromTable({
  1525. CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1526. CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855),
  1527. CFrame.new(1.20945489, -0.213504896, 3.55388607e-07, 0.939692736, 0.342019916, 1.53461215e-07, -0.342019945, 0.939692736, 1.93715096e-07, -8.56816769e-08, -2.23517418e-07, 1.00000012),
  1528. CFrame.new(-1.20945573, -0.213503733, 5.0439985e-07, 0.939692736, -0.342019916, -1.53461215e-07, 0.342019945, 0.939692736, 1.93715096e-07, 8.56816769e-08, -2.23517418e-07, 1.00000012),
  1529. CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1530. CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  1531.         }, .3, false)
  1532.                     end
  1533.         elseif RootPart.Velocity.y < -1 and hit == nil then
  1534.             Anim = "Fall"
  1535.             if attack == false then
  1536.         PlayAnimationFromTable({
  1537. CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1538. CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
  1539. CFrame.new(1.55285025, 0.466259956, -9.26282269e-08, 0.766043842, -0.642788351, -6.46188241e-08, 0.642788291, 0.766043961, -7.4505806e-08, 1.04308128e-07, 1.49011612e-08, 1.00000012),
  1540. CFrame.new(-1.5605253, 0.475036323, -2.10609159e-07, 0.766043842, 0.642788351, 6.46188241e-08, -0.642788291, 0.766043961, -7.4505806e-08, -1.04308128e-07, 1.49011612e-08, 1.00000012),
  1541. CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1542. CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
  1543.         }, .3, false)
  1544.                     end
  1545.         elseif Torsovelocity < 1 and hit ~= nil then
  1546.             Anim = "Idle"
  1547.             if attack == false then
  1548.                 change = 1
  1549.         PlayAnimationFromTable({
  1550. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,.05 * math.cos((sine)/10), 0),
  1551. CFrame.new(0, 1.49999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1552. CFrame.new(0.89930898, -0.180769742, 0.30436784, 0.766043901, 0.642788172, 8.56792951e-07, -0.556670964, 0.663412929, 0.500000715, 0.321393967, -0.383022994, 0.866024971),
  1553. CFrame.new(-0.899309754, -0.180769712, 0.304367989, 0.766043901, -0.642788172, -8.56792951e-07, 0.556670964, 0.663412929, 0.500000715, -0.321393967, -0.383022994, 0.866024971),
  1554. CFrame.new(0.5, -1.99999893, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
  1555. CFrame.new(-0.5, -1.99999893, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
  1556.         }, .3, false)
  1557.             end
  1558.         elseif Torsovelocity > 2 and hit ~= nil then
  1559.             Anim = "Walk"
  1560.             if attack == false then
  1561.         PlayAnimationFromTable({       
  1562. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 3.5), 0) * CFrame.Angles(0, 0, 0),
  1563. CFrame.new(-2.09923631e-14, 1.48262846, -0.0984891504, 1, -1.42108547e-14, 0, 0, 0.984807491, 0.173649743, 0, -0.173649758, 0.984807491),
  1564. CFrame.new(0.89930898, -0.180769742, 0.30436784, 0.766043901, 0.642788172, 8.56792951e-07, -0.556670964, 0.663412929, 0.500000715, 0.321393967, -0.383022994, 0.866024971),
  1565. CFrame.new(-0.899309754, -0.180769712, 0.304367989, 0.766043901, -0.642788172, -8.56792951e-07, 0.556670964, 0.663412929, 0.500000715, -0.321393967, -0.383022994, 0.866024971),
  1566. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 5)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 5)), 0, 0),
  1567. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 5)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 5)), 0, 0),
  1568.         }, .3, false)
  1569.             end
  1570.         end
  1571.     if 0 < #Effects then
  1572.         for e = 1, #Effects do
  1573.             if Effects[e] ~= nil then
  1574.                 local Thing = Effects[e]
  1575.                 if Thing ~= nil then
  1576.                     local Part = Thing[1]
  1577.                     local Mode = Thing[2]
  1578.                     local Delay = Thing[3]
  1579.                     local IncX = Thing[4]
  1580.                     local IncY = Thing[5]
  1581.                     local IncZ = Thing[6]
  1582.                     if Thing[2] == "Shoot" then
  1583.                         local Look = Thing[1]
  1584.                         local move = 30
  1585.                         if Thing[8] == 3 then
  1586.                             move = 10
  1587.                         end
  1588.                         local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1589.                         if Thing[10] ~= nil then
  1590.                             da = pos
  1591.                             cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1592.                             cfa = CFrame.new(Thing[4], pos)
  1593.                             tehCF = cfa:lerp(cf2, 0.2)
  1594.                             Thing[1] = tehCF.lookVector
  1595.                         end
  1596.                         local mag = (Thing[4] - pos).magnitude
  1597.                         Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1598.                         if Thing[8] == 2 then
  1599.                             Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  1600.                         end
  1601.                         Thing[4] = Thing[4] + Look * move
  1602.                         Thing[3] = Thing[3] - 1
  1603.                         if 2 < Thing[5] then
  1604.                             Thing[5] = Thing[5] - 0.3
  1605.                             Thing[6] = Thing[6] - 0.3
  1606.                         end
  1607.                         if hit ~= nil then
  1608.                             Thing[3] = 0
  1609.                             if Thing[8] == 1 or Thing[8] == 3 then
  1610.                                 Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1611.                             else
  1612.                                 if Thing[8] == 2 then
  1613.                                     Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1614.                                     if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then
  1615.                                         ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1616.                                         ref.Anchored = true
  1617.                                         ref.CFrame = CFrame.new(pos)
  1618.                                         CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1619.                                         game:GetService("Debris"):AddItem(ref, 0.2)
  1620.                                         Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  1621.                                         Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  1622.                                         MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1623.                                     end
  1624.                                 end
  1625.                             end
  1626.                             ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1627.                             ref.Anchored = true
  1628.                             ref.CFrame = CFrame.new(pos)
  1629.                             Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1630.                             game:GetService("Debris"):AddItem(ref, 1)
  1631.                         end
  1632.                         if Thing[3] <= 0 then
  1633.                             table.remove(Effects, e)
  1634.                         end
  1635.                     end
  1636.                     do
  1637.                         do
  1638.                             if Thing[2] == "FireWave" then
  1639.                                 if Thing[3] <= Thing[4] then
  1640.                                     Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1641.                                     Thing[3] = Thing[3] + 1
  1642.                                     Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1643.                                 else
  1644.                                     Part.Parent = nil
  1645.                                     table.remove(Effects, e)
  1646.                                 end
  1647.                             end
  1648.                             if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1649.                                 if Thing[1].Transparency <= 1 then
  1650.                                     if Thing[2] == "Block1" then
  1651.                                         Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1652.                                         Mesh = Thing[7]
  1653.                                         Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1654.                                         Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1655.                                     else
  1656.                                         if Thing[2] == "Block2" then
  1657.                                             Thing[1].CFrame = Thing[1].CFrame
  1658.                                             Mesh = Thing[7]
  1659.                                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1660.                                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1661.                                         else
  1662.                                             if Thing[2] == "Fire" then
  1663.                                                 Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1664.                                                 Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1665.                                                 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1666.                                             else
  1667.                                                 if Thing[2] == "Cylinder" then
  1668.                                                     Mesh = Thing[7]
  1669.                                                     Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1670.                                                     Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1671.                                                 else
  1672.                                                     if Thing[2] == "Blood" then
  1673.                                                         Mesh = Thing[7]
  1674.                                                         Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1675.                                                         Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1676.                                                         Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1677.                                                     else
  1678.                                                         if Thing[2] == "Elec" then
  1679.                                                             Mesh = Thing[10]
  1680.                                                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1681.                                                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1682.                                                         else
  1683.                                                             if Thing[2] == "Disappear" then
  1684.                                                                 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1685.                                                             else
  1686.                                                                 if Thing[2] == "Shatter" then
  1687.                                                         Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1688.                                                         Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1689.                                                         Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1690.                                                         Thing[6] = Thing[6] + Thing[5]
  1691.                                                                 end
  1692.                                                             end
  1693.                                                         end
  1694.                                                     end
  1695.                                                 end
  1696.                                             end
  1697.                                         end
  1698.                                     end
  1699.                                 else
  1700.                                     Part.Parent = nil
  1701.                                     table.remove(Effects, e)
  1702.                                 end
  1703.                             end
  1704.                         end
  1705.                     end
  1706.                 end
  1707.             end
  1708.         end
  1709.     end
  1710. end
  1711. end
  1712. end)
  1713.  
  1714. _4.Name = "4"
  1715. _4.Parent = Cop
  1716. _4.BackgroundColor3 = Color3.new(1, 1, 1)
  1717. _4.BackgroundTransparency = 1
  1718. _4.Size = UDim2.new(1, 0, 1, 0)
  1719. _4.Image = "rbxassetid://2851926732"
  1720. _4.ImageColor3 = Color3.new(0.0941177, 1, 0.501961)
  1721. _4.ScaleType = Enum.ScaleType.Slice
  1722. _4.SliceCenter = Rect.new(12, 12, 12, 12)
  1723.  
  1724. Chara.Name = "Chara"
  1725. Chara.Parent = Frame
  1726. Chara.BackgroundColor3 = Color3.new(1, 1, 1)
  1727. Chara.BackgroundTransparency = 1
  1728. Chara.BorderSizePixel = 0
  1729. Chara.Position = UDim2.new(0.514642894, 0, 0.34924975, 0)
  1730. Chara.Size = UDim2.new(0, 135, 0, 41)
  1731. Chara.ZIndex = 2
  1732. Chara.Font = Enum.Font.Code
  1733. Chara.Text = "Chara"
  1734. Chara.TextColor3 = Color3.new(1, 1, 1)
  1735. Chara.TextSize = 30
  1736. Chara.TextWrapped = true
  1737. Chara.MouseButton1Down:connect(function()
  1738. print([[
  1739. ___________________________________
  1740.  
  1741. Kyutatsuki13's Chara script
  1742. Build 0002
  1743. Don't even mind why I did this, it was a challenge !
  1744.  
  1745. ___________________________________
  1746. ]])
  1747.  
  1748.  
  1749. warn("You're whitelisted, "..game:GetService("Players").LocalPlayer.Name.." :)")
  1750.  
  1751. local p = game:GetService("Players").LocalPlayer
  1752. local char = p.Character
  1753. local mouse = p:GetMouse()
  1754. local larm = char:WaitForChild("Left Arm")
  1755. local rarm = char:WaitForChild("Right Arm")
  1756. local lleg = char:WaitForChild("Left Leg")
  1757. local rleg = char:WaitForChild("Right Leg")
  1758. local hed = char:WaitForChild("Head")
  1759. local torso = char:WaitForChild("Torso")
  1760. local root = char:WaitForChild("HumanoidRootPart")
  1761. local hum = char:FindFirstChildOfClass("Humanoid")
  1762. local debris = game:GetService("Debris")
  1763. local input = game:GetService("UserInputService")
  1764. local run = game:GetService("RunService")
  1765. local rs = run.RenderStepped
  1766. local wingpose = "Idle"
  1767. local DebrisModel = Instance.new("Model",char)
  1768. DebrisModel.Name = "Debris"
  1769. repeat rs:wait() until p.CharacterAppearanceLoaded
  1770.  
  1771. noidle = false
  1772. shift = false
  1773. control = false
  1774. no_nosound_able = false
  1775. kills = 0
  1776.  
  1777. ----------------------------------------------------------------------------
  1778.  
  1779. function rswait(value)
  1780.   if value ~= nil and value ~= 0 then
  1781.     for i=1,value do
  1782.      rs:wait()
  1783.     end
  1784.   else
  1785.     rs:wait()
  1786.   end
  1787. end
  1788.  
  1789. ----------------------------------------------------------------------------
  1790.  
  1791. local timeposition = 0
  1792.  
  1793. function music(id)
  1794. if not torso:FindFirstChild("MusicRuin") then
  1795. soundz = Instance.new("Sound",torso)
  1796. end
  1797. soundz.Volume = 10
  1798. soundz.Name = "MusicRuin"
  1799. soundz.Looped = true
  1800. soundz.PlaybackSpeed = 1
  1801. soundz.SoundId = "rbxassetid://"..id
  1802. soundz:Stop()
  1803. soundz:Play()
  1804. if no_nosound_able == true then
  1805. soundz.TimePosition = timeposition
  1806. end
  1807. end
  1808.  
  1809. ----------------------------------------------------------------------------
  1810.  
  1811. function lerp(a, b, t)
  1812.   return a + (b - a)*t
  1813. end
  1814.  
  1815. ----------------------------------------------------------------------------
  1816.  
  1817. function Lerp(c1,c2,al)
  1818.   local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1819.   local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1820.   for i,v in pairs(com1) do
  1821.     com1[i] = v+(com2[i]-v)*al
  1822.   end
  1823.   return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1824. end
  1825.  
  1826. ----------------------------------------------------------------------------
  1827.  
  1828. function slerp(a, b, t)
  1829.   dot = a:Dot(b)
  1830.   if dot > 0.99999 or dot < -0.99999 then
  1831.     return t <= 0.5 and a or b
  1832.   else
  1833.     r = math.acos(dot)
  1834.     return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1835.   end
  1836. end
  1837.  
  1838. ----------------------------------------------------------------------------
  1839.  
  1840. function clerp(c1,c2,al)
  1841.  
  1842.   local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1843.  
  1844.   local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1845.  
  1846.   for i,v in pairs(com1) do
  1847.  
  1848.     com1[i] = lerp(v,com2[i],al)
  1849.  
  1850.   end
  1851.  
  1852.   return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1853.  
  1854. end
  1855.  
  1856. ----------------------------------------------------------------------------
  1857.  
  1858. function findAllNearestTorso(pos,dist)
  1859.     local list = workspace:children()
  1860.     local torso = {}
  1861.     local temp = nil
  1862.     local human = nil
  1863.     local temp2 = nil
  1864.     for x = 1, #list do
  1865.         temp2 = list[x]
  1866.         if (temp2.className == "Model") and (temp2 ~= char) then
  1867.             temp = temp2:findFirstChild("Torso")
  1868.             human = temp2:findFirstChildOfClass("Humanoid")
  1869.             if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1870.                 if (temp.Position - pos).magnitude < dist then
  1871.                     table.insert(torso,temp)
  1872.                     dist = (temp.Position - pos).magnitude
  1873.                 end
  1874.             end
  1875.         end
  1876.     end
  1877.     return torso
  1878. end
  1879.  
  1880. ----------------------------------------------------------------------------
  1881.  
  1882. function checkIfNotPlayer(model)
  1883. if model.CanCollide == true and model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel and model ~= wings and model.Parent ~= wings and model.Parent.Parent ~= wings then
  1884. return true
  1885. else
  1886. return false
  1887. end
  1888. end
  1889.  
  1890. ----------------------------------------------------------------------------
  1891.  
  1892. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  1893.  
  1894.   local wld = Instance.new("Weld", wp1)
  1895.  
  1896.   wld.Part0 = wp0
  1897.  
  1898.   wld.Part1 = wp1
  1899.  
  1900.   wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1901.  
  1902.   return wld
  1903.  
  1904. end
  1905.  
  1906. function weld(model)
  1907.   local parts,last = {}
  1908.   local function scan(parent)
  1909.     for _,v in pairs(parent:GetChildren()) do
  1910.       if (v:IsA("BasePart")) then
  1911.         if (last) then
  1912.           local w = Instance.new("Weld")
  1913.           w.Name = ("%s_Weld"):format(v.Name)
  1914.           w.Part0,w.Part1 = last,v
  1915.           w.C0 = last.CFrame:inverse()
  1916.           w.C1 = v.CFrame:inverse()
  1917.           w.Parent = last
  1918.         end
  1919.         last = v
  1920.         table.insert(parts,v)
  1921.       end
  1922.       scan(v)
  1923.     end
  1924.   end
  1925.   scan(model)
  1926.   for _,v in pairs(parts) do
  1927.         v.Anchored = false
  1928.         v.Locked = true
  1929.         v.Anchored = false
  1930.         v.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1931.         v.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1932.         v.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1933.         v.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1934.         v.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1935.         v.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1936.         v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0)
  1937.   end
  1938. end
  1939.  
  1940. ----------------------------------------------------------------------------
  1941.  
  1942. function calculate(part,asd)
  1943. local Head = hed
  1944. local RightShoulder = asd
  1945. local RightArm = part
  1946. local MousePosition = mouse.Hit.p
  1947. local ToMouse = (MousePosition - Head.Position).unit
  1948. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  1949. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0)))
  1950. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  1951. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  1952. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  1953. if tostring(LateralAngle) == "-1.#IND" then
  1954. LateralAngle = 0
  1955. end
  1956. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  1957. if LateralAngle > (math.pi / 2) then
  1958. LateralAngle = (math.pi / 2)
  1959. local Torso = root
  1960. local Point = Torso.CFrame:vectorToObjectSpace(mouse.Hit.p-Torso.CFrame.p)
  1961. if Point.Z > 0 then
  1962. if Point.X > -0 and RightArm == rarm then
  1963. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(110),0)
  1964. elseif Point.X < 0 and RightArm == rarm then
  1965. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(-110),0)
  1966. end
  1967. end
  1968. end
  1969. if Cross.Y < 0 then
  1970. LateralAngle = -LateralAngle
  1971. end
  1972. return(CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2))
  1973. end
  1974.  
  1975. ----------------------------------------------------------------------------
  1976.  
  1977. function sound(id,position,vol,pitch,start,finish)
  1978.   coroutine.resume(coroutine.create(function()
  1979.  
  1980.   local part = Instance.new("Part",workspace)
  1981.   part.Position = position
  1982.   part.Size = Vector3.new(0,0,0)
  1983.   part.CanCollide = false
  1984.   part.Transparency = 1
  1985.  
  1986.   local sound = Instance.new("Sound",part)
  1987.  
  1988.   sound.SoundId = "rbxassetid://"..id
  1989.  
  1990.   repeat rs:wait() until sound.IsLoaded
  1991.  
  1992.   if vol ~= nil then
  1993.     sound.Volume = vol
  1994.   end
  1995.  
  1996.   if pitch ~= nil then
  1997.     sound.PlaybackSpeed = pitch
  1998.   end
  1999.  
  2000.   if start ~= nil then
  2001.     sound.TimePosition = start
  2002.   end
  2003.  
  2004.   if finish ~= nil then
  2005.     debris:AddItem(part,finish-start)
  2006.   else
  2007.     debris:AddItem(part,sound.TimeLength)
  2008.   end
  2009.  
  2010.   sound:Play()  
  2011.  
  2012.   return sound
  2013.  
  2014.   end))
  2015. end
  2016.  
  2017. ----------------------------------------------------------------------------
  2018.  
  2019. function computeDirection(vec)
  2020. local lenSquared = vec.magnitude * vec.magnitude
  2021. local invSqrt = 1 / math.sqrt(lenSquared)
  2022. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  2023. end
  2024.  
  2025. ----------------------------------------------------------------------------
  2026.  
  2027. local shaking = 0
  2028. function shake(num) if num > shaking then shaking = num end end
  2029. game:GetService("RunService").RenderStepped:connect(function()
  2030. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))*(shaking/100)
  2031. if shaking > 0 then shaking = shaking - 1 else shaking = 0 end
  2032. end)
  2033.  
  2034. plr = game:GetService("Players").LocalPlayer
  2035. DebrisModel = Instance.new("Model",plr.Character)
  2036. DebrisModel.Name = "DebrisModel"
  2037.  
  2038. function Effect(mesh,size,transparency,material,color,position,rotation,sizechange,rotationchange,transparencychange,acceleration)
  2039.  
  2040.  local part = Instance.new("Part",DebrisModel)
  2041.   part.Anchored = true
  2042.   part.CanCollide = false
  2043.   part.Size = Vector3.new(1,1,1)
  2044.   part.Transparency = transparency
  2045.   part.Material = material
  2046.   part.Color = color
  2047.   part.CFrame = CFrame.new(position)*CFrame.Angles(math.rad(rotation.X),math.rad(rotation.Y),math.rad(rotation.Z))
  2048.  
  2049.  local partmesh = Instance.new("SpecialMesh",part)
  2050.   if tonumber(mesh) == nil then partmesh.MeshType = mesh else partmesh.MeshId = "rbxassetid://"..mesh end
  2051.   partmesh.Scale = size
  2052.  
  2053.  local pvalue = Instance.new("Vector3Value",part)
  2054.   pvalue.Name = "Position"
  2055.   pvalue.Value = part.Position
  2056.  
  2057.  local svalue = Instance.new("Vector3Value",part)
  2058.   svalue.Name = "Size"
  2059.   svalue.Value = sizechange
  2060.  
  2061.  local rvalue = Instance.new("Vector3Value",part)
  2062.   rvalue.Name = "Rotation"
  2063.   rvalue.Value = rotationchange
  2064.  
  2065.  local tvalue = Instance.new("NumberValue",part)
  2066.   tvalue.Name = "Transparency"
  2067.   tvalue.Value = transparencychange
  2068.  
  2069.  local avalue = Instance.new("NumberValue",part)
  2070.   avalue.Name = "Acceleration"
  2071.   avalue.Value = acceleration
  2072.  
  2073.  part.Name = "EFFECT"
  2074.  
  2075.  return part
  2076.  
  2077. end
  2078.  
  2079. game:GetService("RunService").RenderStepped:connect(function()
  2080.  
  2081.  
  2082.  if not plr.Character:FindFirstChild("DebrisModel") then
  2083.   DebrisModel = Instance.new("Model",plr.Character)
  2084.   DebrisModel.Name = "DebrisModel"
  2085.  end
  2086.  
  2087.  for i,v in pairs(DebrisModel:GetChildren()) do
  2088.   if v:IsA("BasePart") and v.Name == "EFFECT" then
  2089.    local pvalue = v:FindFirstChild("Position").Value
  2090.    local svalue = v:FindFirstChild("Size").Value
  2091.    local rvalue = v:FindFirstChild("Rotation").Value
  2092.    local tvalue = v:FindFirstChild("Transparency").Value
  2093.    local avalue = v:FindFirstChild("Acceleration").Value
  2094.    local mesh = v:FindFirstChild("Mesh")
  2095.    mesh.Scale = mesh.Scale + svalue
  2096.    v:FindFirstChild("Size").Value = v:FindFirstChild("Size").Value + (Vector3.new(1,1,1)*avalue)
  2097.    v.Transparency = v.Transparency + tvalue
  2098.    v.CFrame = v.CFrame*CFrame.Angles(math.rad(rvalue.X),math.rad(rvalue.Y),math.rad(rvalue.Z))
  2099.    if v.Transparency >= 1 or mesh.Scale.X < 0 or mesh.Scale.Y < 0 or mesh.Scale.Z < 0 then
  2100.      v:Destroy()
  2101.    end
  2102.   end
  2103.  end
  2104.  
  2105.  
  2106. end)
  2107.  
  2108. ----------------------------------------------------------------------------
  2109. skin_color = BrickColor.new("Light orange")
  2110. p:ClearCharacterAppearance()
  2111. --hed:WaitForChild("face"):Destroy()
  2112.  
  2113. ----------------------------------------------------------------------------
  2114. music(540857600)
  2115. equalizer = Instance.new("EqualizerSoundEffect",torso:FindFirstChild("MusicRuin"))
  2116.  
  2117. local size = 1
  2118.  
  2119. newWeld(torso, larm, -1.5*size, 0.5*size, 0)
  2120. larm.Weld.C1 = CFrame.new(0, 0.5*size, 0)
  2121. newWeld(torso, rarm, 1.5*size, 0.5*size, 0)
  2122. rarm.Weld.C1 = CFrame.new(0, 0.5*size, 0)
  2123. newWeld(torso, hed, 0, 1.5*size, 0)
  2124. newWeld(torso, lleg, -0.5*size, -1, 0)
  2125. lleg.Weld.C1 = CFrame.new(0, 1*size, 0)
  2126. newWeld(torso, rleg, 0.5*size, -1*size, 0)
  2127. rleg.Weld.C1 = CFrame.new(0, 1*size, 0)
  2128. newWeld(root, torso, 0, -1*size, 0)
  2129. torso.Weld.C1 = CFrame.new(0, -1*size, 0)
  2130.  
  2131. emitters={}
  2132. for i,v in pairs(char:GetChildren()) do
  2133. if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  2134. local emitter = Instance.new("ParticleEmitter",v)
  2135. emitter.LightEmission = 1
  2136. emitter.Transparency = NumberSequence.new(0.95,1)
  2137. emitter.Size = NumberSequence.new(2,5)
  2138. emitter.SpreadAngle = Vector2.new(360,360)
  2139. emitter.Speed = NumberRange.new(1)
  2140. emitter.Lifetime = NumberRange.new(0.75)
  2141. emitter.Texture = "rbxassetid://133619974"
  2142. emitter.Rate = 20
  2143. emitter.Color = ColorSequence.new(Color3.new(1,0,0))
  2144. emitter.LockedToPart = true
  2145. table.insert(emitters,emitter)
  2146. end
  2147. end
  2148. ----------------------------------------------------------------------------------------
  2149. hair = Instance.new("Part",char)
  2150. hair.Color = Color3.fromRGB(30,10,0)
  2151. hair.CanCollide = false
  2152. meshhair = Instance.new("SpecialMesh",hair)
  2153. meshhair.MeshId = "rbxassetid://431809364"
  2154. meshhair.Scale = Vector3.new(1,1,1)*1.1
  2155. newWeld(hed,hair,0,0.22,0)
  2156.  
  2157. Model0 = Instance.new("Model")
  2158. Part1 = Instance.new("Part")
  2159. Part2 = Instance.new("Part")
  2160. Part3 = Instance.new("Part")
  2161. Part4 = Instance.new("Part")
  2162. Part5 = Instance.new("Part")
  2163. Part6 = Instance.new("Part")
  2164. Part7 = Instance.new("Part")
  2165. Model0.Parent = char
  2166. Part1.Parent = Model0
  2167. Part1.Anchored = true
  2168. Part1.CanCollide = false
  2169. Part1.Size = Vector3.new(2.02000022, 0.370000094, 1.01999998)
  2170. Part1.CFrame = CFrame.new(87.5, 17.1749992, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2171. Part1.BottomSurface = Enum.SurfaceType.Smooth
  2172. Part1.TopSurface = Enum.SurfaceType.Smooth
  2173. Part1.Position = Vector3.new(87.5, 17.1749992, 83.5)
  2174. Part1.Color = Color3.new(0, 1, 0)
  2175. Part2.Parent = Model0
  2176. Part2.Anchored = true
  2177. Part2.CanCollide = false
  2178. Part2.Size = Vector3.new(0.920000076, 0.110000037, 0.579999983)
  2179. Part2.CFrame = CFrame.new(88.0500031, 18.9549999, 83.2799988, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2180. Part2.BottomSurface = Enum.SurfaceType.Smooth
  2181. Part2.TopSurface = Enum.SurfaceType.Smooth
  2182. Part2.Position = Vector3.new(88.0500031, 18.9549999, 83.2799988)
  2183. Part2.Color = Color3.new(0, 1, 0)
  2184. Part3.Parent = Model0
  2185. Part3.Anchored = true
  2186. Part3.CanCollide = false
  2187. Part3.Size = Vector3.new(2.02000022, 0.590000093, 1.01999998)
  2188. Part3.CFrame = CFrame.new(87.5, 17.6550007, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2189. Part3.BottomSurface = Enum.SurfaceType.Smooth
  2190. Part3.TopSurface = Enum.SurfaceType.Smooth
  2191. Part3.Position = Vector3.new(87.5, 17.6550007, 83.5)
  2192. Part3.Color = Color3.new(0.992157, 0.917647, 0.552941)
  2193. Part4.Parent = Model0
  2194. Part4.Anchored = true
  2195. Part4.CanCollide = false
  2196. Part4.Size = Vector3.new(2.02000022, 0.110000037, 0.439999968)
  2197. Part4.CFrame = CFrame.new(87.5, 18.9549999, 83.7900009, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2198. Part4.BottomSurface = Enum.SurfaceType.Smooth
  2199. Part4.TopSurface = Enum.SurfaceType.Smooth
  2200. Part4.Position = Vector3.new(87.5, 18.9549999, 83.7900009)
  2201. Part4.Color = Color3.new(0, 1, 0)
  2202. Part5.Parent = Model0
  2203. Part5.Anchored = true
  2204. Part5.CanCollide = false
  2205. Part5.Size = Vector3.new(0.920000076, 0.110000037, 0.579999983)
  2206. Part5.CFrame = CFrame.new(86.9499969, 18.9549999, 83.2799988, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2207. Part5.BottomSurface = Enum.SurfaceType.Smooth
  2208. Part5.TopSurface = Enum.SurfaceType.Smooth
  2209. Part5.Position = Vector3.new(86.9499969, 18.9549999, 83.2799988)
  2210. Part5.Color = Color3.new(0, 1, 0)
  2211. Part6.Name = "asd"
  2212. Part6.Parent = Model0
  2213. Part6.Transparency = 1
  2214. Part6.Anchored = true
  2215. Part6.CanCollide = false
  2216. Part6.Size = Vector3.new(2, 2, 1)
  2217. Part6.CFrame = CFrame.new(87.5, 18, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2218. Part6.BottomSurface = Enum.SurfaceType.Smooth
  2219. Part6.TopSurface = Enum.SurfaceType.Smooth
  2220. Part6.Position = Vector3.new(87.5, 18, 83.5)
  2221. Part7.Parent = Model0
  2222. Part7.Anchored = true
  2223. Part7.CanCollide = false
  2224. Part7.Size = Vector3.new(2.02000022, 0.949999988, 1.01999998)
  2225. Part7.CFrame = CFrame.new(87.5, 18.4249992, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2226. Part7.BottomSurface = Enum.SurfaceType.Smooth
  2227. Part7.TopSurface = Enum.SurfaceType.Smooth
  2228. Part7.Position = Vector3.new(87.5, 18.4249992, 83.5)
  2229. Part7.Color = Color3.new(0, 1, 0)
  2230. weld(Model0)
  2231. newWeld(torso,Model0.asd)
  2232.  
  2233. Model0 = Instance.new("Model")
  2234. Part1 = Instance.new("Part")
  2235. Part2 = Instance.new("Part")
  2236. Model0.Parent = char
  2237. Part1.Parent = Model0
  2238. Part1.Anchored = true
  2239. Part1.CanCollide = false
  2240. Part1.Size = Vector3.new(1.01999998, 1.91000009, 1.01999998)
  2241. Part1.CFrame = CFrame.new(49.5, 18.0999985, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2242. Part1.BottomSurface = Enum.SurfaceType.Smooth
  2243. Part1.TopSurface = Enum.SurfaceType.Smooth
  2244. Part1.Position = Vector3.new(49.5, 18.0999985, 83.5)
  2245. Part1.Color = Color3.new(0, 1, 0)
  2246. Part2.Name = "asd"
  2247. Part2.Parent = Model0
  2248. Part2.Transparency = 1
  2249. Part2.Anchored = true
  2250. Part2.CanCollide = false
  2251. Part2.Size = Vector3.new(1, 2, 1)
  2252. Part2.CFrame = CFrame.new(49.5, 18.0450001, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2253. Part2.BottomSurface = Enum.SurfaceType.Smooth
  2254. Part2.TopSurface = Enum.SurfaceType.Smooth
  2255. Part2.Position = Vector3.new(49.5, 18.0450001, 83.5)
  2256. weld(Model0)
  2257. Model1=Model0:Clone()
  2258. Model1.Parent=char
  2259. newWeld(larm,Model0.asd,0,0,0)
  2260. newWeld(rarm,Model1.asd,0,0,0)
  2261.  
  2262. Model0 = Instance.new("Model")
  2263. Part1 = Instance.new("Part")
  2264. Part2 = Instance.new("Part")
  2265. Part3 = Instance.new("Part")
  2266. Model0.Parent = char
  2267. Part1.Parent = Model0
  2268. Part1.Anchored = true
  2269. Part1.CanCollide = false
  2270. Part1.Size = Vector3.new(1.03999996, 0.27000007, 1.03999996)
  2271. Part1.CFrame = CFrame.new(28, 17.125, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2272. Part1.BottomSurface = Enum.SurfaceType.Smooth
  2273. Part1.TopSurface = Enum.SurfaceType.Smooth
  2274. Part1.Position = Vector3.new(28, 17.125, 83.5)
  2275. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2276. Part2.Parent = Model0
  2277. Part2.Anchored = true
  2278. Part2.CanCollide = false
  2279. Part2.Size = Vector3.new(1.01999998, 1.91000009, 1.01999998)
  2280. Part2.CFrame = CFrame.new(28, 18.0550003, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2281. Part2.BottomSurface = Enum.SurfaceType.Smooth
  2282. Part2.TopSurface = Enum.SurfaceType.Smooth
  2283. Part2.Position = Vector3.new(28, 18.0550003, 83.5)
  2284. Part2.Color = Color3.new(0.411765, 0.25098, 0.156863)
  2285. Part3.Name = "asd"
  2286. Part3.Parent = Model0
  2287. Part3.Transparency = 1
  2288. Part3.Anchored = true
  2289. Part3.CanCollide = false
  2290. Part3.Size = Vector3.new(1, 2, 1)
  2291. Part3.CFrame = CFrame.new(28, 18, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2292. Part3.BottomSurface = Enum.SurfaceType.Smooth
  2293. Part3.TopSurface = Enum.SurfaceType.Smooth
  2294. Part3.Position = Vector3.new(28, 18, 83.5)
  2295. weld(Model0)
  2296. Model1=Model0:Clone()
  2297. Model1.Parent=char
  2298. newWeld(lleg,Model0.asd,0,0,0)
  2299. newWeld(rleg,Model1.asd,0,0,0)
  2300.  
  2301. ----------------------------------------------------------------------------
  2302. HitBox = Instance.new("Part",DebrisModel)
  2303. HitBox.Size = Vector3.new(0.5,0.5,2.45)
  2304. HitBox.CanCollide = false
  2305. HitBox:BreakJoints()
  2306. HitBox.Transparency = 1
  2307. newWeld(rarm,HitBox,0,-0.95,-1.9)
  2308. atch0 = Instance.new("Attachment",HitBox)
  2309. atch0.Position = Vector3.new(0,0,HitBox.Size.Z/2)
  2310. atch1 = Instance.new("Attachment",HitBox)
  2311. atch1.Position = Vector3.new(0,0,-HitBox.Size.Z/2)
  2312. trail = Instance.new("Trail",HitBox)
  2313. trail.Attachment0 = atch0
  2314. trail.Attachment1 = atch1
  2315. trail.Lifetime = 0.2
  2316. trail.Enabled = true
  2317. trail.LightEmission = 1
  2318. trail.LightInfluence = 0
  2319. trail.Color = ColorSequence.new(Color3.new(1,0,0))
  2320. trail.Transparency = NumberSequence.new(0,1)
  2321.  
  2322. function ded(model)
  2323. kills = kills + 1
  2324. model.Archivable = true
  2325. model.Head:ClearAllChildren()
  2326. local clone = model:Clone()
  2327. clone.Parent = workspace
  2328. clone.Name = "DED"
  2329. model:Destroy()
  2330. clone:FindFirstChildOfClass("Humanoid"):Destroy()
  2331. local emitters={}
  2332. for i,v in pairs(clone:GetChildren()) do
  2333. if v:IsA("Accoutrement") then
  2334. v:Destroy()
  2335. end
  2336. if v:IsA("Part") then
  2337. v.Anchored = true
  2338. v.CanCollide = false
  2339. v.Transparency = 1
  2340. local emitter = Instance.new("ParticleEmitter",v)
  2341. emitter.LightEmission = 1
  2342. emitter.Transparency = NumberSequence.new(0,1)
  2343. emitter.Size = NumberSequence.new(0,0.8)
  2344. emitter.SpreadAngle = Vector2.new(360,360)
  2345. emitter.Speed = NumberRange.new(0.5)
  2346. emitter.Lifetime = NumberRange.new(0.75)
  2347. emitter.Texture = "rbxassetid://744949545"
  2348. emitter.Rate = 20
  2349. emitter.Color = ColorSequence.new(Color3.new(1,1,1))
  2350. emitter.LockedToPart = false
  2351. table.insert(emitters,emitter)
  2352. end
  2353. end
  2354. delay(1, function()
  2355. sound(427025525,clone.Head.Position,10,1)
  2356. for i,v in pairs(emitters) do
  2357. v.Speed = NumberRange.new(4)
  2358. v.Acceleration = Vector3.new(0,10,0)
  2359. delay(0.5, function()
  2360. v.Enabled = false
  2361. debris:AddItem(clone,0.75)
  2362. end)
  2363. end
  2364. end)
  2365. end
  2366.  
  2367. local alreadytouched = {}
  2368. HitBox.Touched:connect(function(ht)
  2369. coroutine.resume(coroutine.create(function()
  2370. local hit = ht.Parent
  2371. if mode == "determination" and hit.Name ~= "DED" and attacking == true and checkIfNotPlayer(ht) and hit:FindFirstChildOfClass("Humanoid") and hit:FindFirstChildOfClass("Humanoid").Health > 0 then
  2372. local hurt = true
  2373. for i,v in pairs(alreadytouched) do if v == hit then hurt = false end end
  2374. if hurt == true then
  2375. table.insert(alreadytouched,hit)
  2376. sound(388826051,ht.Position,10,1)
  2377. ded(hit)
  2378. end
  2379. end
  2380. end))
  2381. end)
  2382.  
  2383. function createknife()
  2384. Model0 = Instance.new("Model")
  2385. Part1 = Instance.new("Part")
  2386. BlockMesh2 = Instance.new("BlockMesh")
  2387. Part3 = Instance.new("Part")
  2388. BlockMesh4 = Instance.new("BlockMesh")
  2389. Part5 = Instance.new("Part")
  2390. Part6 = Instance.new("Part")
  2391. BlockMesh7 = Instance.new("BlockMesh")
  2392. Part8 = Instance.new("Part")
  2393. Part9 = Instance.new("Part")
  2394. Part10 = Instance.new("Part")
  2395. SpecialMesh11 = Instance.new("SpecialMesh")
  2396. Part12 = Instance.new("Part")
  2397. Model0.Parent = char
  2398. Part1.Parent = Model0
  2399. Part1.Anchored = true
  2400. Part1.CanCollide = false
  2401. Part1.Size = Vector3.new(0.280000031, 0.0500000007, 0.0500000007)
  2402. Part1.CFrame = CFrame.new(49.5, 20.7350044, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  2403. Part1.BottomSurface = Enum.SurfaceType.Smooth
  2404. Part1.TopSurface = Enum.SurfaceType.Smooth
  2405. Part1.Position = Vector3.new(49.5, 20.7350044, 52.3199997)
  2406. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2407. BlockMesh2.Parent = Part1
  2408. BlockMesh2.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  2409. BlockMesh2.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  2410. Part3.Parent = Model0
  2411. Part3.Anchored = true
  2412. Part3.CanCollide = false
  2413. Part3.Size = Vector3.new(0.220000014, 0.0500000007, 0.0500000007)
  2414. Part3.CFrame = CFrame.new(49.5, 20.6250038, 53.6199989, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  2415. Part3.BottomSurface = Enum.SurfaceType.Smooth
  2416. Part3.TopSurface = Enum.SurfaceType.Smooth
  2417. Part3.Position = Vector3.new(49.5, 20.6250038, 53.6199989)
  2418. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2419. BlockMesh4.Parent = Part3
  2420. BlockMesh4.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  2421. BlockMesh4.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  2422. Part5.Parent = Model0
  2423. Part5.Anchored = true
  2424. Part5.CanCollide = false
  2425. Part5.Size = Vector3.new(0.159999996, 0.400000006, 1.70000005)
  2426. Part5.CFrame = CFrame.new(49.5, 20.5750046, 51.4300003, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  2427. Part5.BottomSurface = Enum.SurfaceType.Smooth
  2428. Part5.TopSurface = Enum.SurfaceType.Smooth
  2429. Part5.Position = Vector3.new(49.5, 20.5750046, 51.4300003)
  2430. Part5.Color = Color3.new(1, 0, 0)
  2431. Part6.Parent = Model0
  2432. Part6.Anchored = true
  2433. Part6.CanCollide = false
  2434. Part6.Size = Vector3.new(0.280000031, 0.0500000007, 0.0500000007)
  2435. Part6.CFrame = CFrame.new(49.5, 20.4150047, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  2436. Part6.BottomSurface = Enum.SurfaceType.Smooth
  2437. Part6.TopSurface = Enum.SurfaceType.Smooth
  2438. Part6.Position = Vector3.new(49.5, 20.4150047, 52.3199997)
  2439. Part6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2440. BlockMesh7.Parent = Part6
  2441. BlockMesh7.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  2442. BlockMesh7.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  2443. Part8.Name = "asd"
  2444. Part8.Parent = Model0
  2445. Part8.Anchored = true
  2446. Part8.CanCollide = false
  2447. Part8.Size = Vector3.new(0.200000003, 0.200000003, 1.30000007)
  2448. Part8.CFrame = CFrame.new(49.5, 20.6250038, 52.9300003, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  2449. Part8.BottomSurface = Enum.SurfaceType.Smooth
  2450. Part8.TopSurface = Enum.SurfaceType.Smooth
  2451. Part8.Position = Vector3.new(49.5, 20.6250038, 52.9300003)
  2452. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2453. Part9.Parent = Model0
  2454. Part9.Anchored = true
  2455. Part9.CanCollide = false
  2456. Part9.Size = Vector3.new(0.200000003, 0.25999999, 0.100000039)
  2457. Part9.CFrame = CFrame.new(49.5, 20.595005, 53.6199989, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  2458. Part9.BottomSurface = Enum.SurfaceType.Smooth
  2459. Part9.TopSurface = Enum.SurfaceType.Smooth
  2460. Part9.Position = Vector3.new(49.5, 20.595005, 53.6199989)
  2461. Part9.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2462. Part10.Parent = Model0
  2463. Part10.Rotation = Vector3.new(0, 0, 180)
  2464. Part10.Anchored = true
  2465. Part10.CanCollide = false
  2466. Part10.Size = Vector3.new(0.159999996, 0.400000006, 0.800000012)
  2467. Part10.CFrame = CFrame.new(49.5, 20.5750046, 50.1800003, -0.99999994, -8.74227766e-08, 3.82137093e-15, 8.74227695e-08, -1, 3.17865059e-08, 1.04250613e-15, 3.17865059e-08, 1)
  2468. Part10.BottomSurface = Enum.SurfaceType.Smooth
  2469. Part10.TopSurface = Enum.SurfaceType.Smooth
  2470. Part10.Position = Vector3.new(49.5, 20.5750046, 50.1800003)
  2471. Part10.Color = Color3.new(1, 0, 0)
  2472. SpecialMesh11.Parent = Part10
  2473. SpecialMesh11.MeshType = Enum.MeshType.Wedge
  2474. Part12.Parent = Model0
  2475. Part12.Anchored = true
  2476. Part12.CanCollide = false
  2477. Part12.Size = Vector3.new(0.25999999, 0.460000008, 0.100000039)
  2478. Part12.CFrame = CFrame.new(49.5, 20.5750046, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  2479. Part12.BottomSurface = Enum.SurfaceType.Smooth
  2480. Part12.TopSurface = Enum.SurfaceType.Smooth
  2481. Part12.Position = Vector3.new(49.5, 20.5750046, 52.3199997)
  2482. Part12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2483. weld(Model0)
  2484. for i,v in pairs(Model0:GetChildren()) do
  2485. if v:IsA("Part") and v.Color == Color3.new(1,0,0) then
  2486. v.Material = Enum.Material.Neon
  2487. end
  2488. end
  2489. return Model0
  2490. end
  2491.  
  2492. knife = createknife()
  2493. newWeld(rarm,knife.asd,0,-1,0)
  2494.  
  2495. ----------------------------------------------------------------------------------------
  2496.  
  2497. function createpistol()
  2498. Model0 = Instance.new("Model")
  2499. Part1 = Instance.new("Part")
  2500. BlockMesh2 = Instance.new("BlockMesh")
  2501. Part3 = Instance.new("Part")
  2502. Part4 = Instance.new("Part")
  2503. Part5 = Instance.new("Part")
  2504. Part6 = Instance.new("Part")
  2505. Part7 = Instance.new("Part")
  2506. Part8 = Instance.new("Part")
  2507. Part9 = Instance.new("Part")
  2508. Part10 = Instance.new("Part")
  2509. Part11 = Instance.new("Part")
  2510. Part12 = Instance.new("Part")
  2511. Part13 = Instance.new("Part")
  2512. Part14 = Instance.new("Part")
  2513. Part15 = Instance.new("Part")
  2514. Part16 = Instance.new("Part")
  2515. Part17 = Instance.new("Part")
  2516. Part18 = Instance.new("Part")
  2517. Part19 = Instance.new("Part")
  2518. Model0.Name = "Pistol"
  2519. Model0.Parent = char
  2520. Part1.Name = "ShootPos"
  2521. Part1.Parent = Model0
  2522. Part1.BrickColor = BrickColor.new("Really black")
  2523. Part1.Anchored = true
  2524. Part1.CanCollide = false
  2525. Part1.Size = Vector3.new(0.100000001, 0.100000001, 0.0500000007)
  2526. Part1.CFrame = CFrame.new(-90, 10.5000019, 13.8957434, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  2527. Part1.BottomSurface = Enum.SurfaceType.Smooth
  2528. Part1.TopSurface = Enum.SurfaceType.Smooth
  2529. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2530. Part1.Position = Vector3.new(-90, 10.5000019, 13.8957434)
  2531. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2532. BlockMesh2.Parent = Part1
  2533. BlockMesh2.Scale = Vector3.new(1, 1, 0.199999988)
  2534. BlockMesh2.Scale = Vector3.new(1, 1, 0.199999988)
  2535. Part3.Parent = Model0
  2536. Part3.BrickColor = BrickColor.new("Pearl")
  2537. Part3.Anchored = true
  2538. Part3.CanCollide = false
  2539. Part3.Size = Vector3.new(0.100000001, 0.550000012, 0.0500000007)
  2540. Part3.CFrame = CFrame.new(-90.0999985, 10.3750019, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  2541. Part3.BottomSurface = Enum.SurfaceType.Smooth
  2542. Part3.TopSurface = Enum.SurfaceType.Smooth
  2543. Part3.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2544. Part3.Position = Vector3.new(-90.0999985, 10.3750019, 13.8757429)
  2545. Part3.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2546. Part4.Parent = Model0
  2547. Part4.BrickColor = BrickColor.new("Pearl")
  2548. Part4.Anchored = true
  2549. Part4.CanCollide = false
  2550. Part4.Size = Vector3.new(0.300000012, 0.349999994, 0.0500000007)
  2551. Part4.CFrame = CFrame.new(-90, 10.2750025, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  2552. Part4.BottomSurface = Enum.SurfaceType.Smooth
  2553. Part4.TopSurface = Enum.SurfaceType.Smooth
  2554. Part4.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2555. Part4.Position = Vector3.new(-90, 10.2750025, 13.8757429)
  2556. Part4.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2557. Part5.Parent = Model0
  2558. Part5.BrickColor = BrickColor.new("Pearl")
  2559. Part5.Rotation = Vector3.new(15, 0, 0)
  2560. Part5.Anchored = true
  2561. Part5.CanCollide = false
  2562. Part5.Size = Vector3.new(0.200000003, 0.25, 0.150000006)
  2563. Part5.CFrame = CFrame.new(-90, 10.4379425, 15.8274469, 1, 0, 0, 0, 0.965925753, -0.258819252, 0, 0.258819252, 0.965925753)
  2564. Part5.BottomSurface = Enum.SurfaceType.Smooth
  2565. Part5.TopSurface = Enum.SurfaceType.Smooth
  2566. Part5.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2567. Part5.Position = Vector3.new(-90, 10.4379425, 15.8274469)
  2568. Part5.Orientation = Vector3.new(15, 0, 0)
  2569. Part5.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2570. Part6.Parent = Model0
  2571. Part6.BrickColor = BrickColor.new("Pearl")
  2572. Part6.Anchored = true
  2573. Part6.CanCollide = false
  2574. Part6.Size = Vector3.new(0.300000012, 0.550000012, 1.89999998)
  2575. Part6.CFrame = CFrame.new(-90, 10.3750019, 14.8507433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  2576. Part6.BottomSurface = Enum.SurfaceType.Smooth
  2577. Part6.TopSurface = Enum.SurfaceType.Smooth
  2578. Part6.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2579. Part6.Position = Vector3.new(-90, 10.3750019, 14.8507433)
  2580. Part6.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2581. Part7.Parent = Model0
  2582. Part7.BrickColor = BrickColor.new("Pearl")
  2583. Part7.Anchored = true
  2584. Part7.CanCollide = false
  2585. Part7.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  2586. Part7.CFrame = CFrame.new(-90.0999985, 10.6750021, 15.6257429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  2587. Part7.BottomSurface = Enum.SurfaceType.Smooth
  2588. Part7.TopSurface = Enum.SurfaceType.Smooth
  2589. Part7.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2590. Part7.Position = Vector3.new(-90.0999985, 10.6750021, 15.6257429)
  2591. Part7.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2592. Part8.Parent = Model0
  2593. Part8.BrickColor = BrickColor.new("Black")
  2594. Part8.Rotation = Vector3.new(-15, 0, 0)
  2595. Part8.Anchored = true
  2596. Part8.CanCollide = false
  2597. Part8.Size = Vector3.new(0.220000014, 0.5, 0.209999993)
  2598. Part8.CFrame = CFrame.new(-90, 9.71499538, 15.4898481, 1, 0, 0, 0, 0.965925872, 0.258818835, 0, -0.258818835, 0.965925872)
  2599. Part8.BottomSurface = Enum.SurfaceType.Smooth
  2600. Part8.TopSurface = Enum.SurfaceType.Smooth
  2601. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2602. Part8.Position = Vector3.new(-90, 9.71499538, 15.4898481)
  2603. Part8.Orientation = Vector3.new(-15, 0, 0)
  2604. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2605. Part9.Parent = Model0
  2606. Part9.BrickColor = BrickColor.new("Pearl")
  2607. Part9.Anchored = true
  2608. Part9.CanCollide = false
  2609. Part9.Size = Vector3.new(0.100000001, 0.550000012, 0.0500000007)
  2610. Part9.CFrame = CFrame.new(-89.9000015, 10.3750019, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  2611. Part9.BottomSurface = Enum.SurfaceType.Smooth
  2612. Part9.TopSurface = Enum.SurfaceType.Smooth
  2613. Part9.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2614. Part9.Position = Vector3.new(-89.9000015, 10.3750019, 13.8757429)
  2615. Part9.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2616. Part10.Parent = Model0
  2617. Part10.BrickColor = BrickColor.new("Pearl")
  2618. Part10.Anchored = true
  2619. Part10.CanCollide = false
  2620. Part10.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  2621. Part10.CFrame = CFrame.new(-89.9000015, 10.6750021, 15.6257429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  2622. Part10.BottomSurface = Enum.SurfaceType.Smooth
  2623. Part10.TopSurface = Enum.SurfaceType.Smooth
  2624. Part10.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2625. Part10.Position = Vector3.new(-89.9000015, 10.6750021, 15.6257429)
  2626. Part10.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2627. Part11.Parent = Model0
  2628. Part11.BrickColor = BrickColor.new("Pearl")
  2629. Part11.Anchored = true
  2630. Part11.CanCollide = false
  2631. Part11.Size = Vector3.new(0.200000003, 0.150000006, 0.600000024)
  2632. Part11.CFrame = CFrame.new(-90, 9.37500191, 15.6007433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  2633. Part11.BottomSurface = Enum.SurfaceType.Smooth
  2634. Part11.TopSurface = Enum.SurfaceType.Smooth
  2635. Part11.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2636. Part11.Position = Vector3.new(-90, 9.37500191, 15.6007433)
  2637. Part11.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2638. Part12.Parent = Model0
  2639. Part12.BrickColor = BrickColor.new("Pearl")
  2640. Part12.Rotation = Vector3.new(-30, 0, 0)
  2641. Part12.Anchored = true
  2642. Part12.CanCollide = false
  2643. Part12.Size = Vector3.new(0.100000001, 0.150000006, 0.0500000007)
  2644. Part12.CFrame = CFrame.new(-90, 9.97165203, 15.1132431, 1, 0, 0, 0, 0.866025448, 0.5, 0, -0.5, 0.866025448)
  2645. Part12.BottomSurface = Enum.SurfaceType.Smooth
  2646. Part12.TopSurface = Enum.SurfaceType.Smooth
  2647. Part12.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2648. Part12.Position = Vector3.new(-90, 9.97165203, 15.1132431)
  2649. Part12.Orientation = Vector3.new(-30, 0, 0)
  2650. Part12.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2651. Part13.Parent = Model0
  2652. Part13.BrickColor = BrickColor.new("Pearl")
  2653. Part13.Anchored = true
  2654. Part13.CanCollide = false
  2655. Part13.Size = Vector3.new(0.300000012, 0.100000001, 0.0500000007)
  2656. Part13.CFrame = CFrame.new(-90, 10.6000023, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  2657. Part13.BottomSurface = Enum.SurfaceType.Smooth
  2658. Part13.TopSurface = Enum.SurfaceType.Smooth
  2659. Part13.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2660. Part13.Position = Vector3.new(-90, 10.6000023, 13.8757429)
  2661. Part13.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2662. Part14.Parent = Model0
  2663. Part14.BrickColor = BrickColor.new("Pearl")
  2664. Part14.Rotation = Vector3.new(-30, 0, 0)
  2665. Part14.Anchored = true
  2666. Part14.CanCollide = false
  2667. Part14.Size = Vector3.new(0.200000003, 0.100000001, 0.25)
  2668. Part14.CFrame = CFrame.new(-90, 10.5216522, 15.9065447, 1, 0, 0, 0, 0.866025329, 0.49999997, 0, -0.49999997, 0.866025329)
  2669. Part14.BottomSurface = Enum.SurfaceType.Smooth
  2670. Part14.TopSurface = Enum.SurfaceType.Smooth
  2671. Part14.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2672. Part14.Position = Vector3.new(-90, 10.5216522, 15.9065447)
  2673. Part14.Orientation = Vector3.new(-30, 0, 0)
  2674. Part14.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2675. Part15.Parent = Model0
  2676. Part15.BrickColor = BrickColor.new("White")
  2677. Part15.Rotation = Vector3.new(-105, 0, 0)
  2678. Part15.Anchored = true
  2679. Part15.CanCollide = false
  2680. Part15.Size = Vector3.new(0.100000001, 0.200000003, 0.0500000007)
  2681. Part15.CFrame = CFrame.new(-90, 9.92812252, 15.2373915, 1, 0, 0, 0, -0.258819371, 0.965925813, 0, -0.965925813, -0.258819371)
  2682. Part15.BottomSurface = Enum.SurfaceType.Smooth
  2683. Part15.TopSurface = Enum.SurfaceType.Smooth
  2684. Part15.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2685. Part15.Position = Vector3.new(-90, 9.92812252, 15.2373915)
  2686. Part15.Orientation = Vector3.new(-75, 180, 180)
  2687. Part15.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2688. Part16.Name = "asd"
  2689. Part16.Parent = Model0
  2690. Part16.BrickColor = BrickColor.new("Pearl")
  2691. Part16.Rotation = Vector3.new(-15, 0, 0)
  2692. Part16.Anchored = true
  2693. Part16.CanCollide = false
  2694. Part16.Size = Vector3.new(0.200000003, 1.14999998, 0.400000006)
  2695. Part16.CFrame = CFrame.new(-90, 9.93709087, 15.5425692, 1, 0, 0, 0, 0.965925872, 0.258818835, 0, -0.258818835, 0.965925872)
  2696. Part16.BottomSurface = Enum.SurfaceType.Smooth
  2697. Part16.TopSurface = Enum.SurfaceType.Smooth
  2698. Part16.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2699. Part16.Position = Vector3.new(-90, 9.93709087, 15.5425692)
  2700. Part16.Orientation = Vector3.new(-15, 0, 0)
  2701. Part16.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2702. Part17.Parent = Model0
  2703. Part17.BrickColor = BrickColor.new("Pearl")
  2704. Part17.Anchored = true
  2705. Part17.CanCollide = false
  2706. Part17.Size = Vector3.new(0.100000001, 0.100000001, 0.0500000007)
  2707. Part17.CFrame = CFrame.new(-90, 10.0500021, 15.0757437, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  2708. Part17.BottomSurface = Enum.SurfaceType.Smooth
  2709. Part17.TopSurface = Enum.SurfaceType.Smooth
  2710. Part17.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2711. Part17.Position = Vector3.new(-90, 10.0500021, 15.0757437)
  2712. Part17.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2713. Part18.Parent = Model0
  2714. Part18.BrickColor = BrickColor.new("Pearl")
  2715. Part18.Anchored = true
  2716. Part18.CanCollide = false
  2717. Part18.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  2718. Part18.CFrame = CFrame.new(-90, 10.6750021, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  2719. Part18.BottomSurface = Enum.SurfaceType.Smooth
  2720. Part18.TopSurface = Enum.SurfaceType.Smooth
  2721. Part18.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2722. Part18.Position = Vector3.new(-90, 10.6750021, 13.8757429)
  2723. Part18.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2724. Part19.Parent = Model0
  2725. Part19.BrickColor = BrickColor.new("Pearl")
  2726. Part19.Anchored = true
  2727. Part19.CanCollide = false
  2728. Part19.Size = Vector3.new(0.400000006, 0.200000003, 1.05000007)
  2729. Part19.CFrame = CFrame.new(-90, 10.1500015, 14.4757433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  2730. Part19.BottomSurface = Enum.SurfaceType.Smooth
  2731. Part19.TopSurface = Enum.SurfaceType.Smooth
  2732. Part19.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2733. Part19.Position = Vector3.new(-90, 10.1500015, 14.4757433)
  2734. Part19.Color = Color3.new(0.905882, 0.905882, 0.92549)
  2735. for i,v in pairs(Model0:GetChildren()) do
  2736. if v:IsA("Part") then
  2737. v.Color = Color3.new(1,1,0)
  2738. v.Material = Enum.Material.Neon
  2739. v.Transparency = 0
  2740. v.CanCollide = false
  2741. end
  2742. end
  2743. weld(Model0)
  2744. return Model0
  2745. end
  2746.  
  2747. mode = "determination"
  2748. function justice()
  2749. mode = "justice"
  2750. for i=1,5 do rs:wait()
  2751. local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000)
  2752. Effect(Enum.MeshType.Brick,Vector3.new(1,1,1),0,Enum.Material.Neon,Color3.new(1,1,0),rarm.RightGripAttachment.WorldPosition+(asd*1),asd*360,Vector3.new(0.5,0.5,0.5),asd*1,0.1,0.0005)
  2753. end
  2754. knife:Destroy()
  2755. pistol = createpistol()
  2756. newWeld(rarm,pistol.asd,0,-1,0)
  2757. pistol.asd.Weld.C1 = CFrame.Angles(math.rad(110),0,0)
  2758. end
  2759.  
  2760. function determination()
  2761. mode = "determination"
  2762. for i=1,5 do rs:wait()
  2763. local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000)
  2764. Effect(Enum.MeshType.Brick,Vector3.new(1,1,1),0,Enum.Material.Neon,Color3.new(1,0,0),rarm.RightGripAttachment.WorldPosition+(asd*1),asd*360,Vector3.new(0.5,0.5,0.5),asd*1,0.1,0.0005)
  2765. end
  2766. pistol:Destroy()
  2767. knife = createknife()
  2768. newWeld(rarm,knife.asd,0,-1,0)
  2769. end
  2770.  
  2771. debounce = false
  2772. mouse.KeyDown:connect(function(key)
  2773. if debounce == false then
  2774. debounce = true
  2775. if key == "e" then
  2776. sound(462606062,root.Position,10,1)
  2777. if mode == "determination" then
  2778. justice()
  2779. elseif mode == "justice" then
  2780. determination()
  2781. end
  2782. end
  2783. delay(0.3,function() debounce = false end)
  2784. end
  2785. end)
  2786.  
  2787. ----------------------------------------------------------------------------------------
  2788.  
  2789. function slash()
  2790. local spd = 0.2
  2791. for i=1,15 do rs:wait()
  2792. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)     *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  2793. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)         *CFrame.Angles(math.rad(0),math.rad(-30),math.rad(0)), spd)
  2794. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), spd)
  2795. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)  *CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), spd)
  2796. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)  *CFrame.Angles(math.rad(0),math.rad(-50),math.rad(10)), spd)
  2797. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(-10)), spd)
  2798. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  2799. end
  2800. sound(357417055,root.Position,10,1)
  2801. attacking = true
  2802. local spd = 0.4
  2803. for i=1,5 do rs:wait()
  2804. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)     *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  2805. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)         *CFrame.Angles(math.rad(0),math.rad(80),math.rad(0)), spd)
  2806. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), spd)
  2807. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)  *CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), spd)
  2808. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)  *CFrame.Angles(math.rad(0),math.rad(80),math.rad(-20)), spd)
  2809. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  2810. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(-80),math.rad(20)), spd)
  2811. end
  2812. end
  2813.  
  2814. mouse.Button1Down:connect(function()
  2815. if debounce == false and mode == "determination" then
  2816. alreadytouched = {}
  2817. noidle = true
  2818. debounce = true
  2819. slash()
  2820. attacking = false
  2821. noidle = false
  2822. delay(0.05,function() debounce = false end)
  2823. end
  2824. end)
  2825.  
  2826. -----------------------------
  2827. local jumped = false
  2828. function boom()
  2829. freeze = true
  2830. sound(446961725,root.Position,10,1)
  2831. local bg = Instance.new("BodyGyro",root)
  2832. bg.Name = "lolnochara"
  2833. bg.P = 10000
  2834. bg.D = 100
  2835. bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
  2836. if jumped == false then
  2837. root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  2838. bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  2839. else
  2840. root.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  2841. bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  2842. end
  2843.  
  2844. local spd = 0.2
  2845. for i=1,20 do rs:wait()
  2846. if jumped == false then
  2847. bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  2848. else
  2849. bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  2850. end
  2851. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)     *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  2852. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)         *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  2853. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  2854. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)  *CFrame.Angles(math.rad(45),math.rad(0),math.rad(90)), spd)
  2855. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)  *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  2856. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(-5),math.rad(0)), spd)
  2857. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), spd)
  2858. end
  2859.  
  2860. bg:Destroy()
  2861.  
  2862. sound(470245800,root.Position,10,1)
  2863.  
  2864. local Part0 = Instance.new("Part",DebrisModel)
  2865. Part0.Name = "Bullet"
  2866. Part0.Material = Enum.Material.Neon
  2867. Part0.Color = Color3.new(1,1,0)
  2868. Part0.Anchored = true
  2869. local mesh = Instance.new("SpecialMesh",Part0)
  2870. mesh.MeshType = Enum.MeshType.Brick
  2871. Part0.CanCollide = false
  2872. local Position = rarm.Position
  2873. local Target = mouse.Hit.p
  2874. local direction = Target - Position
  2875. local direction = computeDirection(direction)
  2876. local ray = Ray.new(Position, (Target-Position).unit*1048)
  2877. local part, endPoint = workspace:FindPartOnRay(ray, char)
  2878. Part0.Size = Vector3.new(5,1,5)
  2879. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude+5,1)
  2880. local pos = Position + (direction * (mesh.Scale.Y/2))
  2881. Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  2882. local loop = nil
  2883. local i = 0
  2884. rs:connect(function()
  2885. local lole = (i/10)
  2886. mesh.Scale = Vector3.new(lole,mesh.Scale.Y,lole)
  2887. Part0.Transparency = Part0.Transparency + 0.1
  2888. i = i + 1
  2889. if Part0.Transparency >= 1 then
  2890. Part0:Destroy()
  2891. end
  2892. end)
  2893.  
  2894. if part and part.Parent:FindFirstChildOfClass("Humanoid") and checkIfNotPlayer(part) == true then
  2895. coroutine.resume(coroutine.create(function()
  2896. sound(388826051,part.Position,10,1)
  2897. ded(part.Parent)
  2898. end))
  2899. end
  2900.  
  2901. local spd = 0.5
  2902. for i=1,10 do rs:wait()
  2903. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)     *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  2904. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)         *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  2905. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  2906. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)  *CFrame.Angles(math.rad(45),math.rad(40),math.rad(90)), spd)
  2907. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)  *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  2908. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(-5),math.rad(0)), spd)
  2909. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), spd)
  2910. end
  2911.  
  2912. freeze = false
  2913.  
  2914. end
  2915.  
  2916. mouse.Button1Down:connect(function()
  2917. if debounce == false and mode == "justice" then
  2918. alreadytouched = {}
  2919. noidle = true
  2920. debounce = true
  2921. boom()
  2922. attacking = false
  2923. noidle = false
  2924. delay(0.05,function() debounce = false end)
  2925. end
  2926. end)
  2927.  
  2928. ----------------------------------------------------------------------------------------
  2929. velocityYFall=0
  2930. velocityYFall2=0
  2931. velocityYFall3=0
  2932. velocityYFall4=0
  2933. neckrotY=0
  2934. neckrotY2=0
  2935. torsorotY=0
  2936. torsorotY2=0
  2937. torsoY=0
  2938. torsoY2=0
  2939. colored = 0
  2940. sine = 0
  2941. change=0.4
  2942. movement=5
  2943. timeranim=0
  2944. running = false
  2945. glitched = false
  2946. backup = hed.Weld.C1
  2947. glitchedC1 = hed.Weld.C1
  2948.  
  2949. mouse.KeyDown:connect(function(key)
  2950. key = string.lower(key)
  2951. if string.byte(key) == 48 then
  2952. running = true
  2953. local keyup = mouse.KeyUp:connect(function(key)
  2954. if string.byte(key) == 48 then
  2955. running = false
  2956. end
  2957. end)
  2958. repeat rs:wait() until running == false
  2959. keyup:disconnect()
  2960. end
  2961. end)
  2962.  
  2963. icolor=1
  2964. imode=false
  2965.  
  2966. didjump = false
  2967. jumppower = 0
  2968. freeze = false
  2969. debounceimpact = false
  2970.  
  2971. function jumpimpact()
  2972. if debounceimpact == false then
  2973. debounceimpact = true
  2974. if jumppower < -150 then jumppower = -150 end
  2975. shake(-jumppower/5)
  2976. for i=1,-jumppower/20 do rs:wait()
  2977. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0), 0.05)
  2978. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, (jumppower/20)*size-hum.HipHeight, 0) * CFrame.Angles(math.rad(0),math.rad(0), math.rad(0)), 0.05)
  2979. end
  2980. debounceimpact = false
  2981. end
  2982. end
  2983.  
  2984. local sond = nil
  2985. rs:connect(function()
  2986.  
  2987. if not torso:FindFirstChild("STATICSOUND") then
  2988. sond=Instance.new("Sound",torso)
  2989. sond.Name = "STATICSOUND"
  2990. sond.SoundId = "rbxassetid://223103466"
  2991. sond.Looped = true
  2992. sond:Play()
  2993. end
  2994.  
  2995. if icolor > 1 then
  2996. imode = false
  2997. elseif icolor < 0 then
  2998. imode = true
  2999. end
  3000.  
  3001. if imode == true then
  3002. icolor = icolor + 0.01
  3003. else
  3004. icolor = icolor - 0.01
  3005. end
  3006.  
  3007. for i,v in pairs(emitters) do
  3008. v.Acceleration = root.CFrame.upVector*(666/100)
  3009. end
  3010.  
  3011. if p.Character.Parent == nil then
  3012. local model = Instance.new("Model")
  3013. model.Name = p.Name
  3014. p.Character = model
  3015. for i,v in pairs(char:GetChildren()) do
  3016. v.Parent = p.Character
  3017. end
  3018. end
  3019.  
  3020. char = p.Character
  3021. if p.Character.Parent ~= workspace then
  3022. p.Character.Parent = workspace
  3023. end
  3024. for i,v in pairs(char:GetChildren()) do
  3025. if v:IsA("Accoutrement") then
  3026. if v.Handle:FindFirstChild("Mesh") then
  3027. v.Handle:FindFirstChild("Mesh").Offset = Vector3.new()
  3028. v.Handle.Transparency = 0
  3029. end
  3030. elseif v:IsA("BasePart") then
  3031. v.Anchored = false
  3032. if v:FindFirstChildOfClass("BodyPosition") then
  3033. v:FindFirstChildOfClass("BodyPosition"):Destroy()
  3034. end
  3035. if v:FindFirstChildOfClass("BodyVelocity") then
  3036. v:FindFirstChildOfClass("BodyVelocity"):Destroy()
  3037. end
  3038. if v:FindFirstChildOfClass("BodyGyro") and v:FindFirstChildOfClass("BodyGyro").Name ~= "lolnochara" then
  3039. v:FindFirstChildOfClass("BodyGyro"):Destroy()
  3040. end
  3041. if v:FindFirstChild("Mesh") then
  3042. v:FindFirstChild("Mesh").Offset = Vector3.new()
  3043. end
  3044. if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD") then
  3045. local force = Instance.new("Part",DebrisModel)
  3046. force.Name = v.Name.."FORCEFIELD"
  3047. force.Size = v.Size+(Vector3.new(1,1,1)*0.2)
  3048. force.CanCollide = false
  3049. force.Transparency = 1
  3050. newWeld(v,force,0,0,0)
  3051. else
  3052. if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"):FindFirstChildOfClass("Weld") then
  3053. newWeld(v,DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"),0,0,0)
  3054. end
  3055. end
  3056. if v.Name ~= "HumanoidRootPart" then
  3057. v.Transparency = 0
  3058. else
  3059. v.Transparency = 1
  3060. end
  3061. end
  3062. end
  3063.  
  3064. if mode == "determination" then
  3065. trail.Enabled = true
  3066. else
  3067. trail.Enabled = false
  3068. end
  3069.  
  3070. if freeze == false then
  3071. if running == false then
  3072. hum.WalkSpeed = 12*size
  3073. change=0.4
  3074. movement=5
  3075. else
  3076. hum.WalkSpeed = (666/10)*size
  3077. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5*size then
  3078. change=1
  3079. else
  3080. change=0.4
  3081. end
  3082. movement=15
  3083. end
  3084. else
  3085. hum.WalkSpeed = 1
  3086. change=0.4
  3087. movement=5
  3088. end
  3089.  
  3090. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 150 then
  3091. velocityYFall = root.Velocity.Y/1.5
  3092. else
  3093. if -root.Velocity.Y/1.5 < -5 then
  3094. velocityYFall = 5
  3095. elseif -root.Velocity.Y/1.5 > 150 then
  3096. velocityYFall = -150
  3097. end
  3098. end
  3099.  
  3100. if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then
  3101. velocityYFall2 = root.Velocity.Y/180
  3102. else
  3103. if -root.Velocity.Y/180 < 0 then
  3104. velocityYFall2 = 0
  3105. elseif -root.Velocity.Y/180 > 1.2 then
  3106. velocityYFall2 = -1.2
  3107. end
  3108. end
  3109.  
  3110. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then
  3111. velocityYFall3 = root.Velocity.Y/1.5
  3112. else
  3113. if -root.Velocity.Y/1.5 < -5 then
  3114. velocityYFall3 = 5
  3115. elseif -root.Velocity.Y/1.5 > 50 then
  3116. velocityYFall3 = -50
  3117. end
  3118. end
  3119.  
  3120. if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then
  3121. velocityYFall4 = root.Velocity.Y/1.5
  3122. else
  3123. if -root.Velocity.Y/180 < -5 then
  3124. velocityYFall4 = 5
  3125. elseif -root.Velocity.Y/180 > 50 then
  3126. velocityYFall4 = -50
  3127. end
  3128. end
  3129.  
  3130. if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then
  3131. neckrotY = root.RotVelocity.Y/6
  3132. else
  3133. if root.RotVelocity.Y/6 < -1 then
  3134. neckrotY = -1
  3135. elseif root.RotVelocity.Y/6 > 1 then
  3136. neckrotY = 1
  3137. end
  3138. end
  3139.  
  3140. if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then
  3141. neckrotY2 = root.RotVelocity.Y/8
  3142. else
  3143. if root.RotVelocity.Y/8 < -0.6 then
  3144. neckrotY2 = -0.6
  3145. elseif root.RotVelocity.Y/8 > 0.6 then
  3146. neckrotY2 = 0.6
  3147. end
  3148. end
  3149.  
  3150. if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then
  3151. torsorotY = root.RotVelocity.Y/6
  3152. else
  3153. if root.RotVelocity.Y/6 < -0.2 then
  3154. torsorotY = -0.2
  3155. elseif root.RotVelocity.Y/6 > 0.2 then
  3156. torsorotY = 0.2
  3157. end
  3158. end
  3159.  
  3160. if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then
  3161. torsorotY2 = root.RotVelocity.Y/8
  3162. else
  3163. if root.RotVelocity.Y/8 < -0.2 then
  3164. torsorotY2 = -0.2
  3165. elseif root.RotVelocity.Y/8 > 0.2 then
  3166. torsorotY2 = 0.2
  3167. end
  3168. end
  3169.  
  3170. torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
  3171. torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
  3172.  
  3173. local ray1 = Ray.new(root.Position+Vector3.new(size,0,0),Vector3.new(0, -4*size, 0))
  3174. local part1, endPoint = workspace:FindPartOnRay(ray1, char)
  3175. local ray2 = Ray.new(root.Position-Vector3.new(size,0,0),Vector3.new(0, -4*size, 0))
  3176. local part2, endPoint = workspace:FindPartOnRay(ray2, char)
  3177. local ray3 = Ray.new(root.Position+Vector3.new(0,0,size/2),Vector3.new(0, -4*size, 0))
  3178. local part3, endPoint = workspace:FindPartOnRay(ray3, char)
  3179. local ray4 = Ray.new(root.Position-Vector3.new(0,0,size/2),Vector3.new(0, -4*size, 0))
  3180. local part4, endPoint = workspace:FindPartOnRay(ray4, char)
  3181. local ray = Ray.new(root.Position,Vector3.new(0, -6, 0))
  3182. local part, endPoint = workspace:FindPartOnRay(ray, char)
  3183.  
  3184. if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end
  3185.  
  3186. local rlegray = Ray.new(rleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75*size, 0))
  3187. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
  3188.  
  3189. local llegray = Ray.new(lleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75*size, 0))
  3190. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
  3191.  
  3192. if hum.Health > 0 and noidle == false then
  3193. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
  3194. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new((change/5)*math.sin(sine/4), 1.5, -.2) * CFrame.Angles(math.rad((torso.Velocity*Vector3.new(1, 0, 1)).magnitude/35),torsorotY, math.rad(0)+torsorotY), 0.4)
  3195. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles((change/10)*math.cos(sine/2)+0.1,-(change/10)*math.cos(sine/4)-(torsorotY/5),(change/2)*math.sin(sine/4)), 0.1)
  3196. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62-(movement/40)*math.cos(sine/4)/3,(movement/150)+(movement/40)*math.cos(sine/4))*CFrame.Angles(math.rad(-5-(movement*2)*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  3197. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+(movement/40)*math.cos(sine/4)/3,(movement/150)-(movement/40)*math.cos(sine/4))*CFrame.Angles(math.rad(-5+(movement*2)*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  3198. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.05+(change/2)*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-(change*20)-(movement/20)*math.cos(sine/2)), torsorotY2+math.rad(0-4*math.cos(sine/4)), torsorotY2+math.rad(0-1*math.cos(sine/4))), 0.1)
  3199. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,(-0.85-(movement/15)*math.cos(sine/4)/2),-0.1+(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)-movement*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  3200. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,(-0.85+(movement/15)*math.cos(sine/4)/2),-0.1-(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)+movement*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  3201. elseif jumped == true then
  3202. didjump = true
  3203. jumppower = root.Velocity.Y
  3204. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.1) * CFrame.Angles(0,0,0), 0.4)
  3205. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-velocityYFall3/5),0,0), 0.1)
  3206. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-velocityYFall3/70,0)*CFrame.Angles(math.rad(-velocityYFall3/10),math.rad(0),math.rad(velocityYFall)), 0.2)
  3207. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-velocityYFall3/70,0)*CFrame.Angles(math.rad(-velocityYFall3/10),math.rad(0),math.rad(-velocityYFall)), 0.2)
  3208. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(velocityYFall3/10),math.rad(0), math.rad(0)), 0.1)
  3209. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925,0)*CFrame.Angles(math.rad(-35),math.rad(0),math.rad(-2)), 0.2)
  3210. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0,-0.8)*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(2)), 0.2)
  3211. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5*size then
  3212. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5*size, -.1*size) * CFrame.Angles(math.rad((torso.Velocity*Vector3.new(1, 0, 1)).magnitude/35),0, 0), 0.4)
  3213. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0.05*math.cos(sine/16)+0.15,0.05*math.cos(sine/32),0.01*math.cos(sine/32)), 0.1)
  3214. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5*size,0.55*size-(0.1*size)*math.cos(sine/16)/3,-0.05-0.1*size*math.cos(sine/16))*CFrame.Angles(math.rad(-2+4*math.cos(sine/16)),math.rad(-5-5*math.cos(sine/16)),math.rad(-6+2*math.cos(sine/16))), 0.2)
  3215. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5*size,0.55*size-(0.1*size)*math.cos(sine/16)/3,-0.05-0.1*size*math.cos(sine/16))*CFrame.Angles(math.rad(-2+4*math.cos(sine/16)),math.rad(5+5*math.cos(sine/16)),math.rad(6-2*math.cos(sine/16))), 0.2)
  3216. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1*size-(0.1*size)*math.cos(sine/16)-hum.HipHeight, 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
  3217. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5*size,0*size+(0.1*size)*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+2*math.cos(sine/16)),math.rad(10+2*math.cos(sine/16)),math.rad(-5+1*math.cos(sine/32))), 0.2)
  3218. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5*size,0*size+(0.1*size)*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+2*math.cos(sine/16)),math.rad(-10-2*math.cos(sine/16)),math.rad(5+1*math.cos(sine/32))), 0.2)
  3219. end
  3220. end
  3221. if didjump == true and jumped == false and jumppower < 0 then
  3222. didjump = false
  3223. jumpimpact()
  3224. end
  3225.  
  3226. local chance = math.random(0,10000)/100
  3227. if chance <= 5 + (kills/2) then
  3228. if glitched == false then
  3229. backup = hed.Weld.C1
  3230. end
  3231. if torso:FindFirstChild("MusicRuin") then
  3232. equalizer.HighGain = 0
  3233. equalizer.MidGain = -20
  3234. equalizer.LowGain = -80
  3235. end
  3236. hed.Weld.C1 = glitchedC1
  3237. local glitch_color = Color3.fromHSV(math.random(0,1000)/1000,1,1)
  3238. hed.Color = glitch_color
  3239. torso.Color = glitch_color
  3240. rarm.Color = glitch_color
  3241. larm.Color = glitch_color
  3242. rleg.Color = glitch_color
  3243. lleg.Color = glitch_color
  3244. shake(5)
  3245. glitched = true
  3246. hed.face.Texture = "rbxassetid://435233416"
  3247. sond:Resume()
  3248. else
  3249. if glitched == true then
  3250. glitched = false
  3251. hed.Weld.C1 = backup
  3252. glitchedC1 = backup*CFrame.Angles(math.rad(math.random(-40,40)),math.rad(math.random(-40,40)),math.rad(math.random(-20,20)))
  3253. end
  3254. if torso:FindFirstChild("MusicRuin") then
  3255. equalizer.HighGain = 0
  3256. equalizer.MidGain = 0
  3257. equalizer.LowGain = 0
  3258. end
  3259. hed.BrickColor = skin_color
  3260. torso.BrickColor = skin_color
  3261. rarm.BrickColor = skin_color
  3262. larm.BrickColor = skin_color
  3263. rleg.BrickColor = skin_color
  3264. lleg.BrickColor = skin_color
  3265. hed.face.Texture = "rbxassetid://422627909"
  3266. sond:Pause()
  3267. end
  3268.  
  3269. timeposition = soundz.TimePosition
  3270. sine = sine + change
  3271. hum.Health = math.huge
  3272. hum.MaxHealth = math.huge
  3273. end)
  3274. end)
  3275.  
  3276. _3.Name = "3"
  3277. _3.Parent = Chara
  3278. _3.BackgroundColor3 = Color3.new(1, 1, 1)
  3279. _3.BackgroundTransparency = 1
  3280. _3.Size = UDim2.new(1, 0, 1, 0)
  3281. _3.Image = "rbxassetid://2851926732"
  3282. _3.ImageColor3 = Color3.new(0.0941177, 1, 0.501961)
  3283. _3.ScaleType = Enum.ScaleType.Slice
  3284. _3.SliceCenter = Rect.new(12, 12, 12, 12)
  3285.  
  3286. Ali.Name = "Ali"
  3287. Ali.Parent = Frame
  3288. Ali.BackgroundColor3 = Color3.new(1, 1, 1)
  3289. Ali.BackgroundTransparency = 1
  3290. Ali.BorderSizePixel = 0
  3291. Ali.Position = UDim2.new(0.198108047, 0, 0.350137532, 0)
  3292. Ali.Size = UDim2.new(0, 135, 0, 41)
  3293. Ali.ZIndex = 2
  3294. Ali.Font = Enum.Font.Code
  3295. Ali.Text = "Ali"
  3296. Ali.TextColor3 = Color3.new(1, 1, 1)
  3297. Ali.TextSize = 30
  3298. Ali.TextWrapped = true
  3299. Ali.MouseButton1Down:connect(function()
  3300. wait(0.2)
  3301.  
  3302.  
  3303.  
  3304. Player = game:GetService("Players").LocalPlayer
  3305. PlayerGui = Player.PlayerGui
  3306. Cam = workspace.CurrentCamera
  3307. Backpack = Player.Backpack
  3308. Character = Player.Character
  3309. Humanoid = Character.Humanoid
  3310. Mouse = Player:GetMouse()
  3311. RootPart = Character["HumanoidRootPart"]
  3312. Torso = Character["Torso"]
  3313. Head = Character["Head"]
  3314. RightArm = Character["Right Arm"]
  3315. LeftArm = Character["Left Arm"]
  3316. RightLeg = Character["Right Leg"]
  3317. LeftLeg = Character["Left Leg"]
  3318. RootJoint = RootPart["RootJoint"]
  3319. Neck = Torso["Neck"]
  3320. RightShoulder = Torso["Right Shoulder"]
  3321. LeftShoulder = Torso["Left Shoulder"]
  3322. RightHip = Torso["Right Hip"]
  3323. LeftHip = Torso["Left Hip"]
  3324. local sick = Instance.new("Sound",Character)
  3325. sick.SoundId = "rbxassetid://183142252"
  3326. sick.Looped = true
  3327. sick.Pitch = 1
  3328. sick.Volume = 5
  3329. sick:Play()
  3330. Humanoid.DisplayDistanceType = "None"
  3331.  
  3332. local naeeym2 = Instance.new("BillboardGui",Character)
  3333. naeeym2.AlwaysOnTop = true
  3334. naeeym2.Size = UDim2.new(5,35,2,35)
  3335. naeeym2.StudsOffset = Vector3.new(0,3,0)
  3336. naeeym2.Adornee = Character.Head
  3337. naeeym2.Name = "Name"
  3338. naeeym2.PlayerToHideFrom = Player
  3339. local tecks2 = Instance.new("TextLabel",naeeym2)
  3340. tecks2.BackgroundTransparency = 1
  3341. tecks2.TextScaled = true
  3342. tecks2.BorderSizePixel = 0
  3343. tecks2.Text = "Ali"
  3344. tecks2.Font = "SourceSansBold"
  3345. tecks2.TextSize = 30
  3346. tecks2.TextStrokeTransparency = 0
  3347. tecks2.TextColor3 = BrickColor.new("Really red").Color
  3348. tecks2.TextStrokeColor3 = BrickColor.new("Really Red").Color
  3349. tecks2.Size = UDim2.new(1,0,0.5,0)
  3350. tecks2.Parent = naeeym2
  3351.  
  3352. IT = Instance.new
  3353. CF = CFrame.new
  3354. VT = Vector3.new
  3355. RAD = math.rad
  3356. C3 = Color3.new
  3357. UD2 = UDim2.new
  3358. BRICKC = BrickColor.new
  3359. ANGLES = CFrame.Angles
  3360. EULER = CFrame.fromEulerAnglesXYZ
  3361. COS = math.cos
  3362. ACOS = math.acos
  3363. SIN = math.sin
  3364. ASIN = math.asin
  3365. ABS = math.abs
  3366. MRANDOM = math.random
  3367. FLOOR = math.floor
  3368.  
  3369. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  3370.     local NEWMESH = IT(MESH)
  3371.     if MESH == "SpecialMesh" then
  3372.         NEWMESH.MeshType = MESHTYPE
  3373.         if MESHID ~= "nil" and MESHID ~= "" then
  3374.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  3375.         end
  3376.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  3377.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  3378.         end
  3379.     end
  3380.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  3381.     NEWMESH.Scale = SCALE
  3382.     NEWMESH.Parent = PARENT
  3383.     return NEWMESH
  3384. end
  3385.  
  3386. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  3387.     local NEWPART = IT("Part")
  3388.     NEWPART.formFactor = FORMFACTOR
  3389.     NEWPART.Reflectance = REFLECTANCE
  3390.     NEWPART.Transparency = TRANSPARENCY
  3391.     NEWPART.CanCollide = false
  3392.     NEWPART.Locked = true
  3393.     NEWPART.Anchored = true
  3394.     if ANCHOR == false then
  3395.         NEWPART.Anchored = false
  3396.     end
  3397.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  3398.     NEWPART.Name = NAME
  3399.     NEWPART.Size = SIZE
  3400.     NEWPART.Position = Torso.Position
  3401.     NEWPART.Material = MATERIAL
  3402.     NEWPART:BreakJoints()
  3403.     NEWPART.Parent = PARENT
  3404.     return NEWPART
  3405. end
  3406.  
  3407. --//=================================\\
  3408. --||          CUSTOMIZATION
  3409. --\\=================================//
  3410.  
  3411. Player_Size = 1 --Size of the player.
  3412. Animation_Speed = 3
  3413. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  3414.  
  3415. local Speed = 16
  3416. local Effects2 = {}
  3417.  
  3418. --//=================================\\
  3419. --||      END OF CUSTOMIZATION
  3420. --\\=================================//
  3421.  
  3422.     local function weldBetween(a, b)
  3423.         local weldd = Instance.new("ManualWeld")
  3424.         weldd.Part0 = a
  3425.         weldd.Part1 = b
  3426.         weldd.C0 = CFrame.new()
  3427.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  3428.         weldd.Parent = a
  3429.         return weldd
  3430.     end
  3431.  
  3432. --//=================================\\
  3433. --||          USEFUL VALUES
  3434. --\\=================================//
  3435.  
  3436. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3437. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3438. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  3439. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  3440. local CHANGEDEFENSE = 0
  3441. local CHANGEDAMAGE = 0
  3442. local CHANGEMOVEMENT = 0
  3443. local ANIM = "Idle"
  3444. local ATTACK = false
  3445. local EQUIPPED = false
  3446. local HOLD = false
  3447. local COMBO = 1
  3448. local Rooted = false
  3449. local SINE = 0
  3450. local KEYHOLD = false
  3451. local CHANGE = 2 / Animation_Speed
  3452. local WALKINGANIM = false
  3453. local WALK = 0
  3454. local VALUE1 = false
  3455. local VALUE2 = false
  3456. local POWERLEVEL = 1
  3457. local DEATH = false
  3458. local ROBLOXIDLEANIMATION = IT("Animation")
  3459. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  3460. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  3461. --ROBLOXIDLEANIMATION.Parent = Humanoid
  3462. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  3463. WEAPONGUI.Name = "Weapon GUI"
  3464. local Weapon = IT("Model")
  3465. Weapon.Name = "Adds"
  3466. local Effects = IT("Folder", Weapon)
  3467. Effects.Name = "Effects"
  3468. local ANIMATOR = Humanoid.Animator
  3469. local ANIMATE = Character.Animate
  3470. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  3471. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  3472. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  3473. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  3474. local UNANCHOR = true
  3475. local LIMITBROKEN = false
  3476. local HITFLOOR, HITPOS = nil
  3477. local FLIGHT = false
  3478.  
  3479. local SKILLTEXTCOLOR = BRICKC("Really red").Color
  3480.  
  3481. --//=================================\\
  3482. --\\=================================//
  3483.  
  3484.  
  3485. --//=================================\\
  3486. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  3487. --\\=================================//
  3488.  
  3489. ArtificialHB = Instance.new("BindableEvent", script)
  3490. ArtificialHB.Name = "ArtificialHB"
  3491.  
  3492. script:WaitForChild("ArtificialHB")
  3493.  
  3494. frame = Frame_Speed
  3495. tf = 0
  3496. allowframeloss = false
  3497. tossremainder = false
  3498. lastframe = tick()
  3499. script.ArtificialHB:Fire()
  3500.  
  3501. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3502.     tf = tf + s
  3503.     if tf >= frame then
  3504.         if allowframeloss then
  3505.             script.ArtificialHB:Fire()
  3506.             lastframe = tick()
  3507.         else
  3508.             for i = 1, math.floor(tf / frame) do
  3509.                 script.ArtificialHB:Fire()
  3510.             end
  3511.         lastframe = tick()
  3512.         end
  3513.         if tossremainder then
  3514.             tf = 0
  3515.         else
  3516.             tf = tf - frame * math.floor(tf / frame)
  3517.         end
  3518.     end
  3519. end)
  3520.  
  3521. --//=================================\\
  3522. --\\=================================//
  3523.  
  3524.  
  3525.  
  3526.  
  3527.  
  3528. --//=================================\\
  3529. --||          SOME FUNCTIONS
  3530. --\\=================================//
  3531.  
  3532. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  3533.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  3534. end
  3535.  
  3536. function PositiveAngle(NUMBER)
  3537.     if NUMBER >= 0 then
  3538.         NUMBER = 0
  3539.     end
  3540.     return NUMBER
  3541. end
  3542.  
  3543. function NegativeAngle(NUMBER)
  3544.     if NUMBER <= 0 then
  3545.         NUMBER = 0
  3546.     end
  3547.     return NUMBER
  3548. end
  3549.  
  3550. function Swait(NUMBER)
  3551.     if NUMBER == 0 or NUMBER == nil then
  3552.         ArtificialHB.Event:wait()
  3553.     else
  3554.         for i = 1, NUMBER do
  3555.             ArtificialHB.Event:wait()
  3556.         end
  3557.     end
  3558. end
  3559.  
  3560. function QuaternionFromCFrame(cf)
  3561.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3562.     local trace = m00 + m11 + m22
  3563.     if trace > 0 then
  3564.         local s = math.sqrt(1 + trace)
  3565.         local recip = 0.5 / s
  3566.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  3567.     else
  3568.         local i = 0
  3569.         if m11 > m00 then
  3570.             i = 1
  3571.         end
  3572.         if m22 > (i == 0 and m00 or m11) then
  3573.             i = 2
  3574.         end
  3575.         if i == 0 then
  3576.             local s = math.sqrt(m00 - m11 - m22 + 1)
  3577.             local recip = 0.5 / s
  3578.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  3579.         elseif i == 1 then
  3580.             local s = math.sqrt(m11 - m22 - m00 + 1)
  3581.             local recip = 0.5 / s
  3582.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  3583.         elseif i == 2 then
  3584.             local s = math.sqrt(m22 - m00 - m11 + 1)
  3585.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  3586.         end
  3587.     end
  3588. end
  3589.  
  3590. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3591.     local xs, ys, zs = x + x, y + y, z + z
  3592.     local wx, wy, wz = w * xs, w * ys, w * zs
  3593.     local xx = x * xs
  3594.     local xy = x * ys
  3595.     local xz = x * zs
  3596.     local yy = y * ys
  3597.     local yz = y * zs
  3598.     local zz = z * zs
  3599.     return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  3600. end
  3601.  
  3602. function QuaternionSlerp(a, b, t)
  3603.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  3604.     local startInterp, finishInterp;
  3605.     if cosTheta >= 0.0001 then
  3606.         if (1 - cosTheta) > 0.0001 then
  3607.             local theta = ACOS(cosTheta)
  3608.             local invSinTheta = 1 / SIN(theta)
  3609.             startInterp = SIN((1 - t) * theta) * invSinTheta
  3610.             finishInterp = SIN(t * theta) * invSinTheta
  3611.         else
  3612.             startInterp = 1 - t
  3613.             finishInterp = t
  3614.         end
  3615.     else
  3616.         if (1 + cosTheta) > 0.0001 then
  3617.             local theta = ACOS(-cosTheta)
  3618.             local invSinTheta = 1 / SIN(theta)
  3619.             startInterp = SIN((t - 1) * theta) * invSinTheta
  3620.             finishInterp = SIN(t * theta) * invSinTheta
  3621.         else
  3622.             startInterp = t - 1
  3623.             finishInterp = t
  3624.         end
  3625.     end
  3626.     return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  3627. end
  3628.  
  3629. function Clerp(a, b, t)
  3630.     local qa = {QuaternionFromCFrame(a)}
  3631.     local qb = {QuaternionFromCFrame(b)}
  3632.     local ax, ay, az = a.x, a.y, a.z
  3633.     local bx, by, bz = b.x, b.y, b.z
  3634.     local _t = 1 - t
  3635.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  3636. end
  3637.  
  3638. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  3639.     local frame = IT("Frame")
  3640.     frame.BackgroundTransparency = TRANSPARENCY
  3641.     frame.BorderSizePixel = BORDERSIZEPIXEL
  3642.     frame.Position = POSITION
  3643.     frame.Size = SIZE
  3644.     frame.BackgroundColor3 = COLOR
  3645.     frame.BorderColor3 = BORDERCOLOR
  3646.     frame.Name = NAME
  3647.     frame.Parent = PARENT
  3648.     return frame
  3649. end
  3650.  
  3651. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  3652.     local label = IT("TextLabel")
  3653.     label.BackgroundTransparency = 1
  3654.     label.Size = UD2(1, 0, 1, 0)
  3655.     label.Position = UD2(0, 0, 0, 0)
  3656.     label.TextColor3 = TEXTCOLOR
  3657.     label.TextStrokeTransparency = STROKETRANSPARENCY
  3658.     label.TextTransparency = TRANSPARENCY
  3659.     label.FontSize = TEXTFONTSIZE
  3660.     label.Font = TEXTFONT
  3661.     label.BorderSizePixel = BORDERSIZEPIXEL
  3662.     label.TextScaled = false
  3663.     label.Text = TEXT
  3664.     label.Name = NAME
  3665.     label.Parent = PARENT
  3666.     return label
  3667. end
  3668.  
  3669. function NoOutlines(PART)
  3670.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  3671. end
  3672.  
  3673.  
  3674. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  3675.     local NEWWELD = IT(TYPE)
  3676.     NEWWELD.Part0 = PART0
  3677.     NEWWELD.Part1 = PART1
  3678.     NEWWELD.C0 = C0
  3679.     NEWWELD.C1 = C1
  3680.     NEWWELD.Parent = PARENT
  3681.     return NEWWELD
  3682. end
  3683.  
  3684. local SOUND = IT("Sound")
  3685.  
  3686. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  3687.     local NEWSOUND = nil
  3688.     coroutine.resume(coroutine.create(function()
  3689.         NEWSOUND = SOUND:Clone()
  3690.         NEWSOUND.Parent = PARENT
  3691.         NEWSOUND.Volume = VOLUME
  3692.         NEWSOUND.Pitch = PITCH
  3693.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  3694.         --Swait()
  3695.         NEWSOUND:play()
  3696.         if DOESLOOP == false then
  3697.             repeat Swait() until NEWSOUND.Playing == false
  3698.             NEWSOUND:remove()
  3699.         elseif DOESLOOP == true then
  3700.             NEWSOUND.Looped = true
  3701.         end
  3702.     end))
  3703.     return NEWSOUND
  3704. end
  3705.  
  3706. function CFrameFromTopBack(at, top, back)
  3707.     local right = top:Cross(back)
  3708.     return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  3709. end
  3710.  
  3711. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  3712.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  3713.     local mesh = IT("SpecialMesh",wave)
  3714.     mesh.MeshType = "FileMesh"
  3715.     mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3716.     mesh.Scale = SIZE
  3717.     mesh.Offset = VT(0,0,-SIZE.X/8)
  3718.     wave.CFrame = CFRAME
  3719.     coroutine.resume(coroutine.create(function(PART)
  3720.         for i = 1, WAIT do
  3721.             Swait()
  3722.             mesh.Scale = mesh.Scale + GROW
  3723.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  3724.             if DOESROT == true then
  3725.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  3726.             end
  3727.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  3728.             if wave.Transparency > 0.99 then
  3729.                 wave:remove()
  3730.             end
  3731.         end
  3732.     end))
  3733. end
  3734.  
  3735. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  3736.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  3737.     local mesh = IT("SpecialMesh",wave)
  3738.     mesh.MeshType = "FileMesh"
  3739.     mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3740.     mesh.Scale = SIZE
  3741.     mesh.Offset = VT(0,0,0)
  3742.     wave.CFrame = CFRAME
  3743.     coroutine.resume(coroutine.create(function(PART)
  3744.         for i = 1, WAIT do
  3745.             Swait()
  3746.             mesh.Scale = mesh.Scale + GROW
  3747.             if DOESROT == true then
  3748.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  3749.             end
  3750.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  3751.             if wave.Transparency > 0.99 then
  3752.                 wave:remove()
  3753.             end
  3754.         end
  3755.     end))
  3756. end
  3757.  
  3758. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  3759.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  3760.     local mesh = IT("SpecialMesh",wave)
  3761.     mesh.MeshType = "Sphere"
  3762.     mesh.Scale = SIZE
  3763.     mesh.Offset = VT(0,0,0)
  3764.     wave.CFrame = CFRAME
  3765.     coroutine.resume(coroutine.create(function(PART)
  3766.         for i = 1, WAIT do
  3767.             Swait()
  3768.             mesh.Scale = mesh.Scale + GROW
  3769.             wave.Transparency = wave.Transparency + (1/WAIT)
  3770.             if wave.Transparency > 0.99 then
  3771.                 wave:remove()
  3772.             end
  3773.         end
  3774.     end))
  3775. end
  3776.  
  3777. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  3778.     if FLOOR ~= nil then
  3779.         coroutine.resume(coroutine.create(function()
  3780.             local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really red", "DebreeCenter", VT(0,0,0))
  3781.             PART.CFrame = CF(POSITION)
  3782.             for i = 1, 45 do
  3783.                 local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really red", "DebreePart", BLOCKSIZE)
  3784.                 RingPiece.Material = FLOOR.Material
  3785.                 RingPiece.Color = FLOOR.Color
  3786.                 RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  3787.                 Debris:AddItem(RingPiece,SWAIT)
  3788.             end
  3789.             PART:remove()
  3790.         end))
  3791.     end
  3792. end
  3793.  
  3794. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  3795.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  3796.     local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  3797.     wave.CFrame = CFRAME
  3798.     coroutine.resume(coroutine.create(function(PART)
  3799.         for i = 1, WAIT do
  3800.             Swait()
  3801.             mesh.Scale = mesh.Scale * GROW
  3802.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  3803.             if wave.Transparency > 0.99 then
  3804.                 wave:remove()
  3805.             end
  3806.         end
  3807.     end))
  3808. end
  3809.  
  3810. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  3811.     if FLOOR ~= nil then
  3812.         for i = 1, AMOUNT do
  3813.             local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Debree", BLOCKSIZE, false)
  3814.             DEBREE.Material = FLOOR.Material
  3815.             DEBREE.Color = FLOOR.Color
  3816.             DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  3817.             DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  3818.             coroutine.resume(coroutine.create(function()
  3819.                 Swait(15)
  3820.                 DEBREE.Parent = workspace
  3821.                 DEBREE.CanCollide = true
  3822.                 Debris:AddItem(DEBREE,SWAIT)
  3823.             end))
  3824.         end
  3825.     end
  3826. end
  3827.  
  3828. function MakeForm(PART,TYPE)
  3829.     if TYPE == "Cyl" then
  3830.         local MSH = IT("CylinderMesh",PART)
  3831.     elseif TYPE == "Ball" then
  3832.         local MSH = IT("SpecialMesh",PART)
  3833.         MSH.MeshType = "Sphere"
  3834.     elseif TYPE == "Wedge" then
  3835.         local MSH = IT("SpecialMesh",PART)
  3836.         MSH.MeshType = "Wedge"
  3837.     end
  3838. end
  3839.  
  3840. function CheckTableForString(Table, String)
  3841.     for i, v in pairs(Table) do
  3842.         if string.find(string.lower(String), string.lower(v)) then
  3843.             return true
  3844.         end
  3845.     end
  3846.     return false
  3847. end
  3848.  
  3849. function CheckIntangible(Hit)
  3850.     local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  3851.     if Hit and Hit.Parent then
  3852.         if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  3853.             return true
  3854.         end
  3855.     end
  3856.     return false
  3857. end
  3858.  
  3859. Debris = game:GetService("Debris")
  3860.  
  3861. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  3862.     local Direction = CFrame.new(StartPos, Vec).lookVector
  3863.     local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  3864.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  3865.     if RayHit and CheckIntangible(RayHit) then
  3866.         if DelayIfHit then
  3867.             wait()
  3868.         end
  3869.         RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  3870.     end
  3871.     return RayHit, RayPos, RayNormal
  3872. end
  3873.  
  3874. function turnto(position)
  3875.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  3876. end
  3877.  
  3878. --//=================================\\
  3879. --||         WEAPON CREATION
  3880. --\\=================================//
  3881.  
  3882. function particles(art)
  3883. local EyeSizes={
  3884.     NumberSequenceKeypoint.new(0,1,0),
  3885.     NumberSequenceKeypoint.new(1,1,0)
  3886. }
  3887. local EyeTrans={
  3888.     NumberSequenceKeypoint.new(0,0.8,0),
  3889.     NumberSequenceKeypoint.new(1,1,0)
  3890. }
  3891. local PE=Instance.new("ParticleEmitter",art)
  3892. PE.LightEmission=.8
  3893. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  3894. PE.Size=NumberSequence.new(EyeSizes)
  3895. PE.Transparency=NumberSequence.new(EyeTrans)
  3896. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  3897. PE.Rotation=NumberRange.new(0,360)
  3898. PE.Rate=999
  3899. PE.VelocitySpread = 10000
  3900. PE.Acceleration = Vector3.new(0,75,0)
  3901. PE.Drag = 5
  3902. PE.Speed = NumberRange.new(0,0,0)
  3903. PE.Texture="http://www.roblox.com/asset/?id=341277531"
  3904. PE.ZOffset = -1.5
  3905. PE.Name = "PE"
  3906. end
  3907.  
  3908. Weapon.Parent = Character
  3909.  
  3910. Humanoid.Died:connect(function()
  3911.     ATTACK = true
  3912.     DEATH = true
  3913. end)
  3914.  
  3915. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  3916. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  3917. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  3918. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  3919. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  3920. local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  3921.  
  3922. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warp", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
  3923. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Rival Smash", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 2")
  3924. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chunk chuck", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 3")
  3925. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Boost", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 4")
  3926. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] X-Event", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 5")
  3927. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "Power level: ["..POWERLEVEL.."]", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 6")
  3928.  
  3929. --//=================================\\
  3930. --||            DAMAGING
  3931. --\\=================================//
  3932.  
  3933. function killnearest(position,range,maxstrength)
  3934.     for i,v in ipairs(workspace:GetChildren()) do
  3935.     if v.ClassName == "Model" then
  3936.         local body = v:GetChildren()
  3937.             for part = 1, #body do
  3938.                 if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  3939.                     if(body[part].Position - position).Magnitude < range then
  3940.                         if v.ClassName == "Model" then
  3941.                             v:BreakJoints()
  3942.                         end
  3943.                         --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  3944.                         body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  3945.                     end
  3946.                 end
  3947.             end
  3948.         end
  3949.     end
  3950. end
  3951.  
  3952. --//=================================\\
  3953. --||    ATTACK FUNCTIONS AND STUFF
  3954. --\\=================================//
  3955.  
  3956. Humanoid.HealthChanged:connect(function()
  3957.     if DEATH == false then
  3958.         if Humanoid.Health ~= "inf" then
  3959.             Humanoid.Health = "inf"
  3960.             CreateSound("907330011", Torso, 10, 1)
  3961.         end
  3962.         if Humanoid.MaxHealth ~= "inf" then
  3963.             Humanoid.MaxHealth = "inf"
  3964.         end
  3965.     end
  3966. end)
  3967.  
  3968. function VanishPlayer()
  3969.     tecks2.TextTransparency = 1
  3970.     tecks2.TextStrokeTransparency = 1
  3971.     for _, c in pairs(Character:GetChildren()) do
  3972.         if c.ClassName == "Part" then
  3973.             c.Transparency = 1
  3974.             if c:FindFirstChildOfClass("Decal") then
  3975.                 c:FindFirstChildOfClass("Decal").Transparency = 1
  3976.             end
  3977.             if c:FindFirstChildOfClass("ParticleEmitter") then
  3978.                 c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  3979.             end
  3980.         elseif c.ClassName == "Accessory" then
  3981.             c.Handle.Transparency = 1
  3982.             if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  3983.                 c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  3984.             end
  3985.         end
  3986.     end
  3987. end
  3988.  
  3989. function Reappear()
  3990.     tecks2.TextTransparency = 0
  3991.     tecks2.TextStrokeTransparency = 0
  3992.     for _, c in pairs(Character:GetChildren()) do
  3993.         if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  3994.             c.Transparency = 0
  3995.             if c:FindFirstChildOfClass("Decal") then
  3996.                 c:FindFirstChildOfClass("Decal").Transparency = 0
  3997.             end
  3998.             if c:FindFirstChildOfClass("ParticleEmitter") then
  3999.                 c:FindFirstChildOfClass("ParticleEmitter").Enabled = true
  4000.             end
  4001.         elseif c.ClassName == "Accessory" then
  4002.             c.Handle.Transparency = 0
  4003.             if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  4004.                 c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true
  4005.             end
  4006.         end
  4007.     end
  4008. end
  4009.  
  4010. function Warp()
  4011.     ATTACK = true
  4012.     Rooted = true
  4013.     for i = 1, 50 do
  4014.         Swait()
  4015.         CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Institutional white",VT(i/3,i/3,0))
  4016.         CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Institutional white",VT(i/3,i/3,0))
  4017.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  4018.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  4019.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  4020.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  4021.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  4022.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  4023.     end
  4024.     if VALUE2 == false then
  4025.         VALUE2 = true
  4026.     elseif VALUE2 == true then
  4027.         VALUE2 = false
  4028.     end
  4029.     ATTACK = false
  4030.     Rooted = false
  4031. end
  4032.  
  4033. function RivalingOverthrower()
  4034.     if HITFLOOR ~= nil then
  4035.         if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4036.             local HITBODY = Mouse.Target.Parent
  4037.             local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  4038.             local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4039.             if TORS ~= nil and HUMAN ~= nil then
  4040.                 ATTACK = true
  4041.                 Rooted = true
  4042.                 TORS.Anchored = true
  4043.                 RootPart.CFrame = TORS.CFrame * CF(0,0,4)
  4044.                 HITFLOOR, HITPOS = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 4 * TORS.Size.Y/2, HITBODY)
  4045.                 local FLOOR = HITFLOOR
  4046.                 local POS = HITPOS
  4047.                 print(FLOOR)
  4048.                 UNANCHOR = false
  4049.                 RootPart.Anchored = true
  4050.                 CreateSound("1295446488", Torso, 10, 1)
  4051.                 for i=0, 1, 0.1 / Animation_Speed do
  4052.                     Swait()
  4053.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4054.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  4055.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4056.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4057.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4058.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4059.                 end
  4060.                 local TAUNTS = {"907329532","907333294","907329893"}
  4061.                 CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Torso, 10, 1)
  4062.                 for i=0, 1, 0.1 / Animation_Speed do
  4063.                     Swait()
  4064.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  4065.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 2 / Animation_Speed)
  4066.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4067.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4068.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4069.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4070.                 end
  4071.                 RootPart.CFrame = TORS.CFrame * CF(0,0,2)
  4072.                 CreateSound("260411131", TORS, 10, 1)
  4073.                 TORS.Anchored = false
  4074.                 local WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-1,-0.5) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  4075.                 for i=0, 1, 0.1 / Animation_Speed do
  4076.                     Swait()
  4077.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / Animation_Speed)
  4078.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
  4079.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4080.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4081.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4082.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4083.                 end
  4084.                 for i=0, 2, 0.1 / Animation_Speed do
  4085.                     Swait()
  4086.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4087.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4088.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4089.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4090.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  4091.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4092.                 end
  4093.                 for i = 1, 15 do
  4094.                     CreateRing(VT(0,0,0),false,0,25,CF(TORS.Position+VT(0,-3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Institutional white",VT(i/5,i/5,0))
  4095.                 end
  4096.                 WELD:remove()
  4097.                 local grav = Instance.new("BodyPosition",TORS)
  4098.                 grav.P = 20000
  4099.                 grav.D = 100
  4100.                 grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4101.                 grav.position = TORS.Position + VT(0,50,0)
  4102.                 grav.Name = "GravityForce"
  4103.                 for i=0, 1, 0.1 / Animation_Speed do
  4104.                     Swait()
  4105.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
  4106.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
  4107.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4108.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4109.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4110.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4111.                 end
  4112.                 for i=0, 2, 0.1 / Animation_Speed do
  4113.                     Swait()
  4114.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4115.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4116.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4117.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4118.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  4119.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4120.                 end
  4121.                 CreateSound("1295446488", Torso, 10, 1)
  4122.                 CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really red",VT(1,0.1,1))
  4123.                 RootPart.CFrame = CF(TORS.Position)*CF(0,0,5)
  4124.                 for i=0, 2, 0.1 / Animation_Speed do
  4125.                     Swait()
  4126.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4127.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  4128.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4129.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4130.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
  4131.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
  4132.                 end
  4133.                 VanishPlayer()
  4134.                 for i = 1, 50+(25*POWERLEVEL) do
  4135.                     Swait()
  4136.                     CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(POWERLEVEL/3,POWERLEVEL/3,0))
  4137.                     CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1)
  4138.                     local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4139.                     MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(0.1,0.1,POWERLEVEL*5))
  4140.                     MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",VT(0.1,0.1,POWERLEVEL*5))
  4141.                 end
  4142.                 RootPart.CFrame = CF(TORS.Position)*CF(0,15,1)
  4143.                 Reappear()
  4144.                 for i=0, 2, 0.1 / Animation_Speed do
  4145.                     Swait()
  4146.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4147.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4148.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(160), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4149.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(160), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4150.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4151.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4152.                 end
  4153.                 for i = 1, 15 do
  4154.                     CreateRing(VT(0,0,0),false,0,25,CF(TORS.Position+VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Institutional white",VT(i/5,i/5,0))
  4155.                 end
  4156.                 RootPart.CFrame = CF(TORS.Position)*CF(0,5,1)
  4157.                 grav.Position = POS
  4158.                 CreateDebreeRing(FLOOR,POS,6*POWERLEVEL,VT(6,6,6)*POWERLEVEL,10)
  4159.                 CreateFlyingDebree(FLOOR,CF(POS),25,VT(4,4,4)*POWERLEVEL,10,50*POWERLEVEL)
  4160.                 CreateSound("289842971", TORS, 3, 1)
  4161.                 MagicSphere(VT(0,0,0),35,CF(POS),"Really red",VT(POWERLEVEL/2,POWERLEVEL/2,POWERLEVEL/2))
  4162.                 MagicSphere(VT(0.1,0.1,0.1),35,CF(POS),"Really red",VT(POWERLEVEL/2,POWERLEVEL/2,POWERLEVEL/2))
  4163.                 killnearest(POS,POWERLEVEL*10,5)
  4164.                 if POWERLEVEL > 3 then
  4165.                     MagicSphere(VT(0.1,500,0.1),15,CF(POS),"Institutional white",VT(POWERLEVEL,0,POWERLEVEL))
  4166.                 end
  4167.                 CreateWave(VT(0,0,0),15,CF(POS),true,2,"Really black",VT(POWERLEVEL*2,0.1,POWERLEVEL*2))
  4168.                 for i=0, 1, 0.1 / Animation_Speed do
  4169.                     Swait()
  4170.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(45), RAD(0), RAD(0)), 3 / Animation_Speed)
  4171.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  4172.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(25), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  4173.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(25), RAD(0), RAD(20)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  4174.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  4175.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  4176.                 end
  4177.                 HITBODY:BreakJoints()
  4178.                 grav:remove()
  4179.                 ATTACK = false
  4180.                 Rooted = false
  4181.                 UNANCHOR = true
  4182.                 RootPart.Anchored = false
  4183.                 if POWERLEVEL > 1 then
  4184.                     POWERLEVEL = POWERLEVEL - 1
  4185.                 end
  4186.             end
  4187.         end
  4188.     end
  4189. end
  4190.  
  4191. function ChunkChuck()
  4192.     if HITFLOOR ~= nil then
  4193.         ATTACK = true
  4194.         Rooted = true
  4195.         CreateSound("305685800", Head, 10, 1)
  4196.         for i=0, 1, 0.1 / Animation_Speed do
  4197.             Swait()
  4198.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  4199.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  4200.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4201.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4202.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4203.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4204.         end
  4205.         for i=0, 1, 0.1 / Animation_Speed do
  4206.             Swait()
  4207.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.75, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
  4208.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  4209.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4210.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4211.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 2 / Animation_Speed)
  4212.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-65)), 2 / Animation_Speed)
  4213.         end
  4214.         CreateDebreeRing(HITFLOOR,HITPOS,3*POWERLEVEL,VT(2,2,2)*POWERLEVEL,3)
  4215.         CreateFlyingDebree(HITFLOOR,CF(HITPOS),25,VT(2,2,2)*POWERLEVEL,3,50*POWERLEVEL)
  4216.         local CHUNK = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", VT(5,5,5)*POWERLEVEL/1.5)
  4217.         CHUNK.Color = HITFLOOR.Color
  4218.         CHUNK.Material = HITFLOOR.Material
  4219.         CHUNK.CFrame = Torso.CFrame*CF(0,0,-3*POWERLEVEL)
  4220.         CreateSound("260411131", CHUNK, 10, 1)
  4221.         CreateSound("289842971", Torso, 3, 1)  
  4222.         repeat
  4223.             Swait()
  4224.             CHUNK.CFrame = Torso.CFrame*CF(0,2+(2*POWERLEVEL),0)
  4225.             turnto(Mouse.Hit.p)
  4226.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4227.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  4228.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4229.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4230.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4231.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4232.         until HOLD == true
  4233.         for i=0, 1, 0.1 / Animation_Speed do
  4234.             Swait()
  4235.             CHUNK.CFrame = Torso.CFrame*CF(0,2+(2*POWERLEVEL),0)
  4236.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  4237.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  4238.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4239.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4240.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4241.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4242.         end
  4243.         CHUNK.CanCollide = true
  4244.         CHUNK.Anchored = false
  4245.         CHUNK.CFrame = RootPart.CFrame*CF(0,0,-1*POWERLEVEL)
  4246.         for i = 1, 25 do
  4247.             CreateRing(VT(0,0,0),false,0,15,RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(0),RAD(0),RAD(0)),"Really red",VT((POWERLEVEL/3)/i,(POWERLEVEL/3)/i,0))
  4248.         end
  4249.         local bv = Instance.new("BodyVelocity")
  4250.         bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4251.         bv.velocity = RootPart.CFrame.lookVector*400
  4252.         bv.Parent = CHUNK
  4253.         local HIT = CHUNK.Touched:Connect(function(hit)
  4254.             if hit.Parent ~= workspace and hit.Parent ~= Character and hit.Parent.ClassName == "Model" then
  4255.                 hit.Parent:BreakJoints()
  4256.             end
  4257.         end)
  4258.         CreateSound("138079201", CHUNK, 10, 1)
  4259.         Debris:AddItem(CHUNK,5)
  4260.         for i=0, 1, 0.1 / Animation_Speed do
  4261.             Swait()
  4262.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  4263.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  4264.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(115), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4265.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(115), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4266.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4267.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4268.         end
  4269.         ATTACK = false
  4270.         Rooted = false
  4271.         if POWERLEVEL > 1 then
  4272.             POWERLEVEL = POWERLEVEL - 1
  4273.         end
  4274.     end
  4275. end
  4276.  
  4277. function Boost()
  4278.     ATTACK = true
  4279.     Rooted = true
  4280.     CreateSound("466493476", Torso, 10, MRANDOM(7, 12) / 10)
  4281.     for i = 1, 50 do
  4282.         Swait()
  4283.         CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Really red",VT(i/5,i/5,0))
  4284.         CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Really red",VT(i/5,i/5,0))
  4285.         CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(i/3,i/3,0))
  4286.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  4287.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  4288.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  4289.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  4290.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  4291.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  4292.     end
  4293.     POWERLEVEL = POWERLEVEL + 1
  4294.     ATTACK = false
  4295.     Rooted = false
  4296. end
  4297.  
  4298. function XEvent()
  4299.     if HITFLOOR ~= nil then
  4300.         VALUE2 = false
  4301.         CreateSound("907332670", Effects, 10, 1)
  4302.         local POS = HITPOS
  4303.         local FLOOR = HITFLOOR
  4304.         local STARTPOS = RootPart.CFrame
  4305.         ATTACK = true
  4306.         Rooted = true
  4307.         for i=0, 2, 0.1 / Animation_Speed do
  4308.             Swait()
  4309.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4310.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4311.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4312.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4313.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  4314.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4315.         end
  4316.         UNANCHOR = false
  4317.         RootPart.Anchored = true
  4318.         CreateSound("1295446488", Effects, 10, 1)
  4319.         RootPart.CFrame = RootPart.CFrame*CF(0,100+(150*POWERLEVEL),0)
  4320.         for i=0, 1, 0.1 / Animation_Speed do
  4321.             Swait()
  4322.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  4323.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  4324.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4325.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4326.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4327.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4328.         end
  4329.         CreateSound("289315275", Effects, 10, 1)
  4330.         for i=0, 5, 0.1 / Animation_Speed do
  4331.             Swait()
  4332.             CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*CF(0,5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/1.2,POWERLEVEL/1.2,0))
  4333.             CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*CF(0,5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL,POWERLEVEL,0))
  4334.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
  4335.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
  4336.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4337.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4338.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4339.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4340.         end
  4341.         CreateSound("260411131", Effects, 3, 1)
  4342.         for i=0, 1, 0.1 / Animation_Speed do
  4343.             Swait()
  4344.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/5,POWERLEVEL/5,0))
  4345.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0))
  4346.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4347.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4348.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4349.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4350.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4351.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4352.         end
  4353.         for i=0, 0.3, 0.1 / Animation_Speed do
  4354.             Swait()
  4355.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/5,POWERLEVEL/5,0))
  4356.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0))
  4357.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4358.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4359.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4360.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4361.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4362.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4363.         end
  4364.         for i=0, 0.3, 0.1 / Animation_Speed do
  4365.             Swait()
  4366.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0))
  4367.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0))
  4368.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(45)), 2 / Animation_Speed)
  4369.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
  4370.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4371.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4372.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4373.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4374.         end
  4375.         local BURNMARKS = {}
  4376.         local DEATHRAY1 = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "RAY", VT(0,0,0))
  4377.         MakeForm(DEATHRAY1,"Cyl")
  4378.         local DEATHRAY2 = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "RAY", VT(0,0,0))
  4379.         MakeForm(DEATHRAY2,"Cyl")
  4380.         local loopsound = CreateSound("487214658", Effects, 4, 1, true)
  4381.         local AMOUNT = POWERLEVEL * 25
  4382.         for i = 1, POWERLEVEL * 50 do
  4383.             Swait()
  4384.             MagicSphere(VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)*2,35,RightArm.CFrame*CF(0,-2,0),"Really red",VT(0,0,0))
  4385.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0))
  4386.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0))
  4387.             local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "BurnMark", VT(POWERLEVEL,0,POWERLEVEL)*2)
  4388.             MARK.CFrame = CF(POS+VT(AMOUNT,0,AMOUNT))
  4389.             table.insert(BURNMARKS,MARK)
  4390.             MakeForm(MARK,"Cyl")
  4391.             CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/5,POWERLEVEL/5,0))
  4392.             CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0))
  4393.             local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,AMOUNT)).magnitude
  4394.             DEATHRAY1.Size          = Vector3.new(POWERLEVEL, distance, POWERLEVEL)
  4395.             DEATHRAY1.CFrame        = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  4396.             DEATHRAY2.Size          = Vector3.new(POWERLEVEL+0.1, distance, POWERLEVEL+0.1)
  4397.             DEATHRAY2.CFrame        = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  4398.             AMOUNT = AMOUNT - 1
  4399.         end
  4400.         local AMOUNT = POWERLEVEL * 25
  4401.         for i = 1, POWERLEVEL * 50 do
  4402.             Swait()
  4403.             MagicSphere(VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)*2,35,RightArm.CFrame*CF(0,-2,0),"Institutional white",VT(0,0,0))
  4404.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0))
  4405.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional red",VT(POWERLEVEL/3,POWERLEVEL/3,0))
  4406.             local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "BurnMark", VT(POWERLEVEL,0,POWERLEVEL)*2)
  4407.             MARK.CFrame = CF(POS+VT(AMOUNT,0,-AMOUNT))
  4408.             table.insert(BURNMARKS,MARK)
  4409.             MakeForm(MARK,"Cyl")
  4410.             CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/5,POWERLEVEL/5,0))
  4411.             CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0))
  4412.             local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,-AMOUNT)).magnitude
  4413.             DEATHRAY1.Size          = Vector3.new(POWERLEVEL, distance, POWERLEVEL)
  4414.             DEATHRAY1.CFrame        = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,-AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  4415.             DEATHRAY2.Size          = Vector3.new(POWERLEVEL+0.1, distance, POWERLEVEL+0.1)
  4416.             DEATHRAY2.CFrame        = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,-AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  4417.             AMOUNT = AMOUNT - 1
  4418.         end
  4419.         DEATHRAY1:remove()
  4420.         DEATHRAY2:remove()
  4421.         loopsound:remove()
  4422.         for i=0, 1, 0.1 / Animation_Speed do
  4423.             Swait()
  4424.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(-65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4425.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4426.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4427.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4428.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  4429.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4430.         end
  4431.         RootPart.CFrame = STARTPOS
  4432.         for i=0, 0.1, 0.1 / Animation_Speed do
  4433.             Swait()
  4434.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
  4435.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4436.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4437.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4438.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 2 / Animation_Speed)
  4439.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
  4440.         end
  4441.         for i = 1, 10+(5*POWERLEVEL) do
  4442.             Swait()
  4443.             CreateRing(VT(0,0,0),false,0,5,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL*5,POWERLEVEL*5,0))
  4444.             CreateRing(VT(0,0,0),false,0,5,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL*15,POWERLEVEL*15,0))
  4445.         end
  4446.         local SOUND = CreateSound("314970772", Effects, 10, 1)
  4447.         CreateSound("414517163", Effects, 10, 1)
  4448.         IT("EchoSoundEffect",SOUND)
  4449.         MagicSphere(VT(0,0,0),35,CF(POS),"Institutional white",VT(POWERLEVEL,POWERLEVEL,POWERLEVEL))
  4450.         CreateDebreeRing(FLOOR,POS,25*POWERLEVEL,VT(25,25,25)*POWERLEVEL,3)
  4451.         CreateFlyingDebree(FLOOR,CF(POS),25,VT(4,4,4)*POWERLEVEL,3,25*POWERLEVEL)
  4452.         for i = 1, 25 do
  4453.             Swait()
  4454.             MagicSphere(VT(0,0,0),15,CF(POS),"Really black",VT(POWERLEVEL,POWERLEVEL,POWERLEVEL))
  4455.             CreateRing(VT(0,0,0.1),false,0,45,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Institutional white",VT(POWERLEVEL*2,POWERLEVEL*2,0))
  4456.             killnearest(POS,POWERLEVEL*100,500)
  4457.             CreateRing(VT(0,0,0),false,0,15,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL*15,POWERLEVEL*15,0))
  4458.             CreateRing(VT(0,0,0),false,0,15,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL*25,POWERLEVEL*25,0))
  4459.         end
  4460.         for i = 1, 50 do
  4461.             Swait()
  4462.             for e=1,#BURNMARKS do
  4463.                 if BURNMARKS[e]~=nil then
  4464.                     local Thing=BURNMARKS[e]
  4465.                     if Thing~=nil then
  4466.                         local Part=Thing
  4467.                         Part.Transparency = Part.Transparency + (1/50)
  4468.                     end
  4469.                 end
  4470.             end
  4471.         end
  4472.         for e=1,#BURNMARKS do
  4473.             if BURNMARKS[e]~=nil then
  4474.                 local Thing=BURNMARKS[e]
  4475.                 if Thing~=nil then
  4476.                     local Part=Thing
  4477.                     Part:remove()
  4478.                 end
  4479.             end
  4480.         end
  4481.         ATTACK = false
  4482.         Rooted = false
  4483.         UNANCHOR = true
  4484.         RootPart.Anchored = false
  4485.         POWERLEVEL = 1
  4486.     end
  4487. end
  4488.  
  4489. function Taunt()
  4490.     ATTACK = true
  4491.     Rooted = true
  4492.     CreateSound("907330011", Head, 10, 1.1)
  4493.     for i=0, 1, 0.1 / Animation_Speed do
  4494.         Swait()
  4495.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4496.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  4497.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4498.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4499.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4500.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4501.     end
  4502.     for i=0, 2, 0.1 / Animation_Speed do
  4503.         Swait()
  4504.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4505.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  4506.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4507.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4508.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4509.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4510.     end
  4511.     ATTACK = false
  4512.     Rooted = false
  4513. end
  4514.  
  4515. function BreakLimit()
  4516.     ATTACK = true
  4517.     Rooted = false
  4518.     UNANCHOR = false
  4519.     RootPart.Anchored = true
  4520.     for i=0, 5, 0.1 / Animation_Speed do
  4521.         Swait()
  4522.         RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
  4523.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4524.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  4525.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4526.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4527.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  4528.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  4529.     end
  4530.     CreateSound("1368598393", Effects, 10, 1)
  4531.     for i=0, 2, 0.1 / Animation_Speed do
  4532.         Swait()
  4533.         local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4534.         MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5))
  4535.         MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,5))
  4536.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4537.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  4538.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4539.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4540.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  4541.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  4542.     end
  4543.     CreateSound("1368583274", Effects, 10, 1)
  4544.     for i=0, 6, 0.1 / Animation_Speed do
  4545.         Swait()
  4546.         CreateRing(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,0,0))
  4547.         CreateRing(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,0,0)*3)
  4548.         local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4549.         MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(0.1,0.1,55))
  4550.         MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(2,2,2))
  4551.         MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",VT(0.1,0.1,55))
  4552.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4553.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  4554.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4555.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4556.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  4557.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  4558.     end
  4559.     CreateSound("907329532", Effects, 10, 1.1)
  4560.     Swait(175)
  4561.     CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(7,7,0))
  4562.     CreateSound("1368605755", Effects, 10, 1)
  4563.     CreateSound("1368637781", Effects, 10, 1)
  4564.     MagicSphere(VT(0,0,0),45,Torso.CFrame,"Really red",VT(5,5,5))
  4565.     LIMITBROKEN = true
  4566.     for i=0, 1, 0.1 / Animation_Speed do
  4567.         Swait()
  4568.         CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(4,4,0))
  4569.         CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(5,5,0))
  4570.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4571.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  4572.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4573.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4574.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  4575.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  4576.     end
  4577.     UNANCHOR = true
  4578.     RootPart.Anchored = false
  4579.     ATTACK = false
  4580.     Rooted = false
  4581. end
  4582.  
  4583. -- LIMIT BROKEN
  4584.  
  4585. function RivalingOverthrower2()
  4586.     if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4587.         local HITBODY = Mouse.Target.Parent
  4588.         local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  4589.         local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4590.         if TORS ~= nil and HUMAN ~= nil then
  4591.             ATTACK = true
  4592.             Rooted = false
  4593.             VanishPlayer()
  4594.             TORS.Anchored = true
  4595.             RootPart.CFrame = TORS.CFrame*CF(0,5,0)
  4596.             CreateSound("260411131", RootPart, 3, 1)
  4597.             for i = 1, 75 do
  4598.                 Swait()
  4599.                 CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0))
  4600.                 CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1)
  4601.                 local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4602.                 MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,POWERLEVEL*5))
  4603.                 MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,POWERLEVEL*5))
  4604.                 TORS.CFrame = TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4605.             end
  4606.             RootPart.CFrame = CF(TORS.Position)*CF(MRANDOM(-45,45),45,MRANDOM(-45,45))
  4607.             Reappear()
  4608.             CreateSound("1368583274", RightArm, 10, 1)
  4609.             local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,0,0))
  4610.             MakeForm(ORB,"Ball")
  4611.             ORB.Color = C3(0,0,0)
  4612.             ORB.CFrame = RightArm.CFrame * CF(0,-2,0)
  4613.             for i=0, 4, 0.1 / Animation_Speed do
  4614.                 Swait()
  4615.                 ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  4616.                 ORB.Size = ORB.Size + VT(0.03,0.03,0.03)
  4617.                 CreateRing(VT(25,25,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,-1,0))
  4618.                 RootPart.CFrame = CF(RootPart.Position,TORS.Position)
  4619.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  4620.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  4621.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4622.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4623.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4624.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4625.             end
  4626.             for i = 1, 5 do
  4627.                 Swait()
  4628.                 RootPart.CFrame = CF(RootPart.Position,TORS.Position)
  4629.                 ORB.Size = ORB.Size * 0.8
  4630.             end
  4631.             local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,25,0))
  4632.             MakeForm(BEAM,"Ball")
  4633.             local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,1000,0))
  4634.             MakeForm(BEAM2,"Cyl")
  4635.             BEAM.CFrame = ORB.CFrame * CF(0,0,10)
  4636.             ORB.Color = BRICKC("Really red").Color
  4637.             for i = 1, 5 do
  4638.                 Swait()
  4639.                 CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(2,2,0))
  4640.                 BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
  4641.                 BEAM.Size = BEAM.Size + VT(2,0,2)
  4642.                 BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
  4643.                 BEAM2.Size = BEAM2.Size + VT(2,0,2)
  4644.                 RootPart.CFrame = CF(RootPart.Position,TORS.Position)
  4645.                 ORB.Size = ORB.Size * 1.3
  4646.             end
  4647.             CreateSound("1368605755", Effects, 10, 1)
  4648.             HITBODY:BreakJoints()
  4649.             TORS.Anchored = false
  4650.             local POS = TORS.Position
  4651.             for i = 1, 25 do
  4652.                 CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0))
  4653.                 CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0))
  4654.             end
  4655.             for i=0, 2, 0.1 / Animation_Speed do
  4656.                 Swait()
  4657.                 killnearest(POS,15,700)
  4658.                 CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(2,2,0))
  4659.                 BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
  4660.                 BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
  4661.                 ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  4662.                 RootPart.CFrame = CF(RootPart.Position,POS)
  4663.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  4664.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  4665.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4666.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4667.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4668.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4669.             end
  4670.             for i = 1, 5 do
  4671.                 Swait()
  4672.                 BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
  4673.                 BEAM.Size = BEAM.Size - VT(2,0,2)
  4674.                 BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
  4675.                 BEAM2.Size = BEAM2.Size - VT(2,0,2)
  4676.                 RootPart.CFrame = CF(RootPart.Position,TORS.Position)
  4677.                 ORB.Size = ORB.Size * 0.8
  4678.             end
  4679.             turnto(POS)
  4680.             ORB:remove()
  4681.             BEAM:remove()
  4682.             BEAM2:remove()
  4683.             ATTACK = false
  4684.             Rooted = false
  4685.         end
  4686.     end
  4687. end
  4688.  
  4689. function ChunkChuck2()
  4690.     if HITFLOOR ~= nil then
  4691.         ATTACK = true
  4692.         Rooted = false
  4693.         for i=0, 1, 0.1 / Animation_Speed do
  4694.             Swait()
  4695.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
  4696.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  4697.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4698.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4699.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4700.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4701.         end
  4702.         local DIST = (RootPart.Position - HITPOS).Magnitude
  4703.         RootPart.CFrame = RootPart.CFrame * CF(0,-(DIST-3),0)
  4704.         for i=0, 0.1, 0.1 / Animation_Speed do
  4705.             Swait()
  4706.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 2 / Animation_Speed)
  4707.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  4708.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4709.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4710.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4711.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4712.         end
  4713.         CreateDebreeRing(HITFLOOR,HITPOS,15,VT(15,15,15))
  4714.         CreateFlyingDebree(HITFLOOR,CF(HITPOS),25,VT(2,2,2),3,150)
  4715.         local CHUNK = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", VT(25,25,25))
  4716.         CHUNK.Color = HITFLOOR.Color
  4717.         CHUNK.Material = HITFLOOR.Material
  4718.         CHUNK.CFrame = RootPart.CFrame*CF(0,-25,-0.5)
  4719.         CreateSound("260411131", CHUNK, 10, 1)
  4720.         CreateSound("289842971", Torso, 3, 1)  
  4721.         for i=0, 1, 0.1 / Animation_Speed do
  4722.             Swait()
  4723.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 2 / Animation_Speed)
  4724.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  4725.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4726.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4727.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4728.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4729.         end
  4730.         RootPart.CFrame = RootPart.CFrame * CF(0,(DIST-3),0)
  4731.         CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0)
  4732.         repeat
  4733.             Swait()
  4734.             RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  4735.             CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0)
  4736.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
  4737.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  4738.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4739.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4740.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4741.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4742.         until HOLD == true
  4743.         for i=0, 1, 0.1 / Animation_Speed do
  4744.             Swait()
  4745.             CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0)
  4746.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 2 / Animation_Speed)
  4747.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  4748.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4749.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4750.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4751.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4752.         end
  4753.         coroutine.resume(coroutine.create(function()
  4754.             local COLLISION = false
  4755.             CHUNK.CFrame = RootPart.CFrame
  4756.             for i = 1, 300 do
  4757.                 CHUNK.CFrame = CHUNK.CFrame * CF(0,0,-5)
  4758.                 killnearest(CHUNK.Position,CHUNK.Size.Z/1.8,15)
  4759.                 local TRAIL = CHUNK:Clone()
  4760.                 TRAIL.CanCollide = false
  4761.                 TRAIL.Transparency = 0.9
  4762.                 TRAIL.Parent = Effects
  4763.                 TRAIL.CFrame = CHUNK.CFrame
  4764.                 coroutine.resume(coroutine.create(function()
  4765.                     for i = 1, 10 do
  4766.                         Swait()
  4767.                         TRAIL.Transparency = TRAIL.Transparency + (0.1/10)
  4768.                     end
  4769.                     TRAIL:remove()
  4770.                 end))
  4771.                 local HIT = Raycast(CHUNK.Position, CHUNK.CFrame.lookVector, CHUNK.Size.Z/2, Character)
  4772.                 if HIT ~= nil then
  4773.                     COLLISION = true
  4774.                     break
  4775.                 end
  4776.             end
  4777.             CHUNK:remove()
  4778.             if COLLISION == true then
  4779.                 CreateFlyingDebree(CHUNK,CF(CHUNK.Position),25,VT(10,10,10),3,MRANDOM(150,250))
  4780.                 killnearest(CHUNK.Position,CHUNK.Size.Z,45)
  4781.             end
  4782.         end))
  4783.         turnto(CHUNK.Position)
  4784.         for i=0, 1, 0.1 / Animation_Speed do
  4785.             Swait()
  4786.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
  4787.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  4788.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4789.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4790.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4791.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  4792.         end
  4793.         ATTACK = false
  4794.         Rooted = false
  4795.     end
  4796. end
  4797.  
  4798. function XEvent2()
  4799.     local FLOOR,HITPOS = Raycast(RootPart.Position, CF(RootPart.Position,RootPart.Position+VT(0,-1,0)).lookVector, 100000, Character)
  4800.     if FLOOR then
  4801.         local BURNMARKS = {}
  4802.         local POS = HITPOS
  4803.         ATTACK = true
  4804.         Rooted = false
  4805.         local AMOUNT = 200
  4806.         for i=0, 3, 0.1 / Animation_Speed do
  4807.             Swait()
  4808.             RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT))*CF(0,0,2)
  4809.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4810.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  4811.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4812.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4813.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4814.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4815.         end
  4816.         CreateSound("1368583274", Effects, 10, 0.5)
  4817.         local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,0,0))
  4818.         MakeForm(ORB,"Ball")
  4819.         ORB.Color = C3(0,0,0)
  4820.         ORB.CFrame = RightArm.CFrame * CF(0,-2,0)
  4821.         for i=0, 12, 0.1 / Animation_Speed do
  4822.             Swait()
  4823.             ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  4824.             ORB.Size = ORB.Size + VT(0.03,0.03,0.03)
  4825.             CreateRing(VT(250,250,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-10,-10,0))
  4826.             CreateRing(VT(250,250,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-10,-10,0))
  4827.             RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT))
  4828.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  4829.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  4830.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4831.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4832.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4833.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4834.         end
  4835.         for i = 1, 50 do
  4836.             Swait()
  4837.             ORB.Size = ORB.Size * 0.9
  4838.             ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  4839.         end
  4840.         local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,100,0))
  4841.         MakeForm(BEAM,"Ball")
  4842.         local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,1000,0))
  4843.         MakeForm(BEAM2,"Cyl")
  4844.         BEAM.CFrame = ORB.CFrame * CF(0,0,10)
  4845.         ORB.Color = BRICKC("Really red").Color
  4846.         CreateSound("1368598393", Effects, 10, 0.3)
  4847.         CreateSound("1368605755", Effects, 10, 0.3)
  4848.         CreateSound("1368637781", Effects, 10, 0.3)
  4849.         for i = 1, 10 do
  4850.             local COLOR = C3(0,0,0)
  4851.             ORB.Size = VT(10,10,10)
  4852.             ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  4853.             CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(10,10,0))
  4854.             CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(20,20,0))
  4855.             BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
  4856.             BEAM.Size = BEAM.Size + VT(4,0,4)
  4857.             BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
  4858.             BEAM2.Size = BEAM2.Size + VT(4,0,4)
  4859.             BEAM.Color = COLOR
  4860.             ORB.Color = COLOR
  4861.             BEAM2.Color = COLOR
  4862.         end
  4863.         for i = 1, 400 do
  4864.             Swait()
  4865.             local COLOR = C3(1,1,1)
  4866.             BEAM.Color = COLOR
  4867.             ORB.Color = COLOR
  4868.             BEAM2.Color = COLOR
  4869.             ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  4870.             BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
  4871.             BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
  4872.             RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT))
  4873.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/40,POWERLEVEL/40,0))
  4874.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/30,POWERLEVEL/30,0))
  4875.             local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "BurnMark", VT(15,0,15)*2)
  4876.             MARK.CFrame = CF(POS+VT(AMOUNT,0,AMOUNT))
  4877.             table.insert(BURNMARKS,MARK)
  4878.             MakeForm(MARK,"Cyl")
  4879.             CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/50,POWERLEVEL/50,0))
  4880.             CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/40,POWERLEVEL/40,0))
  4881.             local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,AMOUNT)).magnitude
  4882.             AMOUNT = AMOUNT - 1
  4883.             --CreateFlyingDebree(FLOOR,CF(POS+VT(AMOUNT,0,AMOUNT)),1,VT(5,5,5),1,150)
  4884.         end
  4885.         local AMOUNT = 200
  4886.         for i = 1, 400 do
  4887.             Swait()
  4888.             local COLOR = C3(1,1,1)
  4889.             BEAM.Color = COLOR
  4890.             ORB.Color = COLOR
  4891.             BEAM2.Color = COLOR
  4892.             ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  4893.             BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
  4894.             BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
  4895.             RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,-AMOUNT))
  4896.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/40,POWERLEVEL/40,0))
  4897.             CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/30,POWERLEVEL/30,0))
  4898.             local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "BurnMark", VT(15,0,15)*2)
  4899.             MARK.CFrame = CF(POS+VT(AMOUNT,0,-AMOUNT))
  4900.             table.insert(BURNMARKS,MARK)
  4901.             MakeForm(MARK,"Cyl")
  4902.             CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/50,POWERLEVEL/50,0))
  4903.             CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/40,POWERLEVEL/40,0))
  4904.             local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,-AMOUNT)).magnitude
  4905.             AMOUNT = AMOUNT - 1
  4906.             --CreateFlyingDebree(FLOOR,CF(POS+VT(AMOUNT,0,-AMOUNT)),1,VT(5,5,5),1,150)
  4907.         end
  4908.         for i = 1, 40 do
  4909.             Swait()
  4910.             local COLOR = C3(0,0,0)
  4911.             BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
  4912.             BEAM.Size = BEAM.Size - VT(2,0,2)
  4913.             BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
  4914.             BEAM2.Size = BEAM2.Size - VT(2,0,2)
  4915.             ORB.Size = ORB.Size * 0.9
  4916.             BEAM.Color = COLOR
  4917.             ORB.Color = COLOR
  4918.             BEAM2.Color = COLOR
  4919.         end
  4920.         ORB:remove()
  4921.         BEAM:remove()
  4922.         BEAM2:remove()
  4923.         CreateSound("1368583274", Effects, 10, 0.375)
  4924.         local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,0,0))
  4925.         MakeForm(ORB,"Ball")
  4926.         ORB.Color = C3(0,0,0)
  4927.         ORB.CFrame = RightArm.CFrame * CF(0,-2,0)
  4928.         for i=0, 18, 0.1 / Animation_Speed do
  4929.             Swait()
  4930.             ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  4931.             ORB.Size = ORB.Size + VT(0.03,0.03,0.03)
  4932.             CreateRing(VT(450,450,0),false,0,45,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-10,-10,0))
  4933.             CreateRing(VT(450,450,0),false,0,45,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-10,-10,0))
  4934.             RootPart.CFrame = CF(RootPart.Position,POS)
  4935.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  4936.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  4937.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4938.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4939.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4940.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4941.         end
  4942.         for i = 1, 50 do
  4943.             Swait()
  4944.             ORB.Size = ORB.Size * 0.9
  4945.             ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  4946.         end
  4947.         local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,100,0))
  4948.         MakeForm(BEAM,"Ball")
  4949.         local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,1000,0))
  4950.         MakeForm(BEAM2,"Cyl")
  4951.         BEAM.CFrame = ORB.CFrame * CF(0,0,10)
  4952.         ORB.Color = BRICKC("Institutional white").Color
  4953.         CreateSound("1368598393", Effects, 10, 1)
  4954.         CreateSound("1368605755", Effects, 10, 1)
  4955.         CreateSound("1368637781", Effects, 10, 1)
  4956.         CreateSound("314970772", Effects, 10, 1)
  4957.         for i = 1, 60 do
  4958.             Swait()
  4959.             MagicSphere(VT(0,0,0),25,CF(POS),"Really red",VT(15,15,15))
  4960.             local COLOR = C3(0,0,0)
  4961.             ORB.Size = VT(10,10,10)
  4962.             ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  4963.             CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(10,10,0))
  4964.             CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(20,20,0))
  4965.             BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
  4966.             BEAM.Size = BEAM.Size + VT(6,0,6)
  4967.             BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
  4968.             BEAM2.Size = BEAM2.Size + VT(6,0,6)
  4969.             BEAM.Color = COLOR
  4970.             ORB.Color = COLOR
  4971.             BEAM2.Color = COLOR
  4972.         end
  4973.         for _, c in pairs(workspace:GetChildren()) do
  4974.             if c ~= Character then
  4975.                 if c.ClassName == "Model" then
  4976.                     c:BreakJoints()
  4977.                     for _, g in pairs(c:GetChildren()) do
  4978.                         if g ~= Character then
  4979.                             if g.ClassName == "Part" then
  4980.                                 g.Anchored = false
  4981.                                 g.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150))
  4982.                             end
  4983.                         end
  4984.                     end
  4985.                 elseif c.ClassName == "Folder" then
  4986.                     for _, g in pairs(c:GetChildren()) do
  4987.                         if g ~= Character then
  4988.                             if g.ClassName == "Part" then
  4989.                                 g.Anchored = false
  4990.                                 g.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150))
  4991.                             end
  4992.                         end
  4993.                     end
  4994.                 elseif c.ClassName == "Part" then
  4995.                     c.Anchored = false
  4996.                     c.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150))
  4997.                 end
  4998.             end
  4999.         end
  5000.         for e=1,#BURNMARKS do
  5001.             if BURNMARKS[e]~=nil then
  5002.                 local Thing=BURNMARKS[e]
  5003.                 if Thing~=nil then
  5004.                     local Part=Thing
  5005.                     Part:remove()
  5006.                 end
  5007.             end
  5008.         end
  5009.         ORB:remove()
  5010.         BEAM:remove()
  5011.         BEAM2:remove()
  5012.         Swait(100)
  5013.         for i = 1, 60 do
  5014.             Swait()
  5015.         end
  5016.         ATTACK = false
  5017.         Rooted = false
  5018.     end
  5019. end
  5020.  
  5021. --//=================================\\
  5022. --||      ASSIGN THINGS TO KEYS
  5023. --\\=================================//
  5024.  
  5025. function MouseDown(Mouse)
  5026.     HOLD = true
  5027.     if ATTACK == false then
  5028.     end
  5029. end
  5030.  
  5031. function CastProperRay(StartPos, Vec, Length, Ignore)
  5032.     local Direction = CFrame.new(StartPos, Vec).lookVector
  5033.     local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  5034.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  5035.     return RayHit, RayPos, RayNormal
  5036. end
  5037.  
  5038. function MouseUp(Mouse)
  5039. HOLD = false
  5040. end
  5041.  
  5042. function KeyDown(Key)
  5043.     KEYHOLD = true
  5044.     if LIMITBROKEN == false then
  5045.         if Key == "t" and ATTACK == false then
  5046.             Taunt()
  5047.         end
  5048.    
  5049.         if Key == "z" and ATTACK == false then
  5050.             Warp()
  5051.         end
  5052.    
  5053.         if Key == "b" and ATTACK == false then
  5054.             RivalingOverthrower()
  5055.         end
  5056.    
  5057.         if Key == "c" and ATTACK == false then
  5058.             ChunkChuck()
  5059.         end
  5060.    
  5061.         if Key == "v" and ATTACK == false then
  5062.             if POWERLEVEL < 5 then
  5063.                 Boost()
  5064.             end
  5065.         end
  5066.  
  5067.         if Key == "q" and ATTACK == false then
  5068.             BreakLimit()
  5069.         end
  5070.    
  5071.         if Key == "x" and ATTACK == false then
  5072.             XEvent()
  5073.         end
  5074.     else
  5075.         if Key == "b" and ATTACK == false then
  5076.             RivalingOverthrower2()
  5077.         end
  5078.  
  5079.         if Key == "c" and ATTACK == false then
  5080.             ChunkChuck2()
  5081.         end
  5082.  
  5083.         if Key == "x" and ATTACK == false then
  5084.             XEvent2()
  5085.         end
  5086.  
  5087.         if Key == "q" and ATTACK == false then
  5088.             LIMITBROKEN = false
  5089.             POWERLEVEL = 1
  5090.         end
  5091.  
  5092.         if Key == "w" and ATTACK == false then
  5093.             FLIGHT = true
  5094.             repeat
  5095.                 local RayHit, RayPos = CastProperRay(RootPart.Position, Mouse.Hit.p, 5, {workspace})
  5096.                 RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) 
  5097.                 Swait()
  5098.             until KEYHOLD == false
  5099.             FLIGHT = false
  5100.         end
  5101.         if Key == "s" and ATTACK == false then
  5102.             FLIGHT = true
  5103.             repeat
  5104.                 local RayHit1, RayPos1 = CastProperRay(Mouse.Hit.p, RootPart.Position, 10000, {workspace})
  5105.                 local RayHit, RayPos = CastProperRay(RootPart.Position, RayPos1, 1, {workspace})
  5106.                 RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) 
  5107.                 Swait()
  5108.             until KEYHOLD == false
  5109.             FLIGHT = false
  5110.         end
  5111.         if Key == "a" and ATTACK == false then
  5112.             FLIGHT = true
  5113.             repeat
  5114.                 local RayHit, RayPos = CastProperRay(RootPart.Position, RootPart.CFrame*CF(-1,0,0).p, 1, {workspace})
  5115.                 RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) 
  5116.                 Swait()
  5117.             until KEYHOLD == false
  5118.             FLIGHT = false
  5119.         end
  5120.         if Key == "d" and ATTACK == false then
  5121.             FLIGHT = true
  5122.             repeat
  5123.                 local RayHit, RayPos = CastProperRay(RootPart.Position, RootPart.CFrame*CF(1,0,0).p, 1, {workspace})
  5124.                 RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) 
  5125.                 Swait()
  5126.             until KEYHOLD == false
  5127.             FLIGHT = false
  5128.         end
  5129.     end
  5130. end
  5131.  
  5132. function KeyUp(Key)
  5133.     KEYHOLD = false
  5134. end
  5135.  
  5136.     Mouse.Button1Down:connect(function(NEWKEY)
  5137.         MouseDown(NEWKEY)
  5138.     end)
  5139.     Mouse.Button1Up:connect(function(NEWKEY)
  5140.         MouseUp(NEWKEY)
  5141.     end)
  5142.     Mouse.KeyDown:connect(function(NEWKEY)
  5143.         KeyDown(NEWKEY)
  5144.     end)
  5145.     Mouse.KeyUp:connect(function(NEWKEY)
  5146.         KeyUp(NEWKEY)
  5147.     end)
  5148.  
  5149. --//=================================\\
  5150. --\\=================================//
  5151.  
  5152.  
  5153. function unanchor()
  5154.     if UNANCHOR == true then
  5155.         g = Character:GetChildren()
  5156.         for i = 1, #g do
  5157.             if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  5158.                 g[i].Anchored = false
  5159.             end
  5160.             if g[i].ClassName == "Accessory" then
  5161.                 g[i].Handle.Anchored = false
  5162.             end
  5163.         end
  5164.         if LIMITBROKEN == false then
  5165.             RootPart.Anchored = false
  5166.         end
  5167.     end
  5168. end
  5169.  
  5170.  
  5171. --//=================================\\
  5172. --||    WRAP THE WHOLE SCRIPT UP
  5173. --\\=================================//
  5174.  
  5175. Humanoid.Changed:connect(function(Jump)
  5176.     if Jump == "Jump" and (Disable_Jump == true) then
  5177.         Humanoid.Jump = false
  5178.     end
  5179. end)
  5180.  
  5181. Speed = 12
  5182. Humanoid.JumpPower = 200
  5183.  
  5184. local FF = IT("ForceField",Character)
  5185. FF.Visible = false
  5186.  
  5187. while true do
  5188.     Swait()
  5189.     ANIMATE.Parent = nil
  5190.     local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  5191.     IDLEANIMATION:Play()
  5192.     SINE = SINE + CHANGE
  5193.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  5194.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  5195.     local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  5196.     if LIMITBROKEN == false then
  5197.         HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  5198.         if HITFLOOR ~= nil then
  5199.             if HITFLOOR.CanCollide == false then
  5200.                 HITFLOOR = nil
  5201.             end
  5202.         end
  5203.         local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  5204.         if ANIM == "Walk" and TORSOVELOCITY > 1 then
  5205.             RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  5206.             Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  5207.             RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  5208.             LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  5209.         elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  5210.             RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5211.             Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5212.             RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5213.             LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5214.         end
  5215.         if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  5216.             ANIM = "Jump"
  5217.             if ATTACK == false then
  5218.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5219.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  5220.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5221.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5222.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  5223.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  5224.             end
  5225.         elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  5226.             ANIM = "Fall"
  5227.             if ATTACK == false then
  5228.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  5229.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  5230.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5231.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5232.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
  5233.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
  5234.             end
  5235.         elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  5236.             if ANIM == "Fall" then
  5237.                 Rooted = true
  5238.                 CreateSound("289842971", Torso, 3, 1)
  5239.                 Humanoid.WalkSpeed = 0
  5240.                 CreateFlyingDebree(HITFLOOR,CF(RootPart.Position+VT(0,-3,0)),5,VT(1.5,1.5,1.5),45,50)
  5241.                 CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really black",VT(1,0.1,1))
  5242.                 for i=0, 1, 0.1 / Animation_Speed do
  5243.                     Swait()
  5244.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 2 / Animation_Speed)
  5245.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5246.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5247.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5248.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  5249.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
  5250.                 end
  5251.                 Rooted = false
  5252.             end
  5253.             ANIM = "Idle"
  5254.             if ATTACK == false then
  5255.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed)
  5256.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 2 / Animation_Speed)
  5257.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5258.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5259.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed)
  5260.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-35 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed)
  5261.             end
  5262.         elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  5263.             if ANIM == "Fall" then
  5264.                 Rooted = true
  5265.                 CreateSound("289842971", Torso, 3, 1)  
  5266.                 Humanoid.WalkSpeed = 0
  5267.                 CreateFlyingDebree(HITFLOOR,CF(RootPart.Position+VT(0,-3,0)),5,VT(1.5,1.5,1.5),45,50)
  5268.                 CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really black",VT(1,0.1,1))
  5269.                 for i=0, 1, 0.1 / Animation_Speed do
  5270.                     Swait()
  5271.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 2 / Animation_Speed)
  5272.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5273.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5274.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5275.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  5276.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
  5277.                 end
  5278.                 Rooted = false
  5279.             end
  5280.             ANIM = "Walk"
  5281.             WALK = WALK + 1 / Animation_Speed
  5282.             if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  5283.                 WALK = 0
  5284.                 if WALKINGANIM == true then
  5285.                     WALKINGANIM = false
  5286.                 elseif WALKINGANIM == false then
  5287.                     WALKINGANIM = true
  5288.                 end
  5289.             end
  5290.             --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  5291.             --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  5292.             if ATTACK == false then
  5293.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 2 / Animation_Speed)
  5294.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(2 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0)), 2 / Animation_Speed)
  5295.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5296.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5297.                 RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  5298.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  5299.             end
  5300.         end
  5301.         if ATTACK == false and POWERLEVEL > 2 then
  5302.             killnearest(Torso.Position,POWERLEVEL*2,15)
  5303.         end
  5304.         if sick.SoundId ~= "rbxassetid://1057854857" then
  5305.             sick.SoundId = "rbxassetid://1057854857"
  5306.             sick.Volume = 5
  5307.             sick:Play()
  5308.         end
  5309.         sick.Pitch = (1-((POWERLEVEL-1))/15)
  5310.         SKILL6TEXT.Text = "Power level: ["..POWERLEVEL.."]"
  5311.     else
  5312.         VALUE2 = false
  5313.         if ATTACK == false and POWERLEVEL > 2 then
  5314.             killnearest(Torso.Position,15,15)
  5315.         end
  5316.         local RANDOM = MRANDOM(1,4)
  5317.         if MRANDOM(1,5) == 1 then
  5318.             CreateRing(VT(15,15,0)*RANDOM,false,0,15,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,-1,0)*RANDOM)
  5319.         end
  5320.         if MRANDOM(1,5) == 1 then
  5321.             CreateRing(VT(15,15,0)*RANDOM,false,0,15,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,-1,0)*RANDOM)
  5322.         end
  5323.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5324.         Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5325.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5326.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5327.         POWERLEVEL = 100
  5328.         RootPart.Anchored = true
  5329.         if FLIGHT == false then
  5330.             ANIM = "Levitate"
  5331.             if ATTACK == false then
  5332.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  5333.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  5334.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5335.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5336.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
  5337.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
  5338.             end
  5339.         else
  5340.             ANIM = "Fly"
  5341.             if ATTACK == false then
  5342.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  5343.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 2 / Animation_Speed)
  5344.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5345.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5346.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
  5347.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
  5348.             end
  5349.         end
  5350.         SKILL6TEXT.Text = "Power level: ["..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9).."]"
  5351.         HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 75, Character)
  5352.         if sick.SoundId ~= "rbxassetid://1100698694" then
  5353.             sick.SoundId = "rbxassetid://1100698694"
  5354.             sick.Volume = 5
  5355.             sick:Play()
  5356.             sick.Pitch = 1
  5357.         end
  5358.     end
  5359.     unanchor()
  5360.     Humanoid.MaxHealth = "inf"
  5361.     Humanoid.Health = "inf"
  5362.     if Rooted == false then
  5363.         Disable_Jump = false
  5364.         if ANIM == "Jump" or ANIM == "Fall" then
  5365.             Humanoid.WalkSpeed = Speed*3
  5366.         else
  5367.             Humanoid.WalkSpeed = Speed
  5368.         end
  5369.     elseif Rooted == true then
  5370.         Disable_Jump = true
  5371.         Humanoid.WalkSpeed = 0
  5372.     end
  5373.     q = Character:GetChildren()
  5374.     for u = 1, #q do
  5375.         if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  5376.             if q[u].Handle:FindFirstChild("PE") == nil then
  5377.                 particles(q[u].Handle)
  5378.             elseif q[u].Handle:FindFirstChild("PE") then
  5379.                 if LIMITBROKEN == false then
  5380.                     local EyeSizes={
  5381.                         NumberSequenceKeypoint.new(0,POWERLEVEL/2,0),
  5382.                         NumberSequenceKeypoint.new(1,0,0)
  5383.                     }
  5384.                     q[u].Handle.PE.Acceleration = Vector3.new(0,75*POWERLEVEL/2,0)
  5385.                     q[u].Handle.PE.Speed = NumberRange.new(POWERLEVEL)
  5386.                     q[u].Handle.PE.Size=NumberSequence.new(EyeSizes)
  5387.                 else
  5388.                     local EyeSizes={
  5389.                         NumberSequenceKeypoint.new(0,4,0),
  5390.                         NumberSequenceKeypoint.new(1,0,0)
  5391.                     }
  5392.                     q[u].Handle.PE.Acceleration = Vector3.new(0,100,0)
  5393.                     q[u].Handle.PE.Speed = NumberRange.new(25)
  5394.                     q[u].Handle.PE.Size=NumberSequence.new(EyeSizes)
  5395.                 end
  5396.             end
  5397.         elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  5398.             if q[u]:FindFirstChild("PE") == nil then
  5399.                 particles(q[u])
  5400.             elseif q[u]:FindFirstChild("PE") then
  5401.                 if LIMITBROKEN == false then
  5402.                     local EyeSizes={
  5403.                         NumberSequenceKeypoint.new(0,POWERLEVEL/2,0),
  5404.                         NumberSequenceKeypoint.new(1,0,0)
  5405.                     }
  5406.                     q[u].PE.Acceleration = Vector3.new(0,75*POWERLEVEL/2,0)
  5407.                     q[u].PE.Speed = NumberRange.new(POWERLEVEL)
  5408.                     q[u].PE.Size=NumberSequence.new(EyeSizes)
  5409.                 else
  5410.                     local EyeSizes={
  5411.                         NumberSequenceKeypoint.new(0,4,0),
  5412.                         NumberSequenceKeypoint.new(1,0,0)
  5413.                     }
  5414.                     q[u].PE.Acceleration = Vector3.new(0,100,0)
  5415.                     q[u].PE.Speed = NumberRange.new(25)
  5416.                     q[u].PE.Size=NumberSequence.new(EyeSizes)
  5417.                 end
  5418.             end
  5419.         end
  5420.     end
  5421.     script.Parent = PlayerGui
  5422.     if VALUE2 == false then
  5423.         if HITFLOOR ~= nil then
  5424.             CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0))
  5425.         end
  5426.         Speed = 12
  5427.         Character.Parent = workspace
  5428.         Weapon.Parent = Character
  5429.     elseif VALUE2 == true then
  5430.         Speed = 45
  5431.         Character.Parent = Cam
  5432.         Weapon.Parent = workspace
  5433.     end
  5434.     Effects.Parent = Weapon
  5435.     FF.Parent = Character
  5436.     local MATHS = {"0","1"}
  5437.     Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  5438.     Humanoid.PlatformStand = false
  5439.     sick.Parent = Character
  5440. end
  5441. end)
  5442.  
  5443. _2.Name = "2"
  5444. _2.Parent = Ali
  5445. _2.BackgroundColor3 = Color3.new(1, 1, 1)
  5446. _2.BackgroundTransparency = 1
  5447. _2.Size = UDim2.new(1, 0, 1, 0)
  5448. _2.Image = "rbxassetid://2851926732"
  5449. _2.ImageColor3 = Color3.new(0.0941177, 1, 0.501961)
  5450. _2.ScaleType = Enum.ScaleType.Slice
  5451. _2.SliceCenter = Rect.new(12, 12, 12, 12)
  5452.  
  5453. Sans.Name = "Sans"
  5454. Sans.Parent = Frame
  5455. Sans.BackgroundColor3 = Color3.new(1, 1, 1)
  5456. Sans.BackgroundTransparency = 1
  5457. Sans.BorderSizePixel = 0
  5458. Sans.Position = UDim2.new(0.198527187, 0, 0.520956039, 0)
  5459. Sans.Size = UDim2.new(0, 135, 0, 41)
  5460. Sans.ZIndex = 2
  5461. Sans.Font = Enum.Font.Code
  5462. Sans.Text = "Sans"
  5463. Sans.TextColor3 = Color3.new(1, 1, 1)
  5464. Sans.TextSize = 30
  5465. Sans.TextWrapped = true
  5466. Sans.MouseButton1Down:connect(function()
  5467. -- Created by Nebula_Zorua --
  5468. -- Sans Curse (A Curse of Light) --
  5469. -- Custom Arcane Adventures Magic --
  5470. -- Wielder: Everybody (Released) --
  5471. -- Why the fuck did I make this --
  5472. -- I don't even LIKE undertale --
  5473. -- what the fuck --
  5474.  
  5475. -- Discord: Nebula the Zorua#6969
  5476. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  5477.  
  5478. -- You can change the Magic Circle n stuff down under Customization, at MagicVariant --
  5479.  
  5480.  
  5481. --// Shortcut Variables \\--
  5482. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  5483. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  5484. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  5485. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  5486. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  5487. local R3 = {N=Region3.new}
  5488. local De = S.Debris
  5489. local WS = workspace
  5490. local Lght = S.Lighting
  5491. local RepS = S.ReplicatedStorage
  5492. local IN = Instance.new
  5493. local Plrs = S.Players
  5494.  
  5495. local Emit = IN("ParticleEmitter").Emit;
  5496.  
  5497. --// Initializing \\--
  5498. local Plr = Plrs.LocalPlayer
  5499. local Char = Plr.Character
  5500. local Hum = Char:FindFirstChildOfClass'Humanoid'
  5501. local RArm = Char["Right Arm"]
  5502. local LArm = Char["Left Arm"]
  5503. local RLeg = Char["Right Leg"]
  5504. local LLeg = Char["Left Leg"]  
  5505. local Root = Char:FindFirstChild'HumanoidRootPart'
  5506. local Torso = Char.Torso
  5507. local Head = Char.Head
  5508. local NeutralAnims = true
  5509. local Attack = false
  5510. local Debounces = {Debounces={}}
  5511. local Mouse = Plr:GetMouse()
  5512. local Hit = {}
  5513. local Sine = 0
  5514. local Change = 1
  5515.  
  5516. local Effects = IN("Folder",Char)
  5517. Effects.Name = "Effects"
  5518.  
  5519.  
  5520. --// Debounce System \\--
  5521.  
  5522.  
  5523. function Debounces:New(name,cooldown)
  5524.     local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  5525.     setmetatable(aaaaa,{__index = Debounces})
  5526.     Debounces.Debounces[name] = aaaaa
  5527.     return aaaaa
  5528. end
  5529.  
  5530. function Debounces:Use(overrideUsable)
  5531.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  5532.     if(self.Usable or overrideUsable)then
  5533.         self.Usable = false
  5534.         self.CoolingDown = true
  5535.         local LastUse = time()
  5536.         self.LastUse = LastUse
  5537.         delay(self.Cooldown or 2,function()
  5538.             if(self.LastUse == LastUse)then
  5539.                 self.CoolingDown = false
  5540.                 self.Usable = true
  5541.             end
  5542.         end)
  5543.     end
  5544. end
  5545.  
  5546. function Debounces:Get(name)
  5547.     assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  5548.     for i,v in next, Debounces.Debounces do
  5549.         if(i == name)then
  5550.             return v;
  5551.         end
  5552.     end
  5553. end
  5554.  
  5555. function Debounces:GetProgressPercentage()
  5556.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  5557.     if(self.CoolingDown and not self.Usable)then
  5558.         return math.max(
  5559.             math.floor(
  5560.                 (
  5561.                     (time()-self.LastUse)/self.Cooldown or 2
  5562.                 )*100
  5563.             )
  5564.         )
  5565.     else
  5566.         return 100
  5567.     end
  5568. end
  5569.  
  5570. --// Instance Creation Functions \\--
  5571.  
  5572. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  5573.     local Sound = IN("Sound")
  5574.     Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  5575.     Sound.Pitch = pitch or 1
  5576.     Sound.Volume = volume or 1
  5577.     Sound.Looped = looped or false
  5578.     if(autoPlay)then
  5579.         coroutine.wrap(function()
  5580.             repeat wait() until Sound.IsLoaded
  5581.             Sound.Playing = autoPlay or false
  5582.         end)()
  5583.     end
  5584.     if(not looped and effect)then
  5585.         Sound.Stopped:connect(function()
  5586.             Sound.Volume = 0
  5587.             Sound:destroy()
  5588.         end)
  5589.     elseif(effect)then
  5590.         warn("Sound can't be looped and a sound effect!")
  5591.     end
  5592.     Sound.Parent =parent or Torso
  5593.     return Sound
  5594. end
  5595. function Part(parent,color,material,size,cframe,anchored,cancollide)
  5596.     local part = IN("Part")
  5597.     part.Parent = parent or Char
  5598.     part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  5599.     part.Material = material or Enum.Material.SmoothPlastic
  5600.     part.TopSurface,part.BottomSurface=10,10
  5601.     part.Size = size or V3.N(1,1,1)
  5602.     part.CFrame = cframe or CF.N(0,0,0)
  5603.     part.CanCollide = cancollide or false
  5604.     part.Anchored = anchored or false
  5605.     return part
  5606. end
  5607.  
  5608. function Weld(part0,part1,c0,c1)
  5609.     local weld = IN("Weld")
  5610.     weld.Parent = part0
  5611.     weld.Part0 = part0
  5612.     weld.Part1 = part1
  5613.     weld.C0 = c0 or CF.N()
  5614.     weld.C1 = c1 or CF.N()
  5615.     return weld
  5616. end
  5617.  
  5618. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  5619.     local part = IN("SpecialMesh")
  5620.     part.MeshId = meshid or ""
  5621.     part.TextureId = textid or ""
  5622.     part.Scale = scale or V3.N(1,1,1)
  5623.     part.Offset = offset or V3.N(0,0,0)
  5624.     part.MeshType = meshtype or Enum.MeshType.Sphere
  5625.     part.Parent = parent
  5626.     return part
  5627. end
  5628.  
  5629. NewInstance = function(instance,parent,properties)
  5630.     local inst = Instance.new(instance)
  5631.     inst.Parent = parent
  5632.     if(properties)then
  5633.         for i,v in next, properties do
  5634.             pcall(function() inst[i] = v end)
  5635.         end
  5636.     end
  5637.     return inst;
  5638. end
  5639.  
  5640. function Clone(instance,parent,properties)
  5641.     local inst = instance:Clone()
  5642.     inst.Parent = parent
  5643.     if(properties)then
  5644.         for i,v in next, properties do
  5645.             pcall(function() inst[i] = v end)
  5646.         end
  5647.     end
  5648.     return inst;
  5649. end
  5650.  
  5651. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  5652.     local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  5653.     local Sound = IN("Sound")
  5654.     Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  5655.     Sound.Pitch = pitch or 1
  5656.     Sound.Volume = volume or 1
  5657.     Sound.Looped = looped or false
  5658.     if(autoPlay)then
  5659.         coroutine.wrap(function()
  5660.             repeat wait() until Sound.IsLoaded
  5661.             Sound.Playing = autoPlay or false
  5662.         end)()
  5663.     end
  5664.     if(not looped and effect)then
  5665.         Sound.Stopped:connect(function()
  5666.             Sound.Volume = 0
  5667.             soundPart:destroy()
  5668.         end)
  5669.     elseif(effect)then
  5670.         warn("Sound can't be looped and a sound effect!")
  5671.     end
  5672.     Sound.Parent = soundPart
  5673.     return Sound
  5674. end
  5675.  
  5676.  
  5677. --// Extended ROBLOX tables \\--
  5678. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  5679. --// Require stuff \\--
  5680. function CamShake(who,times,intense,origin)
  5681.     coroutine.wrap(function()
  5682.         if(script:FindFirstChild'CamShake')then
  5683.             local cam = script.CamShake:Clone()
  5684.             cam:WaitForChild'intensity'.Value = intense
  5685.             cam:WaitForChild'times'.Value = times
  5686.            
  5687.             if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  5688.             cam.Parent = who
  5689.             wait()
  5690.             cam.Disabled = false
  5691.         elseif(who == Plr or who == Char)then
  5692.             local intensity = intense
  5693.             local cam = workspace.CurrentCamera
  5694.             for i = 1, times do
  5695.                 local camDistFromOrigin
  5696.                 if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  5697.                     camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  5698.                 elseif(typeof(origin) == 'Vector3')then
  5699.                     camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  5700.                 end
  5701.                 if(camDistFromOrigin)then
  5702.                     intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  5703.                 end
  5704.                 cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  5705.                 swait()
  5706.             end
  5707.         end
  5708.     end)()
  5709. end
  5710.  
  5711. function CamShakeAll(times,intense,origin)
  5712.     for _,v in next, Plrs:players() do
  5713.         CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  5714.     end
  5715. end
  5716.  
  5717. function ServerScript(code)
  5718.     if(script:FindFirstChild'Loadstring')then
  5719.         local load = script.Loadstring:Clone()
  5720.         load:WaitForChild'Sauce'.Value = code
  5721.         load.Disabled = false
  5722.         load.Parent = workspace
  5723.     elseif(NS and typeof(NS) == 'function')then
  5724.         NS(code,workspace)
  5725.     else
  5726.         warn("no serverscripts lol")
  5727.     end
  5728. end
  5729.  
  5730. function RunLocal(where,code)
  5731.     ServerScript([[
  5732.         wait()
  5733.         script.Parent=nil
  5734.         if(not _G.Http)then _G.Http = game:service'HttpService' end
  5735.        
  5736.         local Http = _G.Http or game:service'HttpService'
  5737.        
  5738.         local source = ]].."[["..code.."]]"..[[
  5739.         local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  5740.         local asd = Http:PostAsync(link,source)
  5741.         repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  5742.         local ID = Http:JSONDecode(asd).Result.Require_ID
  5743.         local vs = require(ID).VORTH_SCRIPT
  5744.         vs.Parent = game.]]..where:GetFullName()
  5745.     )
  5746. end
  5747.  
  5748. --// Customization \\--
  5749.  
  5750. local Frame_Speed = 60;
  5751. local WalkSpeed = 16
  5752. local DamageColor = BrickColor.new'White'
  5753.  
  5754. local MagicCircles = {
  5755.     Default = {Color=C3.N(1,1,1),Texture1=0,Texture2=0},
  5756.     OrangeWarPheonix = {EffectColor=BrickColor.new'Deep orange'.Color,Color=C3.N(.9,.9,.9),Texture1=623153986,Texture2=623153990},
  5757.     BlueWarPheonix = {EffectColor=BrickColor.new'Teal'.Color,Color=C3.N(.9,.9,.9),Texture1=462499935,Texture2=462499970},
  5758.     Plasma = {Color=C3.N(0.70588235294118,0,0.8),Texture1=415906687,Texture2=415906702},
  5759.     Water = {Color=C3.RGB(33, 84, 185),Texture1=408441330,Texture2=408441353},
  5760.     Earth = {Color=C3.RGB(86, 36, 36),Texture1=394253616,Texture2=394253651},
  5761.     Wind = {Color=C3.N(.8,.8,.8),Texture1=376006317,Texture2=376006346},
  5762.     Poseidon = {Color=C3.RGB(71, 99, 130),Texture1=346727970,Texture2=346727994},
  5763.     AetherLightning = {Color=C3.RGB(23, 255, 197),Texture1=348320016,Texture2=348320030},
  5764.     Light = {Color=C3.N(1,1,0),Texture1=343192085,Texture2=343192112},
  5765.     Fire = {Color=C3.N(1,0,0),EffectColor=BrickColor.new'Bright red'.Color,Texture1=313945544,Texture2=313945673},
  5766.     Lightning = {Color=C3.N(0,1,1),Texture1=314842290,Texture2=314842440},
  5767.     GasterBlaster = {Color=C3.N(1,1,1),Texture1=331948662,Texture2=331948662}
  5768. }
  5769.  
  5770. local MagicVariant = MagicCircles.GasterBlaster --[[ You can change this for a different element
  5771. Example:
  5772.  
  5773. Changing MagicCircles.GasterBlaster to MagicCircles.Light
  5774.  
  5775. would make it a Light Element
  5776. ]]
  5777.  
  5778. --// Stop animations \\--
  5779. for _,v in next, Hum:GetPlayingAnimationTracks() do
  5780.     v:Stop();
  5781. end
  5782.  
  5783. pcall(game.Destroy,Char:FindFirstChild'Animate')
  5784. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  5785.  
  5786. --// Joints \\--
  5787.  
  5788. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5,0.5,0),C1 = CF.N(0,.5,0)})
  5789. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5,0.5,0),C1 = CF.N(0,.5,0)})
  5790. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5,0)})
  5791. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5,-1,0),C1 = CF.N(0,1,0)})
  5792. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5,-1,0),C1 = CF.N(0,1,0)})
  5793. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  5794.  
  5795. local LSC0 = LS.C0
  5796. local RSC0 = RS.C0
  5797. local NKC0 = NK.C0
  5798. local LHC0 = LH.C0
  5799. local RHC0 = RH.C0
  5800. local RJC0 = RJ.C0
  5801.  
  5802. --// Artificial HB \\--
  5803.  
  5804. local ArtificialHB = IN("BindableEvent", script)
  5805. ArtificialHB.Name = "Heartbeat"
  5806.  
  5807. script:WaitForChild("Heartbeat")
  5808.  
  5809. local tf = 0
  5810. local allowframeloss = false
  5811. local tossremainder = false
  5812. local lastframe = tick()
  5813. local frame = 1/Frame_Speed
  5814. ArtificialHB:Fire()
  5815.  
  5816. game:GetService("RunService").Heartbeat:connect(function(s, p)
  5817.     tf = tf + s
  5818.     if tf >= frame then
  5819.         if allowframeloss then
  5820.             script.Heartbeat:Fire()
  5821.             lastframe = tick()
  5822.         else
  5823.             for i = 1, math.floor(tf / frame) do
  5824.                 ArtificialHB:Fire()
  5825.             end
  5826.             lastframe = tick()
  5827.         end
  5828.         if tossremainder then
  5829.             tf = 0
  5830.         else
  5831.             tf = tf - frame * math.floor(tf / frame)
  5832.         end
  5833.     end
  5834. end)
  5835.  
  5836. function swait(num)
  5837.     if num == 0 or num == nil then
  5838.         ArtificialHB.Event:wait()
  5839.     else
  5840.         for i = 0, num do
  5841.             ArtificialHB.Event:wait()
  5842.         end
  5843.     end
  5844. end
  5845.  
  5846.  
  5847. --// Effect Function(s) \\--
  5848.  
  5849. function NumSeq(...)
  5850.     local tab = {...}
  5851.     local Sequence = {}
  5852.     for _,v in next, tab do
  5853.         table.insert(Sequence,NumberSequenceKeypoint.new(unpack(v)))
  5854.     end
  5855.     if(tab[#tab][1] ~= 1)then
  5856.         local final = tab[#tab]
  5857.         table.insert(Sequence,NumberSequenceKeypoint.new(1,final[2],final[3]))
  5858.     end
  5859.     return NumberSequence.new(Sequence)
  5860. end
  5861.  
  5862. local DefaultRingParticle = IN("ParticleEmitter")
  5863. DefaultRingParticle.Name = 'RingEmit'
  5864. DefaultRingParticle.LightEmission = 1
  5865. DefaultRingParticle.Size = NumSeq({0,0},{.7,6.28},{.8,5.03},{1,2.9})
  5866. DefaultRingParticle.Texture = "rbxassetid://313951123"
  5867. DefaultRingParticle.Transparency = NumberSequence.new(0,1)
  5868. DefaultRingParticle.ZOffset = 1
  5869. DefaultRingParticle.Drag = 0
  5870. DefaultRingParticle.Acceleration = V3.N()
  5871. DefaultRingParticle.LockedToPart = true
  5872. DefaultRingParticle.Enabled = false
  5873. DefaultRingParticle.Lifetime = NumberRange.new(.6,.6)
  5874. DefaultRingParticle.Rate = 5
  5875. DefaultRingParticle.Rotation = NumberRange.new(0,0)
  5876. DefaultRingParticle.RotSpeed = NumberRange.new(0,0)
  5877. DefaultRingParticle.Speed = NumberRange.new(0,0)
  5878. DefaultRingParticle.SpreadAngle = Vector2.new(0,0)
  5879.  
  5880. function MagicCircle(Data)
  5881.     local Variant = Data.Variant or MagicCircles.Default;
  5882.    
  5883.     local Size = Data.Size or 10;
  5884.     local Pos = Data.Pos*CF.A(M.R(-90),M.R(-90),0) or Torso.CFrame*CF.A(M.R(-90),M.R(-90),0);
  5885.     local GrowTime = Data.Time or 1;
  5886.    
  5887.     local WeldData = Data.Weld or false;
  5888.    
  5889.    
  5890.     local Color = Variant.Color or C3.N(.9,.9,.0)
  5891.    
  5892.     local CreationParticle = Data.CreationParticle or DefaultRingParticle;
  5893.    
  5894.    
  5895.     local Circle = Part(Effects,BrickColor.new'Maroon',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),Pos,true,false)
  5896.     local CircleM = NewInstance("BlockMesh",Circle,{Scale=V3.N()})
  5897.    
  5898.    
  5899.     local Emitter = DefaultRingParticle:Clone();
  5900.     Emitter.Parent = Circle
  5901.     Emitter.Color = ColorSequence.new(Variant.Color)
  5902.    
  5903.     local Top = IN("Decal",Circle)
  5904.     Top.Texture = "rbxassetid://"..Variant.Texture1
  5905.     Top.Face = Enum.NormalId.Top
  5906.    
  5907.     local Btm = IN("Decal",Circle)
  5908.     Btm.Texture = "rbxassetid://"..Variant.Texture2
  5909.     Btm.Face = Enum.NormalId.Bottom
  5910.    
  5911.     if(WeldData)then
  5912.         Circle.Anchored = false
  5913.         Weld(WeldData,Circle,Pos,CF.N())
  5914.     end
  5915.     local GrowFrames = GrowTime * Frame_Speed
  5916.     print(GrowFrames)
  5917.     --Size*20,0,Size*20
  5918.     Circle.Transparency = 1
  5919.     local GrownEvent = Instance.new("BindableEvent",Circle)
  5920.     coroutine.wrap(function()
  5921.        
  5922.         Emit(Emitter,5)
  5923.         local End = Size*20
  5924.         local grow = End/GrowFrames
  5925.         for i = 1, GrowFrames+1 do
  5926.             local aa = math.min(CircleM.Scale.x + grow,End)
  5927.             if(aa >= End)then break end
  5928.             CircleM.Scale = V3.N(aa,0,aa)
  5929.             swait()
  5930.         end
  5931.         CircleM.Scale = V3.N(End,0,End)
  5932.         GrownEvent:Fire()
  5933.        
  5934.     end)()
  5935.    
  5936.     local Table = {
  5937.         Circle = Circle,
  5938.         Mesh = CircleM,
  5939.         Grow = function(size)
  5940.             CircleM.Scale = CircleM.Scale + V3.N(size*20,0,size*20)
  5941.         end,
  5942.         Destroy = function(timer)
  5943.             coroutine.wrap(function()
  5944.                 if(not timer)then timer = 1 end
  5945.                 Tween(CircleM,{Scale=V3.N(0,0,0)},timer,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  5946.                 Tween(Top,{Transparency=1},timer,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  5947.                 Tween(Btm,{Transparency=1},timer,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  5948.                 S.Debris:AddItem(Circle,timer+1)
  5949.             end)()
  5950.         end,
  5951.         Grown = GrownEvent.Event
  5952.     }
  5953.        
  5954.     return Table;
  5955. end
  5956.  
  5957. function Bezier(startpos, pos2, pos3, endpos, t)
  5958.     local A = startpos:lerp(pos2, t)
  5959.     local B  = pos2:lerp(pos3, t)
  5960.     local C = pos3:lerp(endpos, t)
  5961.     local lerp1 = A:lerp(B, t)
  5962.     local lerp2 = B:lerp(C, t)
  5963.     local cubic = lerp1:lerp(lerp2, t)
  5964.     return cubic
  5965. end
  5966.  
  5967. function SphereFX(duration,color,scale,pos,endScale,increment)
  5968.     return Effect{
  5969.         Frames=duration,
  5970.         Effect='ResizeAndFade',
  5971.         Color=color,
  5972.         Size=scale,
  5973.         Mesh={MeshType=Enum.MeshType.Sphere},
  5974.         CFrame=pos,
  5975.         FXSettings={
  5976.             EndSize=endScale,
  5977.             EndIsIncrement=increment
  5978.         }
  5979.     }
  5980. end
  5981.  
  5982. function BlastFX(duration,color,scale,pos,endScale,increment)
  5983.     return Effect{
  5984.         Frames=duration,
  5985.         Effect='ResizeAndFade',
  5986.         Color=color,
  5987.         Size=scale,
  5988.         Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  5989.         CFrame=pos,
  5990.         FXSettings={
  5991.             EndSize=endScale,
  5992.             EndIsIncrement=increment
  5993.         }
  5994.     }
  5995. end
  5996.  
  5997. function BlockFX(duration,color,scale,pos,endScale,increment)
  5998.     return Effect{
  5999.         Frames=duration,
  6000.         Effect='ResizeAndFade',
  6001.         Color=color,
  6002.         Size=scale,
  6003.         CFrame=pos,
  6004.         FXSettings={
  6005.             EndSize=endScale,
  6006.             EndIsIncrement=increment
  6007.         }
  6008.     }
  6009. end
  6010.  
  6011. function ShootBullet(data)
  6012.     --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  6013.     local Size = data.Size or V3.N(2,2,2)
  6014.     local Color = data.Color or MagicVariant.EffectColor or MagicVariant.Color
  6015.     local StudsPerFrame = data.Speed or 10
  6016.     local Shape = data.Shape or 'Ball'
  6017.     local Frames = data.Frames or 160
  6018.     local Pos = data.Origin or Torso.CFrame
  6019.     local Direction = data.Direction or Mouse.Hit
  6020.     local Material = data.Material or Enum.Material.Neon
  6021.     local OnHit = data.HitFunction or function(hit,pos)
  6022.         Effect{
  6023.             Effect='ResizeAndFade',
  6024.             Color=Color,
  6025.             Size=V3.N(10,10,10),
  6026.             Mesh={MeshType=Enum.MeshType.Sphere},
  6027.             CFrame=CF.N(pos),
  6028.             FXSettings={
  6029.                 EndSize=V3.N(.05,.05,.05),
  6030.                 EndIsIncrement=true
  6031.             }
  6032.         }
  6033.         for i = 1, 5 do
  6034.             local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  6035.             Effect{
  6036.                 Effect='Fade',
  6037.                 Frames=65,
  6038.                 Size=V3.N(5,5,10),
  6039.                 CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
  6040.                 Mesh = {MeshType=Enum.MeshType.Sphere},
  6041.                 Material=Enum.Material.Neon,
  6042.                 Color=Color,
  6043.                 MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  6044.             }  
  6045.         end
  6046.         AOEDamage(pos,10,15,30,0,'Normal',10,4)
  6047.     end
  6048.    
  6049.     local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
  6050.     local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  6051.     if(Shape == 'Ball')then
  6052.         BMesh.MeshType = Enum.MeshType.Sphere
  6053.     elseif(Shape == 'Head')then
  6054.         BMesh.MeshType = Enum.MeshType.Head
  6055.     elseif(Shape == 'Cylinder')then
  6056.         BMesh.MeshType = Enum.MeshType.Cylinder
  6057.     end
  6058.    
  6059.     coroutine.wrap(function()
  6060.         for i = 1, Frames+1 do
  6061.             local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
  6062.             if(hit)then
  6063.                 OnHit(hit,pos,norm,dist)
  6064.                 break;
  6065.             else
  6066.                 Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
  6067.             end
  6068.             swait()
  6069.         end
  6070.         Bullet:destroy()
  6071.     end)()
  6072.    
  6073. end
  6074.  
  6075. function Zap(data)
  6076.     local sCF,eCF = data.StartCFrame,data.EndCFrame
  6077.     assert(sCF,"You need a start CFrame!")
  6078.     assert(eCF,"You need an end CFrame!")
  6079.     local parts = data.PartCount or 15
  6080.     local zapRot = data.ZapRotation or {-5,5}
  6081.     local startThick = data.StartSize or 3;
  6082.     local endThick = data.EndSize or startThick/2;
  6083.     local color = data.Color or BrickColor.new'Electric blue'
  6084.     local delay = data.Delay or 35
  6085.     local delayInc = data.DelayInc or 0
  6086.     local lastLightning;
  6087.     local MagZ = (sCF.p - eCF.p).magnitude
  6088.     local thick = startThick
  6089.     local inc = (startThick/parts)-(endThick/parts)
  6090.    
  6091.     for i = 1, parts do
  6092.         local pos = sCF.p
  6093.         if(lastLightning)then
  6094.             pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  6095.         end
  6096.         delay = delay + delayInc
  6097.         local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  6098.         local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  6099.         if(parts == i)then
  6100.             local MagZ = (pos-eCF.p).magnitude
  6101.             zapPart.Size = V3.N(endThick,endThick,MagZ)
  6102.             zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  6103.             Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  6104.         else
  6105.             zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  6106.         end
  6107.        
  6108.         lastLightning = zapPart
  6109.         Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  6110.        
  6111.         thick=thick-inc
  6112.        
  6113.     end
  6114. end
  6115.  
  6116. function Zap2(data)
  6117.     local Color = data.Color or BrickColor.new'Electric blue'
  6118.     local StartPos = data.Start or Torso.Position
  6119.     local EndPos = data.End or Mouse.Hit.p
  6120.     local SegLength = data.SegL or 2
  6121.     local Thicc = data.Thickness or 0.5
  6122.     local Fades = data.Fade or 45
  6123.     local Parent = data.Parent or Effects
  6124.     local MaxD = data.MaxDist or 200
  6125.     local Branch = data.Branches or false
  6126.     local Material = data.Material or Enum.Material.Neon
  6127.     local Raycasts = data.Raycasts or false
  6128.     local Offset = data.Offset or {0,360}
  6129.     local AddMesh = (data.Mesh == nil and true or data.Mesh)
  6130.     if((StartPos-EndPos).magnitude > MaxD)then
  6131.         EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  6132.     end
  6133.     local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  6134.     if(Raycasts)then
  6135.         hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)  
  6136.     end
  6137.     local segments = dist/SegLength
  6138.     local model = IN("Model",Parent)
  6139.     model.Name = 'Lightning'
  6140.     local Last;
  6141.     for i = 1, segments do
  6142.         local size = (segments-i)/25
  6143.         local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  6144.         if(AddMesh)then IN("CylinderMesh",prt) end
  6145.         if(Last and math.floor(segments) == i)then
  6146.             local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  6147.             prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  6148.             prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0) 
  6149.         elseif(not Last)then
  6150.             prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)   
  6151.         else
  6152.             prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  6153.         end
  6154.         Last = prt
  6155.         if(Branch)then
  6156.             local choice = M.RNG(1,7+((segments-i)*2))
  6157.             if(choice == 1)then
  6158.                 local LastB;
  6159.                 for i2 = 1,M.RNG(2,5) do
  6160.                     local size2 = ((segments-i)/35)/i2
  6161.                     local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  6162.                     if(AddMesh)then IN("CylinderMesh",prt) end
  6163.                     if(not LastB)then
  6164.                         prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  6165.                     else
  6166.                         prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  6167.                     end
  6168.                     LastB = prt
  6169.                 end
  6170.             end
  6171.         end
  6172.     end
  6173.     if(Fades > 0)then
  6174.         coroutine.wrap(function()
  6175.             for i = 1, Fades do
  6176.                 for _,v in next, model:children() do
  6177.                     if(v:IsA'BasePart')then
  6178.                         v.Transparency = (i/Fades)
  6179.                     end
  6180.                 end
  6181.                 swait()
  6182.             end
  6183.             model:destroy()
  6184.         end)()
  6185.     else
  6186.         S.Debris:AddItem(model,.01)
  6187.     end
  6188.     return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  6189. end
  6190.  
  6191. function Tween(obj,props,time,easing,direction,repeats,backwards)
  6192.     local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  6193.     local tween = S.TweenService:Create(obj, info, props)
  6194.    
  6195.     tween:Play()
  6196. end
  6197.  
  6198. function Effect(data)
  6199.     local FX = data.Effect or 'ResizeAndFade'
  6200.     local Parent = data.Parent or Effects
  6201.     local Color = data.Color or C3.N(0,0,0)
  6202.     local Size = data.Size or V3.N(1,1,1)
  6203.     local MoveDir = data.MoveDirection or nil
  6204.     local MeshData = data.Mesh or nil
  6205.     local SndData = data.Sound or nil
  6206.     local Frames = data.Frames or 45
  6207.     local Manual = data.Manual or nil
  6208.     local Material = data.Material or Enum.Material.Neon
  6209.     local CFra = data.CFrame or Torso.CFrame
  6210.     local Settings = data.FXSettings or {}
  6211.     local Shape = data.Shape or Enum.PartType.Block
  6212.     local Snd,Prt,Msh;
  6213.     coroutine.wrap(function()
  6214.         if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  6215.             Prt = Manual
  6216.         else
  6217.             Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  6218.             Prt.Shape = Shape
  6219.         end
  6220.         if(typeof(MeshData) == 'table')then
  6221.             Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  6222.         elseif(typeof(MeshData) == 'Instance')then
  6223.             Msh = MeshData:Clone()
  6224.             Msh.Parent = Prt
  6225.         elseif(Shape == Enum.PartType.Block)then
  6226.             Msh = Mesh(Prt,Enum.MeshType.Brick)
  6227.         end
  6228.         if(typeof(SndData) == 'table')then
  6229.             Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  6230.         elseif(typeof(SndData) == 'Instance')then
  6231.             Snd = SndData
  6232.         end
  6233.         if(Snd)then
  6234.             repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  6235.             Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  6236.         end
  6237.         Size = (Msh and Msh.Scale or Size)
  6238.         local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  6239.        
  6240.         local MoveSpeed = nil;
  6241.         if(MoveDir)then
  6242.             MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  6243.         end
  6244.         if(FX ~= 'Arc')then
  6245.             for Frame = 1, Frames do
  6246.                 if(FX == "Fade")then
  6247.                     Prt.Transparency  = (Frame/Frames)
  6248.                 elseif(FX == "Resize")then
  6249.                     if(not Settings.EndSize)then
  6250.                         Settings.EndSize = V3.N(0,0,0)
  6251.                     end
  6252.                     if(Settings.EndIsIncrement)then
  6253.                         if(Msh)then
  6254.                             Msh.Scale = Msh.Scale + Settings.EndSize
  6255.                         else
  6256.                             Prt.Size = Prt.Size + Settings.EndSize
  6257.                         end                
  6258.                     else
  6259.                         if(Msh)then
  6260.                             Msh.Scale = Msh.Scale - grow/Frames
  6261.                         else
  6262.                             Prt.Size = Prt.Size - grow/Frames
  6263.                         end
  6264.                     end
  6265.                 elseif(FX == "ResizeAndFade")then
  6266.                     if(not Settings.EndSize)then
  6267.                         Settings.EndSize = V3.N(0,0,0)
  6268.                     end
  6269.                     if(Settings.EndIsIncrement)then
  6270.                         if(Msh)then
  6271.                             Msh.Scale = Msh.Scale + Settings.EndSize
  6272.                         else
  6273.                             Prt.Size = Prt.Size + Settings.EndSize
  6274.                         end                
  6275.                     else
  6276.                         if(Msh)then
  6277.                             Msh.Scale = Msh.Scale - grow/Frames
  6278.                         else
  6279.                             Prt.Size = Prt.Size - grow/Frames
  6280.                         end
  6281.                     end
  6282.                     Prt.Transparency = (Frame/Frames)
  6283.                 end
  6284.                 if(Settings.RandomizeCFrame)then
  6285.                     Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  6286.                 end
  6287.                 if(MoveDir and MoveSpeed)then
  6288.                     local Orientation = Prt.Orientation
  6289.                     Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  6290.                     Prt.Orientation = Orientation
  6291.                 end
  6292.                 swait()
  6293.             end
  6294.             Prt:destroy()
  6295.         else
  6296.             local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  6297.             if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  6298.             if(start and endP)then
  6299.                 local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  6300.                 local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  6301.                 for Frame = 0, 1, (Settings.Speed or 0.01) do
  6302.                     if(Settings.Home)then
  6303.                         endP = Settings.Home.CFrame
  6304.                     end
  6305.                     Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  6306.                 end
  6307.                 if(Settings.RemoveOnGoal)then
  6308.                     Prt:destroy()
  6309.                 end
  6310.             else
  6311.                 Prt:destroy()
  6312.                 assert(start,"You need a start position!")
  6313.                 assert(endP,"You need a start position!")
  6314.             end
  6315.         end
  6316.     end)()
  6317.     return Prt,Msh,Snd
  6318. end
  6319. function SoulSteal(whom)
  6320.     local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  6321.     print(torso)
  6322.     if(torso and torso:IsA'BasePart')then
  6323.         local Model = Instance.new("Model",Effects)
  6324.         Model.Name = whom.Name.."'s Soul"
  6325.         whom:BreakJoints()
  6326.         local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  6327.         Soul.Name = 'Head'
  6328.         NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  6329.         Effect{
  6330.             Effect="Arc",
  6331.             Manual = Soul,
  6332.             FXSettings={
  6333.                 Start=torso.CFrame,
  6334.                 Home = Torso,
  6335.                 RemoveOnGoal = true,
  6336.             }
  6337.         }
  6338.         local lastPoint = Soul.CFrame.p
  6339.    
  6340.         for i = 0, 1, 0.01 do
  6341.                 local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  6342.                 local mag = (lastPoint - Soul.Position).magnitude
  6343.                 Effect{
  6344.                     Effect = "Fade",
  6345.                     CFrame = point * CF.N(0, mag/2, 0),
  6346.                     Size = V3.N(.5,mag+.5,.5),
  6347.                     Color = Soul.BrickColor
  6348.                 }
  6349.                 lastPoint = Soul.CFrame.p
  6350.             swait()
  6351.         end
  6352.         for i = 1, 5 do
  6353.             Effect{
  6354.                 Effect="Fade",
  6355.                 Color = BrickColor.new'Really red',
  6356.                 MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  6357.             }  
  6358.         end
  6359.     end
  6360. end
  6361.  
  6362. --// Other Functions \\ --
  6363.  
  6364. function CastRay(startPos,endPos,range,ignoreList)
  6365.     local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  6366.     local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  6367.     return part,pos,norm,(pos and (startPos-pos).magnitude)
  6368. end
  6369.  
  6370. function CastRayInDirection(startPos,direction,range,ignoreList)
  6371.     local ray = Ray.new(startPos,direction*range)
  6372.     local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  6373.     return part,pos,norm,(pos and (startPos-pos).magnitude)
  6374. end
  6375.  
  6376. function getRegion(point,range,ignore)
  6377.     return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  6378. end
  6379.  
  6380. function clerp(startCF,endCF,alpha)
  6381.     return startCF:lerp(endCF, alpha)
  6382. end
  6383.  
  6384. function GetTorso(char)
  6385.     return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  6386. end
  6387.  
  6388. function ShowDamage(Pos, Text, Time, Color)
  6389.     coroutine.wrap(function()
  6390.     local Rate = (1 / Frame_Speed)
  6391.     local Pos = (Pos or Vector3.new(0, 0, 0))
  6392.     local Text = (Text or "")
  6393.     local Time = (Time or 2)
  6394.     local Color = (Color or Color3.new(1, 0, 1))
  6395.     local EffectPart = NewInstance("Part",Effects,{
  6396.         Material=Enum.Material.SmoothPlastic,
  6397.         Reflectance = 0,
  6398.         Transparency = 1,
  6399.         BrickColor = BrickColor.new(Color),
  6400.         Name = "Effect",
  6401.         Size = Vector3.new(0,0,0),
  6402.         Anchored = true,
  6403.         CFrame = CF.N(Pos)
  6404.     })
  6405.     local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  6406.         Size = UDim2.new(1.25, 0, 1.25, 0),
  6407.         Adornee = EffectPart,
  6408.     })
  6409.     local TextLabel = NewInstance("TextLabel",BillboardGui,{
  6410.         BackgroundTransparency = 1,
  6411.         Size = UDim2.new(1, 0, 1, 0),
  6412.         Text = Text,
  6413.         Font = "Bodoni",
  6414.         TextColor3 = Color,
  6415.         TextStrokeColor3 = Color3.new(0,0,0),
  6416.         TextStrokeTransparency=0,
  6417.         TextScaled = true,
  6418.     })
  6419.     S.Debris:AddItem(EffectPart, (Time))
  6420.     EffectPart.Parent = workspace
  6421.     delay(0, function()
  6422.         Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  6423.         local Frames = (Time / Rate)
  6424.         for Frame = 1, Frames do
  6425.             swait()
  6426.             local Percent = (Frame / Frames)
  6427.             TextLabel.TextTransparency = Percent
  6428.             TextLabel.TextStrokeTransparency = Percent
  6429.         end
  6430.         if EffectPart and EffectPart.Parent then
  6431.             EffectPart:Destroy()
  6432.         end
  6433.     end) end)()
  6434. end
  6435.  
  6436.  
  6437. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  6438.     if(who)then
  6439.         local hum = who:FindFirstChildOfClass'Humanoid'
  6440.         local Damage = M.RNG(minDam,maxDam)
  6441.         local canHit = true
  6442.         if(hum)then
  6443.             for _, p in pairs(Hit) do
  6444.                 if p[1] == hum then
  6445.                     if(time() - p[2] < 0.01) then
  6446.                         canHit = false
  6447.                     else
  6448.                         Hit[_] = nil
  6449.                     end
  6450.                 end
  6451.             end
  6452.             if(canHit)then
  6453.                 table.insert(Hit,{hum,time()})
  6454.                 if(hum.Health >= math.huge)then
  6455.                     who:BreakJoints()
  6456.                     if(who:FindFirstChild'Head' and hum.Health > 0)then
  6457.                         ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 1.5, C3.N(1,0,0))
  6458.                     end
  6459.                 else
  6460.                     local player = S.Players:GetPlayerFromCharacter(who)
  6461.                     if(Type == "Fire")then
  6462.                         --idk..
  6463.                     else
  6464.                         local  c = Instance.new("ObjectValue",hum)
  6465.                         c.Name = "creator"
  6466.                         c.Value = Plr
  6467.                         game:service'Debris':AddItem(c,0.35)
  6468.                         if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  6469.                             if(who:FindFirstChild'Head' and hum.Health > 0)then
  6470.                                 ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
  6471.                             end
  6472.                             hum.Health = hum.Health - Damage*(critMult or 2)
  6473.                         else
  6474.                             if(who:FindFirstChild'Head' and hum.Health > 0)then
  6475.                                 ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), Damage, 1.5, DamageColor.Color)
  6476.                             end
  6477.                             hum.Health = hum.Health - Damage
  6478.                         end
  6479.                         if(Type == 'Knockback' and GetTorso(who))then
  6480.                             local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  6481.                             local body = NewInstance('BodyVelocity',GetTorso(who),{
  6482.                                 P = 500,
  6483.                                 maxForce = V3.N(math.huge,0,math.huge),
  6484.                                 velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  6485.                             })
  6486.                             game:service'Debris':AddItem(body,.5)
  6487.                         elseif(Type == "Electric")then
  6488.                             if(M.RNG(1,100) >= critChance)then
  6489.                                 if(who:FindFirstChild'Head' and hum.Health > 0)then
  6490.                                     ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 1.5, BrickColor.new"New Yeller".Color)
  6491.                                 end
  6492.                                 local asd = hum.WalkSpeed/2
  6493.                                 hum.WalkSpeed = asd
  6494.                                 local paralyzed = true
  6495.                                 coroutine.wrap(function()
  6496.                                     while paralyzed do
  6497.                                         swait(25)
  6498.                                         if(M.RNG(1,25) == 1)then
  6499.                                             if(who:FindFirstChild'Head' and hum.Health > 0)then
  6500.                                                 ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 1.5, BrickColor.new"New Yeller".Color)
  6501.                                             end
  6502.                                             hum.PlatformStand = true
  6503.                                         end
  6504.                                     end
  6505.                                 end)()
  6506.                                 delay(4, function()
  6507.                                     paralyzed = false
  6508.                                     hum.WalkSpeed = hum.WalkSpeed + asd
  6509.                                 end)
  6510.                             end
  6511.                            
  6512.                         elseif(Type == 'Knockdown' and GetTorso(who))then
  6513.                             local rek = GetTorso(who)
  6514.                             hum.PlatformStand = true
  6515.                             delay(1,function()
  6516.                                 hum.PlatformStand = false
  6517.                             end)
  6518.                             local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  6519.                             local bodvol = NewInstance("BodyVelocity",rek,{
  6520.                                 velocity = angle * Knock,
  6521.                                 P = 5000,
  6522.                                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  6523.                             })
  6524.                             local rl = NewInstance("BodyAngularVelocity",rek,{
  6525.                                 P = 3000,
  6526.                                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  6527.                                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  6528.                             })
  6529.                             game:GetService("Debris"):AddItem(bodvol, .5)
  6530.                             game:GetService("Debris"):AddItem(rl, .5)
  6531.                         end
  6532.                     end
  6533.                 end
  6534.             end
  6535.         end
  6536.     end
  6537. end
  6538.  
  6539. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  6540.     for _,v in next, getRegion(where,range,{Char}) do
  6541.         if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  6542.             coroutine.wrap(function() for i = 1, M.RNG(minDam,maxDam) do swait() DealDamage(v.Parent,1,1,Knock,Type,0,1) end end)()
  6543.         end
  6544.     end
  6545. end
  6546.  
  6547. function AOEHeal(where,range,amount)
  6548.     local healed = {}
  6549.     for _,v in next, getRegion(where,range,{Char}) do
  6550.         local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  6551.         if(hum and not healed[hum])then
  6552.             hum.Health = hum.Health + amount
  6553.             if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  6554.                 ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  6555.             end
  6556.         end
  6557.     end
  6558. end
  6559.  
  6560. function CamShake(who,times,intense,origin)
  6561.     coroutine.wrap(function()
  6562.         if(script:FindFirstChild'CamShake')then
  6563.             local cam = script.CamShake:Clone()
  6564.             cam:WaitForChild'intensity'.Value = intense
  6565.             cam:WaitForChild'times'.Value = times
  6566.            
  6567.             if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  6568.             cam.Parent = who
  6569.             wait()
  6570.             cam.Disabled = false
  6571.         elseif(who == Plr or who == Char)then
  6572.             local intensity = intense
  6573.             local cam = workspace.CurrentCamera
  6574.             for i = 1, times do
  6575.                 local camDistFromOrigin
  6576.                 if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  6577.                     camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  6578.                 elseif(typeof(origin) == 'Vector3')then
  6579.                     camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  6580.                 end
  6581.                 if(camDistFromOrigin)then
  6582.                     intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  6583.                 end
  6584.                 cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  6585.                 swait()
  6586.             end
  6587.         end
  6588.     end)()
  6589. end
  6590.  
  6591. function CamShakeAll(times,intense,origin)
  6592.     for _,v in next, Plrs:players() do
  6593.         CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  6594.     end
  6595. end
  6596.  
  6597. function ServerScript(code)
  6598.     if(script:FindFirstChild'Loadstring')then
  6599.         local load = script.Loadstring:Clone()
  6600.         load:WaitForChild'Sauce'.Value = code
  6601.         load.Disabled = false
  6602.         load.Parent = workspace
  6603.     elseif(NS and typeof(NS) == 'function')then
  6604.         NS(code,workspace)
  6605.     else
  6606.         warn("no serverscripts lol")
  6607.     end
  6608. end
  6609.  
  6610. function LocalOnPlayer(who,code)
  6611.     ServerScript([[
  6612.         wait()
  6613.         script.Parent=nil
  6614.         if(not _G.Http)then _G.Http = game:service'HttpService' end
  6615.        
  6616.         local Http = _G.Http or game:service'HttpService'
  6617.        
  6618.         local source = ]].."[["..code.."]]"..[[
  6619.         local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  6620.         local asd = Http:PostAsync(link,source)
  6621.         repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  6622.         local ID = Http:JSONDecode(asd).Result.Require_ID
  6623.         local vs = require(ID).VORTH_SCRIPT
  6624.         vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  6625.     ]])
  6626. end
  6627.  
  6628.  
  6629. --// Attack Functions \\--
  6630. function Laser(key)
  6631.     NeutralAnims = false
  6632.     Attack = true
  6633.     Root.Anchored = true
  6634.     local data = MagicCircle{Weld=Torso,Pos=CF.N(0,0,-4),Size=5,Variant=MagicVariant,Time=.5}
  6635.     local IsGrown = false
  6636.     data.Grown:connect(function() IsGrown = true end)
  6637.     repeat swait()
  6638.         local Alpha = .1
  6639.         LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(125),0,0),Alpha)
  6640.         RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(125),0,0),Alpha)
  6641.         RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  6642.         NK.C0 = NK.C0:lerp(NKC0,Alpha)
  6643.         LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  6644.         RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  6645.         local LookVector = Mouse.Hit.p
  6646.         Torso.CFrame = CF.N(Root.Position,LookVector)
  6647.     until IsGrown
  6648.     if(S.UserInputService:IsKeyDown(key))then
  6649.         local grown = 0
  6650.         repeat
  6651.             local Alpha = .1
  6652.             LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(125),0,0),Alpha)
  6653.             RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(125),0,0),Alpha)
  6654.             RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  6655.             NK.C0 = NK.C0:lerp(NKC0,Alpha)
  6656.             LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  6657.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  6658.             local LookVector = Mouse.Hit.p
  6659.             Root.CFrame = CF.N(Root.Position,LookVector)
  6660.             if(grown < 250)then
  6661.                 data.Grow(.05)
  6662.                 grown = grown + 1
  6663.             end
  6664.             swait()
  6665.         until not S.UserInputService:IsKeyDown(key)
  6666.     end
  6667.     Sound(data.Circle,340722848,1,1,false,true,true)
  6668.     local hit,pos,norm,dist = CastRay(data.Circle.CFrame.p,Mouse.Hit.p,1024)
  6669.     local part = Part(Effects,MagicVariant.EffectColor or MagicVariant.Color,Enum.Material.Neon,V3.N(dist,data.Mesh.Scale.x/40,data.Mesh.Scale.x/40),CF.N(data.Circle.CFrame.p,pos)*CF.N(0,0,-dist/2)*CF.A(0,M.P/2,0),true,false)
  6670.     Mesh(part,Enum.MeshType.Cylinder)
  6671.     Tween(part,{Color=C3.N(1,1,1)},1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false)
  6672.     Effect{
  6673.         Effect='ResizeAndFade',
  6674.         Color=MagicVariant.Color,
  6675.         Size=V3.N(data.Mesh.Scale.X/20,data.Mesh.Scale.X/20,data.Mesh.Scale.X/20),
  6676.         Mesh={MeshType=Enum.MeshType.Sphere},
  6677.         CFrame=CF.N(pos),
  6678.         FXSettings={
  6679.             EndSize=V3.N(.05,.05,.05),
  6680.             EndIsIncrement=true
  6681.         }
  6682.     }
  6683.     for i = 1, 5 do
  6684.         local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  6685.         Effect{
  6686.             Effect='Fade',
  6687.             Frames=65,
  6688.             Size=V3.N((data.Mesh.Scale.X/20)/2,(data.Mesh.Scale.X/20)/2,data.Mesh.Scale.X/20),
  6689.             CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-(data.Mesh.Scale.X/20)).p,pos),
  6690.             Mesh = {MeshType=Enum.MeshType.Sphere},
  6691.             Material=Enum.Material.Neon,
  6692.             Color=MagicVariant.Color,
  6693.             MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  6694.         }  
  6695.     end
  6696.     AOEDamage(pos,data.Mesh.Scale.X/20,15,45,0,'Normal',10,4)
  6697.     coroutine.wrap(function()
  6698.         local frame = (1/30)
  6699.         for i = 1, 30 do
  6700.             part.Transparency = (i/30)
  6701.             swait()
  6702.         end
  6703.         part:destroy()
  6704.     end)()
  6705.     Attack = false
  6706.     NeutralAnims = true
  6707.     Root.Anchored = false
  6708.     data.Destroy()
  6709. end
  6710.  
  6711. function Balls(key)
  6712.     NeutralAnims = false
  6713.     Attack = true
  6714.     Root.Anchored = true
  6715.     local data = MagicCircle{Weld=Torso,Pos=CF.N(0,0,-1),Size=5,Variant=MagicVariant,Time=.5}
  6716.     local IsGrown = false
  6717.     data.Grown:connect(function() IsGrown = true end)
  6718.     repeat swait()
  6719.         local Alpha = .1
  6720.         local idk = M.R(25)
  6721.         LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  6722.         RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  6723.         RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  6724.         NK.C0 = NK.C0:lerp(NKC0,Alpha)
  6725.         LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  6726.         RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  6727.         local LookVector = Mouse.Hit.p
  6728.         Torso.CFrame = CF.N(Root.Position,LookVector)
  6729.     until IsGrown
  6730.     local projectiles = 5
  6731.     if(S.UserInputService:IsKeyDown(key))then
  6732.         local grown = 0
  6733.         repeat
  6734.             local Alpha = .1
  6735.             local idk = M.R(25)
  6736.             LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  6737.             RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  6738.             RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  6739.             NK.C0 = NK.C0:lerp(NKC0,Alpha)
  6740.             LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  6741.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  6742.             local LookVector = Mouse.Hit.p
  6743.             Root.CFrame = CF.N(Root.Position,LookVector)
  6744.             if(grown < 250)then
  6745.                 data.Grow(.05)
  6746.                 grown = grown + 1
  6747.                 projectiles = projectiles + .05
  6748.             end
  6749.             swait()
  6750.         until not S.UserInputService:IsKeyDown(key)
  6751.     end
  6752.     for i = 1, math.floor(projectiles) do
  6753.         data.Grow(-math.floor(projectiles)/20)
  6754.         local LookVector = Mouse.Hit.p
  6755.         Root.CFrame = CF.N(Root.Position,LookVector)
  6756.         ShootBullet{Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  6757.         swait(1)
  6758.     end
  6759.    
  6760.     Attack = false
  6761.     NeutralAnims = true
  6762.     Root.Anchored = false
  6763.     data.Destroy()
  6764. end
  6765.  
  6766. function DLaser(key)
  6767.     NeutralAnims = false
  6768.     Attack = true
  6769.     Root.Anchored = true
  6770.     local data1 = MagicCircle{Weld=Torso,Pos=CF.N(-4,0,-4),Size=5,Variant=MagicVariant,Time=.5}
  6771.     local data2 = MagicCircle{Weld=Torso,Pos=CF.N(4,0,-4),Size=5,Variant=MagicVariant,Time=.5}
  6772.     local IsGrown = false
  6773.     data1.Grown:connect(function() IsGrown = true end)
  6774.     repeat swait()
  6775.         local Alpha = .1
  6776.         local idk = M.R(25)
  6777.         LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  6778.         RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  6779.         RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  6780.         NK.C0 = NK.C0:lerp(NKC0,Alpha)
  6781.         LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  6782.         RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  6783.         local LookVector = Mouse.Hit.p
  6784.         Torso.CFrame = CF.N(Root.Position,LookVector)
  6785.     until IsGrown
  6786.     if(S.UserInputService:IsKeyDown(key))then
  6787.         local grown = 0
  6788.         repeat
  6789.             local Alpha = .1
  6790.             local idk = M.R(25)
  6791.             LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  6792.             RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  6793.             RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  6794.             NK.C0 = NK.C0:lerp(NKC0,Alpha)
  6795.             LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  6796.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  6797.             local LookVector = Mouse.Hit.p
  6798.             Root.CFrame = CF.N(Root.Position,LookVector)
  6799.             if(grown < 250)then
  6800.                 data1.Grow(.05)
  6801.                 data2.Grow(.05)
  6802.                 grown = grown + 1
  6803.             end
  6804.             swait()
  6805.         until not S.UserInputService:IsKeyDown(key)
  6806.     end
  6807.     Sound(data1.Circle,340722848,1,1,false,true,true)
  6808.     Sound(data2.Circle,340722848,1,1,false,true,true)
  6809.     local hit,pos,norm,dist = CastRay(data1.Circle.CFrame.p,Mouse.Hit.p,1024)
  6810.     local part1 = Part(Effects,MagicVariant.EffectColor or MagicVariant.Color,Enum.Material.Neon,V3.N(dist,data1.Mesh.Scale.x/40,data1.Mesh.Scale.x/40),CF.N(data1.Circle.CFrame.p,pos)*CF.N(0,0,-dist/2)*CF.A(0,M.P/2,0),true,false)
  6811.     Mesh(part1,Enum.MeshType.Cylinder)
  6812.    
  6813.    
  6814.     local part2 = Part(Effects,MagicVariant.EffectColor or MagicVariant.Color,Enum.Material.Neon,V3.N(dist,data2.Mesh.Scale.x/40,data2.Mesh.Scale.x/40),CF.N(data2.Circle.CFrame.p,pos)*CF.N(0,0,-dist/2)*CF.A(0,M.P/2,0),true,false)
  6815.     Mesh(part2,Enum.MeshType.Cylinder)
  6816.     Tween(part1,{Color=C3.N(1,1,1)},1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false)
  6817.     Tween(part2,{Color=C3.N(1,1,1)},1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false)
  6818.     Effect{
  6819.         Effect='ResizeAndFade',
  6820.         Color=MagicVariant.Color,
  6821.         Size=V3.N(data1.Mesh.Scale.X/20,data1.Mesh.Scale.X/20,data1.Mesh.Scale.X/20),
  6822.         Mesh={MeshType=Enum.MeshType.Sphere},
  6823.         CFrame=CF.N(pos),
  6824.         FXSettings={
  6825.             EndSize=V3.N(.05,.05,.05),
  6826.             EndIsIncrement=true
  6827.         }
  6828.     }
  6829.     for i = 1, 5 do
  6830.         local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  6831.         Effect{
  6832.             Effect='Fade',
  6833.             Frames=65,
  6834.             Size=V3.N((data1.Mesh.Scale.X/20)/2,(data1.Mesh.Scale.X/20)/2,data1.Mesh.Scale.X/20),
  6835.             CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-(data1.Mesh.Scale.X/20)).p,pos),
  6836.             Mesh = {MeshType=Enum.MeshType.Sphere},
  6837.             Material=Enum.Material.Neon,
  6838.             Color=MagicVariant.Color,
  6839.             MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  6840.         }  
  6841.     end
  6842.     AOEDamage(pos,data1.Mesh.Scale.X/20,15,45,0,'Normal',10,4)
  6843.     AOEDamage(pos,data2.Mesh.Scale.X/20,15,45,0,'Normal',10,4)
  6844.     coroutine.wrap(function()
  6845.         local frame = (1/30)
  6846.         for i = 1, 30 do
  6847.             part1.Transparency = (i/30)
  6848.             part2.Transparency = (i/30)
  6849.             swait()
  6850.         end
  6851.         part1:destroy()
  6852.         part2:destroy()
  6853.     end)()
  6854.     Attack = false
  6855.     NeutralAnims = true
  6856.     Root.Anchored = false
  6857.     data1.Destroy()
  6858.     data2.Destroy()
  6859. end
  6860.  
  6861.  
  6862. function BLaser(key)
  6863.     NeutralAnims = false
  6864.     Attack = true
  6865.     Root.Anchored = true
  6866.     local data = MagicCircle{Weld=Torso,Pos=CF.N(0,0,-1),Size=15,Variant=MagicVariant,Time=.75}
  6867.     local IsGrown = false
  6868.     data.Grown:connect(function() IsGrown = true end)
  6869.     repeat swait()
  6870.         local Alpha = .1
  6871.         local idk = M.R(25)
  6872.         LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  6873.         RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  6874.         RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  6875.         NK.C0 = NK.C0:lerp(NKC0,Alpha)
  6876.         LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  6877.         RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  6878.         local LookVector = Mouse.Hit.p
  6879.         Torso.CFrame = CF.N(Root.Position,LookVector)
  6880.     until IsGrown
  6881.     if(S.UserInputService:IsKeyDown(key))then
  6882.         local grown = 0
  6883.         repeat
  6884.             local Alpha = .1
  6885.             local idk = M.R(25)
  6886.             LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  6887.             RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  6888.             RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  6889.             NK.C0 = NK.C0:lerp(NKC0,Alpha)
  6890.             LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  6891.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  6892.             local LookVector = Mouse.Hit.p
  6893.             Root.CFrame = CF.N(Root.Position,LookVector)
  6894.             swait()
  6895.         until not S.UserInputService:IsKeyDown(key)
  6896.     end
  6897.    
  6898.     local hit,pos,norm,dist = CastRay(data.Circle.CFrame.p,Mouse.Hit.p,1024)
  6899.     local part = Part(Effects,MagicVariant.EffectColor or MagicVariant.Color,Enum.Material.Neon,V3.N(dist,data.Mesh.Scale.x/40,data.Mesh.Scale.x/40),CF.N(data.Circle.CFrame.p,pos)*CF.N(0,0,-dist/2)*CF.A(0,M.P/2,0),true,false)
  6900.     Mesh(part,Enum.MeshType.Cylinder)
  6901.     Tween(part,{Color=C3.N(1,1,1)},1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false)
  6902.     local aa = data.Circle:Clone();
  6903.     aa.Parent = Effects
  6904.     aa.Anchored = true
  6905.     local blast = Sound(aa,334702766,1,5,false,true,true)
  6906.     data.Circle:destroy()
  6907.     if(not blast.IsLoaded)then repeat swait() until blast.IsLoaded end
  6908.     Effect{
  6909.         Effect='ResizeAndFade',
  6910.         Color=MagicVariant.Color,
  6911.         Size=V3.N(data.Mesh.Scale.X/20,data.Mesh.Scale.X/20,data.Mesh.Scale.X/20),
  6912.         Mesh={MeshType=Enum.MeshType.Sphere},
  6913.         CFrame=CF.N(pos),
  6914.         Sound=blast,
  6915.         FXSettings={
  6916.             EndSize=V3.N(.05,.05,.05),
  6917.             EndIsIncrement=true
  6918.         }
  6919.     }
  6920.     for i = 1, 5 do
  6921.         local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  6922.         Effect{
  6923.             Effect='Fade',
  6924.             Frames=65,
  6925.             Sound=blast,
  6926.             Size=V3.N((data.Mesh.Scale.X/20)/2,(data.Mesh.Scale.X/20)/2,data.Mesh.Scale.X/20),
  6927.             CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-(data.Mesh.Scale.X/20)).p,pos),
  6928.             Mesh = {MeshType=Enum.MeshType.Sphere},
  6929.             Material=Enum.Material.Neon,
  6930.             Color=MagicVariant.Color,
  6931.             MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  6932.         }  
  6933.     end
  6934.     AOEDamage(pos,data.Mesh.Scale.X/20,45,75,0,'Normal',10,4)
  6935.     coroutine.wrap(function()
  6936.         for i = 1, (blast.TimeLength*Frame_Speed) do
  6937.             part.Transparency = (i/(blast.TimeLength*Frame_Speed))
  6938.             for _,v in next, aa:children() do if v:IsA'Decal' then v.Transparency = (i/(blast.TimeLength*Frame_Speed)) end end
  6939.             swait()
  6940.         end
  6941.         aa:destroy()
  6942.         part:destroy()
  6943.     end)()
  6944.    
  6945.     Attack = false
  6946.     NeutralAnims = true
  6947.     Root.Anchored = false
  6948.     Root.Velocity = Mouse.Hit.lookVector*-125
  6949. end
  6950.  
  6951. function Skill1()
  6952.     Laser(Enum.KeyCode.Q)
  6953. end
  6954.  
  6955. function Skill2()
  6956.     DLaser(Enum.KeyCode.Z)
  6957. end
  6958.  
  6959. function Skill3()
  6960.     BLaser(Enum.KeyCode.X)
  6961. end
  6962.  
  6963. --// Wrap it all up \\--
  6964.  
  6965. Mouse.KeyDown:connect(function(k)
  6966.     if(Attack)then return end
  6967.     if(k == 'q')then Skill1() end
  6968.     if(k == 'z')then Skill2() end
  6969.     if(k == 'x')then Skill3() end
  6970. end)
  6971.  
  6972. Plr.Chatted:connect(function(m)
  6973.    
  6974.     if(m:sub(1,3) == '/e ')then
  6975.         local msg = m:sub(4)
  6976.         --emote commands (gotta do)
  6977.     end
  6978. end)
  6979. while true do
  6980.     swait()
  6981.     Sine = Sine + Change
  6982.  
  6983.     local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4)), Char)
  6984.    
  6985.     local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  6986.     local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed > 24 and "Run" or "Walk") or hitfloor and "Idle")
  6987.     if(not Effects or not Effects.Parent)then
  6988.         Effects = IN("Model",Char)
  6989.         Effects.Name = "Effects"
  6990.     end                                                                                                                                                                                                                                                                                                                                                                                                            
  6991.     if(State == 'Run')then
  6992.         local wsVal = 20 / (Hum.WalkSpeed/16)
  6993.         local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  6994.         Change = 3
  6995.         RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(15+25*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha)
  6996.         LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(15-25*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha)   
  6997.     elseif(State == 'Walk')then
  6998.         local wsVal = 20 / (Hum.WalkSpeed/16)
  6999.         local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  7000.         Change = 3
  7001.         RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.5*M.C(Sine/wsVal)/2,0+.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2.5,0,0),Alpha)
  7002.         LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.5*M.C(Sine/wsVal)/2,0-.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0),Alpha)
  7003.     else
  7004.         RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  7005.         LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  7006.     end
  7007.  
  7008.     Hum.WalkSpeed = WalkSpeed
  7009.    
  7010.     if(NeutralAnims)then   
  7011.         if(State == 'Idle')then
  7012.             local Alpha = .1
  7013.             Change = .75
  7014.             RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0+.2*M.C(Sine/12),.2*M.C(Sine/6),0)*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha)
  7015.             NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha)
  7016.             LS.C0 = LS.C0:lerp(LSC0*CF.N(.25,0,0)*CF.A(M.R(-45),0,M.R(45+5*M.C(Sine/12))),Alpha)
  7017.             RS.C0 = RS.C0:lerp(RSC0*CF.N(-.25,0,0)*CF.A(M.R(-45),0,M.R(-45-5*M.C(Sine/12))),Alpha)
  7018.             LH.C0 = LH.C0:lerp(LHC0*CF.N(0-.2*M.C(Sine/12),-.2*M.C(Sine/6),0)*CF.A(M.R(5-5*M.C(Sine/12)),M.R(10),0),Alpha)
  7019.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0-.2*M.C(Sine/12),-.2*M.C(Sine/6),0)*CF.A(M.R(5-5*M.C(Sine/12)),M.R(-10),0),Alpha)
  7020.             -- idle
  7021.         elseif(State == 'Run')then
  7022.             local wsVal = 20 / (Hum.WalkSpeed/16)
  7023.             local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  7024.             RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  7025.             NK.C0 = NK.C0:lerp(NKC0,Alpha)
  7026.             LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
  7027.             RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5)),Alpha)
  7028.             LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  7029.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  7030.         elseif(State == 'Walk')then
  7031.             local wsVal = 20 / (Hum.WalkSpeed/16)
  7032.             local Alpha = math.min(.3 * (Hum.WalkSpeed/16),1)
  7033.             RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  7034.             NK.C0 = NK.C0:lerp(NKC0,Alpha)
  7035.             LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.22*M.C(Sine/wsVal))*CF.A(M.R(37*M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
  7036.             RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.22*M.C(Sine/wsVal))*CF.A(M.R(-37*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
  7037.             LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  7038.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  7039.         elseif(State == 'Jump')then
  7040.             local Alpha = .1
  7041.             local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  7042.             LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
  7043.             RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
  7044.             RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  7045.             NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  7046.             LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  7047.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  7048.         elseif(State == 'Fall')then
  7049.             local Alpha = .1
  7050.             local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  7051.             LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  7052.             RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  7053.             RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  7054.             NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  7055.             LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  7056.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  7057.         elseif(State == 'Paralyzed')then
  7058.             -- paralyzed
  7059.         elseif(State == 'Sit')then
  7060.             -- sit
  7061.         end
  7062.     end
  7063.    
  7064. end
  7065. end)
  7066.  
  7067. _1.Name = "1"
  7068. _1.Parent = Sans
  7069. _1.BackgroundColor3 = Color3.new(1, 1, 1)
  7070. _1.BackgroundTransparency = 1
  7071. _1.Size = UDim2.new(1, 0, 1, 0)
  7072. _1.Image = "rbxassetid://2851926732"
  7073. _1.ImageColor3 = Color3.new(0.0941177, 1, 0.501961)
  7074. _1.ScaleType = Enum.ScaleType.Slice
  7075. _1.SliceCenter = Rect.new(12, 12, 12, 12)
  7076.  
  7077. TextLabel.Parent = Frame
  7078. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  7079. TextLabel.BackgroundTransparency = 1
  7080. TextLabel.BorderSizePixel = 0
  7081. TextLabel.Position = UDim2.new(-0.00117540359, 0, -0.00169551373, 0)
  7082. TextLabel.Size = UDim2.new(0, 484, 0, 46)
  7083. TextLabel.ZIndex = 2
  7084. TextLabel.Font = Enum.Font.Code
  7085. TextLabel.Text = "Welcome To The Troll Gui."
  7086. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  7087. TextLabel.TextScaled = true
  7088. TextLabel.TextSize = 14
  7089. TextLabel.TextWrapped = true
  7090.  
  7091. TextLabel_Roundify_12px.Name = "TextLabel_Roundify_12px"
  7092. TextLabel_Roundify_12px.Parent = TextLabel
  7093. TextLabel_Roundify_12px.BackgroundColor3 = Color3.new(1, 1, 1)
  7094. TextLabel_Roundify_12px.BackgroundTransparency = 1
  7095. TextLabel_Roundify_12px.Size = UDim2.new(1.0011754, 0, 1, 0)
  7096. TextLabel_Roundify_12px.Image = "rbxassetid://2851926732"
  7097. TextLabel_Roundify_12px.ImageColor3 = Color3.new(0.0941177, 1, 0.501961)
  7098. TextLabel_Roundify_12px.ScaleType = Enum.ScaleType.Slice
  7099. TextLabel_Roundify_12px.SliceCenter = Rect.new(12, 12, 12, 12)
  7100.  
  7101. Close.Name = "Close"
  7102. Close.Parent = Frame
  7103. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  7104. Close.BackgroundTransparency = 1
  7105. Close.BorderSizePixel = 0
  7106. Close.Position = UDim2.new(-0.000239096393, 0, 0.834123373, 0)
  7107. Close.Size = UDim2.new(0, 483, 0, 46)
  7108. Close.ZIndex = 2
  7109. Close.Font = Enum.Font.Code
  7110. Close.Text = "Close"
  7111. Close.TextColor3 = Color3.new(1, 1, 1)
  7112. Close.TextSize = 30
  7113. Close.TextWrapped = true
  7114. Close.MouseButton1Down:Connect(function()
  7115. Frame.Visible = false
  7116. end)
  7117.  
  7118.  
  7119. _5.Name = "5"
  7120. _5.Parent = Close
  7121. _5.BackgroundColor3 = Color3.new(1, 1, 1)
  7122. _5.BackgroundTransparency = 1
  7123. _5.Size = UDim2.new(1, 0, 1, 0)
  7124. _5.Image = "rbxassetid://2851926732"
  7125. _5.ImageColor3 = Color3.new(0.0941177, 1, 0.501961)
  7126. _5.ScaleType = Enum.ScaleType.Slice
  7127. _5.SliceCenter = Rect.new(12, 12, 12, 12)
  7128. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement