Advertisement
memberhero

Frost Wheel

Apr 18th, 2018
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 99.39 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 = Instance.new("BindableEvent", script)
  98. ArtificialHB.Name = "Heartbeat"
  99. script:WaitForChild("Heartbeat")
  100. frame = 1 / 30
  101. tf = 0
  102. allowframeloss = true
  103. tossremainder = false
  104. lastframe = tick()
  105. script.Heartbeat:Fire()
  106. game:GetService("RunService").Heartbeat:connect(function(s, p)
  107.  
  108. tf = tf + s
  109. if frame <= tf then
  110. if allowframeloss then
  111. script.Heartbeat:Fire()
  112. lastframe = tick()
  113. else
  114. for i = 1, math.floor(tf / frame) do
  115. script.Heartbeat:Fire()
  116. end
  117. lastframe = tick()
  118. end
  119. if tossremainder then
  120. tf = 0
  121. else
  122. tf = tf - frame * math.floor(tf / frame)
  123. end
  124. end
  125. end
  126. )
  127. swait = function(num)
  128.  
  129. if num == 0 or num == nil then
  130. ArtificialHB.Event:wait()
  131. else
  132. for i = 0, num do
  133. ArtificialHB.Event:wait()
  134. end
  135. end
  136. end
  137.  
  138.  
  139. --[[
  140. Thanks for using Build-To-Lua by jarredbcv.
  141. ]]--
  142.  
  143. New = function(Object, Parent, Name, Data)
  144. local Object = Instance.new(Object)
  145. for Index, Value in pairs(Data or {}) do
  146. Object[Index] = Value
  147. end
  148. Object.Parent = Parent
  149. Object.Name = Name
  150. return Object
  151. end
  152.  
  153. Permafrost = New("Model",Character,"Permafrost",{})
  154. 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),})
  155. 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),})
  156. 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),})
  157. 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),})
  158. 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),})
  159. 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),})
  160. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.816351712),})
  161. 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),})
  162. 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),})
  163. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.816351712),})
  164. 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),})
  165. 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),})
  166. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.816351712),})
  167. 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),})
  168. 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),})
  169. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.816351712),})
  170. 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),})
  171. 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,})
  172. 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),})
  173. 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),})
  174. 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),})
  175. 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,})
  176. 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),})
  177. 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),})
  178. 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),})
  179. 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),})
  180. 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),})
  181. 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),})
  182. 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),})
  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.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),})
  184. 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),})
  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(-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),})
  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.300239563, -1.16680908, 0.557345331, -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.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),})
  188. 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),})
  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(-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),})
  190. 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),})
  191. 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),})
  192. 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),})
  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.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),})
  194. 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),})
  195. 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),})
  196. 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),})
  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.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),})
  198. 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),})
  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.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),})
  200. 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),})
  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(-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),})
  202. 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),})
  203. 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),})
  204. 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),})
  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(-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),})
  206. 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),})
  207. 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),})
  208. 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),})
  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(-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),})
  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.413452148, -1.16680908, 0.382966161, -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,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),})
  212. 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),})
  213. 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),})
  214. 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),})
  215. 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),})
  216. 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),})
  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(-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),})
  218. 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),})
  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(-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),})
  220. 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),})
  221. 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),})
  222. 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),})
  223. 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),})
  224. 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),})
  225. 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),})
  226. 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),})
  227. 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),})
  228. 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),})
  229. moter = New("Weld",Handlepart,"Weld",{Part0 = RightArm,Part1 = Handlepart,})
  230.  
  231.  
  232. local co1 = 15
  233. local co2 = 8
  234. local co3 = 20
  235. local co5 = 30
  236. local co4 = 32
  237. local cooldown1 = 5
  238. local cooldown2 = 7
  239. local cooldown3 = 3
  240. local cooldown4 = 2
  241. local cooldown5 = 0
  242. local skillcolorscheme = BrickColor.new("Light blue").Color
  243. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  244. makeframe = function(par, trans, pos, size, color)
  245.  
  246. local frame = Instance.new("Frame", par)
  247. frame.BackgroundTransparency = trans
  248. frame.BorderSizePixel = 0
  249. frame.Position = pos
  250. frame.Size = size
  251. frame.BackgroundColor3 = color
  252. return frame
  253. end
  254.  
  255. makelabel = function(par, text)
  256.  
  257. local label = Instance.new("TextLabel", par)
  258. label.BackgroundTransparency = 1
  259. label.Size = UDim2.new(1, 0, 1, 0)
  260. label.Position = UDim2.new(0, 0, 0, 0)
  261. label.TextColor3 = Color3.new(255, 250, 190)
  262. label.TextStrokeTransparency = 0
  263. label.FontSize = Enum.FontSize.Size32
  264. label.Font = Enum.Font.SourceSansLight
  265. label.BorderSizePixel = 0
  266. label.TextScaled = true
  267. label.Text = text
  268. end
  269.  
  270. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  271. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  272. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  273. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  274. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  275. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  276. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  277. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  278. text1 = Instance.new("TextLabel", framesk1)
  279. text1.BackgroundTransparency = 1
  280. text1.Size = UDim2.new(1, 0, 1, 0)
  281. text1.Position = UDim2.new(0, 0, 0, 0)
  282. text1.TextColor3 = Color3.new(255, 250, 190)
  283. text1.TextStrokeTransparency = 0
  284. text1.FontSize = Enum.FontSize.Size18
  285. text1.Font = Enum.Font.SourceSansLight
  286. text1.BorderSizePixel = 0
  287. text1.TextScaled = true
  288. text1.Text = "[Z]\n Severe Frostbite"
  289. text2 = Instance.new("TextLabel", framesk2)
  290. text2.BackgroundTransparency = 1
  291. text2.Size = UDim2.new(1, 0, 1, 0)
  292. text2.Position = UDim2.new(0, 0, 0, 0)
  293. text2.TextColor3 = Color3.new(255, 250, 190)
  294. text2.TextStrokeTransparency = 0
  295. text2.FontSize = Enum.FontSize.Size18
  296. text2.Font = Enum.Font.SourceSansLight
  297. text2.BorderSizePixel = 0
  298. text2.TextScaled = true
  299. text2.Text = "[X]\n Frozen Wind"
  300. text3 = Instance.new("TextLabel", framesk3)
  301. text3.BackgroundTransparency = 1
  302. text3.Size = UDim2.new(1, 0, 1, 0)
  303. text3.Position = UDim2.new(0, 0, 0, 0)
  304. text3.TextColor3 = Color3.new(255, 250, 190)
  305. text3.TextStrokeTransparency = 0
  306. text3.FontSize = Enum.FontSize.Size18
  307. text3.Font = Enum.Font.SourceSansLight
  308. text3.BorderSizePixel = 0
  309. text3.TextScaled = false
  310. text3.Text = "[C]\n Northern Blizzard"
  311. text4 = Instance.new("TextLabel", framesk4)
  312. text4.BackgroundTransparency = 1
  313. text4.Size = UDim2.new(1, 0, 1, 0)
  314. text4.Position = UDim2.new(0, 0, 0, 0)
  315. text4.TextColor3 = Color3.new(255, 250, 190)
  316. text4.TextStrokeTransparency = 0
  317. text4.FontSize = Enum.FontSize.Size18
  318. text4.Font = Enum.Font.SourceSansLight
  319. text4.BorderSizePixel = 0
  320. text4.TextScaled = true
  321. text4.Text = "[V]\n Freezing Hail"
  322.  
  323. function swait(num)
  324. if num == 0 or num == nil then
  325. ArtificialHB.Event:wait()
  326. else
  327. for i = 0, num do
  328. ArtificialHB.Event:wait()
  329. end
  330. end
  331. end
  332.  
  333. function RemoveOutlines(part)
  334. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  335. end
  336.  
  337. CFuncs = {
  338. Part = {
  339. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  340. local Part = Create("Part"){
  341. Parent = Parent,
  342. Reflectance = Reflectance,
  343. Transparency = Transparency,
  344. CanCollide = false,
  345. Locked = true,
  346. BrickColor = BrickColor.new(tostring(BColor)),
  347. Name = Name,
  348. Size = Size,
  349. Material = Material,
  350. }
  351. RemoveOutlines(Part)
  352. return Part
  353. end;
  354. };
  355.  
  356. Mesh = {
  357. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  358. local Msh = Create(Mesh){
  359. Parent = Part,
  360. Offset = OffSet,
  361. Scale = Scale,
  362. }
  363. if Mesh == "SpecialMesh" then
  364. Msh.MeshType = MeshType
  365. Msh.MeshId = MeshId
  366. end
  367. return Msh
  368. end;
  369. };
  370.  
  371. Weld = {
  372. Create = function(Parent, Part0, Part1, C0, C1)
  373. local Weld = Create("Weld"){
  374. Parent = Parent,
  375. Part0 = Part0,
  376. Part1 = Part1,
  377. C0 = C0,
  378. C1 = C1,
  379. }
  380. return Weld
  381. end;
  382. };
  383.  
  384. Sound = {
  385. Create = function(id, par, vol, pit)
  386. coroutine.resume(coroutine.create(function()
  387. local Sound = Create("Sound"){
  388. Volume = vol,
  389. Pitch = pit or 1,
  390. SoundId = "rbxassetid://" .. id,
  391. Parent = par or workspace,
  392. }
  393. Sound:play()
  394. game:GetService("Debris"):AddItem(Sound, 10)
  395. end))
  396. end;
  397. };
  398.  
  399. Decal = {
  400. Create = function(Color, Texture, Transparency, Name, Parent)
  401. local Decal = Create("Decal"){
  402. Color3 = Color,
  403. Texture = "rbxassetid://" .. Texture,
  404. Transparency = Transparency,
  405. Name = Name,
  406. Parent = Parent,
  407. }
  408. return Decal
  409. end;
  410. };
  411.  
  412. BillboardGui = {
  413. Create = function(Parent, Image, Position, Size)
  414. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  415. BillPar.CFrame = CFrame.new(Position)
  416. local Bill = Create("BillboardGui"){
  417. Parent = BillPar,
  418. Adornee = BillPar,
  419. Size = UDim2.new(1, 0, 1, 0),
  420. SizeOffset = Vector2.new(Size, Size),
  421. }
  422. local d = Create("ImageLabel", Bill){
  423. Parent = Bill,
  424. BackgroundTransparency = 1,
  425. Size = UDim2.new(1, 0, 1, 0),
  426. Image = "rbxassetid://" .. Image,
  427. }
  428. return BillPar
  429. end
  430. };
  431.  
  432. ParticleEmitter = {
  433. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  434. local Particle = Create("ParticleEmitter"){
  435. Parent = Parent,
  436. Color = ColorSequence.new(Color1, Color2),
  437. LightEmission = LightEmission,
  438. Size = Size,
  439. Texture = Texture,
  440. Transparency = Transparency,
  441. ZOffset = ZOffset,
  442. Acceleration = Accel,
  443. Drag = Drag,
  444. LockedToPart = LockedToPart,
  445. VelocityInheritance = VelocityInheritance,
  446. EmissionDirection = EmissionDirection,
  447. Enabled = Enabled,
  448. Lifetime = LifeTime,
  449. Rate = Rate,
  450. Rotation = Rotation,
  451. RotSpeed = RotSpeed,
  452. Speed = Speed,
  453. VelocitySpread = VelocitySpread,
  454. }
  455. return Particle
  456. end;
  457. };
  458.  
  459. CreateTemplate = {
  460.  
  461. };
  462. }
  463.  
  464. function rayCast(Position, Direction, Range, Ignore)
  465. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  466. end
  467.  
  468. function FindNearestTorso(pos)
  469. local list = (game.Workspace:children())
  470. local torso = nil
  471. local dist = 1000
  472. local temp, human, temp2 = nil, nil, nil
  473. for x = 1, #list do
  474. temp2 = list[x]
  475. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  476. temp = temp2:findFirstChild("Torso")
  477. human = temp2:findFirstChild("Humanoid")
  478. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  479. local dohit = true
  480. if dohit == true then
  481. torso = temp
  482. dist = (temp.Position - pos).magnitude
  483. end
  484. end
  485. end
  486. end
  487. return torso, dist
  488. end
  489.  
  490. local BladeHitSounds = {
  491. "199149137",
  492. "199149186",
  493. "199149221",
  494. "199149235",
  495. "199149269",
  496. "199149297"
  497. }
  498.  
  499. local FistHitSounds = {
  500. "199149137",
  501. "199149186",
  502. "199149221",
  503. "199149235",
  504. "199149269",
  505. "199149297"
  506. }
  507.  
  508. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  509. if hit.Parent == nil then
  510. return
  511. end
  512. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  513. for _, v in pairs(hit.Parent:children()) do
  514. if v:IsA("Humanoid") then
  515. h = v
  516. end
  517. end
  518. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  519. warn'No R15 allowed'
  520. hit.Parent:FindFirstChild("Head"):BreakJoints()
  521. end
  522. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  523. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  524. if hit.Parent.DebounceHit.Value == true then
  525. return
  526. end
  527. end
  528. local c = Create("ObjectValue"){
  529. Name = "creator",
  530. Value = game:service("Players").LocalPlayer,
  531. Parent = h,
  532. }
  533. game:GetService("Debris"):AddItem(c, .5)
  534. if HitSound ~= nil and HitPitch ~= nil then
  535. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  536. end
  537. local Damage = math.random(minim, maxim)
  538. local blocked = false
  539. local block = hit.Parent:findFirstChild("Block")
  540. if block ~= nil then
  541. if block.className == "IntValue" then
  542. if block.Value > 0 then
  543. blocked = true
  544. block.Value = block.Value - 1
  545. print(block.Value)
  546. end
  547. end
  548. end
  549. if blocked == false then
  550. h.Health = h.Health - Damage
  551. 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)
  552. else
  553. h.Health = h.Health - (Damage / 2)
  554. 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)
  555. end
  556. if Type == "Knockdown" then
  557. local hum = hit.Parent.Humanoid
  558. hum.PlatformStand = true
  559. coroutine.resume(coroutine.create(function(HHumanoid)
  560. swait(1)
  561. HHumanoid.PlatformStand = false
  562. end), hum)
  563. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  564. local bodvol = Create("BodyVelocity"){
  565. velocity = angle * knockback,
  566. P = 5000,
  567. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  568. Parent = hit,
  569. }
  570. local rl = Create("BodyAngularVelocity"){
  571. P = 3000,
  572. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  573. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  574. Parent = hit,
  575. }
  576. game:GetService("Debris"):AddItem(bodvol, .5)
  577. game:GetService("Debris"):AddItem(rl, .5)
  578. elseif Type == "Normal" then
  579. local vp = Create("BodyVelocity"){
  580. P = 500,
  581. maxForce = Vector3.new(math.huge, 0, math.huge),
  582. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  583. }
  584. if knockback > 0 then
  585. vp.Parent = hit.Parent.Torso
  586. end
  587. game:GetService("Debris"):AddItem(vp, .5)
  588. elseif Type == "Up" then
  589. local bodyVelocity = Create("BodyVelocity"){
  590. velocity = Vector3.new(0, 20, 0),
  591. P = 5000,
  592. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  593. Parent = hit,
  594. }
  595. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  596. elseif Type == "DarkUp" then
  597. coroutine.resume(coroutine.create(function()
  598. for i = 0, 1, 0.1 do
  599. swait()
  600. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  601. end
  602. end))
  603. local bodyVelocity = Create("BodyVelocity"){
  604. velocity = Vector3.new(0, 20, 0),
  605. P = 5000,
  606. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  607. Parent = hit,
  608. }
  609. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  610. elseif Type == "Snare" then
  611. local bp = Create("BodyPosition"){
  612. P = 2000,
  613. D = 100,
  614. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  615. position = hit.Parent.Torso.Position,
  616. Parent = hit.Parent.Torso,
  617. }
  618. game:GetService("Debris"):AddItem(bp, 1)
  619. elseif Type == "Freeze" then
  620. local BodPos = Create("BodyPosition"){
  621. P = 50000,
  622. D = 1000,
  623. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  624. position = hit.Parent.Torso.Position,
  625. Parent = hit.Parent.Torso,
  626. }
  627. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  628. elseif Type == "Frostbite" then
  629. local hum = hit.Parent.Humanoid
  630. hum.PlatformStand = true
  631. coroutine.resume(coroutine.create(function(HHumanoid)
  632. swait(1)
  633. HHumanoid.PlatformStand = false
  634. end), hum)
  635. local BodGy = Create("BodyGyro") {
  636. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  637. P = 20e+003,
  638. Parent = hit.Parent.Torso,
  639. cframe = hit.Parent.Torso.CFrame,
  640. }
  641. hit.Parent.Torso.Anchored = true
  642. coroutine.resume(coroutine.create(function(Part)
  643. swait(1.5)
  644. Part.Anchored = false
  645. end), hit.Parent.Torso)
  646. game:GetService("Debris"):AddItem(BodPos, 3)
  647. game:GetService("Debris"):AddItem(BodGy, 3)
  648. end
  649. local debounce = Create("BoolValue"){
  650. Name = "DebounceHit",
  651. Parent = hit.Parent,
  652. Value = true,
  653. }
  654. game:GetService("Debris"):AddItem(debounce, Delay)
  655. c = Create("ObjectValue"){
  656. Name = "creator",
  657. Value = Player,
  658. Parent = h,
  659. }
  660. game:GetService("Debris"):AddItem(c, .5)
  661. end
  662. end
  663.  
  664. function ShowDamage(Pos, Text, Time, Color)
  665. local Rate = (1 / 30)
  666. local Pos = (Pos or Vector3.new(0, 0, 0))
  667. local Text = (Text or "")
  668. local Time = (Time or 2)
  669. local Color = (Color or Color3.new(1, 0, 1))
  670. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  671. EffectPart.Anchored = true
  672. local BillboardGui = Create("BillboardGui"){
  673. Size = UDim2.new(3, 0, 3, 0),
  674. Adornee = EffectPart,
  675. Parent = EffectPart,
  676. }
  677. local TextLabel = Create("TextLabel"){
  678. BackgroundTransparency = 1,
  679. Size = UDim2.new(1, 0, 1, 0),
  680. Text = Text,
  681. Font = "SciFi",
  682. TextColor3 = Color,
  683. TextScaled = true,
  684. Parent = BillboardGui,
  685. }
  686. game.Debris:AddItem(EffectPart, (Time))
  687. EffectPart.Parent = game:GetService("Workspace")
  688. delay(0, function()
  689. local Frames = (Time / Rate)
  690. for Frame = 1, Frames do
  691. wait(Rate)
  692. local Percent = (Frame / Frames)
  693. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  694. TextLabel.TextTransparency = Percent
  695. end
  696. if EffectPart and EffectPart.Parent then
  697. EffectPart:Destroy()
  698. end
  699. end)
  700. end
  701.  
  702. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  703. for _, c in pairs(workspace:children()) do
  704. local hum = c:findFirstChild("Humanoid")
  705. if hum ~= nil then
  706. local head = c:findFirstChild("Torso")
  707. if head ~= nil then
  708. local targ = head.Position - Part.Position
  709. local mag = targ.magnitude
  710. if mag <= Magnitude and c.Name ~= Player.Name then
  711. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  712. end
  713. end
  714. end
  715. end
  716. end
  717.  
  718. EffectModel = Create("Model"){
  719. Parent = Character,
  720. Name = "Effects",
  721. }
  722.  
  723. Effects = {
  724.  
  725. Block = {
  726. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  727. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  728. prt.Anchored = true
  729. prt.CFrame = cframe
  730. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  731. game:GetService("Debris"):AddItem(prt, 10)
  732. if Type == 1 or Type == nil then
  733. table.insert(Effects, {
  734. prt,
  735. "Block1",
  736. delay,
  737. x3,
  738. y3,
  739. z3,
  740. msh
  741. })
  742. elseif Type == 2 then
  743. table.insert(Effects, {
  744. prt,
  745. "Block2",
  746. delay,
  747. x3,
  748. y3,
  749. z3,
  750. msh
  751. })
  752. elseif Type == 3 then
  753. table.insert(Effects, {
  754. prt,
  755. "Block3",
  756. delay,
  757. x3,
  758. y3,
  759. z3,
  760. msh,
  761. Part
  762. })
  763. elseif Type == 4 then
  764. table.insert(Effects, {
  765. prt,
  766. "Block2Fire",
  767. delay,
  768. x3,
  769. y3,
  770. z3,
  771. msh
  772. })
  773. end
  774. end
  775.  
  776. },
  777.  
  778. Cylinder = {
  779. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  780. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  781. prt.Anchored = true
  782. prt.CFrame = cframe
  783. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  784. game:GetService("Debris"):AddItem(prt, 10)
  785. table.insert(Effects, {
  786. prt,
  787. "Cylinder",
  788. delay,
  789. x3,
  790. y3,
  791. z3,
  792. msh
  793. })
  794. end
  795.  
  796. },
  797.  
  798. Sphere = {
  799. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  800. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  801. prt.Anchored = true
  802. prt.CFrame = cframe
  803. if parent == nil then
  804. prt.Parent = workspace
  805. else
  806. prt.Parent = parent
  807. end
  808. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  809. game:GetService("Debris"):AddItem(prt, 10)
  810. table.insert(Effects, {
  811. prt,
  812. "Cylinder",
  813. delay,
  814. x3,
  815. y3,
  816. z3,
  817. msh
  818. })
  819. end
  820. },
  821.  
  822. Blood = {
  823. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  824. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  825. prt.Anchored = true
  826. prt.CFrame = cframe
  827. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  828. game:GetService("Debris"):AddItem(prt, 10)
  829. table.insert(Effects, {
  830. prt,
  831. "Blood",
  832. delay,
  833. x3,
  834. y3,
  835. z3,
  836. msh
  837. })
  838. end
  839. },
  840.  
  841. Head = {
  842. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  843. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  844. prt.Anchored = true
  845. prt.CFrame = cframe
  846. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  847. game:GetService("Debris"):AddItem(prt, 10)
  848. table.insert(Effects, {
  849. prt,
  850. "Cylinder",
  851. delay,
  852. x3,
  853. y3,
  854. z3,
  855. msh
  856. })
  857. end
  858. },
  859.  
  860. Fire = {
  861. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  862. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  863. prt.Anchored = true
  864. prt.CFrame = cframe
  865. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  866. game:GetService("Debris"):AddItem(prt, 10)
  867. table.insert(Effects, {
  868. prt,
  869. "Fire",
  870. delay,
  871. 1,
  872. 1,
  873. 1,
  874. msh
  875. })
  876. end;
  877. };
  878.  
  879. Ring = {
  880. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, par)
  881. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  882. prt.Anchored = true
  883. if par ~= nil then
  884. prt.Parent = par
  885. end
  886. prt.CFrame = cframe * CFrame.new(x3, y3, z3)
  887. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  888. game:GetService("Debris"):AddItem(prt, 10)
  889. table.insert(Effects, {
  890. prt,
  891. "Cylinder",
  892. delay,
  893. x3,
  894. y3,
  895. z3,
  896. msh
  897. })
  898. end
  899. },
  900.  
  901. Blast = {
  902. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  903. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  904. prt.Anchored = true
  905. prt.CFrame = cframe
  906. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  907. game:GetService("Debris"):AddItem(prt, 10)
  908. table.insert(Effects, {
  909. prt,
  910. "Block4",
  911. delay,
  912. x3,
  913. y3,
  914. z3,
  915. msh,
  916. Part
  917. })
  918. end
  919. },
  920.  
  921. Wave = {
  922. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  923. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  924. prt.Anchored = true
  925. prt.CFrame = cframe
  926. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  927. game:GetService("Debris"):AddItem(prt, 10)
  928. table.insert(Effects, {
  929. prt,
  930. "Cylinder",
  931. delay,
  932. x3,
  933. y3,
  934. z3,
  935. msh
  936. })
  937. end
  938. },
  939.  
  940. Elec = {
  941. Create = function(cff, x, y, z)
  942. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Medium blue"), "Part", Vector3.new(1, 1, 1))
  943. prt.Anchored = true
  944. 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)
  945. prt.CFrame = CFrame.new(prt.Position)
  946. game:GetService("Debris"):AddItem(prt, 10)
  947. local xval = math.random() / 9
  948. local yval = math.random() / 9
  949. local zval = math.random() / 9
  950. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  951. local eul1 = math.random(-50, 50)
  952. local eul2 = math.random(-50, 50)
  953. local eul3 = math.random(-50, 50)
  954. local euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  955. local euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  956. Effects[#Effects + 1] = {
  957. prt,
  958. "Elec",
  959. .05,
  960. x,
  961. y,
  962. z,
  963. xval,
  964. yval,
  965. zval,
  966. msh,
  967. euld,
  968. euld2
  969. }
  970. end
  971. },
  972.  
  973. Break = {
  974. Create = function(brickcolor, cframe, x1, y1, z1)
  975. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  976. prt.Anchored = true
  977. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  978. game:GetService("Debris"):AddItem(prt, 10)
  979. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  980. local num = math.random(10, 50) / 1000
  981. table.insert(Effects, {
  982. prt,
  983. "Shatter",
  984. num,
  985. prt.CFrame,
  986. math.random() - math.random(),
  987. 0,
  988. math.random(50, 100) / 100
  989. })
  990. end
  991. },
  992.  
  993. Ice = {
  994. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  995. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  996. prt.Anchored = true
  997. prt.CFrame = cframe
  998. msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  999. game:GetService("Debris"):AddItem(prt, 10)
  1000. for i = 1, 5 do
  1001. 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)
  1002. end
  1003. for i = 1, 15 do
  1004. 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()))
  1005. freezepart.Anchored = true
  1006. freezepart.CanCollide = true
  1007. 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))
  1008. game:GetService("Debris"):AddItem(freezepart, 10)
  1009. end
  1010. table.insert(Effects, {
  1011. prt,
  1012. "Ice",
  1013. delay,
  1014. msh,
  1015. 1,
  1016. .2
  1017. })
  1018. end
  1019. },
  1020.  
  1021. Ice = {
  1022. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1023. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2))
  1024. prt.Anchored = true
  1025. prt.CFrame = cframe
  1026. msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1027. game:GetService("Debris"):AddItem(prt, 10)
  1028. for i = 1, 5 do
  1029. 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)
  1030. end
  1031. for i = 1, 15 do
  1032. 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()))
  1033. freezepart.Anchored = true
  1034. freezepart.CanCollide = true
  1035. 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))
  1036. game:GetService("Debris"):AddItem(freezepart, 10)
  1037. end
  1038. table.insert(Effects, {
  1039. prt,
  1040. "Ice",
  1041. delay,
  1042. msh,
  1043. 1,
  1044. .2
  1045. })
  1046. end
  1047. },
  1048.  
  1049.  
  1050. Lightning = {
  1051. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1052. local magz = (p0 - p1).magnitude
  1053. local curpos = p0
  1054. local trz = {
  1055. -ofs,
  1056. ofs
  1057. }
  1058. for i = 1, tym do
  1059. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1060. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1061. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1062. li.Material = "Neon"
  1063. if tym == i then
  1064. local magz2 = (curpos - p1).magnitude
  1065. li.Size = Vector3.new(th, th, magz2)
  1066. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1067. table.insert(Effects, {
  1068. li,
  1069. "Disappear",
  1070. last
  1071. })
  1072. else
  1073. do
  1074. do
  1075. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1076. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1077. game.Debris:AddItem(li, 10)
  1078. table.insert(Effects, {
  1079. li,
  1080. "Disappear",
  1081. last
  1082. })
  1083. end
  1084. end
  1085. end
  1086. end
  1087. end
  1088. };
  1089.  
  1090. EffectTemplate = {
  1091.  
  1092. };
  1093.  
  1094. }
  1095.  
  1096. function attackone()
  1097. attack = true
  1098. local con = Partasd.Touched:connect(function(hit)
  1099. Damage(Partasd, hit, 5, 15, math.random(1, 5), "Freeze", RootPart, 3, "rbxassetid://165586617", 1)
  1100. end)
  1101. for i = 0, 1, 0.1 do
  1102. swait()
  1103. PlayAnimationFromTable({
  1104. 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),
  1105. 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),
  1106. 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),
  1107. 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),
  1108. 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),
  1109. 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),
  1110. }, .3, false)
  1111. 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)
  1112. end
  1113. attack = false
  1114. con:Disconnect()
  1115. end
  1116.  
  1117. function attacktwo()
  1118. attack = true
  1119. local con = RightLeg.Touched:connect(function(hit)
  1120. Damage(Torso, hit, 5, 15, math.random(1, 5), "Freeze", RootPart, 3, "rbxassetid://165586617", 1)
  1121. end)
  1122. for i = 0, 1, 0.1 do
  1123. swait()
  1124. PlayAnimationFromTable({
  1125. 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),
  1126. 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),
  1127. 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),
  1128. 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),
  1129. 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),
  1130. 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),
  1131. }, .3, false)
  1132. end
  1133. con:Disconnect()
  1134. attack = false
  1135. end
  1136.  
  1137. function attackthree()
  1138. attack = true
  1139. local con = Partasd.Touched:connect(function(hit)
  1140. Damage(Torso, hit, 5, 15, math.random(1, 5), "Freeze", RootPart, 3, "rbxassetid://165586617", 1)
  1141. end)
  1142. for i = 0, 1, 0.1 do
  1143. swait()
  1144. PlayAnimationFromTable({
  1145. 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),
  1146. 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),
  1147. 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),
  1148. 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),
  1149. 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),
  1150. 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),
  1151. }, .3, false)
  1152. end
  1153. con:Disconnect()
  1154. attack = false
  1155. end
  1156.  
  1157. function attackfour()
  1158. attack = true
  1159. local con = Partasd.Touched:connect(function(hit)
  1160. Damage(Partasd, hit, 5, 15, math.random(1, 5), "Freeze", RootPart, 3, "rbxassetid://165586617", 1)
  1161. end)
  1162. for i = 0, 1, 0.1 do
  1163. swait()
  1164. PlayAnimationFromTable({
  1165. 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),
  1166. 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),
  1167. 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),
  1168. 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),
  1169. 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),
  1170. 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),
  1171. }, .3, false)
  1172. 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)
  1173. end
  1174. attack = false
  1175. con:Disconnect()
  1176. end
  1177.  
  1178. function skill1()
  1179. attack = true
  1180. Humanoid.WalkSpeed = 0
  1181. for i = 0, 5, 0.1 do
  1182. swait()
  1183. PlayAnimationFromTable({
  1184. 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),
  1185. 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),
  1186. 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),
  1187. 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),
  1188. 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),
  1189. 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),
  1190. }, .3, false)
  1191. 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)
  1192. end
  1193. coroutine.wrap(function()
  1194. swait(10)
  1195. MagnitudeDamage(Partasd, 25, 40, 50, 2, "Frostbite", "", 1)
  1196. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=165969964", Partasd, 1.5, 1)
  1197. Effects.Block.Create(BrickColor.new("Light blue"), Partasd.CFrame, 50, 50, 50, 6, 6, 6, 0.04, 1)
  1198. Effects.Block.Create(BrickColor.new("Steel blue"), Partasd.CFrame, 60, 60, 60, 8, 8, 8, 0.04, 1)
  1199. Effects.Wave.Create(BrickColor.new("Light blue"), RootPart.CFrame * CFrame.new(0,0,-8), 1, 1, 1, 3, 1, 3, 0.06)
  1200. end)()
  1201. for i = 0, 5, 0.1 do
  1202. swait()
  1203. PlayAnimationFromTable({
  1204. 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),
  1205. 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),
  1206. 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),
  1207. 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),
  1208. 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),
  1209. 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),
  1210. }, .3, false)
  1211. 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)
  1212. end
  1213. Humanoid.WalkSpeed = 16
  1214. attack = false
  1215. end
  1216.  
  1217. function skill2()
  1218. attack = true
  1219. Humanoid.WalkSpeed = 0
  1220. for i = 0, 5, 0.1 do
  1221. swait()
  1222. PlayAnimationFromTable({
  1223. 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),
  1224. 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),
  1225. 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),
  1226. 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),
  1227. 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),
  1228. 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),
  1229. }, .3, false)
  1230. 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)
  1231. end
  1232. for i = 0, 1, 0.1 do
  1233. swait()
  1234. PlayAnimationFromTable({
  1235. 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),
  1236. 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),
  1237. 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),
  1238. 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),
  1239. 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),
  1240. 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),
  1241. }, .4, false)
  1242. end
  1243. Effects.Block.Create(BrickColor.new("Pastel light blue"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 5, 5, 5, 4, 4, 4, .06)
  1244. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=188959311", RightArm, 1.4, 1)
  1245. 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),})
  1246. coroutine.resume(coroutine.create(function()
  1247. MagnitudeDamage(ref, 24, 1, 1, 2, "Freeze", "", 1)
  1248. Effects.Block.Create(BrickColor.new("Cyan"), ref.CFrame, 120, 120, 120, -.1, -.1, -.1, .05)
  1249. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=199145761", ref, 1.4, 1)
  1250. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=199145793", ref, 1.4, 1)
  1251. for i = 1, 50 do
  1252. swait()
  1253. 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)
  1254. 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)
  1255. 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)
  1256. end
  1257.  
  1258. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=199145739", ref, 1.5, .9)
  1259. Effects.Block.Create(BrickColor.new("Cyan"), ref.CFrame, 5, 5, 5, 15, 15, 15, .03)
  1260. Effects.Block.Create(BrickColor.new("Cyan"), ref.CFrame, 5, 5, 5, 15, 15, 15, .03)
  1261. Effects.Sphere.Create(BrickColor.new("Cyan"), ref.CFrame, 5, 5, 5, 15, 15, 15, .03)
  1262. MagnitudeDamage(ref, 45, 40, 55, 50, "Freeze", "848764845", 1.6)
  1263. swait(50)
  1264. ref:Remove() -- still lazy to use debris
  1265. end))
  1266. attack = false
  1267. Humanoid.WalkSpeed = 16
  1268. end
  1269.  
  1270.  
  1271. SlashEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) -- lazy
  1272.  
  1273. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1274. prt.Anchored = true
  1275. prt.CFrame = cframe
  1276. msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=448386996", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1277. game:GetService("Debris"):AddItem(prt, 2)
  1278. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  1279.  
  1280. for i = 0, 1, delay do
  1281. swait()
  1282. Part.Transparency = i
  1283. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1284. end
  1285. Part.Parent = nil
  1286. end
  1287. ), prt, msh, (math.random(0, 1) + math.random()) / 5)
  1288. end
  1289.  
  1290. function skill3()
  1291. attack = true
  1292. Effects.Block.Create(BrickColor.new("Steel blue"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 3, 3, 3, 4, 4, 4, .05)
  1293.  
  1294. 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),})
  1295. coroutine.resume(coroutine.create(function()
  1296. for i = 1, 50 do
  1297. swait()
  1298. ref.CFrame = ref.CFrame * CFrame.new(0,0,-2)
  1299. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=863313385", ref, 1, 1.2)
  1300. 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)
  1301. 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)
  1302. 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)
  1303. 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)
  1304. MagnitudeDamage(ref, 12, 10, 20, -10, "Normal", "179515215", 1.5)
  1305. end
  1306. ref:Remove()
  1307. end))
  1308. for i = 0, 5, 0.1 do
  1309. swait()
  1310. PlayAnimationFromTable({
  1311. 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),
  1312. 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),
  1313. 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),
  1314. 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),
  1315. 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),
  1316. 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),
  1317. }, .3, false)
  1318. 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)
  1319. end
  1320.  
  1321. attack = false
  1322. end
  1323.  
  1324. Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
  1325.  
  1326. local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1327. prt.Anchored = true
  1328. prt.CFrame = cframe
  1329. prt.Material = "Neon"
  1330. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1331. game:GetService("Debris"):AddItem(prt, 10)
  1332. coroutine.resume(coroutine.create(function(Part, Mesh)
  1333.  
  1334. for i = 0, 1, delay do
  1335. swait()
  1336. Part.Transparency = i
  1337. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1338. end
  1339. Part.Parent = nil
  1340. end
  1341. ), prt, msh)
  1342. end
  1343.  
  1344. shoottrail = function(Mouse, partt, SpreadAmount, multiply)
  1345.  
  1346. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1347. local MainPos = partt.Position
  1348. local MainPos2 = Mouse.Hit.p + SpreadVectors
  1349. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1350. local speed = 100
  1351. local num = 20
  1352. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=274538143", partt, 1, 1)
  1353. coroutine.resume(coroutine.create(function()
  1354.  
  1355. repeat
  1356. swait()
  1357. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1358. local mag = (MainPos - pos).magnitude
  1359. 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)
  1360. MainPos = MainPos + MouseLook.lookVector * speed
  1361. num = num - 1
  1362. MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
  1363. if hit ~= nil then
  1364. num = 0
  1365. local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1366. refpart.Anchored = true
  1367. refpart.CFrame = CFrame.new(pos)
  1368. game:GetService("Debris"):AddItem(refpart, 2)
  1369. end
  1370. do
  1371. if num <= 0 then
  1372. local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1373. refpart.Anchored = true
  1374. refpart.CFrame = CFrame.new(pos)
  1375. Effects.Block.Create(BrickColor.new('Steel blue'), refpart.CFrame, 10, 10, 10, 5, 5, 5, .1)
  1376. if hit ~= nil then
  1377. MagnitudeDamage(refpart, 5, 5 * multiply, 15 * multiply, 0, "Normal", "231917784", 1)
  1378. end
  1379. game:GetService("Debris"):AddItem(refpart, 0)
  1380. end
  1381. end
  1382. until num <= 0
  1383. end
  1384. ))
  1385. end
  1386.  
  1387. function skill4()
  1388. attack = true
  1389. Humanoid.WalkSpeed = 0
  1390. for i = 0, 7, 0.1 do
  1391. swait()
  1392. PlayAnimationFromTable({
  1393. 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),
  1394. 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),
  1395. 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),
  1396. 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),
  1397. 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),
  1398. 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),
  1399. }, .3, false)
  1400. 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)
  1401. end
  1402. for i = 0, 5, 0.1 do
  1403. shoottrail(Mouse, Partasd, 3, 2)
  1404. swait()
  1405. PlayAnimationFromTable({
  1406. 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),
  1407. 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),
  1408. 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),
  1409. 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),
  1410. 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),
  1411. 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),
  1412. }, .3, false)
  1413. 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)
  1414. end
  1415. Humanoid.WalkSpeed = 16
  1416. attack = false
  1417. end
  1418.  
  1419. Mouse.Button1Down:connect(function()
  1420. if attack == false and attacktype == 1 then
  1421. attacktype = 2
  1422. attackone()
  1423. elseif attack == false and attacktype == 2 then
  1424. attacktype = 3
  1425. attacktwo()
  1426. elseif attack == false and attacktype == 3 then
  1427. attacktype = 4
  1428. attackthree()
  1429. elseif attack == false and attacktype == 4 then
  1430. attacktype = 1
  1431. attackfour()
  1432. end
  1433. end)
  1434.  
  1435. Mouse.KeyDown:connect(function(k)
  1436. k = k:lower()
  1437. if attack == false and k == 'z' then
  1438. skill1()
  1439. elseif attack == false and k == 'x' then
  1440. skill2()
  1441. elseif attack == false and k == 'c' then
  1442. skill3()
  1443. elseif attack == false and k == 'v' then
  1444. skill4()
  1445. end
  1446. end)
  1447.  
  1448. while true do
  1449. swait()
  1450. for i, v in pairs(Character:GetChildren()) do
  1451. if v:IsA("Part") then
  1452. v.Material = "SmoothPlastic"
  1453. elseif v:IsA("Accessory") then
  1454. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1455. end
  1456. end
  1457. for i, v in pairs(Character:GetChildren()) do
  1458. if v:IsA'Model' then
  1459. for _, c in pairs(v:GetChildren()) do
  1460. if c:IsA'BasePart' then
  1461. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1462. end
  1463. end
  1464. end
  1465. end
  1466. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1467. velocity = RootPart.Velocity.y
  1468. sine = sine + change
  1469. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1470. if RootPart.Velocity.y > 1 and hit == nil then
  1471. Anim = "Jump"
  1472. if attack == false then
  1473. for i = 0, .5, 0.1 do
  1474. swait()
  1475. PlayAnimationFromTable({
  1476. 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),
  1477. 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),
  1478. 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),
  1479. 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),
  1480. 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),
  1481. 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),
  1482. }, .3, false)
  1483. 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)
  1484. end
  1485. end
  1486. elseif RootPart.Velocity.y < -1 and hit == nil then
  1487. Anim = "Fall"
  1488. if attack == false then
  1489. for i = 0, .5, 0.1 do
  1490. swait()
  1491. PlayAnimationFromTable({
  1492. 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),
  1493. 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),
  1494. 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),
  1495. 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),
  1496. 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),
  1497. 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),
  1498. }, .3, false)
  1499. 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)
  1500. end
  1501. end
  1502. elseif Torsovelocity < 1 and hit ~= nil then
  1503. Anim = "Idle"
  1504. if attack == false then
  1505. change = 1
  1506. for i = 0, .05, 0.1 do
  1507. swait()
  1508. PlayAnimationFromTable({
  1509. 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),
  1510. 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),
  1511. 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),
  1512. 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),
  1513. 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),
  1514. }, .3, false)
  1515. 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)
  1516. end
  1517. end
  1518. elseif Torsovelocity > 2 and hit ~= nil then
  1519. Anim = "Walk"
  1520. if attack == false then
  1521. for i = 0, .05, 0.1 do
  1522. swait()
  1523. PlayAnimationFromTable({
  1524. 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),
  1525. 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),
  1526. 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),
  1527. 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),
  1528. 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)),
  1529. 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)),
  1530. }, .3, false)
  1531. 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)
  1532. end
  1533. end
  1534. end
  1535. if #Effects > 0 then
  1536. for e = 1, #Effects do
  1537. if Effects[e] ~= nil then
  1538. local Thing = Effects[e]
  1539. if Thing ~= nil then
  1540. Part = Thing[1]
  1541. Mode = Thing[2]
  1542. Delay = Thing[3]
  1543. IncX = Thing[4]
  1544. IncY = Thing[5]
  1545. IncZ = Thing[6]
  1546. if Thing[2] == "Shoot" then
  1547. Look = Thing[1]
  1548. hit, pos = rayCast(Thing[4], Look, 5, Character)
  1549. mag = (Thing[4] - pos).magnitude
  1550. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(-1.57, 0, 0)
  1551. Thing[4] = Thing[4] + (Look * 5)
  1552. Thing[3] = Thing[3] - 1
  1553. if hit ~= nil then
  1554. print(hit.Parent)
  1555. Thing[3] = 0
  1556. --Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500)
  1557. --MagniDamage(Thing[9], 5, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500)
  1558. end
  1559. if Thing[3] <= 0 then
  1560. if hit == nil then
  1561. Effects.Sphere.Create(BrickColor.new("Crimson"), Thing[9].CFrame, 1, 1, 1, 2, 2, 2, .1)
  1562. CFuncs.Sound.Create("285370517", Thing[9], 1, 1)
  1563. else
  1564. Effects.Wave.Create(BrickColor.new("Crimson"), Thing[9].CFrame * CFrame.fromEulerAnglesXYZ(3.2, 0, 0), .2, .2, .2, .6, .8, .6, .1)
  1565. CFuncs.Sound.Create("285370517", Thing[9], .6, 1)
  1566. CFuncs.Sound.Create("285370545", Thing[9], 1, 1)
  1567. end
  1568. for i = 1, math.random(2, 4) do
  1569. Effects.Break.Create(BrickColor.new("Crimson"), Thing[9].CFrame, math.random(20, 40) / 100, math.random(100, 600) / 100, math.random(20, 40) / 100)
  1570. end
  1571. Thing[9].Transparency = 1
  1572. game:GetService("Debris"):AddItem(Thing[9], 1)
  1573. table.remove(Effects, e)
  1574. end
  1575. end
  1576. if Thing[2] ~= "Shoot" then
  1577. if Thing[1].Transparency <= 1 then
  1578. if Thing[2] == "Block1" then
  1579. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1580. Mesh = Thing[7]
  1581. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1582. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1583. elseif Thing[2] == "Block2" then
  1584. Thing[1].CFrame = Thing[1].CFrame
  1585. Mesh = Thing[7]
  1586. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1587. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1588. elseif Thing[2] == "Block3" then
  1589. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1590. Mesh = Thing[7]
  1591. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1592. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1593. elseif Thing[2] == "Block4" then
  1594. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1595. Mesh = Thing[7]
  1596. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1597. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1598. elseif Thing[2] == "Block2Fire" then
  1599. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1600. Mesh = Thing[7]
  1601. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1602. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1603. if Thing[1].Transparency >= .3 then
  1604. Thing[1].BrickColor = BrickColor.new("Bright red")
  1605. else
  1606. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1607. end
  1608. elseif Thing[2] == "Ice" then
  1609. if Thing[6] <= Thing[5] then
  1610. Thing[6] = Thing[6] + .3
  1611. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 1, 0)
  1612. else
  1613. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1614. end
  1615. elseif Thing[2] == "Shatter" then
  1616. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1617. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1618. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1619. Thing[6] = Thing[6] + Thing[5]
  1620. elseif Thing[2] == "Fire" then
  1621. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1622. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1623. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1624. elseif Thing[2] == "Cylinder" then
  1625. Mesh = Thing[7]
  1626. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1627. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1628. elseif Thing[2] == "Cylinder2" then
  1629. Mesh = Thing[7]
  1630. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1631. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, Thing[8], 0)
  1632. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1633. elseif Thing[2] == "Blood" then
  1634. Mesh = Thing[7]
  1635. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0)
  1636. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1637. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1638. elseif Thing[2] == "Elec" then
  1639. Mesh = Thing[7]
  1640. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1641. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1642. elseif Thing[2] == "Disappear" then
  1643. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1644. end
  1645. else
  1646. Part.Parent = nil
  1647. table.remove(Effects, e)
  1648. end
  1649. end
  1650. end
  1651. end
  1652. end
  1653. end
  1654. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement