Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- do
- print("FE Compatibility code by Mokiros")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- wait(0.2)
- Effects = { }
- local Player = owner
- local Character = Player.Character
- local LoadLibrary = require(17119824587)
- taco = 0
- m = 0
- n = 0
- o = 0
- local angles = CFrame.Angles
- local Humanoid = Character.Humanoid
- 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'
- Humanoid.WalkSpeed = 0
- Humanoid.AutoRotate = false
- Humanoid.JumpPower = 0
- local attacktype = 1
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 2
- local change = 1
- local Create = LoadLibrary("RbxUtility").Create
- maincol = "White"
- desirefont = "Garamond"
- Head.face.Texture = "http://www.roblox.com/asset/?id= "
- Instance.new("ForceField",Character).Visible = false
- transforming = true
- skillcolorscheme = BrickColor.new(maincol).Color
- untransforming = false
- local BillboardGui = Instance.new("BillboardGui")
- BillboardGui.Parent = Character
- BillboardGui.Adornee = BillboardGui.Parent:FindFirstChild("Head")
- BillboardGui.Size = UDim2.new(1, 0, 1, 0)
- BillboardGui.StudsOffset = Vector3.new(0, 5, 0)
- local TextLabel = Instance.new("TextLabel")
- TextLabel.Parent = BillboardGui
- TextLabel.Position = UDim2.new(0, 0, 0, 0)
- TextLabel.Font = desirefont
- TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.TextSize = 25
- TextLabel.TextColor3 = Color3.new(0,0,0)
- TextLabel.TextStrokeTransparency = 0
- TextLabel.TextStrokeColor3 = Color3.new(-1,-1,-1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Text = " "
- local co1 = 0
- local co2 = 0
- local co3 = 0
- local co4 = 0
- local co5 = 0
- local cooldown1 = 0
- local cooldown2 = 0
- local cooldown3 = 0
- local cooldown4 = 0
- local cooldown5 = 0
- skillcolorscheme = BrickColor.new(maincol).Color
- local scrn = Instance.new('ScreenGui', Player.PlayerGui)
- function makeframe(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
- for y,t in pairs(Character:GetChildren()) do
- if t:IsA("Accessory") and t:FindFirstChild("Handle") then
- t.Handle.Transparency = 1
- end
- end
- 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 = Create("BindableEvent", script){
- Parent = script,
- Name = "Heartbeat",
- }
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame 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)
- 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
- 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
- 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)
- if Size == Vector3.new() then
- Part.Size = Vector3.new(0.2, 0.2, 0.2)
- else
- Part.Size = Size
- end
- 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)
- local Sound = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- SoundId = "rbxassetid://" .. id,
- Parent = par or workspace,
- }
- Sound:play()
- return Sound
- 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(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") then
- if v:findFirstChild("Torso") then
- if v ~= Character then
- if (v.Torso.Position - Position).magnitude <= Distance then
- table.insert(List, v)
- end
- end
- end
- end
- end
- return List
- end
- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("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("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 = owner,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- 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
- 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(maincol).Color)
- 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 hit.Parent.Humanoid.MaxHealth > 100 then
- hit.Parent.Humanoid.MaxHealth = 100
- end
- 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()
- if hit.Parent.Humanoid.MaxHealth > 100 then
- hit.Parent.Humanoid.MaxHealth = 100
- end
- Effects.Block.Create(BrickColor.new(maincol), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 30, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "Wither" then
- coroutine.resume(coroutine.create(function()
- if hit.Parent.Humanoid.MaxHealth > 100 then
- hit.Parent.Humanoid.MaxHealth = 100
- end
- for i = 0, 1, 0.1 do
- wait(1)
- MagnitudeDamage(hit.Parent.Torso, 1, 5, 5, math.random(0, 0), "Normal", " ", .5)
- hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 1
- Effects.Block.Create(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 1, 1, 1, 1, 1, 1, .04, 1)
- end
- hit.Parent.Humanoid.WalkSpeed = 16
- end))
- elseif Type == "DarkDown" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new(maincol), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, -50, 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,
- }
- 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
- 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
- shoot = function(mouse, aoe , 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 = 1000
- local num = 20
- 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(maincol), 0, CFrame.new((MainPos + pos)/2, pos) * CFrame.Angles(1.57, 0, 0), 5, mag * (speed / (speed / 2)), 5, 5, 0, 5, 0.1)
- 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(EffectModel, "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(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- Effects.Block.Create(BrickColor.new("Really black"), refpart.CFrame, 10, 10, 10, 10, 10, 10, .08, 1)
- if hit ~= nil then
- MagnitudeDamage(refpart, aoe, 5 * multiply, 5 * multiply, 0, "Normal", "231917784", 1)
- end
- game:GetService("Debris"):AddItem(refpart, 0)
- end
- end
- until num <= 0
- end
- ))
- end
- function onClicked(hit)
- if hit ~= nil and hit.Name ~= "Base" and hit:FindFirstChild("RotTag") == nil then
- print("Infected "..hit.Name)
- local tag = Instance.new("BoolValue")
- tag.Name = "RotTag"
- tag.Parent = hit
- hit.CanCollide = false
- hit.Anchored = true
- wait(1)
- local list = hit:GetTouchingParts()
- for i = 1, #list do
- spawn(function()
- onClicked(list[i])
- end)
- end
- hit.Anchored = true
- hit.CanCollide = false
- hit.Parent = workspace
- hit.BrickColor = BrickColor.new(Color3.new(0, 0, 0))
- for i = 1, 10 do
- hit.Transparency = hit.Transparency + .1
- wait(.1)
- end
- hit:Destroy()
- end
- return
- end
- function OnMouseDown()
- if transforming == true then
- onClicked(Mouse.Target)
- 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 = desirefont,
- 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
- Effects.Sphere2.Create(BrickColor.new(maincol), head.CFrame, .5, .5, .5, .5, .5, .5, .05)
- Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
- end
- end
- end
- end
- end
- EffectModel = Create("Model"){
- Parent = Character,
- Name = "Effects",
- }
- function RayCast(Position, Direction, MaxDistance, IgnoreList)
- return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
- end
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local 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
- })
- 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(0.2, 0.2, 0.2))
- 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, 2)
- table.insert(Effects, {
- prt,
- "Cylinder",
- 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", "", 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;
- };
- Sphere1 = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", 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;
- };
- Sphere2 = {
- 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", "", 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;
- };
- Elect = {
- Create = function(cff, x, y, z)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new(maincol), "Part", Vector3.new(1, 1, 1))
- prt.Anchored = true
- prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
- prt.CFrame = CFrame.new(prt.Position)
- game:GetService("Debris"):AddItem(prt, 2)
- local xval = math.random() / 2
- local yval = math.random() / 2
- local zval = math.random() / 2
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
- table.insert(Effects, {
- prt,
- "Elec",
- 0.1,
- x,
- y,
- z,
- xval,
- yval,
- zval
- })
- end;
- };
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 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;
- };
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 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;
- };
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- 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 * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- 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;
- };
- FireWave = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, 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))
- local d = Create("Decal"){
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Top",
- }
- local d = Create("Decal"){
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Bottom",
- }
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "FireWave",
- 1,
- 30,
- math.random(400, 600) / 100,
- msh
- })
- 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 = {
- };
- }
- framesk1 = makeframe(scrn, .3, UDim2.new(.8, 0, .85, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
- bar1 = makeframe(framesk1, 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(1, 1, 1)
- text1.TextStrokeTransparency = 0
- text1.FontSize = Enum.FontSize.Size18
- text1.Font = desirefont
- text1.BorderSizePixel = 0
- text1.TextScaled = true
- text1.Text = "Press F to get started."
- Facemask=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Really black","Facemask",Vector3.new(0.100000903, 0.199999914, 0.0999996811))
- FacemaskWeld=CFuncs.Weld.Create(m,Character["Head"],Facemask,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0500009656, -0.10001123, 0.150001526, 0, 0, 1, 0, 1, 0, -1, 0, 0))
- eye1=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","eye1",Vector3.new(0.199999377, 0.200000003, 0.199999854))
- eye1Weld=CFuncs.Weld.Create(m,Facemask,eye1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999771357, -0.0226745605, -0.541763604, 0, 1, 0, 0, 0, -1, -1, 0, 0))
- CFuncs.Mesh.Create("SpecialMesh",eye1,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.100000001))
- eye2=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","eye2",Vector3.new(0.199999377, 0.200000003, 0.199999854))
- eye2Weld=CFuncs.Weld.Create(m,Facemask,eye2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999771357, 0.327358246, -0.541763604, 0, 1, 0, 0, 0, -1, -1, 0, 0))
- TorsoHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","TorsoHandle",Vector3.new(0.199999616, 0.200000003, 0.199999854))
- moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
- Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
- TorsoHandleWeld=CFuncs.Weld.Create(m,Character["Torso"],TorsoHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999412537, -0.0999810249, -0.219952106, -1, 0, 0, 0, 1, 0, 0, 0, -1))
- Scarf2=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,Torso.Color,"Scarf2",Vector3.new(0.199999988, 0.049999997, 0.099999994))
- Scarf2Weld=CFuncs.Weld.Create(m,TorsoHandle,Scarf2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.115654449, -0.592010379, -0.209721327, -1, 0, 0, 0, 1, 0, 0, 0, -1))
- CFuncs.Mesh.Create("SpecialMesh",Scarf2,Enum.MeshType.FileMesh,"rbxassetid://1271232474",Vector3.new(0, 0, 0),Vector3.new(0.0192, 0.0192, 0.0192))
- CFuncs.Mesh.Create("SpecialMesh",eye2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.100000001))
- eee1=CFuncs.Sound.Create("193035857", Character, .5, 1)
- eee1.Looped = true
- crab=CFuncs.Sound.Create("278321082", Character, .8, 1)
- crab.Looped = true
- Mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k == "f" and untransforming == false then
- spinny=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "spinny", Vector3.new())
- spinny.Anchored=true
- spinny.CanCollide=false
- spinny2=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "spinny", Vector3.new())
- spinny2.Anchored=true
- spinny2.CanCollide=false
- eee1:Destroy()
- eee=CFuncs.Sound.Create("863901527", Character, 1, 1)
- eee.Looped = true
- eee.TimePosition = 12
- untransforming = true
- transforming = false
- bar1:Destroy()
- framesk1:Destroy()
- fop = 50
- spi = 60
- spo = 3
- spoi = 1
- schpe = .03
- soi = 0
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.54815805, 0.113066152, 0, 0.981752872, -0.190161094, 0, 0.190161064, 0.981752992, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.56642199, 0.0832426548, 0, 0.977346003, 0.211647764, 0, -0.211647764, 0.977346003, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- for i = 0, 100 do
- Torso.Velocity = Vector3.new(0, 50, 0)
- wait(.01)
- end
- for i = 0, 100 do
- Torso.Velocity = Vector3.new(0, 50, 0)
- wait(.01)
- end
- bewm=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("White"), "bewm", Vector3.new(1,1,1))
- bewm.Anchored=true
- bewm.CanCollide=false
- bewm.Position = Torso.Position
- local mbewm = Instance.new("SpecialMesh", bewm)
- mbewm.MeshType = "Sphere"
- mbewm.Scale = Vector3.new(0,0,0)
- for i = 0, 70, 0.1 do
- swait()
- CFuncs.Sound.Create("379557765", Torso, .3, 1)
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.284558058, 0.352360129, -0.585287333, 0.258820832, 0.965924978, -2.79002438e-06, 0.084192656, -0.0225623567, -0.996192336, -0.962249458, 0.257835418, -0.0871634856) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.273653597, 0.406440526, -0.577382147, 0.258828282, -0.965923369, -1.5671344e-07, -0.167737693, -0.0449467227, -0.984804809, 0.951247692, 0.254895747, -0.17365551) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- bewm.CFrame = Torso.CFrame
- mbewm.Scale = Vector3.new(mbewm.Scale.X+.1,mbewm.Scale.Y+.1,mbewm.Scale.Z+.1)
- Effects.Lightning.Create(efekt5.Position, HitboxLA.Position, 3, 5, maincol, 1, 0, 1)
- Effects.Lightning.Create(efekt4.Position, HitboxRA.Position, 3, 5, "Really black", 1, 0, 1)
- spinny.Position = RootPart.Position
- spinny.CFrame = spinny.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/45, 0)
- Torso.Velocity = Vector3.new(0, 6, 0)
- end
- wait(2.2)
- bewm:Destroy()
- CFuncs.Sound.Create("401056199", Torso, 10, 1)
- CFuncs.Sound.Create("331898547", Torso, 10, 1)
- Effects.Sphere2.Create(BrickColor.new("White"), RootPart.CFrame, 8, 8, 8, 8, 8, 8, .008, 1)
- Effects.Wave.Create(BrickColor.new(maincol), RootPart.CFrame, 5, 5, 5, 5, 5, 5, .08, 2)
- MagnitudeDamage(Torso, 80, 90, 90, 10, "Wither", " ", .5)
- TextLabel.Text = "Rao, the Balance God"
- for i = 0, 10, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.251876831, 0.470080227, -1.34110451e-06, 1, 0, -0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0999908447, 1.50946021, 0.223286748, 1, 0, -0, 0, 0.939692438, -0.342020929, -0, 0.342020959, 0.939692438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.43255699, 1.25413036, 0.366365522, -0.939692736, -0.296197951, -0.171009928, 0.321393639, -0.935729802, -0.145313144, -0.11697761, -0.191511214, 0.974494696) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.41037154, 1.34628582, 0.488534033, 0.939692736, 0.296197951, -0.171009928, 0.321393639, -0.935729802, 0.145313144, -0.11697761, -0.191511214, -0.974494696) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.578960061, -1.5122112, 0.50258863, 0.98480773, -0.173648164, -1.55591565e-07, 0.133022353, 0.754406869, 0.642787278, -0.111618698, -0.633021891, 0.766044796) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.686709404, -1.51906383, 0.467823565, 0.98480773, 0.173648164, 1.55591565e-07, -0.133022353, 0.754406869, 0.642787278, 0.111618698, -0.633021891, 0.766044796) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- fop = 80
- spi = 80
- spo = 80
- spoi = 2
- schpe = .03
- soi = 200
- Humanoid.WalkSpeed = 25
- Humanoid.AutoRotate = true
- Humanoid.JumpPower = 80
- attack = false
- if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
- return
- end
- end
- end)
- while transforming == true do
- swait()
- Humanoid.Health = math.huge
- PlayAnimationFromTable({
- CFrame.new(0, -2, 0, 0, 0.984807849, 0.173647985, -1, 0, 0, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0999920368, 1.22553754, -0.589294791, 1, 0, -0, 0, 0.499998808, 0.866026223, -0, -0.866026223, 0.499998808) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.800001562, 0.0751656741, -1.00217676, 0.866025388, 0.500000238, 0, -0.492404163, 0.852868617, -0.173647985, -0.0868240371, 0.150383562, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.901474714, -0.162059426, -0.809470534, 0.939692736, -0.321393609, 0.116977669, 0.33682391, 0.810216308, -0.479686856, 0.0593910702, 0.490159124, 0.869607329) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.312552929, -1.27662241, -0.77715373, 1, 0, -0, 0, 0.984807849, 0.173648134, -0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.524474978, -1.25619924, -0.812270045, 1, 0, -0, 0, 0.984807849, 0.173648134, -0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- Mouse.Button1Down:connect(OnMouseDown)
- end
- skillcolorscheme = BrickColor.new(maincol).Color
- framesk1 = makeframe(scrn, .3, UDim2.new(.8, 0, .85, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
- framesk2 = makeframe(scrn, .3, UDim2.new(.8, 0, .74, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
- framesk3 = makeframe(scrn, .3, UDim2.new(.8, 0, .63, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
- framesk4 = makeframe(scrn, .3, UDim2.new(.8, 0, .52, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
- framesk5 = makeframe(scrn, .3, UDim2.new(.8, 0, .41, 0), UDim2.new(.14, 0, .08, 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)
- bar5 = makeframe(framesk5, 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, 255, 255)
- text1.TextStrokeTransparency = 0
- text1.FontSize = Enum.FontSize.Size18
- text1.Font = desirefont
- text1.BorderSizePixel = 0
- text1.TextScaled = true
- 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, 255, 255)
- text2.TextStrokeTransparency = 0
- text2.FontSize = Enum.FontSize.Size18
- text2.Font = desirefont
- text2.BorderSizePixel = 0
- text2.TextScaled = true
- 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, 255, 255)
- text3.TextStrokeTransparency = 0
- text3.FontSize = Enum.FontSize.Size18
- text3.Font = desirefont
- text3.BorderSizePixel = 0
- text3.TextScaled = false
- 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, 255, 255)
- text4.TextStrokeTransparency = 0
- text4.FontSize = Enum.FontSize.Size18
- text4.Font = desirefont
- text4.BorderSizePixel = 0
- text4.TextScaled = true
- text5 = Instance.new('TextLabel', framesk5)
- text5.BackgroundTransparency = 1
- text5.Size = UDim2.new(1, 0, 1, 0)
- text5.Position = UDim2.new(0, 0, 0, 0)
- text5.TextColor3 = Color3.new(255, 255, 255)
- text5.TextStrokeTransparency = 0
- text5.FontSize = Enum.FontSize.Size18
- text5.Font = desirefont
- text5.BorderSizePixel = 0
- text5.TextScaled = true
- text1.Text = "[Z]\n Dokusei Dash"
- text2.Text = "[X]\n Crush"
- text3.Text = "[C]\n Summon Orbs"
- text4.Text = "[V]\n Perish"
- text5.Text = "[B]\n The End"
- Handle1=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle1",Vector3.new(1, 0.199999854, 1))
- Handle1Weld=CFuncs.Weld.Create(m,Character["Left Arm"],Handle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.7220459e-05, 0.300019085, 4.80413437e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1))
- larm=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","larm",Vector3.new(1, 2, 1))
- larmWeld=CFuncs.Weld.Create(m,Handle1,larm,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.300000191, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- HitboxLA=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really red","HitboxLA",Vector3.new(1, 0.999999821, 1))
- HitboxLAWeld=CFuncs.Weld.Create(m,Handle1,HitboxLA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.19999969, -5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- Handle2=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle2",Vector3.new(1, 0.199999854, 1))
- Handle2Weld=CFuncs.Weld.Create(m,Character["Left Leg"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-05, 0.300022364, 4.81009483e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1))
- lleg=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","lleg",Vector3.new(1, 2, 1))
- llegWeld=CFuncs.Weld.Create(m,Handle2,lleg,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.300000191, -5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- HitboxLL=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really red","HitboxLL",Vector3.new(1, 0.999999821, 1))
- HitboxLLWeld=CFuncs.Weld.Create(m,Handle2,HitboxLL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.199999571, -5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- Handle3=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle3",Vector3.new(1, 0.199999854, 1))
- Handle3Weld=CFuncs.Weld.Create(m,Character["Right Arm"],Handle3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.48498535e-05, 0.300019085, 4.81009483e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1))
- rarm=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","rarm",Vector3.new(1, 2, 1))
- rarmWeld=CFuncs.Weld.Create(m,Handle3,rarm,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.300000191, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- HitboxRA=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really red","HitboxRA",Vector3.new(1, 0.999999821, 1))
- HitboxRAWeld=CFuncs.Weld.Create(m,Handle3,HitboxRA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.19999969, -1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- Handle4=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle4",Vector3.new(1, 0.199999854, 1))
- Handle4Weld=CFuncs.Weld.Create(m,Character["Right Leg"],Handle4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.48498535e-05, 0.300022364, 4.7981739e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1))
- rleg=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","rleg",Vector3.new(1, 2, 1))
- rlegWeld=CFuncs.Weld.Create(m,Handle4,rleg,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.299999952, 5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- HitboxRL=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really red","HitboxRL",Vector3.new(1, 0.999999821, 1))
- HitboxRLWeld=CFuncs.Weld.Create(m,Handle4,HitboxRL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.199999571, 5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- Handle5=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle5",Vector3.new(1, 0.199999854, 1))
- Handle5Weld=CFuncs.Weld.Create(m,Character["Head"],Handle5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100063324, 0.60001117, 4.78625298e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1))
- hed=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","hed",Vector3.new(0.999999821, 1, 1))
- hedWeld=CFuncs.Weld.Create(m,Handle5,hed,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600006878, 0.100009918, -0.0199998617, 0, 1, 0, -1, 0, 0, 0, 0, 1))
- Handle6=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle6",Vector3.new(1, 0.199999854, 1))
- Handle6Weld=CFuncs.Weld.Create(m,Character["Torso"],Handle6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100063324, 0.500019073, 4.7981739e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1))
- tors=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","tors",Vector3.new(2.00000024, 2, 1))
- torsWeld=CFuncs.Weld.Create(m,Handle6,tors,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999984741, -0.50000006, -1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- sref = CFuncs.Part.Create(Character, "Neon", 1, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- sref.Anchored = true
- function battac1()
- attack = true
- for i = 0, 1.5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-1.39627684e-06, -7.36942911e-06, 1.39627605e-06, 0.476727128, 0.183012798, 0.859789252, -0.25000006, 0.965925813, -0.0669873133, -0.842752159, -0.183012694, 0.506236255) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0340346247, 1.51263666, -0.0478081331, 0.877126634, 0.104048893, -0.46885246, -0.101895347, 0.994341493, 0.0300414115, 0.469325185, 0.0214237869, 0.882765472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.579812467, 0.345736474, -0.59361434, 0.072264187, 0.924199581, -0.375010848, -0.974444211, -0.0147579908, -0.224144787, -0.212688923, 0.381624758, 0.899514318) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.85228181, 0.875683367, -0.260588259, 0.773285925, 0.551785231, 0.312348992, 0.546566546, -0.829791725, 0.112741388, 0.321393579, 0.0835381895, -0.943253636) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.738364995, -1.84033036, 0.563868403, 0.687917829, -0.0233614445, -0.725412488, 0.1578255, 0.98037982, 0.118095428, 0.708420873, -0.195728526, 0.678107858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.917405725, -1.57624996, 0.686944962, 0.872133791, 0.197120011, -0.447801769, 0.198867023, 0.693416834, 0.692549586, 0.447028697, -0.693048954, 0.565551639) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- MagnitudeDamage(HitboxLA, 8, 30, 30, 200, "Normal", "260430079", 1)
- CFuncs.Sound.Create("200632136", HitboxLA, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-4.17232513e-06, -5.30481339e-06, -0.999984145, 0.707105339, 0.183013991, -0.683013916, 0, 0.965925574, 0.258820295, 0.707108378, -0.183013216, 0.683010995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0373710692, 1.51263273, 0.0452473164, 0.848774672, -0.00623494387, 0.528718293, -0.0508090742, 0.994341671, 0.0932918787, -0.526308119, -0.106047422, 0.84365499) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.68801045, 0.407435834, -0.449469507, -0.706166267, -0.389181942, -0.591495514, -0.569585621, 0.808487773, 0.148054063, 0.420596808, 0.441457987, -0.792599082) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.75769782, 0.713923812, -0.430418491, -0.0885525197, 0.637445807, -0.7653898, -0.942978859, -0.301171541, -0.141728252, -0.320857644, 0.709195852, 0.627767205) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.639599144, -1.8263067, -0.331883222, 0.859788299, -0.183012217, 0.476729214, 0.195730031, 0.980379641, 0.023357138, -0.471650183, 0.0732280314, 0.878739834) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.307636291, -1.77595973, 0.545883834, 0.982273102, -0.181773037, -0.045809418, 0.135392249, 0.518932045, 0.844025373, -0.129649013, -0.835265398, 0.534343541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- attack = false
- end
- function battac2()
- attack = true
- Humanoid.WalkSpeed = 0
- for i = 0, 1.5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -1.59282732, -0.519607961, 1, 0, 0, 0, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.55377007, -0.152360976, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.2000078, 0.953045666, -0.713819265, 0.866025448, 0.49999994, -2.26266827e-08, 0.353553265, -0.612372398, -0.707107067, -0.353553474, 0.612372637, -0.70710665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.15360737, 0.794935584, -0.750632823, 0.866025388, -0.500000179, -5.589701e-07, -0.353553861, -0.61237222, -0.707106948, 0.353553265, 0.612372756, -0.707106769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.5799793, -0.590984702, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500015259, -1.65356255, -0.585621715, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- MagnitudeDamage(HitboxLA, 8, 5, 10, 100, "DarkUp", "306247749", 1)
- CFuncs.Sound.Create("200632136", HitboxRA, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -1.2196213, -0.273204356, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.49368489, 0.246804297, 1, 0, 0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.34139562, 1.24449635, -0.501063168, 0.707141161, 4.3202607e-07, -0.707072496, 0.183035791, -0.965913892, 0.183052927, -0.68297112, -0.258863807, -0.683037519) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.4036299, 1.31358445, -0.263445199, 0.866024435, 6.45238671e-08, 0.500001669, -0.129408985, -0.965926468, 0.224142075, 0.482964844, -0.258817255, -0.836515903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.86381054, -0.121815026, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500015259, -1.92484725, -0.0803779364, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- Humanoid.WalkSpeed = 25
- attack = false
- end
- function battac3()
- attack = true
- CFuncs.Sound.Create("306247749", HitboxRA, 3, 1)
- Humanoid.WalkSpeed = 5
- for i = 0, 1.5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(3.57627869e-07, 6.79999733, -5.96046448e-07, 0.866025269, 4.00048179e-07, -0.500000358, -0.129410043, 0.965925813, -0.224143773, 0.482963175, 0.258819193, 0.836516142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0975225121, 1.5006386, -0.168908179, 0.961516261, -0.0622723475, 0.267598331, 0.0669877082, 0.997717559, -0.00851863623, -0.266457021, 0.0261165649, 0.96349299) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.42953217, 1.36738133, 0.560824573, 0.969378471, 0.036978662, -0.242771834, 0.112739824, -0.945273399, 0.30618304, -0.21816349, -0.324177235, -0.920496464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.514982402, 0.167981669, -0.348204494, 0.390162021, -0.863741398, 0.318942964, 0.920569658, 0.37272048, -0.116752014, -0.0180329978, 0.339161426, 0.940555334) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.01503551, -1.61222804, 0.758090556, 0.866025269, -0.43301329, 0.249999851, 4.00048179e-07, 0.499999911, 0.866025567, -0.500000358, -0.749999881, 0.433012724) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.674192369, -1.93183935, -0.167736471, 0.866025269, -4.61935997e-07, 0.500000417, 4.00048179e-07, 1, 2.08616257e-07, -0.500000358, -1.49011612e-08, 0.866025269) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- Effects.Block.Create(BrickColor.new(maincol), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .08, 2)
- end
- MagnitudeDamage(HitboxRA, 8, 30, 50, 500, "Knockdown", "782354021", 1)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(1.54972076e-06, 6.58641052, -0.246319056, 0.866024971, -5.42000919e-07, -0.500000775, 0.250001013, 0.866025209, 0.433012664, 0.433012992, -0.500000536, 0.749999523) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0975218043, 1.50063884, -0.168915406, 0.961516201, -0.0622704476, 0.267598808, 0.0669858828, 0.997717738, -0.00851911306, -0.266457558, 0.0261166394, 0.963492811) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.02015197, 0.517821193, -1.45992565, 0.886716843, 0.436117947, 0.153409019, 0.0551973283, 0.229585916, -0.971722126, -0.459005952, 0.870110035, 0.17950508) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.36973119, -0.0445775315, 0.63426286, 0.896512747, -0.350060821, 0.271518677, 0.118428506, 0.7799505, 0.61453402, -0.42689541, -0.5187819, 0.740692675) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.568625093, -1.55863333, -0.015111208, 0.866024971, -0.433012992, 0.250001013, -5.42000919e-07, 0.500000536, 0.866025209, -0.500000775, -0.749999523, 0.433012664) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.774200022, -1.53183734, -0.340943307, 0.866024971, 6.2584877e-07, 0.500000834, -5.42000919e-07, 1.00000024, -3.57627869e-07, -0.500000775, 2.98023224e-08, 0.866025031) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- Effects.Block.Create(BrickColor.new(maincol), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .08, 1)
- Effects.Block.Create(BrickColor.new("Really black"), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .08, 1)
- end
- Humanoid.WalkSpeed = 25
- attack = false
- end
- function tauntu1()
- attack = true
- Humanoid.WalkSpeed = 0
- ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "I don't have all day.", 1.5, BrickColor.new(Torso.Color).Color)
- CFuncs.Sound.Create("159882303", Torso, 10, 1)
- for i = 0, 1, .6 do
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-6.55651093e-07, 1.61952615, -0.25634259, 0.766044199, 1.48394292e-07, -0.642787933, 0.219846055, 0.939692795, 0.262002409, 0.604023099, -0.342019796, 0.719846249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- end
- Humanoid.WalkSpeed = 25
- attack = false
- end
- function tauntu2()
- attack = true
- Humanoid.WalkSpeed = 0
- ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "Just don't bore me, yeah?", 2, BrickColor.new(Torso.Color).Color)
- CFuncs.Sound.Create("159882635", Torso, 10, 1)
- for i = 0, 1, .6 do
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-6.55651093e-07, 1.61952615, -0.25634259, 0.766044199, 1.48394292e-07, -0.642787933, 0.219846055, 0.939692795, 0.262002409, 0.604023099, -0.342019796, 0.719846249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- end
- Humanoid.WalkSpeed = 25
- attack = false
- end
- function tauntu3()
- attack = true
- Humanoid.WalkSpeed = 0
- ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "How many minutes will you last?", 2, BrickColor.new(Torso.Color).Color)
- CFuncs.Sound.Create("159882644", Torso, 10, 1)
- for i = 0, 1, .6 do
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-6.55651093e-07, 1.61952615, -0.25634259, 0.766044199, 1.48394292e-07, -0.642787933, 0.219846055, 0.939692795, 0.262002409, 0.604023099, -0.342019796, 0.719846249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- end
- Humanoid.WalkSpeed = 25
- attack = false
- end
- x = 5
- function blasty()
- attack = true
- ref=CFuncs.Part.Create(HitboxRA, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new(.05,.05,.05))
- ref.Anchored=true
- ref.CanCollide=false
- ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50)
- Humanoid.WalkSpeed = 0
- CFuncs.Sound.Create("159882628", Torso, 5, 1)
- ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "Ah.", 1.5, BrickColor.new(Torso.Color).Color)
- local grab = nil
- for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
- if v:FindFirstChild('Head') then
- Grabbed = true
- grab = v
- end
- end
- for i = 0, 3, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.64711547, 1.41346073, 0.361087859, -0.969846308, -0.171009913, -0.17364803, 0.173647985, -0.984807849, 5.96214491e-08, -0.171009898, -0.0301535726, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50)
- end
- CFuncs.Sound.Create("159882620", Torso, 5, 1)
- ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "Amazed you've survived this long.", 1.5, BrickColor.new(Torso.Color).Color)
- for i = 0, 1, .5 do
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-6.55651093e-07, 1.61952615, -0.25634259, 0.766044199, 1.48394292e-07, -0.642787933, 0.219846055, 0.939692795, 0.262002409, 0.604023099, -0.342019796, 0.719846249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50)
- end
- end
- wait(1)
- ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "YOU IDIOT!", 1.5, BrickColor.new(Torso.Color).Color)
- CFuncs.Sound.Create("160212768", Torso, 5, 1)
- for i = 0, 2, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.495502, 0.155976295, 1, 0, -0, 0, 0.866025805, -0.499999762, -0, 0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.67320466, 0.256948113, 0.586459577, 0.866025269, -0.500000298, -6.19429386e-07, 0.129410207, 0.224143684, 0.965925992, -0.482963115, -0.836516321, 0.258819222) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.65528786, 0.236378402, 0.663342357, 0.965925872, 0.258818746, -5.97341477e-06, -0.0669837445, 0.250009447, 0.965923786, 0.250000656, -0.933010399, 0.258827239) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.603523314, -1.92523527, 0.665380895, 0.965925872, 0, -0.258818984, 0.129409552, 0.866025388, 0.482963175, 0.224143818, -0.500000238, 0.836516321) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.551774561, -1.92862988, 0.659501493, 0.965925872, 0, 0.258818984, -0.129409552, 0.866025388, 0.482963175, -0.224143818, -0.500000238, 0.836516321) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50)
- end
- for i = 0, 2, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.56138074, -0.0756135881, 1, 0, 0, 0, 0.965926051, 0.258818865, 0, -0.258818865, 0.965926051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.893782854, 0.905647635, -1.42211223, 0.874999404, 0.2164938, -0.433020234, -0.321208358, -0.409599364, -0.85384649, -0.362217247, 0.886204958, -0.288859576) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.891812921, 1.14138389, -1.46892774, 0.909297884, -0.274861544, 0.312455654, 0.121369407, -0.543028176, -0.830897272, 0.398053885, 0.793455601, -0.460414648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.332013369, -2.05282021, -0.211744398, 0.990150332, 0.135906085, 0.0336450152, -0.137435734, 0.989331186, 0.0483245552, -0.0267184712, -0.0524725616, 0.998264909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.582855225, -1.7770021, -0.922122419, 1, 0, 0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50)
- end
- if Grabbed == true and grab ~= nil then
- grab.Humanoid.PlatformStand = true
- grab.Head.CFrame = ref.CFrame * CFrame.Angles(0,-45,0)
- for i = 0, 1.5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -1.59282732, -0.519607961, 1, 0, 0, 0, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.55377007, -0.152360976, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.2000078, 0.953045666, -0.713819265, 0.866025448, 0.49999994, -2.26266827e-08, 0.353553265, -0.612372398, -0.707107067, -0.353553474, 0.612372637, -0.70710665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.15360737, 0.794935584, -0.750632823, 0.866025388, -0.500000179, -5.589701e-07, -0.353553861, -0.61237222, -0.707106948, 0.353553265, 0.612372756, -0.707106769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.5799793, -0.590984702, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500015259, -1.65356255, -0.585621715, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- grab.Head.CFrame = ref.CFrame
- end
- grab.Torso.Anchored = true
- ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "STRUGGLE!", 1.5, BrickColor.new(Torso.Color).Color)
- CFuncs.Sound.Create("160212585", Torso, 5, 1)
- for i = 0, 2, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -1.2196213, -0.273204356, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.49368489, 0.246804297, 1, 0, 0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.34139562, 1.24449635, -0.501063168, 0.707141161, 4.3202607e-07, -0.707072496, 0.183035791, -0.965913892, 0.183052927, -0.68297112, -0.258863807, -0.683037519) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.4036299, 1.31358445, -0.263445199, 0.866024435, 6.45238671e-08, 0.500001669, -0.129408985, -0.965926468, 0.224142075, 0.482964844, -0.258817255, -0.836515903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.86381054, -0.121815026, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.500015259, -1.92484725, -0.0803779364, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- grab.Head.CFrame = ref.CFrame
- end
- for i = 0, 1.6, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -0, -0, 0.87176013, 0, -0.489933014, 0, 1, 0, 0.489933044, 0, 0.87176013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.03097759, 1.48068821, -0.0551198274, 0.87176013, -0.0370955803, 0.48852694, 0, 0.997134864, 0.0757154897, -0.489933014, -0.0660058483, 0.869258225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.67023849, 1.3309983, 0.00941206701, 0.938447893, -0.345421582, -2.02059746e-05, -0.345412821, -0.938424468, 0.00707728788, -0.00246357918, -0.00663465261, -0.999975145) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.60166776, 0.116563603, 1.17343279e-05, 0.980870962, 0.19466114, 2.98023224e-08, -0.19466126, 0.980870605, -4.82129451e-07, -2.38418579e-07, 4.54485416e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.680485487, -1.96697748, 0.239762232, 0.980836987, -0.145232886, 0.129914314, 0.112037525, 0.965800464, 0.23382929, -0.159429669, -0.21478951, 0.963567197) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.587270081, -1.95259011, -0.315021306, 0.915650666, -0.0214495566, 0.401413441, -0.00645985128, 0.997661352, 0.068044588, -0.40193662, -0.0648979694, 0.913366556) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- Effects.Sphere2.Create(BrickColor.new(maincol), grab.Torso.CFrame, 3, 3, 3, 3, 3, 3, .03, 2)
- end
- CFuncs.Sound.Create("159882598", Torso, 10, 1)
- Effects.Block.Create(BrickColor.new("Really black"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 3, 3, 3, 2, 2, 2, .06)
- CFuncs.Sound.Create("188959311", RightArm, 10, 1)
- for i = 0, 5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -0, -0, 0.87176013, 0, -0.489933014, 0, 1, 0, 0.489933044, 0, 0.87176013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.03097759, 1.48068821, -0.0551198274, 0.87176013, -0.0370955803, 0.48852694, 0, 0.997134864, 0.0757154897, -0.489933014, -0.0660058483, 0.869258225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.6043725, 1.397439, 0.00988263357, 0.975719333, -0.219024912, -1.93417072e-05, -0.219019294, -0.975694954, 0.00707555423, -0.00156858563, -0.00689952075, -0.999975085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.60166776, 0.116563603, 1.17343279e-05, 0.980870962, 0.19466114, 2.98023224e-08, -0.19466126, 0.980870605, -4.82129451e-07, -2.38418579e-07, 4.54485416e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.680485487, -1.96697748, 0.239762232, 0.980836987, -0.145232886, 0.129914314, 0.112037525, 0.965800464, 0.23382929, -0.159429669, -0.21478951, 0.963567197) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.587270081, -1.95259011, -0.315021306, 0.915650666, -0.0214495566, 0.401413441, -0.00645985128, 0.997661352, 0.068044588, -0.40193662, -0.0648979694, 0.913366556) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .4, false)
- Effects.Sphere2.Create(BrickColor.new("Really black"), grab.Torso.CFrame, 3, 3, 3, 3, 3, 3, .03, 2)
- end
- Effects.Lightning.Create(efekt4.Position, grab.Torso.Position, 5, 5, "Really black", 5, 0, 2)
- Effects.Sphere2.Create(BrickColor.new(maincol), grab.Torso.CFrame, 3, 3, 3, 5, 5, 5, .01, 2)
- grab.Torso.Anchored = false
- local boo = Instance.new("Explosion", Character.Torso)
- boo.Position = grab.Torso.Position
- boo.BlastRadius = 100
- boo.BlastPressure = 500
- CFuncs.Sound.Create("331903140", Character, 3, 1)
- grab.Torso:BreakJoints()
- end
- attack = false
- Humanoid.WalkSpeed = 25
- Humanoid.JumpPower = 60
- Humanoid.AutoRotate = true
- x=5
- end
- function corruptedclouds()
- attack = true
- CFuncs.Sound.Create("471882099", Character, 5, 1)
- local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(4.93319941, -1.31948221, -45.7696877, 0.141969427, -5.55023435e-05, -0.989871144, 0.989874005, 1.80069164e-05, 0.141970903, 1.06166653e-05, -1.00000143, 5.59078326e-05),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- mot = New("Weld",k,"mot",{Part0 = k,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.141969457, 0.989873946, 1.06166663e-05, -5.55023507e-05, 1.80069164e-05, -1.00000167, -0.989871264, 0.141970903, 5.59078399e-05),C1 = CFrame.new(6.67572021e-06, -1.40000057, -3.81469727e-06, 0.989870846, -0.14197053, -1.2531201e-06, 0.141970515, 0.989870906, 1.03843358e-05, -2.33842215e-07, -1.04570581e-05, 0.99999994),})
- for i = 0, 1.2, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .2, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * 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.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0263810754, 1.49789393, -0.36129567, 0.83927381, -0.177804202, 0.513814509, -0.0293880031, 0.928800881, 0.369412124, -0.542914331, -0.325137854, 0.774292946) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.925376594, 0.275374949, -0.912649989, 0.847262561, -0.507846355, 0.155686736, 0.278232396, 0.17463918, -0.944503605, 0.452473402, 0.84355998, 0.289265245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.671897829, -2.02211738, 0.00865991414, 0.942302644, 0.108399101, -0.316726208, -0.108764961, 0.993929207, 0.0165806562, 0.31660068, 0.0188247077, 0.948372126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .25, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- local grab = nil
- for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 8)) do
- if v:FindFirstChild('Head') then
- Grabbed = true
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Head, 1, .8)
- grab = v
- end
- end
- if Grabbed == true and grab ~= nil then
- for i = 0, 1, 0.1 do
- swait()
- if Grabbed == true then
- grab.Humanoid.PlatformStand = true
- --GGyro.position = Partss.Position
- --GGyro.Parent = grab.Head
- grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
- end
- PlayAnimationFromTable({
- CFrame.new(1.76864308e-14, 4.48080471e-07, -1.63087861e-07, 0.766044796, 3.70911337e-08, -0.642787158, 0.219846025, 0.939692855, 0.262002498, 0.604022622, -0.342020035, 0.719846845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.341020674, 1.52092338, -0.0619920865, 0.975082517, 0.21674332, 0.0472928584, -0.219845772, 0.972632766, 0.0751910806, -0.0297012031, -0.0837147534, 0.99604708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.85675263, -0.0607492924, -0.232875168, 0.533469737, -0.629021049, -0.565454543, 0.0702756345, 0.699180424, -0.711484134, 0.842898726, 0.339813501, 0.417194188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.1962359, 1.45365191, 0.615582228, 0.944647968, 0.171928287, -0.279431552, 0.321390301, -0.656127512, 0.682794034, -0.0659500062, -0.734806061, -0.675066113) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.796237707, -1.89043427, 0.0301880166, 0.992736578, 0.0288502425, -0.116799474, -0.0291476101, 0.999574959, -0.000837668777, 0.116725862, 0.00423581898, 0.993155241) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.958333611, -2.11844707, 0.433348566, 0.719846725, 0.262002468, 0.642787337, -0.342019975, 0.939692914, -1.1920929e-07, -0.604022384, -0.219846129, 0.766044915) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- ref=CFuncs.Part.Create(HitboxRA, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "ref", Vector3.new())
- ref.Anchored=true
- ref.CanCollide=false
- game.Debris:AddItem(ref,.5)
- for i = 0, 1, 0.1 do
- swait()
- if Grabbed == true then
- grab.Humanoid.PlatformStand = true
- --GGyro.position = Partss.Position
- --GGyro.Parent = grab.Head
- grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
- end
- PlayAnimationFromTable({
- CFrame.new(0.0237534959, -0.393922806, -0.0652742982, 0.939694047, 0.336823881, -0.0593910813, 6.63990818e-07, 0.173648596, 0.984807611, 0.342021018, -0.925418198, 0.163178027) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.172945321, 1.41877878, 0.442766368, 0.939694047, -0.296202481, 0.171007663, 0.336823881, 0.888269424, -0.312314689, -0.0593910813, 0.351079285, 0.934461713) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.52180564, 0.292591512, 0.881093621, 0.939694047, -0.219847351, -0.262002945, 0.336823881, 0.461824715, 0.820530832, -0.0593910813, -0.859295249, 0.508020401) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.06820941, 0.562155366, -1.52689314, 0.939694047, 6.63990818e-07, 0.342021018, 0.336823881, 0.173648596, -0.925418198, -0.0593910813, 0.984807611, 0.163178027) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.01252818, -1.59739447, -1.0576911, 0.939694047, -0.116977476, 0.32139498, 0.336823881, 0.479688108, -0.810217738, -0.0593910813, 0.869606614, 0.490160972) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.760051727, -1.08797181, -1.43901432, 0.939694703, 0.116978236, -0.321393281, -0.336825103, 0.479687691, -0.810217381, 0.0593926162, 0.869606614, 0.490160555) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- ref.CFrame = grab.Torso.CFrame
- Effects.Block.Create(BrickColor.new(maincol), ref.CFrame, 1, 1, 1, 1, 1, 1, .08, 1)
- end
- MagnitudeDamage(ref, 3, 100, 100, 0, "Wither", "199149235", 1)
- CFuncs.Sound.Create("385545047", grab.Torso, 5, 1)
- Effects.Sphere2.Create(BrickColor.new(maincol), HitboxLA.CFrame, 3, 3, 3, 3, 3, 3, .03, 2)
- end
- k:Remove()
- Humanoid.WalkSpeed = 25
- attack = false
- end
- function disconnect1()
- con1:Disconnect()
- end
- function disconnect2()
- con2:Disconnect()
- end
- orbs1=false
- orbs2=false
- function orbos()
- attack = true
- Humanoid.WalkSpeed = 0
- orbs1=true
- orbs2=true
- orb1=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("White"), "ref", Vector3.new(1,1,1))
- orb1.Anchored=true
- orb1.CanCollide=false
- local mbewm2 = Instance.new("SpecialMesh", orb1)
- mbewm2.MeshType = "Sphere"
- mbewm2.Scale = Vector3.new(2,2,2)
- orb2=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Really black"), "ref", Vector3.new(1,1,1))
- orb2.Anchored=true
- orb2.CanCollide=false
- local mbewm1 = Instance.new("SpecialMesh", orb2)
- mbewm1.MeshType = "Sphere"
- mbewm1.Scale = Vector3.new(2,2,2)
- orb1.CFrame=spinny.CFrame*CFrame.new(5,0,0)
- orb2.CFrame=spinny.CFrame*CFrame.new(-5,0,0)
- CFuncs.Sound.Create("588735945", Torso, 10, 1)
- local con1 = orb1.Touched:connect(function(hit) MagnitudeDamage(orb1, 8, 95, 100, 20, "Normal", "199149235", 1) Effects.Sphere2.Create(BrickColor.new(maincol), orb1.CFrame, 1, 1, 1, 1, 1, 1, .05) orb1.Transparency = 1 orbs1 = false orb1:Destroy() end)
- local con2 = orb2.Touched:connect(function(hit) MagnitudeDamage(orb2, 8, 95, 100, 20, "Normal", "199149235", 1) Effects.Sphere2.Create(BrickColor.new("Really black"), orb2.CFrame, 1, 1, 1, 1, 1, 1, .05) orb2.Transparency = 1 orbs2 = false orb2:Destroy() end)
- for i = 0, 2, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.70599079, 0.765470147, -0.522034883, 0.641520381, -0.693589449, 0.327697039, 0.160697088, -0.296198219, -0.941511095, 0.750085473, 0.656658471, -0.0785593688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.85860336, 0.769027293, -0.346409023, 0.469846278, 0.813797832, -0.342020005, -0.171010107, -0.296197951, -0.939692676, -0.866025507, 0.49999994, 1.54857389e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- Effects.Sphere2.Create(BrickColor.new("Really black"), HitboxLA.CFrame, 1, 1, 1, 1, 1, 1, .05)
- Effects.Sphere2.Create(BrickColor.new(maincol), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .05)
- Humanoid.WalkSpeed = 25
- attack = false
- Grabbed = false
- x = 5
- end
- function warpything()
- attack = true
- Humanoid.Jump = true
- Humanoid.WalkSpeed = 0
- LeftArm.Transparency = 0
- RightArm.Transparency = 0
- LeftLeg.Transparency = 0
- RightLeg.Transparency = 0
- Head.Transparency = 0
- Torso.Transparency = 0
- CFuncs.Sound.Create("782353443", Character, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.707106829, 0.707106829, 0, -0.707106829, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.54349375, -0.187853307, 1, 0, 0, 0, 0.965926051, 0.258818865, 0, -0.258818865, 0.965926051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.5, 0.282838553, -0.489890486, 1, 0, -0, 0, 0.258818865, -0.965926051, 0, 0.965926051, 0.258818865) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.5, 0.282807112, -0.48988995, 1, 0, -0, 0, 0.258818865, -0.965926051, 0, 0.965926051, 0.258818865) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.89706933, -1.11773682, 1, 0, 0, 0, 0.965926051, -0.258818865, 0, 0.258818865, 0.965926051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.78912175, -0.0150479674, 1, 0, 0, 0, 0.866025448, 0.500000119, 0, -0.500000119, 0.866025448) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- for i = 0, 5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -0.0787503347, -0.155455261, 1, 0, 0, 0, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.61677504, 0.0853292942, 1, 0, 0, 0, 0.866025805, -0.499999762, 0, 0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.5, 1.21241796, -0.699987948, 1, 0, 0, 0, -0.866025388, -0.500000238, 0, 0.500000238, -0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.5, 1.21241796, -0.699987948, 1, 0, 0, 0, -0.866025388, -0.500000238, 0, 0.500000238, -0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.93497717, -0.279311121, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.93551612, 0.5313164, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- MagnitudeDamage(Torso, 20, 10, 15, math.random(0, 0), "Normal", "199149235", 1)
- Effects.Block.Create(BrickColor.new(maincol), HitboxRA.CFrame, 2, 2, 2, 1, 1, 1, .08, 1)
- Effects.Block.Create(BrickColor.new(maincol), HitboxLA.CFrame, 2, 2, 2, 1, 1, 1, .08, 1)
- Torso.Velocity=RootPart.CFrame.lookVector*100
- LeftArm.Transparency = LeftArm.Transparency + .1
- RightArm.Transparency = RightArm.Transparency + .1
- LeftLeg.Transparency = LeftLeg.Transparency + .1
- RightLeg.Transparency = RightArm.Transparency + .1
- Head.Transparency = Head.Transparency + .1
- Torso.Transparency = Torso.Transparency + .1
- Scarf2.Transparency = Scarf2.Transparency + .1
- end
- CFuncs.Sound.Create("610359442", Character, 1, 1)
- LeftArm.Transparency = 0
- RightArm.Transparency = 0
- LeftLeg.Transparency = 0
- RightLeg.Transparency = 0
- Head.Transparency = 0
- Torso.Transparency = 0
- Scarf2.Transparency = 0
- Humanoid.WalkSpeed = 25
- attack = false
- end
- function wip()
- attack = true
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 0
- bewm=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("White"), "bewm", Vector3.new(1,1,1))
- bewm.Anchored=true
- bewm.CanCollide=true
- bewm.CFrame=RootPart.CFrame*CFrame.new(0,80,0)
- local mbewm = Instance.new("SpecialMesh", bewm)
- mbewm.MeshType = "Sphere"
- mbewm.Scale = Vector3.new(0,0,0)
- CFuncs.Sound.Create("471881922", bewm, 10, 1)
- Humanoid.AutoRotate = false
- for i = 0, 10, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.64711547, 1.41346073, 0.361087859, -0.969846308, -0.171009913, -0.17364803, 0.173647985, -0.984807849, 5.96214491e-08, -0.171009898, -0.0301535726, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.62076974, 0.0347282067, 0.036604397, 0.984807789, 0.173648089, 8.94069672e-08, -0.173648089, 0.984807849, -1.81875043e-06, -4.17232513e-07, 1.77323818e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- mbewm.Scale = Vector3.new(mbewm.Scale.X+1,mbewm.Scale.Y+1,mbewm.Scale.Z+1)
- Effects.Lightning.Create(efekt3.Position, bewm.Position, 3, 5, maincol, 1, 0, 1)
- Effects.Lightning.Create(efekt4.Position, bewm.Position, 3, 5, "Really black", 1, 0, 1)
- RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
- end
- wait(1.5)
- sniffyboy=CFuncs.Sound.Create("379250622", sref, 10, 1)
- sniffyboy.Looped = true
- for i = 0, 20, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.50731635, 1.028705, -0.872095346, -0.846583009, -0.517408669, -0.124843016, 0.087108463, -0.366077006, 0.926498711, -0.525080562, 0.773483098, 0.354985267) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.71551478, 0.0740617141, -0.122276708, 0.943261385, 0.326123834, 0.062461704, -0.316874564, 0.940298975, -0.124210618, -0.0992406905, 0.0973705947, 0.990288079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- mbewm.Scale = Vector3.new(mbewm.Scale.X-.5,mbewm.Scale.Y-.5,mbewm.Scale.Z-.5)
- Effects.Lightning.Create(efekt3.Position, bewm.Position, 3, 5, maincol, 1, 0, 1)
- Effects.Lightning.Create(efekt4.Position, bewm.Position, 3, 5, "Really black", 1, 0, 1)
- RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
- shoot(Mouse,40,bewm,0,8)
- end
- Humanoid.JumpPower = 80
- Humanoid.WalkSpeed = 16
- Humanoid.AutoRotate = true
- sniffyboy:Destroy()
- bewm:Destroy()
- attack = false
- end
- Mouse.Button1Down:connect(function()
- if attack == false and attacktype == 1 then
- battac1()
- attacktype = 2
- elseif attack == false and attacktype == 2 then
- battac2()
- attacktype = 3
- elseif attack == false and attacktype == 3 then
- battac3()
- attacktype = 1
- end
- end)
- Mouse.KeyDown:connect(function(k)
- k = k:lower()
- if attack == false and k == "z" and cooldown1 >=co1 then
- warpything()
- cooldown1=0
- elseif attack == false and k == "x" and cooldown2 >=co2 then
- cooldown2=0
- corruptedclouds()
- elseif attack == false and k == "c" and orbs1 == false and orbs2 == false and cooldown3 >=co3 then
- cooldown3=0
- orbos()
- elseif attack == false and k == "v" and cooldown4 >=co4 then
- cooldown4=0
- blasty()
- elseif attack == false and k == "b" and cooldown5 >=co5 then
- wip(Mouse.Hit.p)
- cooldown5=0
- elseif attack == false and k == "t" then
- tauntu1()
- elseif attack == false and k == "y" then
- tauntu2()
- elseif attack == false and k == "u" then
- tauntu3()
- end
- end)
- function updateskills1()
- if cooldown1 <= co1 then
- cooldown1 = cooldown1 + 1 / 30
- end
- if cooldown2 <= co2 then
- cooldown2 = cooldown2 + 1 / 30
- end
- if cooldown3 <= co3 then
- cooldown3 = cooldown3 + 1 / 30
- end
- if cooldown4 <= co4 then
- cooldown4 = cooldown4 + 1 / 30
- end
- if cooldown5 <= co5 then
- cooldown5 = cooldown5 + 1 / 30
- end
- end
- snif = false
- efekt=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
- efekt.Anchored=true
- efekt.CanCollide=false
- efekt2=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
- efekt2.Anchored=true
- efekt2.CanCollide=false
- efekt3=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
- efekt3.Anchored=true
- efekt3.CanCollide=false
- efekt4=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
- efekt4.Anchored=true
- efekt4.CanCollide=false
- efekt5=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
- efekt5.Anchored=true
- efekt5.CanCollide=false
- OwO=20
- floatyup=-1
- while true do
- swait()
- spinny.Position = Torso.Position
- efekt.CFrame=RootPart.CFrame*CFrame.new(math.random(-fop,fop),math.random(-fop,fop),(math.random(-fop,fop)))
- updateskills1()
- bar5:TweenSize(UDim2.new(1 * (cooldown5 / co5), 0, 1, 0), 'Out', 'Quad', .5)
- bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
- bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
- bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
- bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
- spinny.CFrame = spinny.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/45, 0)
- efekt2.CFrame=spinny.CFrame*CFrame.new(spi,soi,0)
- efekt3.CFrame=spinny.CFrame*CFrame.new(-spi,soi,0)
- efekt4.CFrame=spinny.CFrame*CFrame.new(spi-OwO,soi,0)
- efekt5.CFrame=spinny.CFrame*CFrame.new(-spi+OwO,soi,0)
- sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
- 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
- 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
- PlayAnimationFromTable({
- CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.64206743, -0.0635313094, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.79116416, 1.59931493, -0.0296922661, -0.878741562, -0.476725847, 0.0233638063, 0.474528521, -0.877861023, -0.0646751374, 0.0513424724, -0.0457459092, 0.997632861) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.76288748, 1.570122, 0.0706513077, -0.875000715, 0.482961625, -0.0334950797, -0.475173414, -0.870010674, -0.131498694, -0.0926498771, -0.0991454795, 0.990750372) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.33184052, -0.517642975, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.53184128, -0.51764679, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- --I was too lazy to make idle anims, so thanks to When_kun for doing it for me.--
- elseif Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if attack == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.284558058, 0.352360129, -0.585287333, 0.258820832, 0.965924978, -2.79002438e-06, 0.084192656, -0.0225623567, -0.996192336, -0.962249458, 0.257835418, -0.0871634856) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.273653597, 0.406440526, -0.577382147, 0.258828282, -0.965923369, -1.5671344e-07, -0.167737693, -0.0449467227, -0.984804809, 0.951247692, 0.254895747, -0.17365551) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if attack == false then
- change = 2
- PlayAnimationFromTable({
- CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(-math.rad(35), 0, 0),
- CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.53044462, 0.0434587747, 0.373253405, 0.981754541, -0.171075299, -0.0830325559, 0.190161183, 0.883219123, 0.428673476, 6.77824119e-07, -0.43664071, 0.89963758) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.56102109, 0.0510505885, 0.286096632, 0.977345586, 0.197517931, 0.076041609, -0.211649761, 0.91208744, 0.351141959, 5.20918206e-07, -0.359280914, 0.933229327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- end
- if 0 < #Effects then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if Thing[2] == "Shoot" then
- local Look = Thing[1]
- local move = 5
- local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
- if Thing[10] ~= nil then
- da = pos
- cf2 = CFrame.new(Thing[4], Thing[10].Position)
- cfa = CFrame.new(Thing[4], pos)
- tehCF = cfa:lerp(cf2, 0.2)
- Thing[1] = tehCF.lookVector
- end
- local mag = (Thing[4] - pos).magnitude
- Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
- Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15)
- Thing[4] = Thing[4] + Look * move
- Thing[3] = Thing[3] - 1
- if 2 < Thing[5] then
- Thing[5] = Thing[5] - 0.3
- Thing[6] = Thing[6] - 0.3
- end
- if hit ~= nil then
- Thing[3] = 0
- MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- Effects.Block.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05)
- Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
- game:GetService("Debris"):AddItem(ref, 1)
- end
- if Thing[3] <= 0 then
- table.remove(Effects, e)
- end
- end
- do
- do
- if Thing[2] == "FireWave" then
- if Thing[3] <= Thing[4] then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
- Thing[3] = Thing[3] + 1
- Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" 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]
- else
- if 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]
- else
- if 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]
- else
- if 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]
- else
- if Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Elec" then
- Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- end
- end
- end
- end
- end
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- end
- end
- if orbs1 == true then
- orb1.CFrame=spinny.CFrame*CFrame.new(5,0,0)
- end
- if orbs2 == true then
- orb2.CFrame=spinny.CFrame*CFrame.new(-5,0,0)
- end
- Humanoid.Health = math.huge
- Effects.Ring.Create(BrickColor.new("Really black"), efekt2.CFrame, spo, spoi, spo, spo, spoi, spo, schpe, 2)
- Effects.Ring.Create(BrickColor.new(maincol), efekt3.CFrame, spo, spoi, spo, spo, spoi, spo, schpe, 2)
- Effects.Ring.Create(BrickColor.new(maincol), efekt4.CFrame, spo/2, spoi/2, spo/2, spo/2, spoi/2, spo/2/2, .06, 2)
- Effects.Ring.Create(BrickColor.new("Really black"), efekt5.CFrame, spo/2, spoi/2, spo/2, spo/2, spoi/2, spo/2, .06, 2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement