Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[When_kun]]--
- wait(1 / 60)
- Effects = { }
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Mouse = Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = 'Idle'
- local attacktype = 1
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local Create = LoadLibrary("RbxUtility").Create
- local hello = Instance.new("Sound")
- hello.SoundId = "rbxassetid://163665141"
- hello.PlaybackSpeed = 1
- hello.Volume = 2
- hello.Parent = Head
- hello.Looped = true
- hello:Play()
- local m = Create("Model"){
- Parent = Character,
- Name = "WeaponModel",
- }
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- tf = 0
- allowframeloss = true
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if frame <= tf then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end
- )
- swait = function(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- --[[
- Thanks for using Build-To-Lua by jarredbcv.
- ]]--
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- Permafrost = New("Model",Character,"Permafrost",{})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.816351712),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.816351712),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.816351712),})
- 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),})
- 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),})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.816351712),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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),})
- 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,})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- 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),})
- moter = New("Weld",Handlepart,"Weld",{Part0 = RightArm,Part1 = Handlepart,})
- local co1 = 15
- local co2 = 8
- local co3 = 20
- local co5 = 30
- local co4 = 32
- local cooldown1 = 5
- local cooldown2 = 7
- local cooldown3 = 3
- local cooldown4 = 2
- local cooldown5 = 0
- local skillcolorscheme = BrickColor.new("Light blue").Color
- local scrn = Instance.new("ScreenGui", Player.PlayerGui)
- makeframe = function(par, trans, pos, size, color)
- local frame = Instance.new("Frame", par)
- frame.BackgroundTransparency = trans
- frame.BorderSizePixel = 0
- frame.Position = pos
- frame.Size = size
- frame.BackgroundColor3 = color
- return frame
- end
- makelabel = function(par, text)
- local label = Instance.new("TextLabel", par)
- label.BackgroundTransparency = 1
- label.Size = UDim2.new(1, 0, 1, 0)
- label.Position = UDim2.new(0, 0, 0, 0)
- label.TextColor3 = Color3.new(255, 250, 190)
- label.TextStrokeTransparency = 0
- label.FontSize = Enum.FontSize.Size32
- label.Font = Enum.Font.SourceSansLight
- label.BorderSizePixel = 0
- label.TextScaled = true
- label.Text = text
- end
- framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- text1 = Instance.new("TextLabel", framesk1)
- text1.BackgroundTransparency = 1
- text1.Size = UDim2.new(1, 0, 1, 0)
- text1.Position = UDim2.new(0, 0, 0, 0)
- text1.TextColor3 = Color3.new(255, 250, 190)
- text1.TextStrokeTransparency = 0
- text1.FontSize = Enum.FontSize.Size18
- text1.Font = Enum.Font.SourceSansLight
- text1.BorderSizePixel = 0
- text1.TextScaled = true
- text1.Text = "[Z]\n Severe Frostbite"
- text2 = Instance.new("TextLabel", framesk2)
- text2.BackgroundTransparency = 1
- text2.Size = UDim2.new(1, 0, 1, 0)
- text2.Position = UDim2.new(0, 0, 0, 0)
- text2.TextColor3 = Color3.new(255, 250, 190)
- text2.TextStrokeTransparency = 0
- text2.FontSize = Enum.FontSize.Size18
- text2.Font = Enum.Font.SourceSansLight
- text2.BorderSizePixel = 0
- text2.TextScaled = true
- text2.Text = "[X]\n Frozen Wind"
- text3 = Instance.new("TextLabel", framesk3)
- text3.BackgroundTransparency = 1
- text3.Size = UDim2.new(1, 0, 1, 0)
- text3.Position = UDim2.new(0, 0, 0, 0)
- text3.TextColor3 = Color3.new(255, 250, 190)
- text3.TextStrokeTransparency = 0
- text3.FontSize = Enum.FontSize.Size18
- text3.Font = Enum.Font.SourceSansLight
- text3.BorderSizePixel = 0
- text3.TextScaled = false
- text3.Text = "[C]\n Northern Blizzard"
- text4 = Instance.new("TextLabel", framesk4)
- text4.BackgroundTransparency = 1
- text4.Size = UDim2.new(1, 0, 1, 0)
- text4.Position = UDim2.new(0, 0, 0, 0)
- text4.TextColor3 = Color3.new(255, 250, 190)
- text4.TextStrokeTransparency = 0
- text4.FontSize = Enum.FontSize.Size18
- text4.Font = Enum.Font.SourceSansLight
- text4.BorderSizePixel = 0
- text4.TextScaled = true
- text4.Text = "[V]\n Freezing Hail"
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end;
- };
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- Weld = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end;
- };
- Sound = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local Sound = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- SoundId = "rbxassetid://" .. id,
- Parent = par or workspace,
- }
- Sound:play()
- game:GetService("Debris"):AddItem(Sound, 10)
- end))
- end;
- };
- Decal = {
- Create = function(Color, Texture, Transparency, Name, Parent)
- local Decal = Create("Decal"){
- Color3 = Color,
- Texture = "rbxassetid://" .. Texture,
- Transparency = Transparency,
- Name = Name,
- Parent = Parent,
- }
- return Decal
- end;
- };
- BillboardGui = {
- Create = function(Parent, Image, Position, Size)
- local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
- BillPar.CFrame = CFrame.new(Position)
- local Bill = Create("BillboardGui"){
- Parent = BillPar,
- Adornee = BillPar,
- Size = UDim2.new(1, 0, 1, 0),
- SizeOffset = Vector2.new(Size, Size),
- }
- local d = Create("ImageLabel", Bill){
- Parent = Bill,
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Image = "rbxassetid://" .. Image,
- }
- return BillPar
- end
- };
- ParticleEmitter = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local Particle = Create("ParticleEmitter"){
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread,
- }
- return Particle
- end;
- };
- CreateTemplate = {
- };
- }
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function FindNearestTorso(pos)
- local list = (game.Workspace:children())
- local torso = nil
- local dist = 1000
- local temp, human, temp2 = nil, nil, nil
- for x = 1, #list do
- temp2 = list[x]
- if temp2.className == "Model" and temp2.Name ~= Character.Name then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
- local dohit = true
- if dohit == true then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso, dist
- end
- local BladeHitSounds = {
- "199149137",
- "199149186",
- "199149221",
- "199149235",
- "199149269",
- "199149297"
- }
- local FistHitSounds = {
- "199149137",
- "199149186",
- "199149221",
- "199149235",
- "199149269",
- "199149297"
- }
- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
- warn'No R15 allowed'
- hit.Parent:FindFirstChild("Head"):BreakJoints()
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil then
- if hit.Parent.DebounceHit.Value == true then
- return
- end
- end
- local c = Create("ObjectValue"){
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil then
- if block.className == "IntValue" then
- if block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- end
- end
- if blocked == false then
- h.Health = h.Health - Damage
- 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)
- else
- h.Health = h.Health - (Damage / 2)
- 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)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity"){
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- local rl = Create("BodyAngularVelocity"){
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodvol, .5)
- game:GetService("Debris"):AddItem(rl, .5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity"){
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
- }
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition"){
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition"){
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "Frostbite" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local BodGy = Create("BodyGyro") {
- maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
- P = 20e+003,
- Parent = hit.Parent.Torso,
- cframe = hit.Parent.Torso.CFrame,
- }
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue"){
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true,
- }
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Create("ObjectValue"){
- Name = "creator",
- Value = Player,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 1))
- local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui"){
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- }
- local TextLabel = Create("TextLabel"){
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "SciFi",
- TextColor3 = Color,
- TextScaled = true,
- Parent = BillboardGui,
- }
- game.Debris:AddItem(EffectPart, (Time))
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= Magnitude and c.Name ~= Player.Name then
- Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
- end
- end
- end
- end
- end
- EffectModel = Create("Model"){
- Parent = Character,
- Name = "Effects",
- }
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 3 then
- table.insert(Effects, {
- prt,
- "Block3",
- delay,
- x3,
- y3,
- z3,
- msh,
- Part
- })
- elseif Type == 4 then
- table.insert(Effects, {
- prt,
- "Block2Fire",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- },
- Cylinder = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- if parent == nil then
- prt.Parent = workspace
- else
- prt.Parent = parent
- end
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Blood = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Blood",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Head = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Fire = {
- Create = function(brickcolor, cframe, x1, y1, z1, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Fire",
- delay,
- 1,
- 1,
- 1,
- msh
- })
- end;
- };
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, par)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- if par ~= nil then
- prt.Parent = par
- end
- prt.CFrame = cframe * CFrame.new(x3, y3, z3)
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Blast = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Block4",
- delay,
- x3,
- y3,
- z3,
- msh,
- Part
- })
- end
- },
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Elec = {
- Create = function(cff, x, y, z)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Medium blue"), "Part", Vector3.new(1, 1, 1))
- prt.Anchored = true
- 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)
- prt.CFrame = CFrame.new(prt.Position)
- game:GetService("Debris"):AddItem(prt, 10)
- local xval = math.random() / 9
- local yval = math.random() / 9
- local zval = math.random() / 9
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
- local eul1 = math.random(-50, 50)
- local eul2 = math.random(-50, 50)
- local eul3 = math.random(-50, 50)
- local euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
- local euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
- Effects[#Effects + 1] = {
- prt,
- "Elec",
- .05,
- x,
- y,
- z,
- xval,
- yval,
- zval,
- msh,
- euld,
- euld2
- }
- end
- },
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- game:GetService("Debris"):AddItem(prt, 10)
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- end
- },
- Ice = {
- Create = function(brickcolor, cframe, x1, y1, z1, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- for i = 1, 5 do
- 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)
- end
- for i = 1, 15 do
- 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()))
- freezepart.Anchored = true
- freezepart.CanCollide = true
- 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))
- game:GetService("Debris"):AddItem(freezepart, 10)
- end
- table.insert(Effects, {
- prt,
- "Ice",
- delay,
- msh,
- 1,
- .2
- })
- end
- },
- Ice = {
- Create = function(brickcolor, cframe, x1, y1, z1, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2))
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- for i = 1, 5 do
- 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)
- end
- for i = 1, 15 do
- 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()))
- freezepart.Anchored = true
- freezepart.CanCollide = true
- 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))
- game:GetService("Debris"):AddItem(freezepart, 10)
- end
- table.insert(Effects, {
- prt,
- "Ice",
- delay,
- msh,
- 1,
- .2
- })
- end
- },
- Lightning = {
- Create = function(p0, p1, tym, ofs, col, th, tra, last)
- local magz = (p0 - p1).magnitude
- local curpos = p0
- local trz = {
- -ofs,
- ofs
- }
- for i = 1, tym do
- local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
- local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
- li.Material = "Neon"
- if tym == i then
- local magz2 = (curpos - p1).magnitude
- li.Size = Vector3.new(th, th, magz2)
- li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- else
- do
- do
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
- curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
- game.Debris:AddItem(li, 10)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- end
- end
- end
- end
- end
- };
- EffectTemplate = {
- };
- }
- function attackone()
- attack = true
- local con = Partasd.Touched:connect(function(hit)
- Damage(Partasd, hit, 5, 15, math.random(1, 5), "Freeze", RootPart, 3, "rbxassetid://165586617", 1)
- end)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- 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)
- end
- attack = false
- con:Disconnect()
- end
- function attacktwo()
- attack = true
- local con = RightLeg.Touched:connect(function(hit)
- Damage(Torso, hit, 5, 15, math.random(1, 5), "Freeze", RootPart, 3, "rbxassetid://165586617", 1)
- end)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- end
- con:Disconnect()
- attack = false
- end
- function attackthree()
- attack = true
- local con = Partasd.Touched:connect(function(hit)
- Damage(Torso, hit, 5, 15, math.random(1, 5), "Freeze", RootPart, 3, "rbxassetid://165586617", 1)
- end)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- end
- con:Disconnect()
- attack = false
- end
- function attackfour()
- attack = true
- local con = Partasd.Touched:connect(function(hit)
- Damage(Partasd, hit, 5, 15, math.random(1, 5), "Freeze", RootPart, 3, "rbxassetid://165586617", 1)
- end)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- 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)
- end
- attack = false
- con:Disconnect()
- end
- function skill1()
- attack = true
- Humanoid.WalkSpeed = 0
- for i = 0, 5, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- 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)
- end
- coroutine.wrap(function()
- swait(10)
- MagnitudeDamage(Partasd, 25, 40, 50, 2, "Frostbite", "", 1)
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=165969964", Partasd, 1.5, 1)
- Effects.Block.Create(BrickColor.new("Light blue"), Partasd.CFrame, 50, 50, 50, 6, 6, 6, 0.04, 1)
- Effects.Block.Create(BrickColor.new("Steel blue"), Partasd.CFrame, 60, 60, 60, 8, 8, 8, 0.04, 1)
- Effects.Wave.Create(BrickColor.new("Light blue"), RootPart.CFrame * CFrame.new(0,0,-8), 1, 1, 1, 3, 1, 3, 0.06)
- end)()
- for i = 0, 5, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- 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)
- end
- Humanoid.WalkSpeed = 16
- attack = false
- end
- function skill2()
- attack = true
- Humanoid.WalkSpeed = 0
- for i = 0, 5, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- 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)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .4, false)
- end
- Effects.Block.Create(BrickColor.new("Pastel light blue"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 5, 5, 5, 4, 4, 4, .06)
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=188959311", RightArm, 1.4, 1)
- 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),})
- coroutine.resume(coroutine.create(function()
- MagnitudeDamage(ref, 24, 1, 1, 2, "Freeze", "", 1)
- Effects.Block.Create(BrickColor.new("Cyan"), ref.CFrame, 120, 120, 120, -.1, -.1, -.1, .05)
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=199145761", ref, 1.4, 1)
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=199145793", ref, 1.4, 1)
- for i = 1, 50 do
- swait()
- 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)
- 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)
- 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)
- end
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=199145739", ref, 1.5, .9)
- Effects.Block.Create(BrickColor.new("Cyan"), ref.CFrame, 5, 5, 5, 15, 15, 15, .03)
- Effects.Block.Create(BrickColor.new("Cyan"), ref.CFrame, 5, 5, 5, 15, 15, 15, .03)
- Effects.Sphere.Create(BrickColor.new("Cyan"), ref.CFrame, 5, 5, 5, 15, 15, 15, .03)
- MagnitudeDamage(ref, 45, 40, 55, 50, "Freeze", "848764845", 1.6)
- swait(50)
- ref:Remove() -- still lazy to use debris
- end))
- attack = false
- Humanoid.WalkSpeed = 16
- end
- SlashEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) -- lazy
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=448386996", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 2)
- coroutine.resume(coroutine.create(function(Part, Mesh, num)
- for i = 0, 1, delay do
- swait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh, (math.random(0, 1) + math.random()) / 5)
- end
- function skill3()
- attack = true
- Effects.Block.Create(BrickColor.new("Steel blue"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 3, 3, 3, 4, 4, 4, .05)
- 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),})
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- swait()
- ref.CFrame = ref.CFrame * CFrame.new(0,0,-2)
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=863313385", ref, 1, 1.2)
- 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)
- 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)
- 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)
- 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)
- MagnitudeDamage(ref, 12, 10, 20, -10, "Normal", "179515215", 1.5)
- end
- ref:Remove()
- end))
- for i = 0, 5, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- 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)
- end
- attack = false
- end
- Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe
- prt.Material = "Neon"
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- swait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- shoottrail = function(Mouse, partt, SpreadAmount, multiply)
- local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
- local MainPos = partt.Position
- local MainPos2 = Mouse.Hit.p + SpreadVectors
- local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
- local speed = 100
- local num = 20
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=274538143", partt, 1, 1)
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
- local mag = (MainPos - pos).magnitude
- 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)
- MainPos = MainPos + MouseLook.lookVector * speed
- num = num - 1
- MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
- if hit ~= nil then
- num = 0
- local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- game:GetService("Debris"):AddItem(refpart, 2)
- end
- do
- if num <= 0 then
- local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- Effects.Block.Create(BrickColor.new('Steel blue'), refpart.CFrame, 10, 10, 10, 5, 5, 5, .1)
- if hit ~= nil then
- MagnitudeDamage(refpart, 5, 5 * multiply, 15 * multiply, 0, "Normal", "231917784", 1)
- end
- game:GetService("Debris"):AddItem(refpart, 0)
- end
- end
- until num <= 0
- end
- ))
- end
- function skill4()
- attack = true
- Humanoid.WalkSpeed = 0
- for i = 0, 7, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- 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)
- end
- for i = 0, 5, 0.1 do
- shoottrail(Mouse, Partasd, 3, 2)
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- 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)
- end
- Humanoid.WalkSpeed = 16
- attack = false
- end
- Mouse.Button1Down:connect(function()
- if attack == false and attacktype == 1 then
- attacktype = 2
- attackone()
- elseif attack == false and attacktype == 2 then
- attacktype = 3
- attacktwo()
- elseif attack == false and attacktype == 3 then
- attacktype = 4
- attackthree()
- elseif attack == false and attacktype == 4 then
- attacktype = 1
- attackfour()
- end
- end)
- Mouse.KeyDown:connect(function(k)
- k = k:lower()
- if attack == false and k == 'z' then
- skill1()
- elseif attack == false and k == 'x' then
- skill2()
- elseif attack == false and k == 'c' then
- skill3()
- elseif attack == false and k == 'v' then
- skill4()
- end
- end)
- while true do
- swait()
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "SmoothPlastic"
- elseif v:IsA("Accessory") then
- v:WaitForChild("Handle").Material = "SmoothPlastic"
- end
- end
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA'Model' then
- for _, c in pairs(v:GetChildren()) do
- if c:IsA'BasePart' then
- c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
- end
- end
- end
- end
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if attack == false then
- for i = 0, .5, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- 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)
- end
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- for i = 0, .5, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- 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)
- end
- end
- elseif Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if attack == false then
- change = 1
- for i = 0, .05, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- 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)
- end
- end
- elseif Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if attack == false then
- for i = 0, .05, 0.1 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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)),
- 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)),
- }, .3, false)
- 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)
- end
- end
- end
- if #Effects > 0 then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- Part = Thing[1]
- Mode = Thing[2]
- Delay = Thing[3]
- IncX = Thing[4]
- IncY = Thing[5]
- IncZ = Thing[6]
- if Thing[2] == "Shoot" then
- Look = Thing[1]
- hit, pos = rayCast(Thing[4], Look, 5, Character)
- mag = (Thing[4] - pos).magnitude
- Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(-1.57, 0, 0)
- Thing[4] = Thing[4] + (Look * 5)
- Thing[3] = Thing[3] - 1
- if hit ~= nil then
- print(hit.Parent)
- Thing[3] = 0
- --Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500)
- --MagniDamage(Thing[9], 5, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500)
- end
- if Thing[3] <= 0 then
- if hit == nil then
- Effects.Sphere.Create(BrickColor.new("Crimson"), Thing[9].CFrame, 1, 1, 1, 2, 2, 2, .1)
- CFuncs.Sound.Create("285370517", Thing[9], 1, 1)
- else
- Effects.Wave.Create(BrickColor.new("Crimson"), Thing[9].CFrame * CFrame.fromEulerAnglesXYZ(3.2, 0, 0), .2, .2, .2, .6, .8, .6, .1)
- CFuncs.Sound.Create("285370517", Thing[9], .6, 1)
- CFuncs.Sound.Create("285370545", Thing[9], 1, 1)
- end
- for i = 1, math.random(2, 4) do
- Effects.Break.Create(BrickColor.new("Crimson"), Thing[9].CFrame, math.random(20, 40) / 100, math.random(100, 600) / 100, math.random(20, 40) / 100)
- end
- Thing[9].Transparency = 1
- game:GetService("Debris"):AddItem(Thing[9], 1)
- table.remove(Effects, e)
- end
- end
- if Thing[2] ~= "Shoot" then
- if Thing[1].Transparency <= 1 then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block3" then
- Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block4" then
- Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2Fire" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- if Thing[1].Transparency >= .3 then
- Thing[1].BrickColor = BrickColor.new("Bright red")
- else
- Thing[1].BrickColor = BrickColor.new("Bright yellow")
- end
- elseif Thing[2] == "Ice" then
- if Thing[6] <= Thing[5] then
- Thing[6] = Thing[6] + .3
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 1, 0)
- else
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- elseif Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- elseif Thing[2] == "Fire" then
- Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder2" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, Thing[8], 0)
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement