Dark_EccentricYT

Untitled

Sep 19th, 2017
1,166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 99.08 KB | None | 0 0
  1. --[[When_kun]]--
  2. wait(1 / 60)
  3.  
  4. Effects = { }
  5. local Player = game.Players.localPlayer
  6. local Character = Player.Character
  7. local Humanoid = Character.Humanoid
  8. local Mouse = Player:GetMouse()
  9. local LeftArm = Character["Left Arm"]
  10. local RightArm = Character["Right Arm"]
  11. local LeftLeg = Character["Left Leg"]
  12. local RightLeg = Character["Right Leg"]
  13. local Head = Character.Head
  14. local Torso = Character.Torso
  15. local Camera = game.Workspace.CurrentCamera
  16. local RootPart = Character.HumanoidRootPart
  17. local RootJoint = RootPart.RootJoint
  18. local attack = false
  19. local Anim = 'Idle'
  20. local attacktype = 1
  21. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  22. local velocity = RootPart.Velocity.y
  23. local sine = 0
  24. local change = 1
  25. local Create = LoadLibrary("RbxUtility").Create
  26.  
  27. local hello = Instance.new("Sound")
  28. hello.SoundId = "rbxassetid://163665141"
  29. hello.PlaybackSpeed = 1
  30. hello.Volume = 2
  31. hello.Parent = Head
  32. hello.Looped = true
  33. hello:Play()
  34.  
  35. local m = Create("Model"){
  36. Parent = Character,
  37. Name = "WeaponModel",
  38. }
  39.  
  40. Humanoid.Animator.Parent = nil
  41. Character.Animate.Parent = nil
  42.  
  43. local newMotor = function(part0, part1, c0, c1)
  44. local w = Create('Motor'){
  45. Parent = part0,
  46. Part0 = part0,
  47. Part1 = part1,
  48. C0 = c0,
  49. C1 = c1,
  50. }
  51. return w
  52. end
  53.  
  54. function clerp(a, b, t)
  55. return a:lerp(b, t)
  56. end
  57.  
  58. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  59. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  60.  
  61. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  62. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  63. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  64. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  65. RootJoint.C1 = CFrame.new(0, 0, 0)
  66. RootJoint.C0 = CFrame.new(0, 0, 0)
  67. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  68. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  69.  
  70. local rarmc1 = RW.C1
  71. local larmc1 = LW.C1
  72. local rlegc1 = RH.C1
  73. local llegc1 = LH.C1
  74.  
  75. local resetc1 = false
  76.  
  77. function PlayAnimationFromTable(table, speed, bool)
  78. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  79. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  80. RW.C0 = clerp(RW.C0, table[3], speed)
  81. LW.C0 = clerp(LW.C0, table[4], speed)
  82. RH.C0 = clerp(RH.C0, table[5], speed)
  83. LH.C0 = clerp(LH.C0, table[6], speed)
  84. if bool == true then
  85. if resetc1 == false then
  86. resetc1 = true
  87. RootJoint.C1 = RootJoint.C1
  88. Torso.Neck.C1 = Torso.Neck.C1
  89. RW.C1 = rarmc1
  90. LW.C1 = larmc1
  91. RH.C1 = rlegc1
  92. LH.C1 = llegc1
  93. end
  94. end
  95. end
  96.  
  97. ArtificialHB = Create("BindableEvent", script){
  98. Parent = script,
  99. Name = "Heartbeat",
  100. }
  101.  
  102. script:WaitForChild("Heartbeat")
  103.  
  104. frame = 1 / 30
  105. tf = 0
  106. allowframeloss = false
  107. tossremainder = false
  108. lastframe = tick()
  109. script.Heartbeat:Fire()
  110.  
  111. game:GetService("RunService").Heartbeat:connect(function(s, p)
  112. tf = tf + s
  113. if tf >= frame then
  114. if allowframeloss then
  115. script.Heartbeat:Fire()
  116. lastframe = tick()
  117. else
  118. for i = 1, math.floor(tf / frame) do
  119. script.Heartbeat:Fire()
  120. end
  121. lastframe = tick()
  122. end
  123. if tossremainder then
  124. tf = 0
  125. else
  126. tf = tf - frame * math.floor(tf / frame)
  127. end
  128. end
  129. end)
  130.  
  131. --[[
  132. Thanks for using Build-To-Lua by jarredbcv.
  133. ]]--
  134.  
  135. New = function(Object, Parent, Name, Data)
  136. local Object = Instance.new(Object)
  137. for Index, Value in pairs(Data or {}) do
  138. Object[Index] = Value
  139. end
  140. Object.Parent = Parent
  141. Object.Name = Name
  142. return Object
  143. end
  144.  
  145. Permafrost = New("Model",Character,"Permafrost",{})
  146. Handlepart = New("Part",Permafrost,"Handlepart",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.Granite,Size = Vector3.new(0.858597875, 0.141106993, 0.282213986),CFrame = CFrame.new(-42.0107193, 0.444025815, -85.8318939, -0.999715328, -0.023522187, -0.00562879257, 0.0056300927, 3.12956836e-05, -0.999988914, 0.0235226266, -0.99973017, 0.000101225858),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  147. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.39509961, 0.141106993, 0.282213986),CFrame = CFrame.new(-42.6965179, 0.447944373, -85.1497726, -0.0758107528, 0.997119427, -0.00562850479, 0.000325983099, -0.0056207059, -0.999991894, -0.997133553, -0.0758123696, 0.000101202961),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  148. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.0758103952, 0.000325905159, -0.997124493, 0.997108996, -0.00562036037, -0.0758112445, -0.00562876463, -0.999985695, 0.000101147685),C1 = CFrame.new(0.701660156, -0.665794373, 1.10119581e-05, -0.999710023, 0.00562989712, 0.0235222913, -0.0235222895, 3.12659213e-05, -0.99972558, -0.00562894344, -0.999985635, 0.000101198908),})
  149. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.39509961, 0.141106993, 0.282213986),CFrame = CFrame.new(-41.306015, 0.44011718, -85.2136841, 0.184845299, 0.982764721, -0.0056286836, -0.00113996037, -0.00551363453, -0.999991775, -0.982778966, 0.1848474, 0.000101272817),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  150. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.184842944, -0.00113994628, -0.982769907, 0.982754529, -0.00551328063, 0.184846133, -0.00562894344, -0.999985576, 0.000101217534),C1 = CFrame.new(-0.689971924, -0.634613037, 4.17232513e-06, -0.999710023, 0.00562989712, 0.0235222913, -0.0235222895, 3.12659213e-05, -0.99972558, -0.00562894344, -0.999985635, 0.000101198908),})
  151. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Marble,Size = Vector3.new(0.0680292398, 0.163270563, 0.0500000007),CFrame = CFrame.new(-42.1421814, 0.446088701, -85.8686676, -0.0522334091, 0.354180932, -0.933731079, -0.0436992832, -0.934917629, -0.352185607, -0.997689784, 0.0224070586, 0.064311862),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.501961, 0.733333, 0.858824),})
  152. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.816351712),})
  153. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.0522333123, -0.043699082, -0.997680724, 0.354176939, -0.934911728, 0.022406958, -0.933721423, -0.3521837, 0.0643108562),C1 = CFrame.new(0.130569458, 0.039855957, -0.00132653117, -0.999710023, 0.00562989712, 0.0235222913, -0.0235222895, 3.12659213e-05, -0.99972558, -0.00562894344, -0.999985635, 0.000101198908),})
  154. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Marble,Size = Vector3.new(0.0680292398, 0.163270563, 0.0500000007),CFrame = CFrame.new(-41.982029, 0.445832491, -85.8770294, -0.0522334091, 0.456898332, 0.887998581, -0.0436992832, 0.88730979, -0.459115297, -0.997689784, -0.062786065, -0.0263817627),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.501961, 0.733333, 0.858824),})
  155. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.816351712),})
  156. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.0522333123, -0.043699082, -0.997680724, 0.456893831, 0.887304425, -0.0627852529, 0.887989163, -0.459112167, -0.0263811629),C1 = CFrame.new(-0.0297317505, 0.0444488525, -0.00197270513, -0.999710023, 0.00562989712, 0.0235222913, -0.0235222895, 3.12659213e-05, -0.99972558, -0.00562894344, -0.999985635, 0.000101198908),})
  157. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Marble,Size = Vector3.new(0.0680292398, 0.163270563, 0.0500000007),CFrame = CFrame.new(-42.0441933, 0.44666791, -85.8738174, -0.0522334091, 0.354180932, -0.933731079, -0.0436992832, -0.934917629, -0.352185607, -0.997689784, 0.0224070586, 0.064311862),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.501961, 0.733333, 0.858824),})
  158. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.816351712),})
  159. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.0522333123, -0.043699082, -0.997680724, 0.354176939, -0.934911728, 0.022406958, -0.933721423, -0.3521837, 0.0643108562),C1 = CFrame.new(0.0324935913, 0.0427017212, -0.00245785713, -0.999710023, 0.00562989712, 0.0235222913, -0.0235222895, 3.12659213e-05, -0.99972558, -0.00562894344, -0.999985635, 0.000101198908),})
  160. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Marble,Size = Vector3.new(0.0680292398, 0.163270563, 0.0500000007),CFrame = CFrame.new(-42.0800438, 0.445265234, -85.8718719, -0.0522334091, 0.456898332, 0.887998581, -0.0436992832, 0.88730979, -0.459115297, -0.997689784, -0.062786065, -0.0263817627),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.501961, 0.733333, 0.858824),})
  161. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.816351712),})
  162. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.0522333123, -0.043699082, -0.997680724, 0.456893831, 0.887304425, -0.0627852529, 0.887989163, -0.459112167, -0.0263811629),C1 = CFrame.new(0.0683708191, 0.041595459, -0.000853180885, -0.999710023, 0.00562989712, 0.0235222913, -0.0235222895, 3.12659213e-05, -0.99972558, -0.00562894344, -0.999985635, 0.000101198908),})
  163. Part = New("Part",Permafrost,"Part",{Material = Enum.Material.Granite,Size = Vector3.new(0.345712185, 0.141106993, 0.282213986),CFrame = CFrame.new(-42.5298042, 0.446962148, -85.7059937, -0.794963896, -0.606652081, -0.00562892295, 0.00453669718, 0.00333498465, -0.999991894, 0.606661379, -0.794974923, 0.000101088888),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  164. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.794955313, 0.00453644991, 0.606655478, -0.606646061, 0.00333473086, -0.79496789, -0.00562918186, -0.999985635, 0.000101033598),C1 = CFrame.new(0.521907806, -0.11365509, -1.50501728e-06, -0.999710023, 0.00562989712, 0.0235222913, -0.0235222895, 3.12659213e-05, -0.99972558, -0.00562894344, -0.999985635, 0.000101198908),})
  165. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Granite,Size = Vector3.new(0.345712185, 0.141106993, 0.282213986),CFrame = CFrame.new(-42.6760979, 0.447810352, -85.4843063, -0.236025706, -0.971744001, -0.00562841538, 0.00142692297, 0.00544616068, -0.999991894, 0.971757889, -0.236028552, 0.000101275131),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  166. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.23602283, 0.00142689049, 0.971748888, -0.971733928, 0.00544580817, -0.236026809, -0.00562867522, -0.999985695, 0.000101219863),C1 = CFrame.new(0.673374176, -0.331840515, -3.75509262e-06, -0.999710023, 0.00562989712, 0.0235222913, -0.0235222895, 3.12659213e-05, -0.99972558, -0.00562894344, -0.999985635, 0.000101198908),})
  167. Part = New("Part",Permafrost,"Part",{Material = Enum.Material.Granite,Size = Vector3.new(0.345712185, 0.141106993, 0.282213986),CFrame = CFrame.new(-41.5023384, 0.4411681, -85.7539749, -0.791730165, 0.610866368, -0.00562838605, 0.00439498853, -0.00351870968, -0.999991894, -0.610874593, -0.791741788, 0.000101288657),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  168. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.791722238, 0.00439468026, -0.610869348, 0.610859692, -0.00351853669, -0.791734278, -0.00562864542, -0.999985635, 0.000101233367),C1 = CFrame.new(-0.506412506, -0.0898590088, 3.75509262e-06, -0.999710023, 0.00562989712, 0.0235222913, -0.0235222895, 3.12659213e-05, -0.99972558, -0.00562894344, -0.999985635, 0.000101198908),})
  169. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Granite,Size = Vector3.new(0.345712185, 0.141106993, 0.282213986),CFrame = CFrame.new(-41.3387642, 0.440271944, -85.5386429, -0.380227208, 0.924889982, -0.00562847499, 0.002047027, -0.00524476729, -0.999991775, -0.924903095, -0.380233139, 0.000101087942),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  170. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.380223632, 0.00204684585, -0.92489475, 0.924880266, -0.00524446368, -0.380229264, -0.00562873483, -0.999985576, 0.000101032667),C1 = CFrame.new(-0.664875031, -0.30897522, 8.94069672e-07, -0.999710023, 0.00562989712, 0.0235222913, -0.0235222895, 3.12659213e-05, -0.99972558, -0.00562894344, -0.999985635, 0.000101198908),})
  171. Partasd = New("Part",Permafrost,"Partasd",{BrickColor = BrickColor.new("Pastel blue"),Material = Enum.Material.Granite,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.950000226, 2.69999957, 2.70000005),CFrame = CFrame.new(-41.9500198, 0.288212597, -84.7091675, -0.0282267407, 0.0254468024, -0.999280214, 0.00293940678, -0.999671102, -0.0255396068, -0.999599516, -0.00365816429, 0.0281428285),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  172. mot = New("Motor",Partasd,"mot",{Part0 = Partasd,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.0282267407, 0.00293940678, -0.999599516, 0.0254468024, -0.999671102, -0.00365816429, -0.999280214, -0.0255396068, 0.0281428285),C1 = CFrame.new(-0.0351486206, -1.12384033, 0.155581906, -0.999710023, 0.00562989712, 0.0235222913, -0.0235222895, 3.12659213e-05, -0.99972558, -0.00562894344, -0.999985635, 0.000101198908),})
  173. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Size = Vector3.new(0.850000083, 3.5, 0.999999762),CFrame = CFrame.new(-41.9311028, 0.239907548, -84.6666489, 0.023522513, -0.702930689, -0.71089524, -3.13620367e-05, 0.711086988, -0.703119636, 0.999739349, 0.0165621731, 0.0167055074),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  174. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.0235228017, -3.12726697e-05, 0.99972564, -0.702919245, 0.711079895, 0.0165615343, -0.710884392, -0.703113317, 0.016704753),C1 = CFrame.new(-0.0533332825, -1.16679382, 0.203783751, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  175. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-41.9339256, -0.260092676, -84.6665802, 0.999725699, 0.00562844658, 0.0235219859, -0.00563047407, 0.999995232, -2.96233011e-05, -0.0235232655, -0.000102997867, 0.99973923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  176. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.999710023, -0.00562992692, -0.0235222857, 0.00562885404, 0.999985695, -0.000102915335, 0.0235222783, -2.95339814e-05, 0.999725521),C1 = CFrame.new(-0.0533256531, -1.16680908, 0.703789532, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  177. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-42.2865639, -0.111659467, -84.6582794, 0.70293057, 0.710895181, 0.0235219765, -0.711086988, 0.703119755, -2.96271501e-05, -0.0165605545, -0.0167063158, 0.999739349),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  178. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.702919185, -0.711079836, -0.0165599175, 0.710884333, 0.703113437, -0.0167055596, 0.0235222671, -2.95378268e-05, 0.99972564),C1 = CFrame.new(0.300239563, -1.16680908, 0.557345331, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  179. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Size = Vector3.new(0.850000083, 3.5, 0.999999762),CFrame = CFrame.new(-41.9311104, 0.239903077, -84.6666489, 0.023522513, -0.710888445, 0.702937484, -3.13620367e-05, -0.703126371, -0.711080253, 0.999739349, 0.0167053621, -0.0165623277),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  180. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.0235228017, -3.12726697e-05, 0.99972564, -0.710877597, -0.703120112, 0.0167046096, 0.70292604, -0.711073101, -0.0165616907),C1 = CFrame.new(-0.0533256531, -1.16679382, 0.203788251, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  181. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-41.9282799, 0.73991257, -84.666687, 0.999725699, 0.00562844658, 0.0235219859, -0.00563047407, 0.999995232, -2.96233011e-05, -0.0235232655, -0.000102997867, 0.99973923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  182. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.999710023, -0.00562992692, -0.0235222857, 0.00562885404, 0.999985695, -0.000102915335, 0.0235222783, -2.95339814e-05, 0.999725521),C1 = CFrame.new(-0.0533409119, -1.16680908, -0.296226859, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  183. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-41.5796585, -0.115644097, -84.6749191, 0.710888505, -0.702937365, 0.0235219747, 0.703126371, 0.711080313, -2.96465696e-05, -0.0167061687, 0.0165607277, 0.999739349),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  184. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.710877657, 0.703120112, -0.0167054143, -0.70292598, 0.71107316, 0.0165600926, 0.0235222653, -2.95572372e-05, 0.99972564),C1 = CFrame.new(-0.406867981, -1.16680145, 0.557348907, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  185. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-41.5756454, 0.591485143, -84.6749878, 0.70293057, 0.710895181, 0.0235219765, -0.711086988, 0.703119755, -2.96271501e-05, -0.0165605545, -0.0167063158, 0.999739349),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  186. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.702919185, -0.711079836, -0.0165599175, 0.710884333, 0.703113437, -0.0167055596, 0.0235222671, -2.95378268e-05, 0.99972564),C1 = CFrame.new(-0.406902313, -1.16680908, -0.149788424, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  187. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Size = Vector3.new(0.850000083, 3.5, 0.999999762),CFrame = CFrame.new(-41.9311104, 0.239903077, -84.6666489, 0.023522513, -0.999725819, -0.00562853599, -3.13620367e-05, 0.00563044474, -0.999995112, 0.999739349, 0.0235238094, 0.000101277699),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  188. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.0235228017, -3.12726697e-05, 0.99972564, -0.999710083, 0.00562989712, 0.0235228296, -0.00562894344, -0.999985635, 0.000101195183),C1 = CFrame.new(-0.0533256531, -1.16679382, 0.203788251, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  189. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-42.2826004, 0.595448375, -84.6583481, 0.710888505, -0.702937365, 0.0235219747, 0.703126371, 0.711080313, -2.96465696e-05, -0.0167061687, 0.0165607277, 0.999739349),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  190. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.710877657, 0.703120112, -0.0167054143, -0.70292598, 0.71107316, 0.0165600926, 0.0235222653, -2.95572372e-05, 0.99972564),C1 = CFrame.new(0.300254822, -1.16681671, -0.149770245, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  191. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Size = Vector3.new(0.850000083, 3.5, 0.999999762),CFrame = CFrame.new(-41.9311028, 0.239907548, -84.6666489, 0.023522513, -0.935340345, 0.353018492, -3.13620367e-05, -0.353113234, -0.935592294, 0.999739349, 0.0219976287, -0.00833570957),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  192. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.0235228017, -3.12726697e-05, 0.99972564, -0.935325801, -0.353110313, 0.0219966825, 0.353012472, -0.935583234, -0.00833543483),C1 = CFrame.new(-0.0533332825, -1.16679382, 0.203783751, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  193. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-41.475605, 0.0339646637, -84.6773682, 0.411763132, -0.911007404, 0.0235219914, 0.911252677, 0.411874503, -2.96179605e-05, -0.00966179557, 0.021447707, 0.99973923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  194. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.411757052, 0.911244214, -0.0096613206, -0.910992861, 0.411870122, 0.0214468427, 0.0235222839, -2.95286336e-05, 0.999725521),C1 = CFrame.new(-0.510105133, -1.16680145, 0.407157183, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  195. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-41.7252007, 0.695548177, -84.6714706, 0.911004305, 0.411770135, 0.0235220119, -0.411881626, 0.911249578, -2.96263133e-05, -0.0214476511, -0.00966194831, 0.99973923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  196. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.910989761, -0.411877215, -0.0214467868, 0.411764085, 0.911241114, -0.00966147333, 0.0235223044, -2.95369882e-05, 0.999725521),C1 = CFrame.new(-0.256721497, -1.16680145, -0.253007054, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  197. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-42.1370163, -0.215722799, -84.6618118, 0.911004305, 0.411770135, 0.0235220119, -0.411881626, 0.911249578, -2.96263133e-05, -0.0214476511, -0.00966194831, 0.99973923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  198. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.910989761, -0.411877215, -0.0214467868, 0.411764085, 0.911241114, -0.00966147333, 0.0235223044, -2.95369882e-05, 0.999725521),C1 = CFrame.new(0.150066376, -1.16680145, 0.660564303, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  199. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Size = Vector3.new(0.850000083, 3.5, 0.999999762),CFrame = CFrame.new(-41.9311028, 0.239907548, -84.6666489, 0.023522513, -0.911004245, -0.411770135, -3.13620367e-05, 0.411881566, -0.911249578, 0.999739349, 0.0214488376, 0.0096605923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  200. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.0235228017, -3.12726697e-05, 0.99972564, -0.910989702, 0.411877155, 0.0214479733, -0.411764085, -0.911241114, 0.00966011733),C1 = CFrame.new(-0.0533332825, -1.16679382, 0.203783751, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  201. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-42.3987617, 0.0633551478, -84.655632, -0.353013605, -0.935342371, 0.0235219914, 0.935594499, -0.353108317, -2.96179605e-05, 0.00833378546, 0.021997802, 0.99973923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  202. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.353007555, 0.93558538, 0.00833350979, -0.935327768, -0.353105396, 0.0219968539, 0.0235222839, -2.95286336e-05, 0.999725521),C1 = CFrame.new(0.413452148, -1.16680908, 0.382966161, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  203. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Size = Vector3.new(0.850000083, 3.5, 0.999999762),CFrame = CFrame.new(-41.9311104, 0.239903077, -84.6666489, 0.023522513, -0.411763161, 0.911007345, -3.13620367e-05, -0.911252737, -0.411874384, 0.999739349, 0.00966042746, -0.0214489102),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  204. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.0235228017, -3.12726697e-05, 0.99972564, -0.411757112, -0.911244273, 0.00965995342, 0.910992801, -0.411870003, -0.021448046),C1 = CFrame.new(-0.0533256531, -1.16679382, 0.203788251, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  205. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-41.7546196, -0.227898896, -84.6708069, 0.935340226, -0.353018463, 0.0235220119, 0.353113145, 0.935592353, -2.96228282e-05, -0.0219977479, 0.00833390094, 0.99973923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  206. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.935325682, 0.353110224, -0.0219967999, -0.353012443, 0.935583293, 0.0083336262, 0.0235223044, -2.9533503e-05, 0.999725521),C1 = CFrame.new(-0.232494354, -1.16680145, 0.670586705, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  207. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-42.3866119, 0.445852578, -84.6559143, 0.411763132, -0.911007404, 0.0235219914, 0.911252677, 0.411874503, -2.96179605e-05, -0.00966179557, 0.021447707, 0.99973923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  208. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.411757052, 0.911244214, -0.0096613206, -0.910992861, 0.411870122, 0.0214468427, 0.0235222839, -2.95286336e-05, 0.999725521),C1 = CFrame.new(0.403450012, -1.16680145, 0.000408172607, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  209. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-41.4634705, 0.416456759, -84.6776199, -0.353013605, -0.935342371, 0.0235219914, 0.935594499, -0.353108317, -2.96179605e-05, 0.00833378546, 0.021997802, 0.99973923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  210. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.353007555, 0.93558538, 0.00833350979, -0.935327768, -0.353105396, 0.0219968539, 0.0235222839, -2.95286336e-05, 0.999725521),C1 = CFrame.new(-0.520088196, -1.16681671, 0.0246046782, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  211. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-42.1076431, 0.70770669, -84.6624832, 0.935340226, -0.353018463, 0.0235220119, 0.353113145, 0.935592353, -2.96228282e-05, -0.0219977479, 0.00833390094, 0.99973923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  212. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.935325682, 0.353110224, -0.0219967999, -0.353012443, 0.935583293, 0.0083336262, 0.0235223044, -2.9533503e-05, 0.999725521),C1 = CFrame.new(0.12588501, -1.16679382, -0.263011575, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  213. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Size = Vector3.new(0.850000083, 3.5, 0.999999762),CFrame = CFrame.new(-41.9311104, 0.239903077, -84.6666489, 0.023522513, 0.353013456, 0.935342252, -3.13620367e-05, -0.935594141, 0.353108317, 0.999739349, -0.00833558291, -0.0219976828),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  214. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.0235228017, -3.12726697e-05, 0.99972564, 0.353007406, -0.935585022, -0.00833530817, 0.935327649, 0.353105396, -0.0219967347),C1 = CFrame.new(-0.0533256531, -1.16679382, 0.203788251, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  215. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Size = Vector3.new(0.850000083, 3.5, 0.999999762),CFrame = CFrame.new(-41.9311028, 0.239907548, -84.6666489, 0.023522513, 0.00562734436, -0.999725819, -3.13620367e-05, 0.999995351, 0.00562922284, 0.999739349, -0.000101258142, 0.0235238001),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  216. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, 0.0235228017, -3.12726697e-05, 0.99972564, 0.00562775135, 0.999985814, -0.000101175625, -0.999710083, 0.00562867522, 0.0235228203),C1 = CFrame.new(-0.0533332825, -1.16679382, 0.203783751, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  217. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-42.4309654, 0.242724791, -84.6548767, -0.00562725496, 0.999725819, 0.023521943, -0.999995351, -0.00562925264, -2.96330982e-05, 0.000102981117, -0.0235232301, 0.99973923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  218. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.00562766194, -0.999985814, 0.000102898572, 0.999710083, -0.00562870502, -0.0235222504, 0.0235222355, -2.95437749e-05, 0.999725521),C1 = CFrame.new(0.446670532, -1.16680145, 0.203781575, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  219. Part = New("Part",Permafrost,"Part",{BrickColor = BrickColor.new("Baby blue"),Material = Enum.Material.Ice,Shape = Enum.PartType.Cylinder,Size = Vector3.new(3.5, 1, 0.850000083),CFrame = CFrame.new(-41.431263, 0.237085298, -84.6783981, -0.00562719442, 0.999725819, 0.0235219914, -0.999995232, -0.00562925264, -2.96144681e-05, 0.000102979699, -0.0235232599, 0.99973923),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.596078, 0.760784, 0.858824),})
  220. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handlepart,C0 = CFrame.new(0, 0, 0, -0.00562760234, -0.999985754, 0.000102897175, 0.999710083, -0.00562870502, -0.0235222802, 0.0235222839, -2.95251484e-05, 0.999725521),C1 = CFrame.new(-0.553314209, -1.16680908, 0.203791052, -0.999715328, 0.0056300927, 0.0235226266, -0.023522187, 3.12956836e-05, -0.99973017, -0.00562879257, -0.999988914, 0.000101225858),})
  221. moter = New("Weld",Handlepart,"Weld",{Part0 = RightArm,Part1 = Handlepart,})
  222.  
  223.  
  224. local co1 = 15
  225. local co2 = 8
  226. local co3 = 20
  227. local co5 = 30
  228. local co4 = 32
  229. local cooldown1 = 5
  230. local cooldown2 = 7
  231. local cooldown3 = 3
  232. local cooldown4 = 2
  233. local cooldown5 = 0
  234. local skillcolorscheme = BrickColor.new("Light blue").Color
  235. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  236. makeframe = function(par, trans, pos, size, color)
  237.  
  238. local frame = Instance.new("Frame", par)
  239. frame.BackgroundTransparency = trans
  240. frame.BorderSizePixel = 0
  241. frame.Position = pos
  242. frame.Size = size
  243. frame.BackgroundColor3 = color
  244. return frame
  245. end
  246.  
  247. makelabel = function(par, text)
  248.  
  249. local label = Instance.new("TextLabel", par)
  250. label.BackgroundTransparency = 1
  251. label.Size = UDim2.new(1, 0, 1, 0)
  252. label.Position = UDim2.new(0, 0, 0, 0)
  253. label.TextColor3 = Color3.new(255, 250, 190)
  254. label.TextStrokeTransparency = 0
  255. label.FontSize = Enum.FontSize.Size32
  256. label.Font = Enum.Font.SourceSansLight
  257. label.BorderSizePixel = 0
  258. label.TextScaled = true
  259. label.Text = text
  260. end
  261.  
  262. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  263. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  264. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  265. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  266. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  267. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  268. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  269. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  270. text1 = Instance.new("TextLabel", framesk1)
  271. text1.BackgroundTransparency = 1
  272. text1.Size = UDim2.new(1, 0, 1, 0)
  273. text1.Position = UDim2.new(0, 0, 0, 0)
  274. text1.TextColor3 = Color3.new(255, 250, 190)
  275. text1.TextStrokeTransparency = 0
  276. text1.FontSize = Enum.FontSize.Size18
  277. text1.Font = Enum.Font.SourceSansLight
  278. text1.BorderSizePixel = 0
  279. text1.TextScaled = true
  280. text1.Text = "[Z]\n Severe Frostbite"
  281. text2 = Instance.new("TextLabel", framesk2)
  282. text2.BackgroundTransparency = 1
  283. text2.Size = UDim2.new(1, 0, 1, 0)
  284. text2.Position = UDim2.new(0, 0, 0, 0)
  285. text2.TextColor3 = Color3.new(255, 250, 190)
  286. text2.TextStrokeTransparency = 0
  287. text2.FontSize = Enum.FontSize.Size18
  288. text2.Font = Enum.Font.SourceSansLight
  289. text2.BorderSizePixel = 0
  290. text2.TextScaled = true
  291. text2.Text = "[X]\n Frozen Wind"
  292. text3 = Instance.new("TextLabel", framesk3)
  293. text3.BackgroundTransparency = 1
  294. text3.Size = UDim2.new(1, 0, 1, 0)
  295. text3.Position = UDim2.new(0, 0, 0, 0)
  296. text3.TextColor3 = Color3.new(255, 250, 190)
  297. text3.TextStrokeTransparency = 0
  298. text3.FontSize = Enum.FontSize.Size18
  299. text3.Font = Enum.Font.SourceSansLight
  300. text3.BorderSizePixel = 0
  301. text3.TextScaled = false
  302. text3.Text = "[C]\n Northern Blizzard"
  303. text4 = Instance.new("TextLabel", framesk4)
  304. text4.BackgroundTransparency = 1
  305. text4.Size = UDim2.new(1, 0, 1, 0)
  306. text4.Position = UDim2.new(0, 0, 0, 0)
  307. text4.TextColor3 = Color3.new(255, 250, 190)
  308. text4.TextStrokeTransparency = 0
  309. text4.FontSize = Enum.FontSize.Size18
  310. text4.Font = Enum.Font.SourceSansLight
  311. text4.BorderSizePixel = 0
  312. text4.TextScaled = true
  313. text4.Text = "[V]\n Freezing Hail"
  314.  
  315. function swait(num)
  316. if num == 0 or num == nil then
  317. ArtificialHB.Event:wait()
  318. else
  319. for i = 0, num do
  320. ArtificialHB.Event:wait()
  321. end
  322. end
  323. end
  324.  
  325. function RemoveOutlines(part)
  326. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  327. end
  328.  
  329. CFuncs = {
  330. Part = {
  331. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  332. local Part = Create("Part"){
  333. Parent = Parent,
  334. Reflectance = Reflectance,
  335. Transparency = Transparency,
  336. CanCollide = false,
  337. Locked = true,
  338. BrickColor = BrickColor.new(tostring(BColor)),
  339. Name = Name,
  340. Size = Size,
  341. Material = Material,
  342. }
  343. RemoveOutlines(Part)
  344. return Part
  345. end;
  346. };
  347.  
  348. Mesh = {
  349. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  350. local Msh = Create(Mesh){
  351. Parent = Part,
  352. Offset = OffSet,
  353. Scale = Scale,
  354. }
  355. if Mesh == "SpecialMesh" then
  356. Msh.MeshType = MeshType
  357. Msh.MeshId = MeshId
  358. end
  359. return Msh
  360. end;
  361. };
  362.  
  363. Weld = {
  364. Create = function(Parent, Part0, Part1, C0, C1)
  365. local Weld = Create("Weld"){
  366. Parent = Parent,
  367. Part0 = Part0,
  368. Part1 = Part1,
  369. C0 = C0,
  370. C1 = C1,
  371. }
  372. return Weld
  373. end;
  374. };
  375.  
  376. Sound = {
  377. Create = function(id, par, vol, pit)
  378. coroutine.resume(coroutine.create(function()
  379. local Sound = Create("Sound"){
  380. Volume = vol,
  381. Pitch = pit or 1,
  382. SoundId = "rbxassetid://" .. id,
  383. Parent = par or workspace,
  384. }
  385. Sound:play()
  386. game:GetService("Debris"):AddItem(Sound, 10)
  387. end))
  388. end;
  389. };
  390.  
  391. Decal = {
  392. Create = function(Color, Texture, Transparency, Name, Parent)
  393. local Decal = Create("Decal"){
  394. Color3 = Color,
  395. Texture = "rbxassetid://" .. Texture,
  396. Transparency = Transparency,
  397. Name = Name,
  398. Parent = Parent,
  399. }
  400. return Decal
  401. end;
  402. };
  403.  
  404. BillboardGui = {
  405. Create = function(Parent, Image, Position, Size)
  406. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  407. BillPar.CFrame = CFrame.new(Position)
  408. local Bill = Create("BillboardGui"){
  409. Parent = BillPar,
  410. Adornee = BillPar,
  411. Size = UDim2.new(1, 0, 1, 0),
  412. SizeOffset = Vector2.new(Size, Size),
  413. }
  414. local d = Create("ImageLabel", Bill){
  415. Parent = Bill,
  416. BackgroundTransparency = 1,
  417. Size = UDim2.new(1, 0, 1, 0),
  418. Image = "rbxassetid://" .. Image,
  419. }
  420. return BillPar
  421. end
  422. };
  423.  
  424. ParticleEmitter = {
  425. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  426. local Particle = Create("ParticleEmitter"){
  427. Parent = Parent,
  428. Color = ColorSequence.new(Color1, Color2),
  429. LightEmission = LightEmission,
  430. Size = Size,
  431. Texture = Texture,
  432. Transparency = Transparency,
  433. ZOffset = ZOffset,
  434. Acceleration = Accel,
  435. Drag = Drag,
  436. LockedToPart = LockedToPart,
  437. VelocityInheritance = VelocityInheritance,
  438. EmissionDirection = EmissionDirection,
  439. Enabled = Enabled,
  440. Lifetime = LifeTime,
  441. Rate = Rate,
  442. Rotation = Rotation,
  443. RotSpeed = RotSpeed,
  444. Speed = Speed,
  445. VelocitySpread = VelocitySpread,
  446. }
  447. return Particle
  448. end;
  449. };
  450.  
  451. CreateTemplate = {
  452.  
  453. };
  454. }
  455.  
  456. function rayCast(Position, Direction, Range, Ignore)
  457. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  458. end
  459.  
  460. function FindNearestTorso(pos)
  461. local list = (game.Workspace:children())
  462. local torso = nil
  463. local dist = 1000
  464. local temp, human, temp2 = nil, nil, nil
  465. for x = 1, #list do
  466. temp2 = list[x]
  467. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  468. temp = temp2:findFirstChild("Torso")
  469. human = temp2:findFirstChild("Humanoid")
  470. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  471. local dohit = true
  472. if dohit == true then
  473. torso = temp
  474. dist = (temp.Position - pos).magnitude
  475. end
  476. end
  477. end
  478. end
  479. return torso, dist
  480. end
  481.  
  482. local BladeHitSounds = {
  483. "199149137",
  484. "199149186",
  485. "199149221",
  486. "199149235",
  487. "199149269",
  488. "199149297"
  489. }
  490.  
  491. local FistHitSounds = {
  492. "199149137",
  493. "199149186",
  494. "199149221",
  495. "199149235",
  496. "199149269",
  497. "199149297"
  498. }
  499.  
  500. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  501. if hit.Parent == nil then
  502. return
  503. end
  504. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  505. for _, v in pairs(hit.Parent:children()) do
  506. if v:IsA("Humanoid") then
  507. h = v
  508. end
  509. end
  510. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  511. warn'No R15 allowed'
  512. hit.Parent:FindFirstChild("Head"):BreakJoints()
  513. end
  514. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  515. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  516. if hit.Parent.DebounceHit.Value == true then
  517. return
  518. end
  519. end
  520. local c = Create("ObjectValue"){
  521. Name = "creator",
  522. Value = game:service("Players").LocalPlayer,
  523. Parent = h,
  524. }
  525. game:GetService("Debris"):AddItem(c, .5)
  526. if HitSound ~= nil and HitPitch ~= nil then
  527. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  528. end
  529. local Damage = math.random(minim, maxim)
  530. local blocked = false
  531. local block = hit.Parent:findFirstChild("Block")
  532. if block ~= nil then
  533. if block.className == "IntValue" then
  534. if block.Value > 0 then
  535. blocked = true
  536. block.Value = block.Value - 1
  537. print(block.Value)
  538. end
  539. end
  540. end
  541. if blocked == false then
  542. h.Health = h.Health - Damage
  543. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  544. else
  545. h.Health = h.Health - (Damage / 2)
  546. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  547. end
  548. if Type == "Knockdown" then
  549. local hum = hit.Parent.Humanoid
  550. hum.PlatformStand = true
  551. coroutine.resume(coroutine.create(function(HHumanoid)
  552. swait(1)
  553. HHumanoid.PlatformStand = false
  554. end), hum)
  555. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  556. local bodvol = Create("BodyVelocity"){
  557. velocity = angle * knockback,
  558. P = 5000,
  559. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  560. Parent = hit,
  561. }
  562. local rl = Create("BodyAngularVelocity"){
  563. P = 3000,
  564. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  565. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  566. Parent = hit,
  567. }
  568. game:GetService("Debris"):AddItem(bodvol, .5)
  569. game:GetService("Debris"):AddItem(rl, .5)
  570. elseif Type == "Normal" then
  571. local vp = Create("BodyVelocity"){
  572. P = 500,
  573. maxForce = Vector3.new(math.huge, 0, math.huge),
  574. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  575. }
  576. if knockback > 0 then
  577. vp.Parent = hit.Parent.Torso
  578. end
  579. game:GetService("Debris"):AddItem(vp, .5)
  580. elseif Type == "Up" then
  581. local bodyVelocity = Create("BodyVelocity"){
  582. velocity = Vector3.new(0, 20, 0),
  583. P = 5000,
  584. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  585. Parent = hit,
  586. }
  587. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  588. elseif Type == "DarkUp" then
  589. coroutine.resume(coroutine.create(function()
  590. for i = 0, 1, 0.1 do
  591. swait()
  592. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  593. end
  594. end))
  595. local bodyVelocity = Create("BodyVelocity"){
  596. velocity = Vector3.new(0, 20, 0),
  597. P = 5000,
  598. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  599. Parent = hit,
  600. }
  601. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  602. elseif Type == "Snare" then
  603. local bp = Create("BodyPosition"){
  604. P = 2000,
  605. D = 100,
  606. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  607. position = hit.Parent.Torso.Position,
  608. Parent = hit.Parent.Torso,
  609. }
  610. game:GetService("Debris"):AddItem(bp, 1)
  611. elseif Type == "Freeze" then
  612. local BodPos = Create("BodyPosition"){
  613. P = 50000,
  614. D = 1000,
  615. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  616. position = hit.Parent.Torso.Position,
  617. Parent = hit.Parent.Torso,
  618. }
  619. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  620. elseif Type == "Frostbite" then
  621. local hum = hit.Parent.Humanoid
  622. hum.PlatformStand = true
  623. coroutine.resume(coroutine.create(function(HHumanoid)
  624. swait(1)
  625. HHumanoid.PlatformStand = false
  626. end), hum)
  627. local BodGy = Create("BodyGyro") {
  628. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  629. P = 20e+003,
  630. Parent = hit.Parent.Torso,
  631. cframe = hit.Parent.Torso.CFrame,
  632. }
  633. hit.Parent.Torso.Anchored = true
  634. coroutine.resume(coroutine.create(function(Part)
  635. swait(1.5)
  636. Part.Anchored = false
  637. end), hit.Parent.Torso)
  638. game:GetService("Debris"):AddItem(BodPos, 3)
  639. game:GetService("Debris"):AddItem(BodGy, 3)
  640. end
  641. local debounce = Create("BoolValue"){
  642. Name = "DebounceHit",
  643. Parent = hit.Parent,
  644. Value = true,
  645. }
  646. game:GetService("Debris"):AddItem(debounce, Delay)
  647. c = Create("ObjectValue"){
  648. Name = "creator",
  649. Value = Player,
  650. Parent = h,
  651. }
  652. game:GetService("Debris"):AddItem(c, .5)
  653. end
  654. end
  655.  
  656. function ShowDamage(Pos, Text, Time, Color)
  657. local Rate = (1 / 30)
  658. local Pos = (Pos or Vector3.new(0, 0, 0))
  659. local Text = (Text or "")
  660. local Time = (Time or 2)
  661. local Color = (Color or Color3.new(1, 0, 1))
  662. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  663. EffectPart.Anchored = true
  664. local BillboardGui = Create("BillboardGui"){
  665. Size = UDim2.new(3, 0, 3, 0),
  666. Adornee = EffectPart,
  667. Parent = EffectPart,
  668. }
  669. local TextLabel = Create("TextLabel"){
  670. BackgroundTransparency = 1,
  671. Size = UDim2.new(1, 0, 1, 0),
  672. Text = Text,
  673. Font = "SciFi",
  674. TextColor3 = Color,
  675. TextScaled = true,
  676. Parent = BillboardGui,
  677. }
  678. game.Debris:AddItem(EffectPart, (Time))
  679. EffectPart.Parent = game:GetService("Workspace")
  680. delay(0, function()
  681. local Frames = (Time / Rate)
  682. for Frame = 1, Frames do
  683. wait(Rate)
  684. local Percent = (Frame / Frames)
  685. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  686. TextLabel.TextTransparency = Percent
  687. end
  688. if EffectPart and EffectPart.Parent then
  689. EffectPart:Destroy()
  690. end
  691. end)
  692. end
  693.  
  694. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  695. for _, c in pairs(workspace:children()) do
  696. local hum = c:findFirstChild("Humanoid")
  697. if hum ~= nil then
  698. local head = c:findFirstChild("Torso")
  699. if head ~= nil then
  700. local targ = head.Position - Part.Position
  701. local mag = targ.magnitude
  702. if mag <= Magnitude and c.Name ~= Player.Name then
  703. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  704. end
  705. end
  706. end
  707. end
  708. end
  709.  
  710. EffectModel = Create("Model"){
  711. Parent = Character,
  712. Name = "Effects",
  713. }
  714.  
  715. Effects = {
  716.  
  717. Block = {
  718. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  719. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  720. prt.Anchored = true
  721. prt.CFrame = cframe
  722. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  723. game:GetService("Debris"):AddItem(prt, 10)
  724. if Type == 1 or Type == nil then
  725. table.insert(Effects, {
  726. prt,
  727. "Block1",
  728. delay,
  729. x3,
  730. y3,
  731. z3,
  732. msh
  733. })
  734. elseif Type == 2 then
  735. table.insert(Effects, {
  736. prt,
  737. "Block2",
  738. delay,
  739. x3,
  740. y3,
  741. z3,
  742. msh
  743. })
  744. elseif Type == 3 then
  745. table.insert(Effects, {
  746. prt,
  747. "Block3",
  748. delay,
  749. x3,
  750. y3,
  751. z3,
  752. msh,
  753. Part
  754. })
  755. elseif Type == 4 then
  756. table.insert(Effects, {
  757. prt,
  758. "Block2Fire",
  759. delay,
  760. x3,
  761. y3,
  762. z3,
  763. msh
  764. })
  765. end
  766. end
  767.  
  768. },
  769.  
  770. Cylinder = {
  771. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  772. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  773. prt.Anchored = true
  774. prt.CFrame = cframe
  775. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  776. game:GetService("Debris"):AddItem(prt, 10)
  777. table.insert(Effects, {
  778. prt,
  779. "Cylinder",
  780. delay,
  781. x3,
  782. y3,
  783. z3,
  784. msh
  785. })
  786. end
  787.  
  788. },
  789.  
  790. Sphere = {
  791. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  792. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  793. prt.Anchored = true
  794. prt.CFrame = cframe
  795. if parent == nil then
  796. prt.Parent = workspace
  797. else
  798. prt.Parent = parent
  799. end
  800. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  801. game:GetService("Debris"):AddItem(prt, 10)
  802. table.insert(Effects, {
  803. prt,
  804. "Cylinder",
  805. delay,
  806. x3,
  807. y3,
  808. z3,
  809. msh
  810. })
  811. end
  812. },
  813.  
  814. Blood = {
  815. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  816. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  817. prt.Anchored = true
  818. prt.CFrame = cframe
  819. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  820. game:GetService("Debris"):AddItem(prt, 10)
  821. table.insert(Effects, {
  822. prt,
  823. "Blood",
  824. delay,
  825. x3,
  826. y3,
  827. z3,
  828. msh
  829. })
  830. end
  831. },
  832.  
  833. Head = {
  834. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  835. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  836. prt.Anchored = true
  837. prt.CFrame = cframe
  838. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  839. game:GetService("Debris"):AddItem(prt, 10)
  840. table.insert(Effects, {
  841. prt,
  842. "Cylinder",
  843. delay,
  844. x3,
  845. y3,
  846. z3,
  847. msh
  848. })
  849. end
  850. },
  851.  
  852. Fire = {
  853. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  854. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  855. prt.Anchored = true
  856. prt.CFrame = cframe
  857. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  858. game:GetService("Debris"):AddItem(prt, 10)
  859. table.insert(Effects, {
  860. prt,
  861. "Fire",
  862. delay,
  863. 1,
  864. 1,
  865. 1,
  866. msh
  867. })
  868. end;
  869. };
  870.  
  871. Ring = {
  872. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, par)
  873. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  874. prt.Anchored = true
  875. if par ~= nil then
  876. prt.Parent = par
  877. end
  878. prt.CFrame = cframe * CFrame.new(x3, y3, z3)
  879. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  880. game:GetService("Debris"):AddItem(prt, 10)
  881. table.insert(Effects, {
  882. prt,
  883. "Cylinder",
  884. delay,
  885. x3,
  886. y3,
  887. z3,
  888. msh
  889. })
  890. end
  891. },
  892.  
  893. Blast = {
  894. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  895. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  896. prt.Anchored = true
  897. prt.CFrame = cframe
  898. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  899. game:GetService("Debris"):AddItem(prt, 10)
  900. table.insert(Effects, {
  901. prt,
  902. "Block4",
  903. delay,
  904. x3,
  905. y3,
  906. z3,
  907. msh,
  908. Part
  909. })
  910. end
  911. },
  912.  
  913. Wave = {
  914. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  915. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  916. prt.Anchored = true
  917. prt.CFrame = cframe
  918. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  919. game:GetService("Debris"):AddItem(prt, 10)
  920. table.insert(Effects, {
  921. prt,
  922. "Cylinder",
  923. delay,
  924. x3,
  925. y3,
  926. z3,
  927. msh
  928. })
  929. end
  930. },
  931.  
  932. Elec = {
  933. Create = function(cff, x, y, z)
  934. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Medium blue"), "Part", Vector3.new(1, 1, 1))
  935. prt.Anchored = true
  936. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  937. prt.CFrame = CFrame.new(prt.Position)
  938. game:GetService("Debris"):AddItem(prt, 10)
  939. local xval = math.random() / 9
  940. local yval = math.random() / 9
  941. local zval = math.random() / 9
  942. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  943. local eul1 = math.random(-50, 50)
  944. local eul2 = math.random(-50, 50)
  945. local eul3 = math.random(-50, 50)
  946. local euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  947. local euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  948. Effects[#Effects + 1] = {
  949. prt,
  950. "Elec",
  951. .05,
  952. x,
  953. y,
  954. z,
  955. xval,
  956. yval,
  957. zval,
  958. msh,
  959. euld,
  960. euld2
  961. }
  962. end
  963. },
  964.  
  965. Break = {
  966. Create = function(brickcolor, cframe, x1, y1, z1)
  967. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  968. prt.Anchored = true
  969. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  970. game:GetService("Debris"):AddItem(prt, 10)
  971. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  972. local num = math.random(10, 50) / 1000
  973. table.insert(Effects, {
  974. prt,
  975. "Shatter",
  976. num,
  977. prt.CFrame,
  978. math.random() - math.random(),
  979. 0,
  980. math.random(50, 100) / 100
  981. })
  982. end
  983. },
  984.  
  985. Ice = {
  986. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  987. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  988. prt.Anchored = true
  989. prt.CFrame = cframe
  990. msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  991. game:GetService("Debris"):AddItem(prt, 10)
  992. for i = 1, 5 do
  993. Effects.Break.Create(BrickColor.new(brickcolor), prt.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  994. end
  995. for i = 1, 15 do
  996. local freezepart = CFuncs.Part.Create(EffectModel, "Neon", 0.5, 0.5, BrickColor.new("Bright blue"), "Ice Part", Vector3.new(math.random(1, 2) + math.random(), math.random(1, 2) + math.random(), math.random(1, 2) + math.random()))
  997. freezepart.Anchored = true
  998. freezepart.CanCollide = true
  999. freezepart.CFrame = cframe * CFrame.new(math.random(-300, 300) / 100, 4, math.random(-300, 300) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1000. game:GetService("Debris"):AddItem(freezepart, 10)
  1001. end
  1002. table.insert(Effects, {
  1003. prt,
  1004. "Ice",
  1005. delay,
  1006. msh,
  1007. 1,
  1008. .2
  1009. })
  1010. end
  1011. },
  1012.  
  1013. Ice = {
  1014. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1015. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2))
  1016. prt.Anchored = true
  1017. prt.CFrame = cframe
  1018. msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1019. game:GetService("Debris"):AddItem(prt, 10)
  1020. for i = 1, 5 do
  1021. Effects.Break.Create(BrickColor.new(brickcolor), prt.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1022. end
  1023. for i = 1, 15 do
  1024. local freezepart = CFuncs.Part.Create(EffectModel, "Neon", 0.5, 0.5, BrickColor.new("Bright blue"), "Ice Part", Vector3.new(math.random(1, 2) + math.random(), math.random(1, 2) + math.random(), math.random(1, 2) + math.random()))
  1025. freezepart.Anchored = true
  1026. freezepart.CanCollide = true
  1027. freezepart.CFrame = cframe * CFrame.new(math.random(-300, 300) / 100, 1, math.random(-300, 300) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1028. game:GetService("Debris"):AddItem(freezepart, 10)
  1029. end
  1030. table.insert(Effects, {
  1031. prt,
  1032. "Ice",
  1033. delay,
  1034. msh,
  1035. 1,
  1036. .2
  1037. })
  1038. end
  1039. },
  1040.  
  1041.  
  1042. Lightning = {
  1043. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1044. local magz = (p0 - p1).magnitude
  1045. local curpos = p0
  1046. local trz = {
  1047. -ofs,
  1048. ofs
  1049. }
  1050. for i = 1, tym do
  1051. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1052. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1053. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1054. li.Material = "Neon"
  1055. if tym == i then
  1056. local magz2 = (curpos - p1).magnitude
  1057. li.Size = Vector3.new(th, th, magz2)
  1058. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1059. table.insert(Effects, {
  1060. li,
  1061. "Disappear",
  1062. last
  1063. })
  1064. else
  1065. do
  1066. do
  1067. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1068. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1069. game.Debris:AddItem(li, 10)
  1070. table.insert(Effects, {
  1071. li,
  1072. "Disappear",
  1073. last
  1074. })
  1075. end
  1076. end
  1077. end
  1078. end
  1079. end
  1080. };
  1081.  
  1082. EffectTemplate = {
  1083.  
  1084. };
  1085.  
  1086. }
  1087.  
  1088. function attackone()
  1089. attack = true
  1090. local con = Partasd.Touched:connect(function(hit)
  1091. Damage(Partasd, hit, 5, 15, math.random(1, 5), "Freeze", RootPart, 3, "rbxassetid://165586617", 1)
  1092. end)
  1093. for i = 0, 1, 0.1 do
  1094. swait()
  1095. PlayAnimationFromTable({
  1096. CFrame.new(-0, -0.0311926901, -0.146723211, 1, 0, 0, 0, 0.978152692, 0.207911834, 0, -0.207911834, 0.978152692) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1097. CFrame.new(0, 1.50149047, 0.0602020621, 1, 0, 0, 0, 0.978152692, -0.207911834, 0, 0.207911834, 0.978152692) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1098. CFrame.new(0.83495003, 0.408709824, -1.22320485, 0.965927601, 0.258813143, -1.77656875e-06, -0.0270549022, 0.100967199, -0.994528294, -0.257396489, 0.960641026, 0.104529783) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1099. CFrame.new(-0.909812927, 0.312658548, -1.07226956, 0.891005993, -0.453992844, 1.05258391e-06, 0.0710213408, 0.139384031, -0.987693906, 0.448405564, 0.880040228, 0.156435117) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1100. CFrame.new(0.5, -1.90433145, -0.510363102, 1, 0, 0, 0, 0.978154302, -0.207911506, 0, 0.207912177, 0.978151441) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1101. CFrame.new(-0.5, -1.95633018, -0.265828967, 1, 0, 0, 0, 0.9945333, 0.104532301, 0, -0.104532301, 0.9945333) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1102. }, .3, false)
  1103. moter.C0 = clerp(moter.C0, CFrame.new(-0.625898182, -0.744389057, -0.167954341, 0.970404863, -0.205501497, 0.12682575, 0.234138906, 0.929239333, -0.285829723, -0.0591136739, 0.307065904, 0.949855506) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1104. end
  1105. attack = false
  1106. con:Disconnect()
  1107. end
  1108.  
  1109. function attacktwo()
  1110. attack = true
  1111. local con = RightLeg.Touched:connect(function(hit)
  1112. Damage(Torso, hit, 5, 15, math.random(1, 5), "Freeze", RootPart, 3, "rbxassetid://165586617", 1)
  1113. end)
  1114. for i = 0, 1, 0.1 do
  1115. swait()
  1116. PlayAnimationFromTable({
  1117. CFrame.new(5.68640061e-28, -0.100401424, -0.0206149407, 1, -1.41363874e-27, 1.33285939e-26, -1.15615454e-26, 0.866020977, -0.499997437, 3.95818848e-26, 0.500000358, 0.866026044) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1118. CFrame.new(7.21837927e-27, 1.60966909, -0.21271807, 1, -1.15615454e-26, 3.95818848e-26, -1.41363874e-27, 0.866020977, 0.500000358, 1.33285939e-26, -0.499997437, 0.866026044) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1119. CFrame.new(1.62742758, 0.10045746, -0.397512674, 0.750146687, -0.578615665, -0.320130914, 0.276773095, 0.714397371, -0.642677784, 0.600563645, 0.393499166, 0.696048021) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1120. CFrame.new(-1.5, -0.0447774269, -0.205050975, 1, -7.02780403e-26, -2.10026327e-26, 7.71442856e-26, 0.99452281, -0.104528129, 8.15871503e-26, 0.104528427, 0.99452281) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1121. CFrame.new(0.5, -1.60638881, -1.17926407, 1, 6.3411795e-26, 4.42266978e-26, 1.87812004e-26, 0.454001248, -0.891004682, -2.34260134e-26, 0.891004682, 0.454001248) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1122. CFrame.new(-0.5, -1.7347858, 0.794443369, 1, -8.27988406e-27, 3.63507105e-26, -1.53480778e-26, 0.669130623, 0.743146777, 2.0598736e-26, -0.743147254, 0.669130206) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1123. }, .3, false)
  1124. end
  1125. con:Disconnect()
  1126. attack = false
  1127. end
  1128.  
  1129. function attackthree()
  1130. attack = true
  1131. local con = Partasd.Touched:connect(function(hit)
  1132. Damage(Torso, hit, 5, 15, math.random(1, 5), "Freeze", RootPart, 3, "rbxassetid://165586617", 1)
  1133. end)
  1134. for i = 0, 1, 0.1 do
  1135. swait()
  1136. PlayAnimationFromTable({
  1137. CFrame.new(1.36660414e-26, -0.438264102, -0.768995404, 1, 1.81753553e-27, -1.53480778e-26, 9.39060022e-27, 0.777141631, 0.629316092, 1.53480778e-26, -0.629319787, 0.777146161) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1138. CFrame.new(4.08378808e-28, 1.42232943, 0.211152077, 1, 9.39060022e-27, 1.53480778e-26, 1.81753553e-27, 0.777141631, -0.629319787, -1.53480778e-26, 0.629316092, 0.777146161) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1139. CFrame.new(0.658604622, 1.36145651, -1.2890116, 0.855471492, 0.313976824, -0.411810338, -0.249102861, -0.447677076, -0.858798623, -0.454000711, 0.837258399, -0.30476293) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1140. CFrame.new(-1.5, 0.0687873662, 0.661302567, 1, 7.67403889e-27, -4.80908467e-26, 2.84747232e-26, 0.707113862, 0.707099438, 4.18033171e-26, -0.707099378, 0.707113922) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1141. CFrame.new(0.5, -1.69762945, -0.385198593, 1, 1.25208003e-26, 7.9365718e-26, -4.62461817e-26, 0.891008437, 0.453986675, -6.28059498e-26, -0.453986794, 0.891008139) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1142. CFrame.new(-0.5, -1.3829546, -0.773760557, 1, 9.34011312e-27, 1.53480778e-26, 1.81753553e-27, 0.777141511, -0.629319787, -1.53480778e-26, 0.629316032, 0.777146161) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1143. }, .3, false)
  1144. end
  1145. con:Disconnect()
  1146. attack = false
  1147. end
  1148.  
  1149. function attackfour()
  1150. attack = true
  1151. local con = Partasd.Touched:connect(function(hit)
  1152. Damage(Partasd, hit, 5, 15, math.random(1, 5), "Freeze", RootPart, 3, "rbxassetid://165586617", 1)
  1153. end)
  1154. for i = 0, 1, 0.1 do
  1155. swait()
  1156. PlayAnimationFromTable({
  1157. CFrame.new(-0, -0.0311926901, -0.146723211, 1, 0, 0, 0, 0.978152692, 0.207911834, 0, -0.207911834, 0.978152692) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1158. CFrame.new(0, 1.50149047, 0.0602020621, 1, 0, 0, 0, 0.978152692, -0.207911834, 0, 0.207911834, 0.978152692) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1159. CFrame.new(0.83495003, 0.408709824, -1.22320485, 0.965927601, 0.258813143, -1.77656875e-06, -0.0270549022, 0.100967199, -0.994528294, -0.257396489, 0.960641026, 0.104529783) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1160. CFrame.new(-0.909812927, 0.312658548, -1.07226956, 0.891005993, -0.453992844, 1.05258391e-06, 0.0710213408, 0.139384031, -0.987693906, 0.448405564, 0.880040228, 0.156435117) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1161. CFrame.new(0.5, -1.90433145, -0.510363102, 1, 0, 0, 0, 0.978154302, -0.207911506, 0, 0.207912177, 0.978151441) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1162. CFrame.new(-0.5, -1.95633018, -0.265828967, 1, 0, 0, 0, 0.9945333, 0.104532301, 0, -0.104532301, 0.9945333) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1163. }, .3, false)
  1164. moter.C0 = clerp(moter.C0, CFrame.new(-0.625898182, -0.744389057, -0.167954341, 0.970404863, -0.205501497, 0.12682575, 0.234138906, 0.929239333, -0.285829723, -0.0591136739, 0.307065904, 0.949855506) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1165. end
  1166. attack = false
  1167. con:Disconnect()
  1168. end
  1169.  
  1170. function skill1()
  1171. attack = true
  1172. Humanoid.WalkSpeed = 0
  1173. for i = 0, 5, 0.1 do
  1174. swait()
  1175. PlayAnimationFromTable({
  1176. CFrame.new(0, -0.0311911274, -0.146716028, 1, 0, -0, 0, 0.987690628, -0.156436294, 0, 0.156436279, 0.987690628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1177. CFrame.new(0, 1.5622102, -0.156736672, 1, 0, 0, 0, 0.965926528, 0.25881654, -0, -0.25881654, 0.965926588) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1178. CFrame.new(1.05329168, 1.92825305, 0.555252314, 0.982097268, 0.136903912, -0.129401922, 0.18605271, -0.812562346, 0.552384496, -0.0295241121, -0.566570461, -0.823486269) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1179. CFrame.new(-1.03332734, 1.69398928, 0.850638986, 0.980867624, -0.159983292, 0.110925272, -0.189068824, -0.647067964, 0.738618016, -0.0463903509, -0.74545908, -0.66493541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1180. CFrame.new(0.5, -1.92163706, 0.452907205, 1, 0, 0, 0, 0.838675201, 0.544642687, -0, -0.544642687, 0.838675201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1181. CFrame.new(-0.5, -1.92165124, 0.452913225, 1, 0, 0, 0, 0.891013384, 0.453997493, -0, -0.453997523, 0.891013384) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1182. }, .3, false)
  1183. moter.C0 = clerp(moter.C0, CFrame.new(-0.966848552, -0.160532862, 0.228020072, -0.799804866, -0.139383852, -0.583855391, -0.282280117, 0.945744336, 0.16090855, 0.529748499, 0.29350552, -0.795755029) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1184. end
  1185. coroutine.wrap(function()
  1186. swait(10)
  1187. MagnitudeDamage(Partasd, 25, 40, 50, 2, "Frostbite", "", 1)
  1188. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=165969964", Partasd, 1.5, 1)
  1189. Effects.Block.Create(BrickColor.new("Light blue"), Partasd.CFrame, 50, 50, 50, 6, 6, 6, 0.04, 1)
  1190. Effects.Block.Create(BrickColor.new("Steel blue"), Partasd.CFrame, 60, 60, 60, 8, 8, 8, 0.04, 1)
  1191. Effects.Wave.Create(BrickColor.new("Light blue"), RootPart.CFrame * CFrame.new(0,0,-8), 1, 1, 1, 3, 1, 3, 0.06)
  1192. end)()
  1193. for i = 0, 5, 0.1 do
  1194. swait()
  1195. PlayAnimationFromTable({
  1196. CFrame.new(-0.149997711, -1.36527741, -1.55672741, 1, 0, 0, 0, 0.309017628, 0.951058924, 0, -0.951058924, 0.309017628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1197. CFrame.new(0, 1.56221592, -0.156743318, 1, 0, 0, 0, 0.965925872, 0.258818835, 0, -0.258818835, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1198. CFrame.new(1.1072768, 1.41070652, -0.910772085, 0.982096434, 0.106389619, 0.155460805, 0.186052263, -0.418482602, -0.888963938, -0.0295189098, 0.901971996, -0.430784285) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1199. CFrame.new(-1.19528627, 1.23008049, -0.682659924, 0.98086983, -0.0752360299, -0.179554939, -0.189071432, -0.587939084, -0.786500096, -0.0463941284, 0.805401444, -0.590913653) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1200. CFrame.new(0.5, -1.86413705, -0.0940746069, 1, 0, 0, 0, 0.99452424, -0.104528487, 0, 0.104528487, 0.99452424) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1201. CFrame.new(-0.5, -1.75337934, -0.174943119, 1, 0, 0, 0, 0.965927243, -0.258813977, 0, 0.258813977, 0.965927243) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1202. }, .3, false)
  1203. moter.C0 = clerp(moter.C0, CFrame.new(-1.13038063, -0.48920548, -0.459780931, -0.98876375, 0.0874563754, 0.121234626, 0.0125814602, 0.856811523, -0.515476167, -0.14895691, -0.508158803, -0.848284543) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1204. end
  1205. Humanoid.WalkSpeed = 16
  1206. attack = false
  1207. end
  1208.  
  1209. function skill2()
  1210. attack = true
  1211. Humanoid.WalkSpeed = 0
  1212. for i = 0, 5, 0.1 do
  1213. swait()
  1214. PlayAnimationFromTable({
  1215. CFrame.new(-0, -0.0311926901, -0.146723211, 1, 0, 0, 0, 0.978152692, 0.207911834, 0, -0.207911834, 0.978152692) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1216. CFrame.new(0, 1.50149047, 0.0602020621, 1, 0, 0, 0, 0.978152692, -0.207911834, 0, 0.207911834, 0.978152692) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1217. CFrame.new(1.40029514, 0.578953743, 0.396665215, -0.809017777, -0.587784946, -1.30619619e-05, 0.0614506975, -0.0845576823, -0.994524956, 0.584565818, -0.804588497, 0.104528502) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1218. CFrame.new(-0.909812927, 0.312658548, -1.07226956, 0.891005993, -0.453992844, 1.05258391e-06, 0.0710213408, 0.139384031, -0.987693906, 0.448405564, 0.880040228, 0.156435117) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1219. CFrame.new(0.5, -1.87314606, -0.657079875, 1, 0, 0, 0, 0.978154302, -0.207911506, 0, 0.207912177, 0.978151441) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1220. CFrame.new(-0.5, -1.86733031, -0.375741601, 1, 0, 0, 0, 0.9945333, 0.104532301, 0, -0.104532301, 0.9945333) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1221. }, .3, false)
  1222. moter.C0 = clerp(moter.C0, CFrame.new(0.0356832147, -0.591527522, -0.194915205, 0.922128558, 0.000645011663, 0.386884987, 0.015789628, 0.99910295, -0.0393004417, -0.386562973, 0.0423487574, 0.921290874) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1223. end
  1224. for i = 0, 1, 0.1 do
  1225. swait()
  1226. PlayAnimationFromTable({
  1227. CFrame.new(0.380275726, -1.16155326, -1.22301888, 0.818054378, -0.0426165462, 0.573561132, -0.399712622, 0.674930334, 0.620248556, -0.413545012, -0.736654043, 0.535089493) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1228. CFrame.new(-0.0185874477, 1.49706089, -0.155202404, 0.84537071, 0.081343472, -0.527951121, 0.0552823916, 0.969709098, 0.237926483, 0.531312823, -0.230322272, 0.815266013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1229. CFrame.new(1.44624841, 0.118565023, -0.854725659, 0.784379125, -0.551187515, -0.284503281, -0.0599613413, 0.38914156, -0.919224501, 0.617377162, 0.738079488, 0.272184521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1230. CFrame.new(-1.65823126, 0.311488658, 0.358177722, 0.929624379, 0.352039218, 0.108936109, -0.359661639, 0.802370429, 0.476282954, 0.0802631453, -0.481944382, 0.872518003) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1231. CFrame.new(0.562377393, -1.89892316, 0.633291006, 0.991342247, -0.13108781, 0.00760322809, 0.111538649, 0.871235728, 0.478018522, -0.0692897439, -0.473031759, 0.878313959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1232. CFrame.new(-0.104497246, -0.582074642, -1.01096785, 0.910355747, -0.292604744, -0.292652547, 0.0250441134, 0.744826615, -0.666792631, 0.413082123, 0.599690557, 0.685377479) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1233. }, .4, false)
  1234. end
  1235. Effects.Block.Create(BrickColor.new("Pastel light blue"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 5, 5, 5, 4, 4, 4, .06)
  1236. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=188959311", RightArm, 1.4, 1)
  1237. ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = Mouse.Hit.p,Color = Color3.new(0, 1, 0),})
  1238. coroutine.resume(coroutine.create(function()
  1239. MagnitudeDamage(ref, 24, 1, 1, 2, "Freeze", "", 1)
  1240. Effects.Block.Create(BrickColor.new("Cyan"), ref.CFrame, 120, 120, 120, -.1, -.1, -.1, .05)
  1241. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=199145761", ref, 1.4, 1)
  1242. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=199145793", ref, 1.4, 1)
  1243. for i = 1, 50 do
  1244. swait()
  1245. Effects.Block.Create(BrickColor.new("Cyan"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, -.1, -.1, -.1, .08)
  1246. Effects.Block.Create(BrickColor.new("Cyan"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, -.1, -.1, -.1, .08)
  1247. Effects.Block.Create(BrickColor.new("Cyan"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, -.1, -.1, -.1, .08)
  1248. end
  1249.  
  1250. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=199145739", ref, 1.5, .9)
  1251. Effects.Block.Create(BrickColor.new("Cyan"), ref.CFrame, 5, 5, 5, 15, 15, 15, .03)
  1252. Effects.Block.Create(BrickColor.new("Cyan"), ref.CFrame, 5, 5, 5, 15, 15, 15, .03)
  1253. Effects.Sphere.Create(BrickColor.new("Cyan"), ref.CFrame, 5, 5, 5, 15, 15, 15, .03)
  1254. MagnitudeDamage(ref, 45, 40, 55, 50, "Freeze", "848764845", 1.6)
  1255. swait(50)
  1256. ref:Remove() -- still lazy to use debris
  1257. end))
  1258. attack = false
  1259. Humanoid.WalkSpeed = 16
  1260. end
  1261.  
  1262.  
  1263. SlashEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) -- lazy
  1264.  
  1265. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1266. prt.Anchored = true
  1267. prt.CFrame = cframe
  1268. msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=448386996", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1269. game:GetService("Debris"):AddItem(prt, 2)
  1270. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  1271.  
  1272. for i = 0, 1, delay do
  1273. swait()
  1274. Part.Transparency = i
  1275. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1276. end
  1277. Part.Parent = nil
  1278. end
  1279. ), prt, msh, (math.random(0, 1) + math.random()) / 5)
  1280. end
  1281.  
  1282. function skill3()
  1283. attack = true
  1284. Effects.Block.Create(BrickColor.new("Steel blue"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 3, 3, 3, 4, 4, 4, .05)
  1285.  
  1286. ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),CFrame = RootPart.CFrame,Color = Color3.new(0, 1, 0),})
  1287. coroutine.resume(coroutine.create(function()
  1288. for i = 1, 50 do
  1289. swait()
  1290. ref.CFrame = ref.CFrame * CFrame.new(0,0,-2)
  1291. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=863313385", ref, 1, 1.2)
  1292. SlashEffect (BrickColor.new("Steel blue"), ref.CFrame * CFrame.new(math.random(-6, 6),math.random(-6, 6),math.random(-6, 6)) * CFrame.Angles(math.rad(math.random(-360, 360)),math.rad(math.random(-360, 360)),math.rad(math.random(-360, 360))), 0.002, 0.08, 0.08, 0, 0, 0, .1)
  1293. SlashEffect (BrickColor.new("Light blue"), ref.CFrame * CFrame.new(math.random(-6, 6),math.random(-6, 6),math.random(-6, 6)) * CFrame.Angles(math.rad(math.random(-360, 360)),math.rad(math.random(-360, 360)),math.rad(math.random(-360, 360))), 0.002, 0.08, 0.08, 0, 0, 0, .1)
  1294. SlashEffect (BrickColor.new("Steel blue"), ref.CFrame * CFrame.new(math.random(-6, 6),math.random(-6, 6),math.random(-6, 6)) * CFrame.Angles(math.rad(math.random(-360, 360)),math.rad(math.random(-360, 360)),math.rad(math.random(-360, 360))), 0.002, 0.08, 0.08, 0, 0, 0, .1)
  1295. SlashEffect (BrickColor.new("Light blue"), ref.CFrame * CFrame.new(math.random(-6, 6),math.random(-6, 6),math.random(-6, 6)) * CFrame.Angles(math.rad(math.random(-360, 360)),math.rad(math.random(-360, 360)),math.rad(math.random(-360, 360))), 0.002, 0.08, 0.08, 0, 0, 0, .1)
  1296. MagnitudeDamage(ref, 12, 10, 20, -10, "Normal", "179515215", 1.5)
  1297. end
  1298. ref:Remove()
  1299. end))
  1300. for i = 0, 5, 0.1 do
  1301. swait()
  1302. PlayAnimationFromTable({
  1303. CFrame.new(0.157197058, -0.0311874803, -0.23497647, 0.45399192, -5.21135392e-12, 0.891007125, 1.08205734e-06, 1, -5.51329435e-07, -0.891007125, 1.21441803e-06, 0.45399192) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1304. CFrame.new(-0.101673231, 1.48117769, -0.0123892166, 0.45399192, 1.08205734e-06, -0.891007125, -5.21135392e-12, 1, 1.21441803e-06, 0.891007125, -5.51329435e-07, 0.45399192) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1305. CFrame.new(1.66380918, 0.451637536, -0.434065849, 0.444374233, -0.892625868, -0.0758543611, -0.0533206537, 0.0581695102, -0.996881783, 0.894254148, 0.447033525, -0.0217463635) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1306. CFrame.new(-1.44104517, -0.0609176718, 0.106971025, 0.98720634, -0.0935819745, -0.129152775, 0.112382345, 0.982748032, 0.146924078, 0.113175273, -0.159556717, 0.98068881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1307. CFrame.new(0.680118144, -1.96881306, -0.130146503, 0.45399192, 1.06878213e-06, -0.891005993, -5.21135392e-12, 1.00000167, 1.29637294e-06, 0.891007125, -5.44565353e-07, 0.453991354) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1308. CFrame.new(-0.565229237, -1.9688046, 0.0680848509, 0.994525194, 2.98385567e-06, -0.104532689, -2.81174425e-06, 1, 1.79388735e-06, 0.104532897, -1.49013908e-06, 0.994523287) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1309. }, .3, false)
  1310. moter.C0 = clerp(moter.C0, CFrame.new(-0.621337175, 1.60682344, 0.359449565, -0.444354892, -0.894262552, 0.053321179, 0.892634511, -0.447014123, -0.0581693351, 0.075853914, 0.0217484962, 0.996881783) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1311. end
  1312.  
  1313. attack = false
  1314. end
  1315.  
  1316. Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
  1317.  
  1318. local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1319. prt.Anchored = true
  1320. prt.CFrame = cframe
  1321. prt.Material = "Neon"
  1322. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1323. game:GetService("Debris"):AddItem(prt, 10)
  1324. coroutine.resume(coroutine.create(function(Part, Mesh)
  1325.  
  1326. for i = 0, 1, delay do
  1327. swait()
  1328. Part.Transparency = i
  1329. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1330. end
  1331. Part.Parent = nil
  1332. end
  1333. ), prt, msh)
  1334. end
  1335.  
  1336. shoottrail = function(Mouse, partt, SpreadAmount, multiply)
  1337.  
  1338. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1339. local MainPos = partt.Position
  1340. local MainPos2 = Mouse.Hit.p + SpreadVectors
  1341. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1342. local speed = 100
  1343. local num = 20
  1344. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=274538143", partt, 1, 1)
  1345. coroutine.resume(coroutine.create(function()
  1346.  
  1347. repeat
  1348. swait()
  1349. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1350. local mag = (MainPos - pos).magnitude
  1351. Laser(BrickColor.new("White"), 0.35, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, 0.15)
  1352. MainPos = MainPos + MouseLook.lookVector * speed
  1353. num = num - 1
  1354. MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
  1355. if hit ~= nil then
  1356. num = 0
  1357. local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1358. refpart.Anchored = true
  1359. refpart.CFrame = CFrame.new(pos)
  1360. game:GetService("Debris"):AddItem(refpart, 2)
  1361. end
  1362. do
  1363. if num <= 0 then
  1364. local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1365. refpart.Anchored = true
  1366. refpart.CFrame = CFrame.new(pos)
  1367. Effects.Block.Create(BrickColor.new('Steel blue'), refpart.CFrame, 10, 10, 10, 5, 5, 5, .1)
  1368. if hit ~= nil then
  1369. MagnitudeDamage(refpart, 5, 5 * multiply, 15 * multiply, 0, "Normal", "231917784", 1)
  1370. end
  1371. game:GetService("Debris"):AddItem(refpart, 0)
  1372. end
  1373. end
  1374. until num <= 0
  1375. end
  1376. ))
  1377. end
  1378.  
  1379. function skill4()
  1380. attack = true
  1381. Humanoid.WalkSpeed = 0
  1382. for i = 0, 7, 0.1 do
  1383. swait()
  1384. PlayAnimationFromTable({
  1385. CFrame.new(0, -1.21642387, -0.48445487, 1, 0, -0, 0, 1.00000477, -1.42678971e-06, 0, 1.02818274e-06, 1.00000477) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1386. CFrame.new(0.00523246732, 1.50179243, 0.00561693311, 0.99862957, 0, 0.0523360372, -0.00547045982, 0.994524479, 0.104382455, -0.0520494655, -0.10452608, 0.993161738) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1387. CFrame.new(0.757302582, 0.0998644829, -0.848484814, 0.965927601, 0.258813143, -1.77656875e-06, -0.0799794272, 0.298489362, -0.951062262, -0.246146604, 0.918656111, 0.309020013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1388. CFrame.new(-0.614716768, 0.0336254239, -0.922593236, 0.891005993, -0.453992844, 1.05258391e-06, 0.16269812, 0.319308817, -0.933585405, 0.423840463, 0.831829309, 0.358370125) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1389. CFrame.new(0.5, -1.10930729, -0.738840759, 1, 0, 0, 0, 0.913552761, 0.40674004, -0, -0.406740397, 0.913552582) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1390. CFrame.new(-0.5, -1.38358128, 0.484469712, 1, 0, 0, 0, -1.300137e-06, 1.00000107, -0, -1.00001204, -3.57255658e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1391. }, .3, false)
  1392. moter.C0 = clerp(moter.C0, CFrame.new(-0.523980558, -0.714774072, -0.117113635, 0.958319068, -0.256007016, 0.12682949, 0.282451689, 0.915712178, -0.285827488, -0.0429658256, 0.309737921, 0.94985491) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1393. end
  1394. for i = 0, 5, 0.1 do
  1395. shoottrail(Mouse, Partasd, 3, 2)
  1396. swait()
  1397. PlayAnimationFromTable({
  1398. CFrame.new(0, -1.21642387, -0.48445487, 1, 0, -0, 0, 1.00000477, -1.42678971e-06, 0, 1.02818274e-06, 1.00000477) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1399. CFrame.new(0.00523246732, 1.50179243, 0.00561693311, 0.99862957, 0, 0.0523360372, -0.00547045982, 0.994524479, 0.104382455, -0.0520494655, -0.10452608, 0.993161738) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1400. CFrame.new(0.777297139, 0.491708279, -0.897333801, 0.965927362, 0.2461458, -0.0799783468, -0.0799779445, -0.0100160697, -0.996748686, -0.2461465, 0.969183207, 0.0100118378) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1401. CFrame.new(-0.6567958, 0.46963197, -1.00147402, 0.891002715, -0.431777805, 0.140293375, 0.162699118, 0.0151868761, -0.986561239, 0.423844486, 0.901854277, 0.0837817937) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1402. CFrame.new(0.5, -1.10930729, -0.738840759, 1, 0, 0, 0, 0.913552761, 0.40674004, -0, -0.406740397, 0.913552582) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1403. CFrame.new(-0.5, -1.38358128, 0.484469712, 1, 0, 0, 0, -1.300137e-06, 1.00000107, -0, -1.00001204, -3.57255658e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1404. }, .3, false)
  1405. moter.C0 = clerp(moter.C0, CFrame.new(-0.456468374, -0.648244858, 0.210629404, 0.958318949, -0.256006896, 0.126827985, 0.255350649, 0.966605246, 0.0216851439, -0.12814416, 0.0116043286, 0.991687775) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1406. end
  1407. Humanoid.WalkSpeed = 16
  1408. attack = false
  1409. end
  1410.  
  1411. Mouse.Button1Down:connect(function()
  1412. if attack == false and attacktype == 1 then
  1413. attacktype = 2
  1414. attackone()
  1415. elseif attack == false and attacktype == 2 then
  1416. attacktype = 3
  1417. attacktwo()
  1418. elseif attack == false and attacktype == 3 then
  1419. attacktype = 4
  1420. attackthree()
  1421. elseif attack == false and attacktype == 4 then
  1422. attacktype = 1
  1423. attackfour()
  1424. end
  1425. end)
  1426.  
  1427. Mouse.KeyDown:connect(function(k)
  1428. k = k:lower()
  1429. if attack == false and k == 'z' then
  1430. skill1()
  1431. elseif attack == false and k == 'x' then
  1432. skill2()
  1433. elseif attack == false and k == 'c' then
  1434. skill3()
  1435. elseif attack == false and k == 'v' then
  1436. skill4()
  1437. end
  1438. end)
  1439.  
  1440. while true do
  1441. swait()
  1442. for i, v in pairs(Character:GetChildren()) do
  1443. if v:IsA("Part") then
  1444. v.Material = "SmoothPlastic"
  1445. elseif v:IsA("Accessory") then
  1446. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1447. end
  1448. end
  1449. for i, v in pairs(Character:GetChildren()) do
  1450. if v:IsA'Model' then
  1451. for _, c in pairs(v:GetChildren()) do
  1452. if c:IsA'BasePart' then
  1453. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1454. end
  1455. end
  1456. end
  1457. end
  1458. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1459. velocity = RootPart.Velocity.y
  1460. sine = sine + change
  1461. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1462. if RootPart.Velocity.y > 1 and hit == nil then
  1463. Anim = "Jump"
  1464. if attack == false then
  1465. for i = 0, .5, 0.1 do
  1466. swait()
  1467. PlayAnimationFromTable({
  1468. CFrame.new(-0.0568760596, -0.0311879013, -0.804945052, 0.998629451, 0, -0.0523370244, 0, 1, 0, 0.0523370244, 0, 0.998629451) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1469. CFrame.new(-0.101673603, 1.46823525, 0.0358811021, 1.00000036, 3.25962901e-08, 1.40815973e-06, 3.25622779e-07, 0.965928018, -0.258810967, -1.36718154e-06, 0.258810937, 0.965928018) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1470. CFrame.new(1.38548219, -0.0413540229, 0.00696041435, 0.998981893, -0.00833377894, 0.044337444, 0.00173346745, 0.989154696, 0.14686735, -0.0450804159, -0.146640867, 0.988162756) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1471. CFrame.new(-1.39469981, 0.00488333404, 0.290054113, 0.972393334, -0.0284763612, 0.231603771, -0.0507465191, 0.942965209, 0.329000682, -0.227763027, -0.331671119, 0.915487945) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1472. CFrame.new(0.518436551, -1.22804046, -0.207688838, 0.154514432, -0.0244733877, -0.987687349, 0.156438902, 0.987687647, 7.02475633e-09, 0.975526571, -0.154512718, 0.156440601) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1473. CFrame.new(-0.565238714, -1.73103881, -0.00914472342, 1, -1.05053186e-06, 2.74553895e-06, 1.51887093e-07, 0.951056838, 0.30901596, -2.93552876e-06, -0.3090159, 0.951056778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1474. }, .3, false)
  1475. moter.C0 = clerp(moter.C0, CFrame.new(-1.44448996, 0.312556565, -0.309124231, -0.998982847, 0.0450603589, -0.00173346745, 0.00833083503, 0.146641046, -0.989154696, -0.0443176068, -0.98816365, -0.14686735) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1476. end
  1477. end
  1478. elseif RootPart.Velocity.y < -1 and hit == nil then
  1479. Anim = "Fall"
  1480. if attack == false then
  1481. for i = 0, .5, 0.1 do
  1482. swait()
  1483. PlayAnimationFromTable({
  1484. CFrame.new(-0.0542590469, -0.0311879013, -0.854879558, 0.998629451, 0, -0.0523370244, 0, 1, 0, 0.0523370244, 0, 0.998629451) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1485. CFrame.new(-0.00166727754, 1.48375869, -0.118980706, 1.00000048, -3.0733645e-07, 1.03935599e-06, 8.0456708e-08, 0.978145897, 0.207920611, -1.09151006e-06, -0.207920581, 0.978145838) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1486. CFrame.new(1.39261281, -0.0440884605, 0.21488598, 0.998981953, -0.0151671199, 0.0424862877, 0.00173389015, 0.954001009, 0.299798459, -0.045079045, -0.299419552, 0.953055978) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1487. CFrame.new(-1.39612591, 0.0520263016, 0.323473662, 0.972393453, -0.0525294542, 0.227358475, -0.0507465228, 0.903409839, 0.42576465, -0.227763042, -0.425548375, 0.875804007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1488. CFrame.new(0.524163365, -1.77908826, -0.12147145, 0.154514432, -0.0244733877, -0.987687349, 0.156438902, 0.987687647, 7.02475633e-09, 0.975526571, -0.154512718, 0.156440601) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1489. CFrame.new(-0.565239429, -0.970196009, -0.206355304, 1, -1.05053186e-06, 2.74553895e-06, 1.51887093e-07, 0.951056838, 0.30901596, -2.93552876e-06, -0.3090159, 0.951056778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1490. }, .3, false)
  1491. moter.C0 = clerp(moter.C0, CFrame.new(-1.42940915, 0.373221666, -0.426733404, -0.997962713, 0.0636484176, -0.0044064601, 0.0203510914, 0.252111256, -0.967484415, -0.0604679026, -0.965602875, -0.252893031) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1492. end
  1493. end
  1494. elseif Torsovelocity < 1 and hit ~= nil then
  1495. Anim = "Idle"
  1496. if attack == false then
  1497. change = 1
  1498. for i = 0, .05, 0.1 do
  1499. swait()
  1500. PlayAnimationFromTable({
  1501. CFrame.new(0, -0.0235497504, -0.449390262, 1, 0, 0, 0, 0.965931118, 0.258820832, 0, -0.258820832, 0.965931118) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0),
  1502. CFrame.new(0, 1.48820806, 0.139288619, 1, 0, 0, 0, 0.965931118, -0.258820832, 0, 0.258820832, 0.965931118) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0), CFrame.new(0.318551362, 0.553870678, -0.68184799, 0.453976482, 0.889792502, 0.0466389619, 0.185253605, -0.0430581644, -0.981752694, -0.871547878, 0.45433253, -0.184384614) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0),
  1503. CFrame.new(-1.40000153, -0.155816436, -0.23758316, 1, 0, -0, 0, 0.93358618, -0.358370602, 0, 0.358370602, 0.93358618) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0),
  1504. CFrame.new(0.5, -2.02541924, -0.0774717182, 1, 0, 0, 0, 1.0000056, -1.16229057e-06, 0, 1.1920929e-06, 1.0000056) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1505. CFrame.new(-0.5, -1.83716846, -0.911562979, 1, 0, -0, 0, 0.933585227, -0.358369648, 0, 0.358369529, 0.933585167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1506. }, .3, false)
  1507. moter.C0 = clerp(moter.C0, CFrame.new(-0.0685688853, -0.416084528, -0.138034016, 0.474514991, -0.878875673, 0.0492768921, 0.879382074, 0.470804095, -0.0710349008, 0.0392304286, 0.0770397335, 0.996260703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1508. end
  1509. end
  1510. elseif Torsovelocity > 2 and hit ~= nil then
  1511. Anim = "Walk"
  1512. if attack == false then
  1513. for i = 0, .05, 0.1 do
  1514. swait()
  1515. PlayAnimationFromTable({
  1516. CFrame.new(0, -0.0235511959, -0.449386686, 1, 0, 0, 0, 0.933580279, 0.358368456, 0, -0.358368456, 0.933580279) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1517. CFrame.new(0, 1.53716302, 0.107363939, 1, 0, 0, 0, 0.933580279, -0.358368456, 0, 0.358368456, 0.933580279) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1518. CFrame.new(0.226491123, 0.564061582, -0.839661896, 0.631394506, 0.77546078, -0.0010701546, 0.15121147, -0.124472253, -0.980633974, -0.760576487, 0.619004607, -0.195849717) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1519. CFrame.new(-1.40000153, -0.130127922, -0.25256753, 1, 0, -0, 0, 0.891007006, -0.453991354, 0, 0.453991354, 0.891007006) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1520. CFrame.new(0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .3 * math.cos((sine) / .1), 0 + 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 - 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)),
  1521. CFrame.new(-0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .3 * math.cos((sine) / .1), 0 - 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 + 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)),
  1522. }, .3, false)
  1523. moter.C0 = clerp(moter.C0, CFrame.new(0.118149877, -0.633958042, -0.0917806476, 0.648452044, -0.749194622, 0.135028437, 0.761191905, 0.640573204, -0.101323791, -0.0105849635, 0.168485329, 0.985652804) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1524. end
  1525. end
  1526. end
  1527. if #Effects > 0 then
  1528. for e = 1, #Effects do
  1529. if Effects[e] ~= nil then
  1530. local Thing = Effects[e]
  1531. if Thing ~= nil then
  1532. Part = Thing[1]
  1533. Mode = Thing[2]
  1534. Delay = Thing[3]
  1535. IncX = Thing[4]
  1536. IncY = Thing[5]
  1537. IncZ = Thing[6]
  1538. if Thing[2] == "Shoot" then
  1539. Look = Thing[1]
  1540. hit, pos = rayCast(Thing[4], Look, 5, Character)
  1541. mag = (Thing[4] - pos).magnitude
  1542. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(-1.57, 0, 0)
  1543. Thing[4] = Thing[4] + (Look * 5)
  1544. Thing[3] = Thing[3] - 1
  1545. if hit ~= nil then
  1546. print(hit.Parent)
  1547. Thing[3] = 0
  1548. --Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500)
  1549. --MagniDamage(Thing[9], 5, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500)
  1550. end
  1551. if Thing[3] <= 0 then
  1552. if hit == nil then
  1553. Effects.Sphere.Create(BrickColor.new("Crimson"), Thing[9].CFrame, 1, 1, 1, 2, 2, 2, .1)
  1554. CFuncs.Sound.Create("285370517", Thing[9], 1, 1)
  1555. else
  1556. Effects.Wave.Create(BrickColor.new("Crimson"), Thing[9].CFrame * CFrame.fromEulerAnglesXYZ(3.2, 0, 0), .2, .2, .2, .6, .8, .6, .1)
  1557. CFuncs.Sound.Create("285370517", Thing[9], .6, 1)
  1558. CFuncs.Sound.Create("285370545", Thing[9], 1, 1)
  1559. end
  1560. for i = 1, math.random(2, 4) do
  1561. Effects.Break.Create(BrickColor.new("Crimson"), Thing[9].CFrame, math.random(20, 40) / 100, math.random(100, 600) / 100, math.random(20, 40) / 100)
  1562. end
  1563. Thing[9].Transparency = 1
  1564. game:GetService("Debris"):AddItem(Thing[9], 1)
  1565. table.remove(Effects, e)
  1566. end
  1567. end
  1568. if Thing[2] ~= "Shoot" then
  1569. if Thing[1].Transparency <= 1 then
  1570. if Thing[2] == "Block1" then
  1571. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1572. Mesh = Thing[7]
  1573. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1574. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1575. elseif Thing[2] == "Block2" then
  1576. Thing[1].CFrame = Thing[1].CFrame
  1577. Mesh = Thing[7]
  1578. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1579. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1580. elseif Thing[2] == "Block3" then
  1581. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1582. Mesh = Thing[7]
  1583. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1584. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1585. elseif Thing[2] == "Block4" then
  1586. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1587. Mesh = Thing[7]
  1588. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1589. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1590. elseif Thing[2] == "Block2Fire" then
  1591. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1592. Mesh = Thing[7]
  1593. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1594. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1595. if Thing[1].Transparency >= .3 then
  1596. Thing[1].BrickColor = BrickColor.new("Bright red")
  1597. else
  1598. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1599. end
  1600. elseif Thing[2] == "Ice" then
  1601. if Thing[6] <= Thing[5] then
  1602. Thing[6] = Thing[6] + .3
  1603. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 1, 0)
  1604. else
  1605. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1606. end
  1607. elseif Thing[2] == "Shatter" then
  1608. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1609. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1610. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1611. Thing[6] = Thing[6] + Thing[5]
  1612. elseif Thing[2] == "Fire" then
  1613. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1614. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1615. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1616. elseif Thing[2] == "Cylinder" then
  1617. Mesh = Thing[7]
  1618. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1619. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1620. elseif Thing[2] == "Cylinder2" then
  1621. Mesh = Thing[7]
  1622. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1623. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, Thing[8], 0)
  1624. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1625. elseif Thing[2] == "Blood" then
  1626. Mesh = Thing[7]
  1627. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0)
  1628. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1629. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1630. elseif Thing[2] == "Elec" then
  1631. Mesh = Thing[7]
  1632. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1633. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1634. elseif Thing[2] == "Disappear" then
  1635. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1636. end
  1637. else
  1638. Part.Parent = nil
  1639. table.remove(Effects, e)
  1640. end
  1641. end
  1642. end
  1643. end
  1644. end
  1645. end
  1646. end
Add Comment
Please, Sign In to add comment