Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------
- --/ \--
- -- Script By: 123jl123 --
- --\ /--
- ---------------------------
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- Player = game:GetService("Players").LocalPlayer
- local MHIT=Vector3.new()
- local MTARGET=nil
- local CamCoord = Vector3.new()
- Cam = workspace.CurrentCamera
- local mouse = Player:GetMouse()
- Character = Player.Character
- PlayerGui = Player.PlayerGui
- Backpack = Player.Backpack
- Torso = Character.Torso
- Head = Character.Head
- Humanoid = Character.Humanoid
- LeftArm = Character["Left Arm"]
- LeftLeg = Character["Left Leg"]
- RightArm = Character["Right Arm"]
- RightLeg = Character["Right Leg"]
- ch = Character
- RootPart = Character.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- local Anim="Idle"
- local FlyA = true
- local inAir = false
- local inAir2 = false
- local attack = false
- local effectmodel = Instance.new("Model",Character)
- effectmodel.Name = "Effects"
- it=Instance.new
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- IT = Instance.new
- local cn = CFrame.new
- mr=math.rad
- local sprintmode=false
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local Anim="Idle"
- local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint")
- local Neck = Character.Torso:FindFirstChild("Neck")
- local lastvolume = 0
- local lastsongpos = 0
- local lastid= "http://www.roblox.com/asset/?id=1216140425"
- local CurId = 1
- local s2=Instance.new("Sound",Torso)
- local Tuanting = false
- local HClip = true
- s2.EmitterSize = 40
- local s2c=s2:Clone()
- local ShowTag = true
- local WEAPONGUI = IT("ScreenGui", PlayerGui)
- WEAPONGUI.Name = "Weapon GUI"
- Humanoid.DisplayDistanceType = "None"
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.AlwaysOnTop = true
- naeeym2.Size = UDim2.new(5,35,2,15)
- naeeym2.StudsOffset = Vector3.new(0,2,0)
- naeeym2.MaxDistance = 75
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "Name"
- naeeym2.PlayerToHideFrom = Player
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.TextScaled = true
- tecks2.BorderSizePixel = 0
- tecks2.Text = "Hollow Light"
- tecks2.Font = "Garamond"
- tecks2.TextSize = 20
- tecks2.TextStrokeTransparency = 0
- tecks2.TextTransparency=.2
- tecks2.TextColor3 = Color3.new(0,0,0)
- tecks2.TextStrokeColor3 = Color3.new(.8,.8,.8)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.Parent = naeeym2
- function weld(parent,part0,part1,c0)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- return weld
- end
- local sine = 0
- local change = 1
- function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
- local frame = IT("Frame")
- frame.BackgroundTransparency = TRANSPARENCY
- frame.BorderSizePixel = BORDERSIZEPIXEL
- frame.Position = POSITION
- frame.Size = SIZE
- frame.BackgroundColor3 = COLOR
- frame.BorderColor3 = BORDERCOLOR
- frame.Name = NAME
- frame.Parent = PARENT
- return frame
- end
- function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
- local label = IT("TextLabel")
- label.BackgroundTransparency = 1
- label.Size = UDim2.new(1, 0, 1, 0)
- label.Position = UDim2.new(0, 0, 0, 0)
- label.TextColor3 = TEXTCOLOR
- label.TextStrokeTransparency = STROKETRANSPARENCY
- label.TextTransparency = TRANSPARENCY
- label.FontSize = TEXTFONTSIZE
- label.Font = TEXTFONT
- label.BorderSizePixel = BORDERSIZEPIXEL
- label.TextStrokeColor3 = Color3.new(1,1,1)
- label.TextScaled = false
- label.Text = TEXT
- label.Name = NAME
- label.Parent = PARENT
- return label
- end
- function Acthing(Part00,Mid,MScale,MBC,MMT,WCF,MCL)
- local RoHead = Instance.new("Part")
- RoHead.Parent = Character
- RoHead.Size = Vector3.new(0.05, 0.05, 0.05)
- RoHead.Transparency = 0
- RoHead.Shape = "Ball"
- RoHead.BrickColor = MBC
- RoHead.Material = MMT
- RoHead.CanCollide = false
- local mesh = Instance.new("SpecialMesh",RoHead)
- mesh.MeshId = "rbxassetid://"..Mid
- mesh.Scale = MScale
- local weld2en = Instance.new("Weld")
- weld2en.Parent = Part00
- weld2en.Part0 = Part00
- weld2en.Part1 = RoHead
- weld2en.C1 = WCF
- if MCL ~= nil then
- RoHead.Color = MCL
- end
- RoHead.Archivable = false
- end
- -- Hood
- Acthing(Head,"16952952",Vector3.new(1,1,1),BrickColor.new("Really black"),"Fabric",cn(0,-0.31,0)*angles(math.rad(0), math.rad(0), math.rad(-0)))
- -- Head Mesh
- Acthing(Head,"1174600651",Vector3.new(.04,.04,.04),BrickColor.new("Really black"),"Fabric",cn(0,0,-.02)*angles(math.rad(90), math.rad(0), math.rad(-180)),Color3.new(0, 0, 0))
- -- Arm
- for i = 1,3,1 do
- for i2 = 0,1,1 do
- Acthing(RightArm,"20637493",Vector3.new(.7-i2*.1, 0.4+(i*.5)-(i2*.1), .6-i2*.0),BrickColor.new("Really black"),"Fabric",cn(0,0.85-i*.05,0.3+i*.05)*angles(math.rad(-180+(i*20)+(i2*.1)), math.rad(90), math.rad(-0)),Color3.new(.05+i2*.9, .05+i2*.9, .05+i2*.9))
- end
- end
- Acthing(Head,"71494804",Vector3.new(1, 0.8, .4),BrickColor.new("Really black"),"Fabric",cn(0,-0.8,-.22)*angles(math.rad(45), math.rad(0), math.rad(0)),Color3.new(0, 0, 0))
- for i,clothes in pairs(Character:GetChildren()) do
- if clothes.ClassName == "Shirt" or clothes.ClassName == "Pants" or clothes.ClassName == "Accessory" or clothes.ClassName == "Hat" then
- clothes:Destroy()
- end
- end
- local shirt = Instance.new("Shirt", Character)
- shirt.Name = "Shirt"
- local pants = Instance.new("Pants", Character)
- pants.Name = "Pants"
- Character.Shirt.ShirtTemplate = "rbxassetid://128445060"
- Character.Pants.PantsTemplate = "rbxassetid://128445101"
- local BC = Character:WaitForChild("Body Colors")
- BC.HeadColor3 = Color3.new(0, 0, 0)
- BC.LeftArmColor3 = Color3.new(0, 0, 0)
- BC.LeftLegColor3 = Color3.new(0, 0, 0)
- BC.RightArmColor3 = Color3.new(0, 0, 0)
- BC.RightLegColor3 = Color3.new(0, 0, 0)
- BC.TorsoColor3 = Color3.new(0, 0, 0)
- local RoHead = Instance.new("Part")
- RoHead.Parent = Character
- RoHead.Size = Vector3.new(0.1, 0.1, 0.1)
- RoHead.Transparency = 0
- RoHead.Shape = "Ball"
- RoHead.Material = "Neon"
- RoHead.CanCollide = false
- RoHead.Name = "Neon"
- local mesh = Instance.new("SpecialMesh",RoHead)
- mesh.MeshType = "Sphere"
- mesh.Scale = Vector3.new(10.2,10,4.2)
- local weld2en = Instance.new("Weld")
- weld2en.Parent = Character.Head
- weld2en.Part0 = Character.Head
- weld2en.Part1 = RoHead
- weld2en.C1 = cn(0,0,.35)
- RoHead.Color = Color3.new(1, 1, 1)
- RoHead.Archivable = false
- coroutine.resume(coroutine.create(function()
- Head.Transparency = 1
- while true do wait(1)
- for _,v in pairs(Character:GetChildren()) do
- if (v:IsA("Accessory")) then
- coroutine.resume(coroutine.create(function()
- v.Handle.Transparency = 1
- end))
- end end
- Head.Transparency = 1
- end
- end))
- coroutine.resume(coroutine.create(function()
- wait(.5)
- Head.face:Destroy()
- wait(1.5)
- for i,clothes in pairs(Character:GetChildren()) do
- if clothes.ClassName == "Shirt" or clothes.ClassName == "Pants" or clothes.ClassName == "Accessory" or clothes.ClassName == "Hat" then
- clothes:Destroy()
- end
- end
- local shirt = Instance.new("Shirt", Character)
- shirt.Name = "Shirt"
- local pants = Instance.new("Pants", Character)
- pants.Name = "Pants"
- Character.Shirt.ShirtTemplate = "rbxassetid://128445060"
- Character.Pants.PantsTemplate = "rbxassetid://128445101"
- Head.face:Destroy()
- end))
- function stopAnimations()
- coroutine.resume(coroutine.create(function()
- Character.Animate:Destroy()
- end))
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(Humanoid:GetPlayingAnimationTracks()) do
- v:Stop()
- end
- end))
- end
- stopAnimations()
- --Amulet
- m7 = Instance.new("Model")
- m7.Name = "Amulet"
- p1 = Instance.new("Part", m7)
- p1.BrickColor = BrickColor.new("White")
- p1.Material = Enum.Material.Neon
- p1.Name = "Center"
- p1.CFrame = CFrame.new(-1.0658141e-014, 14.4125643, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p1.CanCollide = false
- p1.Locked = true
- p1.FormFactor = Enum.FormFactor.Custom
- p1.Shape = Enum.PartType.Cylinder
- p1.Size = Vector3.new(0.5, 0.5, 0.5)
- p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- p2 = Instance.new("Part", m7)
- p2.BrickColor = BrickColor.new("Really black")
- p2.Material = Enum.Material.Metal
- p2.Name = "Bottom"
- p2.CFrame = CFrame.new(1.19209318e-007, 14.1625719, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p2.CanCollide = false
- p2.Locked = true
- p2.FormFactor = Enum.FormFactor.Custom
- p2.Size = Vector3.new(0.200000003, 0.649999976, 0.649999976)
- p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b1 = Instance.new("SpecialMesh", p2)
- b1.MeshType = Enum.MeshType.Cylinder
- b1.Name = "Mesh"
- p3 = Instance.new("Part", m7)
- p3.BrickColor = BrickColor.new("Really black")
- p3.Material = Enum.Material.Metal
- p3.CFrame = CFrame.new(1.23580463e-007, 14.4625673, -0.280000001, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p3.CanCollide = false
- p3.Locked = true
- p3.FormFactor = Enum.FormFactor.Custom
- p3.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b2 = Instance.new("SpecialMesh", p3)
- b2.MeshType = Enum.MeshType.Brick
- b2.Name = "Mesh"
- b2.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p4 = Instance.new("Part", m7)
- p4.BrickColor = BrickColor.new("Really black")
- p4.Material = Enum.Material.Metal
- p4.CFrame = CFrame.new(1.19209318e-007, 14.4625673, 0.280000001, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p4.CanCollide = false
- p4.Locked = true
- p4.FormFactor = Enum.FormFactor.Custom
- p4.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b3 = Instance.new("SpecialMesh", p4)
- b3.MeshType = Enum.MeshType.Brick
- b3.Name = "Mesh"
- b3.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p5 = Instance.new("Part", m7)
- p5.BrickColor = BrickColor.new("Really black")
- p5.Material = Enum.Material.Metal
- p5.CFrame = CFrame.new(0.14000012, 14.4625673, -0.242487118, -3.78551732e-008, -0.866025388, -0.5, 1, -4.37113883e-008, 0, -2.18556941e-008, -0.5, 0.866025388)
- p5.CanCollide = false
- p5.Locked = true
- p5.FormFactor = Enum.FormFactor.Custom
- p5.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b4 = Instance.new("SpecialMesh", p5)
- b4.MeshType = Enum.MeshType.Brick
- b4.Name = "Mesh"
- b4.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p6 = Instance.new("Part", m7)
- p6.BrickColor = BrickColor.new("Really black")
- p6.Material = Enum.Material.Metal
- p6.CFrame = CFrame.new(-0.139999881, 14.4625673, 0.242487103, -3.78551732e-008, -0.866025388, -0.5, 1, -4.37113883e-008, 0, -2.18556941e-008, -0.5, 0.866025388)
- p6.CanCollide = false
- p6.Locked = true
- p6.FormFactor = Enum.FormFactor.Custom
- p6.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b5 = Instance.new("SpecialMesh", p6)
- b5.MeshType = Enum.MeshType.Brick
- b5.Name = "Mesh"
- b5.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p7 = Instance.new("Part", m7)
- p7.BrickColor = BrickColor.new("Really black")
- p7.Material = Enum.Material.Metal
- p7.CFrame = CFrame.new(-0.242486984, 14.4625673, 0.139999986, -2.18556924e-008, -0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551732e-008, -0.866025388, 0.5)
- p7.CanCollide = false
- p7.Locked = true
- p7.FormFactor = Enum.FormFactor.Custom
- p7.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b6 = Instance.new("SpecialMesh", p7)
- b6.MeshType = Enum.MeshType.Brick
- b6.Name = "Mesh"
- b6.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p8 = Instance.new("Part", m7)
- p8.BrickColor = BrickColor.new("Really black")
- p8.Material = Enum.Material.Metal
- p8.CFrame = CFrame.new(0.242487192, 14.4625673, -0.139999971, -2.18556924e-008, -0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551732e-008, -0.866025388, 0.5)
- p8.CanCollide = false
- p8.Locked = true
- p8.FormFactor = Enum.FormFactor.Custom
- p8.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b7 = Instance.new("SpecialMesh", p8)
- b7.MeshType = Enum.MeshType.Brick
- b7.Name = "Mesh"
- b7.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p9 = Instance.new("Part", m7)
- p9.BrickColor = BrickColor.new("Really black")
- p9.Material = Enum.Material.Metal
- p9.CFrame = CFrame.new(0.280000091, 14.4625673, -1.64313008e-014, 0, 0, -1, 1, -4.37113847e-008, 0, -4.37113847e-008, -1, 0)
- p9.CanCollide = false
- p9.Locked = true
- p9.FormFactor = Enum.FormFactor.Custom
- p9.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b8 = Instance.new("SpecialMesh", p9)
- b8.MeshType = Enum.MeshType.Brick
- b8.Name = "Mesh"
- b8.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p10 = Instance.new("Part", m7)
- p10.BrickColor = BrickColor.new("Really black")
- p10.Material = Enum.Material.Metal
- p10.CFrame = CFrame.new(-0.279999852, 14.4625673, -1.49011772e-008, 0, 0, -1, 1, -4.37113847e-008, 0, -4.37113847e-008, -1, 0)
- p10.CanCollide = false
- p10.Locked = true
- p10.FormFactor = Enum.FormFactor.Custom
- p10.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b9 = Instance.new("SpecialMesh", p10)
- b9.MeshType = Enum.MeshType.Brick
- b9.Name = "Mesh"
- b9.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p11 = Instance.new("Part", m7)
- p11.BrickColor = BrickColor.new("Really black")
- p11.Material = Enum.Material.Metal
- p11.CFrame = CFrame.new(-0.242486984, 14.4625673, -0.139999986, 2.18556906e-008, 0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551697e-008, -0.866025388, -0.5)
- p11.CanCollide = false
- p11.Locked = true
- p11.FormFactor = Enum.FormFactor.Custom
- p11.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b10 = Instance.new("SpecialMesh", p11)
- b10.MeshType = Enum.MeshType.Brick
- b10.Name = "Mesh"
- b10.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p12 = Instance.new("Part", m7)
- p12.BrickColor = BrickColor.new("Really black")
- p12.Material = Enum.Material.Metal
- p12.CFrame = CFrame.new(0.242487192, 14.4625673, 0.139999971, 2.18556906e-008, 0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551697e-008, -0.866025388, -0.5)
- p12.CanCollide = false
- p12.Locked = true
- p12.FormFactor = Enum.FormFactor.Custom
- p12.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b11 = Instance.new("SpecialMesh", p12)
- b11.MeshType = Enum.MeshType.Brick
- b11.Name = "Mesh"
- b11.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p13 = Instance.new("Part", m7)
- p13.BrickColor = BrickColor.new("Really black")
- p13.Material = Enum.Material.Metal
- p13.CFrame = CFrame.new(-0.139999866, 14.4625673, -0.242487073, 3.78551732e-008, 0.866025388, -0.5, 1, -4.37113812e-008, 1.77635684e-015, -2.18556924e-008, -0.5, -0.866025388)
- p13.CanCollide = false
- p13.Locked = true
- p13.FormFactor = Enum.FormFactor.Custom
- p13.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b12 = Instance.new("SpecialMesh", p13)
- b12.MeshType = Enum.MeshType.Brick
- b12.Name = "Mesh"
- b12.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p14 = Instance.new("Part", m7)
- p14.BrickColor = BrickColor.new("Really black")
- p14.Material = Enum.Material.Metal
- p14.CFrame = CFrame.new(0.14000012, 14.4625673, 0.242487073, 3.78551732e-008, 0.866025388, -0.5, 1, -4.37113812e-008, 1.77635684e-015, -2.18556924e-008, -0.5, -0.866025388)
- p14.CanCollide = false
- p14.Locked = true
- p14.FormFactor = Enum.FormFactor.Custom
- p14.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b13 = Instance.new("SpecialMesh", p14)
- b13.MeshType = Enum.MeshType.Brick
- b13.Name = "Mesh"
- b13.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p15 = Instance.new("Part", m7)
- p15.BrickColor = BrickColor.new("Really black")
- p15.Material = Enum.Material.Metal
- p15.Name = "Top"
- p15.CFrame = CFrame.new(0, 14.7125645, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p15.CanCollide = false
- p15.Locked = true
- p15.FormFactor = Enum.FormFactor.Custom
- p15.Size = Vector3.new(0.200000003, 0.649999976, 0.649999976)
- p15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b14 = Instance.new("SpecialMesh", p15)
- b14.MeshType = Enum.MeshType.Cylinder
- b14.Name = "Mesh"
- w1 = Instance.new("Weld", p1)
- w1.Name = "Joint"
- w1.Part0 = p1
- w1.C0 = CFrame.new(0.300000191, -1.31134357e-008, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w1.Part1 = p15
- w1.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w2 = Instance.new("Weld", p2)
- w2.Name = "Joint"
- w2.Part0 = p2
- w2.C0 = CFrame.new(0.249992371, 1.08281824e-007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w2.Part1 = p1
- w2.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w3 = Instance.new("Weld", p3)
- w3.Name = "Joint"
- w3.Part0 = p3
- w3.C0 = CFrame.new(-0.0500030518, 1.25766178e-007, 0.280000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w3.Part1 = p1
- w3.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w4 = Instance.new("Weld", p4)
- w4.Name = "Joint"
- w4.Part0 = p4
- w4.C0 = CFrame.new(-0.0500030518, 1.21395033e-007, -0.280000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w4.Part1 = p1
- w4.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w5 = Instance.new("Weld", p5)
- w5.Name = "Joint"
- w5.Part0 = p5
- w5.C0 = CFrame.new(-0.0500030518, 1.00163732e-007, 0.280000061, 1, -5.85621507e-009, -2.18556941e-008, -5.85621507e-009, 0.866025388, -0.5, 2.18556941e-008, 0.5, 0.866025388)
- w5.Part1 = p1
- w5.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w6 = Instance.new("Weld", p6)
- w6.Name = "Joint"
- w6.Part0 = p6
- w6.C0 = CFrame.new(-0.0500030518, 1.00163732e-007, -0.279999942, 1, -5.85621507e-009, -2.18556941e-008, -5.85621507e-009, 0.866025388, -0.5, 2.18556941e-008, 0.5, 0.866025388)
- w6.Part1 = p1
- w6.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w7 = Instance.new("Weld", p7)
- w7.Name = "Joint"
- w7.Part0 = p7
- w7.C0 = CFrame.new(-0.0500030518, 5.54602479e-008, -0.279999882, 1, -2.18556959e-008, -3.78551732e-008, -2.18556906e-008, 0.5, -0.866025388, 3.78551732e-008, 0.866025388, 0.5)
- w7.Part1 = p1
- w7.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w8 = Instance.new("Weld", p8)
- w8.Name = "Joint"
- w8.Part0 = p8
- w8.C0 = CFrame.new(-0.0500030518, 7.03614091e-008, 0.280000061, 1, -2.18556959e-008, -3.78551732e-008, -2.18556906e-008, 0.5, -0.866025388, 3.78551732e-008, 0.866025388, 0.5)
- w8.Part1 = p1
- w8.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w9 = Instance.new("Weld", p9)
- w9.Name = "Joint"
- w9.Part0 = p9
- w9.C0 = CFrame.new(-0.0500030518, 2.1856863e-009, 0.280000091, 1, -4.37113883e-008, -4.37113847e-008, -4.37113847e-008, 1.91068525e-015, -1, 4.37113883e-008, 1, 0)
- w9.Part1 = p1
- w9.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w10 = Instance.new("Weld", p10)
- w10.Name = "Joint"
- w10.Part0 = p10
- w10.C0 = CFrame.new(-0.0500030518, -1.27154749e-008, -0.279999852, 1, -4.37113883e-008, -4.37113847e-008, -4.37113847e-008, 1.91068525e-015, -1, 4.37113883e-008, 1, 0)
- w10.Part1 = p1
- w10.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w11 = Instance.new("Weld", p11)
- w11.Name = "Joint"
- w11.Part0 = p11
- w11.C0 = CFrame.new(-0.0500030518, -5.6298461e-008, -0.279999882, 1, -6.55670789e-008, -3.78551697e-008, -6.55670789e-008, -0.5, -0.866025388, 3.78551732e-008, 0.866025388, -0.5)
- w11.Part1 = p1
- w11.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w12 = Instance.new("Weld", p12)
- w12.Name = "Joint"
- w12.Part0 = p12
- w12.C0 = CFrame.new(-0.0500030518, -6.37490416e-008, 0.280000061, 1, -6.55670789e-008, -3.78551697e-008, -6.55670789e-008, -0.5, -0.866025388, 3.78551732e-008, 0.866025388, -0.5)
- w12.Part1 = p1
- w12.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w13 = Instance.new("Weld", p13)
- w13.Name = "Joint"
- w13.Part0 = p13
- w13.C0 = CFrame.new(-0.0500030518, -1.01001945e-007, -0.279999912, 1, -8.15665615e-008, -2.18556924e-008, -8.15665544e-008, -0.866025388, -0.5, 2.18556959e-008, 0.5, -0.866025388)
- w13.Part1 = p1
- w13.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w14 = Instance.new("Weld", p14)
- w14.Name = "Joint"
- w14.Part0 = p14
- w14.C0 = CFrame.new(-0.0500030518, -1.08452525e-007, 0.280000031, 1, -8.15665615e-008, -2.18556924e-008, -8.15665544e-008, -0.866025388, -0.5, 2.18556959e-008, 0.5, -0.866025388)
- w14.Part1 = p1
- w14.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- m7.Parent = Torso
- m7:MakeJoints()
- local HandleJ = Instance.new("Weld")
- HandleJ.Parent = p1
- HandleJ.Part0 = p1
- HandleJ.Part1 = RightArm
- HandleJ.C1 = cn(0,-0.75,0)*angles(math.rad(0), math.rad(0), math.rad(-90))
- Acthing(p1,"3270017",Vector3.new(.5,.5,.1),BrickColor.new("Really black"),"Fabric",cn(.55,0,0)*angles(math.rad(90), math.rad(0), math.rad(0)))
- local Handle = p1
- ----------------------------------------------------
- local Light =Instance.new("PointLight",Handle)
- Light.Color = Color3.new(1, 1, 1)
- Light.Brightness = 2
- Light.Range = 10
- Light.Shadows = true
- local Light2 =Instance.new("SpotLight",RoHead)
- Light2.Color = Color3.new(1, 1, 1)
- Light2.Brightness = 1
- Light2.Range = 10
- Light2.Shadows = true
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- local Ang=Instance.new("Model")
- Ang.Name="Angles"
- Ang.Parent=Character
- local rrx=Instance.new("NumberValue")
- rrx.Name="X"
- rrx.Parent=Ang
- rrx.Value=0
- local rry=Instance.new("NumberValue")
- rry.Name="Y"
- rry.Parent=Ang
- rry.Value=0
- local rrz=Instance.new("NumberValue")
- rrz.Name="Z"
- rrz.Parent=Ang
- rrz.Value=0
- local SKILLTEXTCOLOR = Color3.new(0,0,0)
- local SKILLFONT = "Fantasy"
- local SKILLTEXTSIZE = 7.15
- --[[
- local SKILL1FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*1+.0125, 0, 0.825, 0), UDim2.new(0.23, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 1 Frame")
- local SKILL2FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*1+.0125, 0, 0.90, 0), UDim2.new(0.23, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 2 Frame")
- local SKILL3FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*2+.0075, 0, 0.90, 0), UDim2.new(0.23, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 3 Frame")
- local SKILL4FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*2+.0075, 0, 0.825, 0), UDim2.new(0.23, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 4 Frame")
- local SKILL5FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*1.5, 0, 0.75, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 5 Frame")
- ----------------------------------------------
- local SKILL1FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*1-.0015, 0, 0.825, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 1 Frame")
- local SKILL2FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*1-.0015, 0, 0.90, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 2 Frame")
- local SKILL3FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*2+.0015, 0, 0.90, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 3 Frame")
- local SKILL4FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*2+.0015, 0, 0.825, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 4 Frame")
- local SKILL5FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*1-.0015, 0, 0.75, 0), UDim2.new(0.15, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 5 Frame")
- local SKILL6FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*3-.1485, 0, 0.75, 0), UDim2.new(0.15, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 6 Frame")
- --]]
- local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UDim2.new((1/4)*3+.0015, 0, 0.675, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 1 Frame")
- local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UDim2.new((1/4)*3+.0015, 0, 0.75, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 2 Frame")
- local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UDim2.new((1/4)*3+.0015, 0, 0.825, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 3 Frame")
- local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UDim2.new((1/4)*3+.0015, 0, 0.90, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 4 Frame")
- local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UDim2.new((1/4)*3+.0015, 0, 0.6, 0), UDim2.new(0.125, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 5 Frame")
- local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UDim2.new((1/4)*3+.1285, 0, 0.6, 0), UDim2.new(0.125, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 6 Frame")
- local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[V] Hollow Dream", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 1, 0, "Text 1")
- local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[C] Meteor Rain", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 1, 0, "Text 2")
- local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Hollow Fire", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 1, 0, "Text 3")
- local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[Z] Light Wave", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 1, 0, "Text 4")
- local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Hollow Shade", SKILLTEXTCOLOR, SKILLTEXTSIZE/1.18, SKILLFONT, 0, 1, 0, "Text 5")
- local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[F] Shadow Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE/1.18, SKILLFONT, 0, 1, 0, "Text 6")
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CFuncs = {
- Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
- RemoveOutlines(Part)
- return Part
- end
- }
- ,
- Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- }
- ,
- Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- }
- ,
- Weld = {Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
- return Weld
- end
- }
- ,
- Sound = {Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace})
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 6)
- end
- ))
- 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 fp = 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 fp
- end
- }
- }
- Effects = {
- Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(effectmodel, "SmoothPlastic", 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})
- else
- if Type == 2 then
- table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
- else
- table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh})
- end
- end
- end
- }
- ,
- Sphere = {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
- }
- ,
- Cylinder = {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, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1/60, y1/60, z1/60))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3/60, y3/60, z3/60, msh})
- 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("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- }
- ,
- Break = {Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(effectmodel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- 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
- }
- }
- local Particle1 = Create("ParticleEmitter"){
- Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (0, 0, 0)),
- Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,.8),NumberSequenceKeypoint.new(0.3,.6),NumberSequenceKeypoint.new(0.5,.2),NumberSequenceKeypoint.new(1,.8)}),
- Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.65),NumberSequenceKeypoint.new(0.25,.20),NumberSequenceKeypoint.new(0.7,.18),NumberSequenceKeypoint.new(1,0)}),
- Texture = "rbxassetid://118641183",
- Lifetime = NumberRange.new(0.95),
- Rate = 100,
- VelocitySpread = 60,
- Rotation = NumberRange.new(0),
- RotSpeed = NumberRange.new(-200,200),
- Speed = NumberRange.new(8.0),
- LightEmission = .6,
- LockedToPart = false,
- Acceleration = Vector3.new(0, 4, 0),
- EmissionDirection = "Top",
- Drag = 4,
- Enabled = false
- }
- so = function(id, par, vol, pit)
- CFuncs.Sound.Create(id, par, vol, pit)
- end
- rayCast = function(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function swait(num)
- if num==0 or num==nil then
- --if Stagger.Value==false or Stun.Value<=100 then
- --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
- script.Heartbeat.Event:wait()
- --end
- else
- for i=0,num do
- --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
- script.Heartbeat.Event:wait()
- --[[if Stagger.Value==true or Stun.Value>=StunT.Value then
- break
- end]]
- end
- end
- end
- script:WaitForChild("Heartbeat")
- frame = 1/60
- tf = 0
- allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame2 or greater.
- tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
- lastframe = tick()
- script.Heartbeat:Fire() --ayy lmao
- game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe=tick()
- else
- ----print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame(math.floor(t/frame))))
- 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 clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- AirEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay,AirFollowPart,speed,AirEffectMode,Extra)
- local prt = CreatePart(effectmodel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe
- prt.Material = "Neon"
- if AirEffectMode == "3" then
- prt.Material = "Neon"
- --prt.Transparency = .01
- end
- local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- local SnowTiltX = math.random(-1, 1)
- local SnowTiltY = math.random(-1, 1)
- local SnowTiltZ = math.random(-1, 1)
- local EGoto = AirFollowPart.CFrame.lookVector*speed
- for i = 0, 6, delay do
- swait()
- Part.Transparency = i
- if Part.Transparency > .9999 then
- coroutine.resume(coroutine.create(function()
- wait(.4) Part.Parent = nil
- end))
- end
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- if AirEffectMode == "1" then
- Part.CFrame = Part.CFrame * angles(math.rad(SnowTiltX),math.rad(SnowTiltY),math.rad(SnowTiltZ))+EGoto
- elseif AirEffectMode == "2" then
- Part.CFrame = Part.CFrame+EGoto
- elseif AirEffectMode == "3" then
- if Extra ~= nil then
- Part.CFrame = Part.CFrame * angles(math.rad(SnowTiltX*5),math.rad(SnowTiltY*5),math.rad(SnowTiltZ*5))+EGoto -Extra
- else
- Part.CFrame = Part.CFrame * angles(math.rad(SnowTiltX*5),math.rad(SnowTiltY*5),math.rad(SnowTiltZ*5))+EGoto
- end
- end
- ---RootPart.Position+Vector3.new(0, math.random(-5, -4), 0)+RootPart.CFrame.lookVector*20
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- ----------------------------------------------------------------------------------------------------------------------------------------
- partF = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
- local fp = Instance.new("Part")
- fp.formFactor = formfactor
- fp.Parent = parent
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked = true
- fp.BrickColor = BrickColor.new(tostring(brickcolor))
- fp.Name = name
- fp.Size = size
- fp.Position = Character.Torso.Position
- RemoveOutlines(fp)
- fp.Material = material
- fp:BreakJoints()
- return fp
- end
- function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CreatePart( workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 3 then
- table.insert(Effects, {
- prt,
- "Block3",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart( workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart( workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.new(x1, y1, z1)
- local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", 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
- function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart( workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("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
- function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart( workspace,"Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", 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
- function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart( workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", 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
- function CreatePart( Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end
- function CreateMesh(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
- function CreateWeld(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end
- function Tpfade(StartPart,TheTime)
- naeeym2.Enabled = false
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(StartPart:GetChildren()) do
- coroutine.resume(coroutine.create(function()
- if v:isA("BasePart") then
- local OldTrans = v.Transparency
- v.Transparency = 1
- if TheTime ~= nil then
- v.Transparency = .8
- if v.Name == "Center" or v.Name == "Neon" or v.Name == "HumanoidRootPart" then
- v.Transparency = 1
- end
- wait(TheTime) end
- if v.Name == "Center" or v.Name == "Neon" then
- wait(1)
- v.Transparency = 0
- swait(2)
- v.Transparency = 1
- wait()
- v.Transparency = 0
- swait(5)
- v.Transparency = 1
- wait()
- v.Transparency = 0
- if ShowTag == false then
- naeeym2.Enabled = false
- else
- naeeym2.Enabled = true
- end
- else
- if v.Name ~= "HumanoidRootPart" then
- for i = 1,OldTrans,-.05 do swait()
- v.Transparency = i-.05
- end
- end
- end
- end
- end))
- Tpfade(v,TheTime)
- end
- end))
- end
- function Glitch1(StartPart,VF1,VF2,VF3,Mode)
- if Mode == nil or Mode == "M1" then
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(StartPart:GetChildren()) do
- if v:isA("BasePart") then
- local GlitchPart = Instance.new("Part",nil)
- GlitchPart.Transparency = v.Transparency +.0
- if v.Name == "Center" or v.Name == "Neon" then
- GlitchPart.Transparency = 1
- end
- local OldTrans = GlitchPart.Transparency
- local CF1 = v.CFrame
- RemoveOutlines(GlitchPart)
- GlitchPart.CanCollide = false
- GlitchPart.Anchored = true
- GlitchPart:BreakJoints()
- GlitchPart.CFrame = v.CFrame
- GlitchPart:BreakJoints()
- GlitchPart.Size = v.Size
- GlitchPart:BreakJoints()
- GlitchPart.Color = Color3.new(0, 0, 0)
- RemoveOutlines(GlitchPart)
- --GlitchPart.Material = v.Material
- GlitchPart.Material = "Neon"
- for _,v2 in pairs(v:GetChildren()) do
- if v2:isA("SpecialMesh") then
- v2:Clone().Parent=GlitchPart
- end
- end
- local LifeTime = math.random(300,300)
- LifeTime=LifeTime/100
- coroutine.resume(coroutine.create(function()
- for T = OldTrans,2,.01 do swait()
- GlitchPart.Transparency = OldTrans +T
- end
- end))
- coroutine.resume(coroutine.create(function()
- local loopnum1 = 0
- local loopnum2 = VF2
- local loopnum3 = VF3
- wait()
- GlitchPart.Parent = workspace
- while GlitchPart.Parent ~= nil do swait()
- -- loopnum2
- -- loopnum3
- -- coroutine.resume(coroutine.create(function()
- GlitchPart.CFrame = GlitchPart.CFrame+Vector3.new(VF1*loopnum1,VF2*loopnum1,VF3*loopnum1)
- loopnum1 = loopnum1 + .01
- --end))
- end
- end))
- game:GetService("Debris"):AddItem(GlitchPart, LifeTime)
- end
- Glitch1(v,VF1,VF2,VF3)
- end
- end))
- elseif Mode == "M2" then
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(StartPart:GetChildren()) do
- if v:isA("BasePart") then
- local GlitchPart = Instance.new("Part",nil)
- GlitchPart.Transparency = 0
- if v.Name == "Center" or v.Name == "Neon" or v.Name == "HumanoidRootPart" then
- GlitchPart.Transparency = 1
- end
- local OldTrans = GlitchPart.Transparency
- local CF1 = v.CFrame
- RemoveOutlines(GlitchPart)
- GlitchPart.CanCollide = false
- GlitchPart.Anchored = true
- GlitchPart:BreakJoints()
- GlitchPart.CFrame = v.CFrame
- GlitchPart:BreakJoints()
- GlitchPart.Size = v.Size
- GlitchPart:BreakJoints()
- GlitchPart.Color = Color3.new(0, 0, 0)
- RemoveOutlines(GlitchPart)
- --GlitchPart.Material = v.Material
- GlitchPart.Material = "Neon"
- for _,v2 in pairs(v:GetChildren()) do
- if v2:isA("SpecialMesh") then
- v2:Clone().Parent=GlitchPart
- end
- end
- local LifeTime = math.random(300,300)
- LifeTime=LifeTime/100
- coroutine.resume(coroutine.create(function()
- for T = OldTrans,2,.01 do swait()
- GlitchPart.Transparency = OldTrans +T
- end
- end))
- coroutine.resume(coroutine.create(function()
- local loopnum1 = 0
- local loopnum2 = VF2
- local loopnum3 = VF3
- wait()
- GlitchPart.Parent = workspace
- while GlitchPart.Parent ~= nil do swait()
- -- loopnum2
- -- loopnum3
- -- coroutine.resume(coroutine.create(function()
- GlitchPart.CFrame = GlitchPart.CFrame+Vector3.new(VF1*loopnum1,VF2*loopnum1,VF3*loopnum1)
- loopnum1 = loopnum1 + .01
- --end))
- end
- end))
- game:GetService("Debris"):AddItem(GlitchPart, LifeTime)
- end
- Glitch1(v,VF1,VF2,VF3,Mode)
- end
- end))
- end
- end
- Damagefunc = function(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
- --local FoundTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
- if h ~= nil and hit.Parent ~= Character and hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({Name = "creator", Value = Player, Parent = h})
- game:GetService("Debris"):AddItem(c, 0.5)
- if HitSound ~= nil and HitPitch ~= nil then
- so(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- else
- h.Health = h.Health - Damage / 2
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(.2)
- 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 = 50, maxForce = Vector3.new(80000, 80000, 80000), Parent = hit})
- local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
- game:GetService("Debris"):AddItem(bodvol, 0.2)
- game:GetService("Debris"):AddItem(rl, 0.2)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback})
- if knockback > 0 then
- local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
- vp.Parent = HTorso
- end
- game:GetService("Debris"):AddItem(vp, 0.5)
- elseif Type == "Normal2" then
- local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback})
- if knockback > 0 then
- local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
- vp.Parent = HTorso
- coroutine.resume(coroutine.create(function()
- end))
- local SValue = 1.5
- local randomcf = cn(math.random(-1, 1)/7,math.random(-1, 1)/7,0)
- end
- game:GetService("Debris"):AddItem(vp, 0.5)
- elseif Type == "Impale" then
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2)
- hit.Parent.Humanoid.PlatformStand = true
- swait(1)
- hit.Parent.Humanoid.PlatformStand = false
- elseif Type == "Stone" then
- local hashum=false
- local HitModel = nil
- HitModel = hit.Parent
- if hit.Parent:isA("Accessory") or hit.Parent:isA("Hat") then
- HitModel = hit.Parent.Parent
- end
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(HitModel:GetChildren()) do
- if v:isA("Humanoid") then
- hashum=true
- local FoundTorso = HitModel:FindFirstChild("Torso") or HitModel:FindFirstChild("UpperTorso")
- --RootPart.Anchored = true
- so("331666014 ",Handle,.5,1.2)
- so("588706798 ",Handle,1,0.8)
- local ST = Create("Model"){
- Parent = workspace,
- Name = "Statue of "..HitModel.Name
- }
- for _,v2 in pairs(HitModel:GetChildren()) do
- if v2:isA("BasePart") and v2.Name == "HumanoidRootPart" then
- -- v2.Anchored = true
- end
- --v.Parent:BreakJoints()
- if v2:isA("BasePart") and v2.Name ~= "HumanoidRootPart" then
- --w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
- local StonePart = Create("Part"){
- Parent = ST,
- Material = "Concrete",
- Reflectance = 0,
- Transparency = 0,
- Name = v2.Name,
- Size = v2.Size,
- Locked = true,
- CanCollide = true,
- CFrame = v2.CFrame,
- Anchored = true
- }
- for _,v3 in pairs(v2:GetChildren()) do
- if v3:isA("SpecialMesh") then
- v3:Clone().Parent=StonePart
- end
- end
- end
- if v2:isA("Accessory") then
- for _,v4 in pairs(v2:GetChildren()) do
- if v4:isA("BasePart") then
- local StonePart = Create("Part"){
- Parent = ST,
- Material = "Concrete",
- Reflectance = 0,
- Transparency = 0,
- Name = v4.Name,
- Size = v4.Size,
- Locked = true,
- CanCollide = true,
- CFrame = v4.CFrame,
- Anchored = true
- }
- for _,v3 in pairs(v4:GetChildren()) do
- if v3:isA("SpecialMesh") then
- coroutine.resume(coroutine.create(function()
- v3.TextureId = "http://www.roblox.com/asset/?id=1693385655"
- v3.VertexColor = Vector3.new(163/255, 162/255, 165/255)
- end))
- v3:Clone().Parent=StonePart
- end
- end
- end
- end
- end
- end
- local STFoundTorso = ST:FindFirstChild("Torso") or ST:FindFirstChild("UpperTorso")
- for _,v3 in pairs(ST:GetChildren()) do
- local STW=weld(v3,v3,STFoundTorso,STFoundTorso.CFrame:toObjectSpace(v3.CFrame):inverse() )
- v3.Anchored = false
- end
- v.Parent:BreakJoints()
- v.Parent.Parent = nil
- for _,v2 in pairs(game:GetService("Players"):GetChildren()) do
- if v2:isA("Player") then
- if v2.Character == HitModel then
- end
- end
- end
- wait(1)
- end
- end
- end))
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
- local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- game:GetService("Debris"):AddItem(bodyVelocity, .1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition")({P = 900, D = 1000, 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 == "Freeze2" 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(400000, 400000, 400000) * math.huge, P = 20000, 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 = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- end
- end
- ShowDamage = function(Pos, Text, Time, Color)
- local Rate = 0.033333333333333
- if not Pos then
- local Pos = Vector3.new(0, 0, 0)
- end
- local Text = Text or ""
- local Time = Time or 2
- if not Color then
- local Color = Color3.new(1, 0, 1)
- end
- local EffectPart = CreatePart(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, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
- game.Debris:AddItem(EffectPart, Time + 0.1)
- 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
- MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
- for _,c in pairs(workspace:children()) do
- local hum = c:FindFirstChild("Humanoid")
- for _,v in pairs(c:children()) do
- if v:IsA("Humanoid") then
- hum = v
- end
- end
- if hum ~= nil then
- local head = c:findFirstChild("Head")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "851453784", 1.2)
- end
- end
- end
- end
- end
- HitboxFunction = function(Pose,lifetime,siz1,siz2,siz3,Radie,Min,Max,kb,atype)
- Hitboxpart = Instance.new("Part",effectmodel)
- RemoveOutlines(Hitboxpart)
- Hitboxpart.Size = Vector3.new(siz1,siz2,siz3)
- Hitboxpart.CanCollide = false
- Hitboxpart.Transparency = 1
- Hitboxpart.Anchored = true
- Hitboxpart.CFrame = Pose
- game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
- MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
- end
- ----------------------------------------------------------------------------------------------------------------------------------------
- local RW=weld(Torso,Torso,RightArm,cf(0,0,0))
- local LW=weld(Torso,Torso,LeftArm,cf(0,0,0))
- local RH=weld(Torso,Torso,RightLeg,cf(0,0,0))
- local LH=weld(Torso,Torso,LeftLeg,cf(0,0,0))
- RW.C1 = cn(0, 0.5, 0)
- LW.C1 = cn(0, 0.5, 0)
- RH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
- LH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
- function JumpAfterEffect()
- if attack == false then
- attack = true
- if sprintmode == true then
- Humanoid.WalkSpeed= 10
- else
- Humanoid.WalkSpeed= 3
- end
- Humanoid.JumpPower= 0
- for i = 1,2.4,.1 do
- swait()
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(10)),.1)
- Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(25-3 * math.cos(sine / 15)),math.rad(0),math.rad(0)),.1)
- RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .3, -.6 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(15 + 0 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-15 - 2 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.65+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2)
- end
- attack = false
- end
- end
- s2.SoundId = lastid
- s2:play()
- ----------------------------------------------------------------------------------------------------------------------------------
- shoottraildd2 = function(AttackGotoValue,AttackGoto,AttackSize,ATime)
- -- local AttackGotoValue = RootPart.CFrame.lookVector*3
- --local AttackGoto = RootPart.CFrame * cn(0,4,-3)
- coroutine.resume(coroutine.create(function()
- --local AttackSize = 30
- local AttackSize2 = AttackSize/10
- for i = 0,AttackSize do
- AttackGoto = AttackGoto + AttackGotoValue
- local AttackHitpart = Instance.new("Part")
- AttackHitpart.CFrame = AttackGoto
- game:GetService("Debris"):AddItem(AttackHitpart, 0.2)
- local AttackHitpart2 = Instance.new("Part")
- AttackHitpart2.CFrame = AttackHitpart.CFrame*angles(math.rad(-45),math.rad(0),math.rad(0))
- game:GetService("Debris"):AddItem(AttackHitpart2, .5)
- local orenx = AttackHitpart2.Orientation.x
- local oreny = AttackHitpart2.Orientation.y
- local orenz = AttackHitpart2.Orientation.z
- local orenxyz = AttackHitpart2.Orientation
- local hit, pos = rayCast(AttackHitpart.Position, (CFrame.new(AttackHitpart.Position, AttackHitpart.Position - Vector3.new(0, 1, 0))).lookVector, 40, Character)
- if hit ~= nil then
- local Color = hit.BrickColor
- local refpart = partF(3, workspace, "SmoothPlastic", 1, 1, "Really black", "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = cn(pos)
- game:GetService("Debris"):AddItem(refpart, 1)
- --[[
- for i = 1, math.random(0,1) do
- local Color = hit.BrickColor
- local Materials = hit.Material
- local groundpart = partF(3, workspace, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(25, 50) / 120, math.random(25, 50) / 120, math.random(25, 50) / 120))
- groundpart.Anchored = false
- groundpart.Material = Materials
- groundpart.CanCollide = false
- groundpart.Friction = 0.1
- groundpart.Velocity = Vector3.new(math.random(-10, 10), math.random((10-i/AttackSize2)*2.5, (10-i/AttackSize2)*5), math.random(-10, 10))
- groundpart.CFrame = cn(pos) * cn(math.random(-250, 250) / 100, 0.5, math.random(-250, 250) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- game:GetService("Debris"):AddItem(groundpart, 1.5)
- end
- --]]
- -------------------------------------------------
- AttackHitpart.CFrame = CFrame.new(pos)
- AttackHitpart2.CFrame = AttackHitpart.CFrame
- AttackHitpart2.Orientation=orenxyz
- --HitboxFunction(AttackHitpart.CFrame,.3,.1,.1,.1,0,0,0,10,"Normal")
- CFuncs.Sound.Create("331888892", refpart,.2, 1.8)
- BlockEffect(BrickColor.new("Really black"), AttackHitpart.CFrame*cn(0,-.0,0), 1, 1, 1, 12-i/AttackSize2, 12-i/AttackSize2, 12-i/AttackSize2, 0.05,1)
- --print(i)
- --BlockEffect(BrickColor.new("Really black"), AttackHitpart2.CFrame, 1, (AttackSize*20/1.5)-(i*20/1.5), 10, 0, -((AttackSize*10/1.5)-(i*10/1.5)), 0, 0.3,2)
- Effects.Break.Create (BrickColor.new("White"), AttackHitpart.CFrame, 5-i/AttackSize2/2, .2, .2)
- Effects.Sphere.Create(BrickColor.new("White"),AttackHitpart2.CFrame, (10-i/AttackSize2)*10,(10-i/AttackSize2)*100/2, (10-i/AttackSize2)*100/2, -(10-i/AttackSize2)*0.55,(10-i/AttackSize2)*20.5,-(10-i/AttackSize2)*5.5/2, 0.05)
- MagniDamage(AttackHitpart, 12-i/AttackSize2,(AttackSize-AttackSize2*i/AttackSize2)*1.4,(AttackSize-AttackSize2*i/AttackSize2)*1.4, 0, "Knockdown")
- end
- swait(ATime)
- end
- end))
- end
- Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effectmodel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe
- prt.Material = "Neon"
- local msh = CreateMesh("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, 6, delay do
- swait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- Metior = function(mouse, partt, SpreadAmount)
- local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount/10, SpreadAmount/10), math.random(-SpreadAmount, SpreadAmount))
- local MainPos = partt
- local MainPos2 = mouse + SpreadVectors
- local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
- local speed = 5
- local num = 200
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
- local mag = (MainPos - pos).magnitude
- --Laser(BrickColor.new("White"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1*4, mag * (speed / (speed / 2)), 1*4, -0.4*4, 0, -0.4*4, .4)
- local refpart2 = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart2.Anchored = true
- refpart2.CFrame = CFrame.new(pos,MainPos)
- coroutine.resume(coroutine.create(function()
- BlockEffect(BrickColor.new("Really black"), CFrame.new(MainPos), 1, 1, 1, 12, 12, 12, 0.08,1)
- AirEffect(BrickColor.new("White"), CFrame.new(MainPos),1, mag * (speed / (speed / 2)),1, -.7, 1, -.7, 0.08,refpart2,-2.8,"2")
- refpart2:Destroy()
- end))
- MainPos = MainPos + MouseLook.lookVector * speed
- num = num - 1
- MouseLook = MouseLook * angles(math.rad(-0), 0, 0)
- if hit ~= nil then
- num = 0
- local refpart = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("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 = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- if hit ~= nil then
- -- Effects.Sphere.Create( BrickColor.new("Really black"), refpart.CFrame * cn(0, 0, 0), 60, 0.05, 60, -10,-0,-10, 0.15)
- Effects.Sphere.Create( BrickColor.new("White"), refpart.CFrame * cn(0, 0, 0), 200, 200, 200, 10,10,10, 0.01)
- Effects.Sphere.Create( BrickColor.new("White"), refpart.CFrame * cn(0, 0, 0), 200, 1, 200, 20,0,20, 0.01)
- local SValue = 2.5
- local SValue2 = 7.5
- local STime = 0.035
- local STime2 = 0.028
- coroutine.resume(coroutine.create(function()
- for i = 0,8 do
- AirEffect(BrickColor.new("White"), refpart.CFrame * cn(math.random(-10,10)*0,math.random(-10,10)*0,math.random(-10,10)*0)* CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),.5*SValue,.5*SValue,5*SValue, 0,0, SValue2*2, STime,RootPart,.0,"1")
- end end))
- coroutine.resume(coroutine.create(function()
- for i = 0,math.random(30,35)/6.8 do swait(15)
- Effects.Sphere.Create( BrickColor.new("White"), refpart.CFrame * cn(math.random(-5, 5)*1*i, math.random(-5, 5)*1*i, math.random(-5, 5)*1*i), 60, 60, 60, -30,-30,-30, 0.08)
- MagniDamage(refpart, i*8, 10, 15, 0, "Knockdown")
- end end))
- CFuncs.Sound.Create("476476933", refpart,2, 0.8)
- end
- game:GetService("Debris"):AddItem(refpart, 5)
- end
- end
- until num <= 0
- end
- ))
- end
- shoottraildd = function(mouse, partt, SpreadAmount)
- local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount/10, SpreadAmount/10), math.random(-SpreadAmount, SpreadAmount))
- local MainPos = partt.Position
- local MainPos2 = mouse + SpreadVectors
- local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
- local speed = 10
- local num = 100
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
- local mag = (MainPos - pos).magnitude
- Laser(BrickColor.new("White"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.4, 0, -0.4, .4)
- MainPos = MainPos + MouseLook.lookVector * speed
- num = num - 1
- MouseLook = MouseLook * angles(math.rad(-0), 0, 0)
- if hit ~= nil then
- num = 0
- local refpart = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("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 = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- if hit ~= nil then
- -- Effects.Sphere.Create( BrickColor.new("Really black"), refpart.CFrame * cn(0, 0, 0), 60, 0.05, 60, -10,-0,-10, 0.15)
- Effects.Sphere.Create( BrickColor.new("Really black"), refpart.CFrame * cn(0, 0, 0), 1, 1, 1, 30,30,30, 0.06)
- local SValue = .5
- local SValue2 = 2
- local STime = 0.055
- local STime2 = 0.028
- coroutine.resume(coroutine.create(function()
- for i = 0,math.random(1,4) do
- AirEffect(BrickColor.new("White"), refpart.CFrame * cn(math.random(-10,10)*0,math.random(-10,10)*0,math.random(-10,10)*0),.1*SValue,.1*SValue,1*SValue, 0,0, SValue2*2, STime,RootPart,.0,"3")
- end end))
- coroutine.resume(coroutine.create(function()
- MagniDamage(refpart, 10, 15, 20, 10, "Normal")
- for i = 0,math.random(1,3) do swait(1)
- Effects.Sphere.Create( BrickColor.new("White"), refpart.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 60, 60, 60, -10,-10,-10, 0.05)
- --MagniDamage(refpart, 6, 10, 15, 0, "Slice")
- end end))
- --MagniDamage(refpart, 6, 30, 45, 0, "Slice")
- end
- game:GetService("Debris"):AddItem(refpart, 0)
- end
- end
- until num <= 0
- end
- ))
- end
- --------------------------------------------[ Attacks ]---------------------------------------------------------------------------
- Attack1 = function()
- change = 0.5
- attack = true
- local FlyN1 = -0.1
- local FlyN2 = 0.0395
- local FlyN3 = 12
- if FlyA == true then
- FlyN1 = 2.1
- FlyN2 = 0.2
- FlyN3 = 8*2
- change = 0.6
- end RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- -- shoottraildd2(RootPart.CFrame.lookVector*10, RootPart.CFrame * cn(0,4,-3), 20,0)
- for i = 0,1.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(30)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-30)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-0 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(20 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- end
- for i = 0,1.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(80 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- end
- local SValue = .5
- local SValue2 = 0.5
- local STime = 0.055
- local STime2 = 0.028
- coroutine.resume(coroutine.create(function()
- --CFuncs.Sound.Create("233856115", Handle,2, 0.8)
- CFuncs.Sound.Create("331888892", Handle,2, 0.7)
- for i = 0,3 do
- AirEffect(BrickColor.new("White"), Handle.CFrame * cn(math.random(-10,10)*.05,math.random(-10,10)*.05,math.random(-10,10)*.05),.1*SValue,.1*SValue,.1*SValue, SValue2*2,SValue2*2, SValue2*2, STime,RootPart,.2,"3")
- end
- end))
- for i = 0,0.5,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(90 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- end
- shoottraildd2(RootPart.CFrame.lookVector*5, RootPart.CFrame * cn(0,4,-3), 30,2)
- for i = 0,5,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.85,0,.0)*angles(math.rad(0), math.rad(90 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.2)
- end
- attack = false
- end
- ---------------------------------------------------------------------------------------------
- Attack2 = function()
- change = 0.5
- attack = true
- CFuncs.Sound.Create("416200578", Handle,2, 1.1)
- for i = 0,1.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 12)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(80 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- end
- for i = 0,1.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 12)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- HandleJ.C0= HandleJ.C0:lerp( cn(10.75,0,0)*angles(math.rad(0), math.rad(80 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.2)
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,5 do
- for i = 0,0.5,.1 do
- swait()
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 12)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-3.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- HandleJ.C0= HandleJ.C0:lerp( cn(10.75,0,0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- end
- Effects.Sphere.Create( BrickColor.new("White"), Handle.CFrame * cn(math.random(-5, 5)*0, math.random(-5, 5)*0, math.random(-5, 5)*0), 60, 60, 60, -10,-10,-10, 0.05)
- CFuncs.Sound.Create("331666014", Handle,2, 1.5)
- shoottraildd(MHIT.p, Handle, 1)
- for i = 0,2.0,.1 do
- swait()
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 12)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-3.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- HandleJ.C0= HandleJ.C0:lerp( cn(10.75,0,0)*angles(math.rad(i*250), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(0)),.3)
- end end
- for i = 0,0.5,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 12)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(80 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- end
- attack = false
- end))
- end
- ---------------------------------------------------------------------------------------------
- Attack3 = function()
- attack = true
- local ThisAT = true
- CFuncs.Sound.Create("160740121", Handle,2, 1)
- local hitfloor2,pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- Effects.Sphere.Create( BrickColor.new("Really black"), cn(pos), 0, 1.5, 0, 65,0,65, 0.015)
- Effects.Sphere.Create( BrickColor.new("White"), cn(pos), 0, 1, 0, 65,0,65, 0.02)
- for i = 0,5.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(-90), math.rad(20 - 2 * math.cos(sine / 8/1.5)), math.rad(10 - 2 * math.cos(sine / 4))),.1)
- change = 0.6
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(170 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,math.random(8,15) do
- Metior(RootPart.Position, RootPart.Position+Vector3.new(0,400,0), 65)
- Effects.Sphere.Create( BrickColor.new("White"), Handle.CFrame * cn(math.random(-5, 5)*0, math.random(-5, 5)*0, math.random(-5, 5)*0), 10, 10, 10, -10,-10,-10, 0.08)
- wait(math.random(3,10)/10)
- end
- ThisAT = false
- end))
- while ThisAT == true do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- HandleJ.C0= HandleJ.C0:lerp( cn(2 - 1 * math.cos(sine / 8),0,6.0 - 1 * math.cos(sine / 16))*angles(math.rad(sine), math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(10 - 2 * math.cos(sine / 4))),.1)
- change = 0.6
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(10 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(45 - 2 * math.cos(sine / 8/2))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(10 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-45 + 2 * math.cos(sine / 8/2))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- for i = 0,4.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- HandleJ.C0= HandleJ.C0:lerp( cn(0 - 1 * math.cos(sine / 8),0,3.0 - 1 * math.cos(sine / 16))*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine/8)), math.rad(10)),.1)
- change = 0.6
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- for i = 0,4.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.0395 * math.cos(sine / 12)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.05)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(80 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.05)
- end
- attack = false
- end
- ---------------------------------------------------------------------------------------------
- Attack4 = function()
- attack = true
- local ThisAT = true
- so("331888777", Handle,1.5, 1.4)
- Effects.Sphere.Create( BrickColor.new("White"), RootPart.CFrame * cn(math.random(-5, 5)*0, math.random(-5, 5)*0, math.random(-5, 5)*0), 10, 20, 10, -10,-20,-10, 0.02)
- for i = 0,1.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(-90), math.rad(20 - 2 * math.cos(sine / 8/1.5)), math.rad(10 - 2 * math.cos(sine / 4))),.1)
- change = 0.6
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(170 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- for i = 0,1.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- HandleJ.C0= HandleJ.C0:lerp( cn(0.75,0,.0)*angles(math.rad(-0), math.rad(180), math.rad(0)),.1)
- change = 0.6
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-30.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(180 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(180 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- for i = 0,3.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- change= 0.6 Humanoid.JumpPower = 80
- HandleJ.C0= HandleJ.C0:lerp( cn(2,1.75,.0)*angles(math.rad(-0), math.rad(180), math.rad(15)),.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-30.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-0)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(180), math.rad(0), math.rad(15 )), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(180), math.rad(0), math.rad(-15)), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- so("341301373", Handle,2.5, 0.7)
- local GN = 0
- local GrowingNumberAdd = 1
- local White = false
- coroutine.resume(coroutine.create(function()
- while ThisAT == true do wait(.06)
- GN = GN + GrowingNumberAdd
- local SValue = GN*10
- local SValue2 = 2
- local STime = 0.08
- local STime2 = 0.028
- coroutine.resume(coroutine.create(function()
- for i = 0,4 do
- AirEffect(BrickColor.new("White"), Handle.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,.5*SValue, 0,0, SValue2*2, STime,RootPart,.0,"3")
- end end))
- coroutine.resume(coroutine.create(function()
- MagniDamage(Torso, GN, 9999, 9999, 0, "Stone")
- end))
- if White == false then
- Effects.Sphere.Create( BrickColor.new("White"), Handle.CFrame * cn(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)), 40+GN*40, 40+GN*40, 40+GN*40, 4.1,4.1,4.1, 0.04)
- White = true
- --Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * cn(0, -3, 0)*angles(math.rad(0),math.rad(math.random(0,180)),math.rad(0)), GN*50, 0, GN*50, 100,10,100, 0.05)
- else
- Effects.Sphere.Create( BrickColor.new("Really black"), Handle.CFrame * cn(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)), GN*40, GN*40, GN*40, -GN*2,-GN*2,-GN*2, 0.04)
- Effects.Wave.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0)*angles(math.rad(0),math.rad(math.random(0,180)),math.rad(0)), GN*50, 0, GN*50, 100,10,100, 0.05)
- White = false
- end
- end
- end))
- for i = 0,15.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- change= 0.6 Humanoid.JumpPower = 0
- HandleJ.C0= HandleJ.C0:lerp( cn(2,1.75,.0)*angles(math.rad(-0), math.rad(180), math.rad(15)),.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-30.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-0)), .07)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(180), math.rad(0), math.rad(15 )), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(180), math.rad(0), math.rad(-15)), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- ThisAT = false
- for i = 0,4.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- change= 0.6 Humanoid.JumpPower = 80
- HandleJ.C0= HandleJ.C0:lerp( cn(2,1.75,.0)*angles(math.rad(-0), math.rad(180), math.rad(15)),.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(20.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-0)), .08)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(180), math.rad(0), math.rad(15 )), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(180), math.rad(0), math.rad(-15)), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- for i = 0,0.5,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(-90), math.rad(20 - 2 * math.cos(sine / 8/1.5)), math.rad(10 - 2 * math.cos(sine / 4))),.1)
- change = 0.6
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(170 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- attack = false
- end
- ---------------------------------------------------------------------------------------------
- Attack5 = function()
- attack = true
- TPwt = true
- Effects.Sphere.Create( BrickColor.new("Really black"), Torso.CFrame * cn(math.random(-5, 5)*0, math.random(-5, 5)*0, math.random(-5, 5)*0), 40, 80, 40, 15,15,15, 0.02)
- Humanoid.WalkSpeed = 8
- Humanoid.JumpPower = 20
- local MHitPost=MHIT.p
- so("428800263", RootPart, 2, 0.6,10)
- wait(.1)
- local TPN1 = math.random(-10,10)/500
- local TPN2 = math.random(-10,10)/500
- Glitch1(Character,TPN1,.01,TPN2)
- Glitch1(Character,TPN1*2,.01,TPN2*2)
- coroutine.resume(coroutine.create(function()
- RootPart.Anchored = true
- Tpfade(Character,5)
- HClip = false
- coroutine.resume(coroutine.create(function()
- Light.Brightness = 0 Light2.Brightness = 0
- wait(5)
- Light.Brightness = 2 Light2.Brightness = 1
- swait(2)
- Light.Brightness = 0 Light2.Brightness = 0
- wait()
- Light.Brightness = 2 Light2.Brightness = 1
- swait(5)
- Light.Brightness = 0 Light2.Brightness = 0
- wait()
- Light.Brightness = 2 Light2.Brightness = 1
- end))
- for i = 0,2,0.1 do
- swait()
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(15 - 2 * math.cos(sine / 8/2))),.1)
- change = 0.6
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- while HClip == false do
- swait()
- RootPart.Anchored = true
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(15 - 2 * math.cos(sine / 8/2))),.1)
- change = 0.6
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0,0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .1)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- local HMD = Humanoid.MoveDirection*5
- local Orsave = RootPart.Orientation
- RootPart.CFrame=clerp(RootPart.CFrame,cn(RootPart.Position ,Vector3.new(CamCoord.p.x,RootPart.Position.y,CamCoord.p.z)) * CFrame.Angles(0,math.rad(180),0)+HMD,.05)
- RootPart.Velocity = HMD
- --bg2.CFrame = cn(RootPart.Position ,Vector3.new(CamCoord.p.x,RootPart.Position.y,CamCoord.p.z)) * CFrame.Angles(0,math.rad(180),0)
- --swait()
- --RootPart.Anchored = false
- end
- end))
- for i = 2,15,1 do
- wait(.35)
- TPN1 = math.random(-5,5)/200
- TPN2 = math.random(-5,5)/200
- local RV1 = RootPart.Velocity.x/30
- local RV2 = RootPart.Velocity.y/30
- local RV3 = RootPart.Velocity.z/30
- Glitch1(Character,TPN1+RV1,.01+RV2,TPN2+RV3,"M2")
- --Effects.Wave.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0)*angles(math.rad(0),math.rad(math.random(0,180)),math.rad(0)), 0, 1, 0, 30,0,30, 0.05)
- coroutine.resume(coroutine.create(function()
- MagniDamage(Torso, 10, 5, 10, 0, "Normal")
- local Esize = math.random(30,32)
- Effects.Wave.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0)*angles(math.rad(0),math.rad(math.random(-360,360)),math.rad(0)), 0, 100*2, 0, Esize,-5*2,Esize, 0.05)
- end))
- end
- HClip = true
- so("233856115", RootPart, 2, 0.7,10)
- for i = 0,.2,.1 do
- swait()
- Humanoid.WalkSpeed = 0.1
- Humanoid.JumpPower = 50
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(15 - 2 * math.cos(sine / 8/2))),.1)
- change = 0.6
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), 1)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- RootPart.Anchored = false
- for i = 0,4,.1 do
- swait()
- Humanoid.WalkSpeed = 0.1
- Humanoid.JumpPower = 50
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(15 - 2 * math.cos(sine / 8/2))),.1)
- change = 0.6
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- attack = false
- wait(2)
- TPwt = false
- end
- ---------------------------------------------------------------------------------------------
- TPwt = false
- Teleport = function()
- attack = true
- TPwt = true
- local MHitPost=MHIT.p
- so("189781125", RootPart, 2, 1.1,10)
- wait(.1)
- local TPN1 = math.random(-10,10)/500
- local TPN2 = math.random(-10,10)/500
- Glitch1(Character,TPN1,.01,TPN2)
- Glitch1(Character,TPN1*2,.01,TPN2*2)
- local Orsave = RootPart.Orientation
- RootPart.CFrame=angles(math.rad(Orsave.x),math.rad(Orsave.y),math.rad(Orsave.z))*cn(0,2,0)+MHitPost
- coroutine.resume(coroutine.create(function()
- Tpfade(Character)
- Light.Brightness = 0 Light2.Brightness = 0
- wait(1)
- Light.Brightness = 2 Light2.Brightness = 1
- swait(2)
- Light.Brightness = 0 Light2.Brightness = 0
- wait()
- Light.Brightness = 2 Light2.Brightness = 1
- swait(5)
- Light.Brightness = 0 Light2.Brightness = 0
- wait()
- Light.Brightness = 2 Light2.Brightness = 1
- end))
- attack = false
- wait(4)
- TPwt = false
- end
- Tuant1 = function()
- attack = true
- local FlyN1 = -0.1
- local FlyN2 = 0.0395
- local FlyN3 = 12
- if FlyA == true then
- FlyN1 = 2.1
- FlyN2 = 0.2
- FlyN3 = 8*2
- end
- so("1276618408", Handle,3, 2.0,10)
- change = 0.6
- for i = 0,3.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-0)), .05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(10 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-15 - 2 * math.cos(sine / 12))), 0.07)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- end
- for i = 0,6.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 0.5 * math.cos(sine / 12)), math.rad(0), math.rad(20)), .07)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.4) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(20), math.rad(35 - .2 * math.cos(sine / 12))), 0.07)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- end
- for i = 0,1.5,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 0.5 * math.cos(sine / 12)), math.rad(0), math.rad(5)), .05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.4) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(20), math.rad(35 - .2 * math.cos(sine / 12))), 0.07)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- end
- for i = 0,1.5,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 0.5 * math.cos(sine / 12)), math.rad(0), math.rad(35)), .05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.4) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(20), math.rad(35 - .2 * math.cos(sine / 12))), 0.07)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- end
- for i = 0,5.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 0.5 * math.cos(sine / 12)), math.rad(0), math.rad(20)), .07)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.4) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(20), math.rad(35 - .2 * math.cos(sine / 12))), 0.07)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- end
- RootPart.Anchored = false
- attack = false
- end
- Tuant2 = function()
- attack = true
- local FlyN1 = -0.1
- local FlyN2 = 0.0395
- local FlyN3 = 12
- if FlyA == true then
- FlyN1 = 2.1
- FlyN2 = 0.2
- FlyN3 = 8*2
- end
- change = 0.6
- for i = 0,3.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-0)), .05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(10 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-15 - 2 * math.cos(sine / 12))), 0.07)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine / 12)), math.rad(5 + 2 * math.cos(sine / 12))),.1)
- end
- for i = 0,6.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-10)), .05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-15 - 2 * math.cos(sine / 12))), 0.07)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine / 12)), math.rad(5 + 2 * math.cos(sine / 12))),.1)
- end
- for i = 0,4.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(-40)), .07)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(40)), .05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.6, -.2) * angles(math.rad(90 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(15 - 2 * math.cos(sine / 12))), 0.07)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine / 12)), math.rad(5 + 2 * math.cos(sine / 12))),.1)
- end
- local SValue = .2
- local SValue2 = 0.1
- local STime = 0.025
- local STime2 = 0.028
- coroutine.resume(coroutine.create(function()
- CFuncs.Sound.Create("233856115", Handle,3, 1.2)
- for i = 0,5 do
- AirEffect(BrickColor.new("White"), LeftArm.CFrame * cn(math.random(-10,10)*.0,-1,math.random(-10,10)*.0),.1,.1,1*SValue, 0,0, SValue2*1, STime,LeftArm,.025,"3")
- end
- end))
- for i = 0,2.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(-40)), .07)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(40)), .05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.6, -.2) * angles(math.rad(90 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(15 - 2 * math.cos(sine / 12))), 0.07)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine / 12)), math.rad(5 + 2 * math.cos(sine / 12))),.1)
- end
- for i = 0,6.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(-40)), .07)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(40)), .07)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.6, 0) * angles(math.rad(10 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-15 - 2 * math.cos(sine / 12))), 0.07)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine / 12)), math.rad(5 + 2 * math.cos(sine / 12))),.1)
- end
- for i = 0,5.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(-40)), .07)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 1.5 * math.cos(sine / 12)), math.rad(10), math.rad(40)), .07)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(15 + 2 * math.cos(sine / 12))), 0.07)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.6, -.2) * angles(math.rad(100 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-25 - 2 * math.cos(sine / 12))), 0.07)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(20 - 2 * math.cos(sine / 12)), math.rad(15 + 2 * math.cos(sine / 12))),.1)
- end
- for i = 0,4.0,.1 do
- swait()
- Humanoid.WalkSpeed = .01
- Humanoid.JumpPower = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .07)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(20.5 - 1.5 * math.cos(sine / 12)), math.rad(-4), math.rad(-0)), .05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.05)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(00 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-15 - 2 * math.cos(sine / 12))), 0.05)
- if FlyA == false then
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
- else
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.05)
- end
- RootPart.Anchored = false
- attack = false
- end
- ----------------------------------------------------------------------------------------------------------------------------------
- KeyDown=function(key)
- if key == "z" and attack == false then
- Attack1()
- end
- if key == "x" and attack == false then
- Attack2()
- end
- if key == "c" and attack == false then
- Attack3()
- end
- if key == "v" and attack == false then
- Attack4()
- end
- if key == "b" and attack == false and TPwt == false then
- Attack5()
- end
- if key == "f" and attack == false and TPwt == false then
- Teleport()
- end
- if key == "t" and attack == false and Tuanting == false then
- Tuant1()
- end
- if key == "r" and attack == false then
- so("135436302", Handle,3, .9)
- Tuant2()
- end
- if key == "p" and attack == false then
- if FlyA == false then
- FlyA = true
- else
- FlyA = false
- end
- end
- if key == "l" and attack == false then
- if WEAPONGUI.Enabled == false then
- WEAPONGUI.Enabled = true
- print("Gui [on]")
- else
- WEAPONGUI.Enabled = false
- print("Gui [off]")
- end
- end
- if key == "n" and attack == false then
- if ShowTag == false then
- naeeym2.Enabled = true
- ShowTag = true
- warn("Name tag is now true")
- else
- naeeym2.Enabled = false
- ShowTag = false
- warn("Name tag is now false")
- end
- end
- if key == "m" then
- if CurId == 7 then
- lastid= "http://www.roblox.com/asset/?id=1216140425"
- s2:play()
- CurId = 1
- elseif CurId == 1 then
- lastid= "http://www.roblox.com/asset/?id=257372951"
- s2:play()
- CurId = 2
- elseif CurId == 2 then
- lastid= "http://www.roblox.com/asset/?id=700037500"
- s2:play()
- CurId = 3
- elseif CurId == 3 then
- lastid= "http://www.roblox.com/asset/?id=700037991"
- s2:play()
- CurId = 4
- elseif CurId == 4 then
- lastid= "http://www.roblox.com/asset/?id=709100631"
- s2:play()
- CurId = 5
- elseif CurId == 5 then
- lastid= "http://www.roblox.com/asset/?id=688200173"
- s2:play()
- CurId = 6
- elseif CurId == 6 then
- lastid= "http://www.roblox.com/asset/?id=1473806210"
- s2:play()
- CurId = 7
- end --]]
- lastsongpos = 0
- s2.TimePosition = lastsongpos
- end
- if key == "h" then
- print("[L] to hide/show Gui")
- print("[P] to Walk/Hover")
- print("[R],[T] to Tuant")
- print("[N] to Hide NameTag")
- print("[M] to Change Music")
- end
- end
- Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
- ff = Instance.new("ForceField", Player.Character)
- ff.Visible = false
- Humanoid.Name = "Final Soul"
- Humanoid.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999
- Humanoid.Health = 999999999999999999999999999999999999999999999999999999999999999999999999
- Animate = function()
- while Humanoid.Health>0 do
- swait()
- if Humanoid.Health > 0.1 and Humanoid.Health < 999999999999999999999999999999999999999999999999999999999999999999999999 then
- Humanoid.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999
- Humanoid.Health = 999999999999999999999999999999999999999999999999999999999999999999999999
- end
- sine = sine + change
- hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- if s2.Parent == nil or s2 == nil then
- s2 = s2c:Clone()
- s2.Parent = Torso
- s2.Name = "BGMusic"
- -- s2.SoundId = lastid
- s2.Pitch = 1
- s2.Volume = 2
- s2.Looped = true
- s2.archivable = false
- s2.TimePosition = lastsongpos
- s2:play()
- else
- lastsongpos=s2.TimePosition
- s2.Pitch = 1
- s2.Volume = 2
- s2.Looped = true
- s2.SoundId = lastid
- s2.EmitterSize = 40
- end
- if hitfloor ~= nil then
- inAir = true
- else
- inAir = false
- end
- if inAir == true then
- if inAir2 == false then
- JumpAfterEffect()
- end
- end
- if hitfloor ~= nil then
- inAir2 = true
- else
- inAir2 = false
- end
- local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velderp = RootPart.Velocity.y
- if RootPart.Velocity.y > 1 and hitfloor == nil then
- Anim = "Jump"
- elseif RootPart.Velocity.y < -1 and hitfloor == nil then
- Anim = "Fall"
- elseif Humanoid.Sit == true then
- Anim = "Sit"
- elseif torvel < 1 and hitfloor ~= nil then
- Anim = "Idle"
- elseif torvel > 2 and hitfloor ~= nil then
- if sprintmode == true then
- Anim = "Run"
- else
- Anim = "Walk"
- end
- else
- Anim = ""
- end
- if attack == false then
- if Anim == "Jump" then
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(-20 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- --Humanoid.WalkSpeed = 34
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(-2.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.85+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.35+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- elseif Anim == "Fall" then
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(-40 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(5.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.2 , 0.50, .20) * angles(math.rad(140 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(45 + 0 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, .20) * angles(math.rad(140 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-45 - 2 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.55+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
- elseif Anim == "Idle" then
- if FlyA == false then
- change = 0.4
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 60
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(10 - 2 * math.cos(sine / 8)), math.rad(7), math.rad(10 + 2 * math.cos(sine / 8))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(0.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(0.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(-0), math.rad(10 - 2 * math.cos(sine / 8)), math.rad(10 + 2 * math.cos(sine / 8))),.1)
- else
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(20 - 2 * math.cos(sine / 8/1.5)), math.rad(15 - 2 * math.cos(sine / 8/2))),.1)
- change = 0.6
- Humanoid.WalkSpeed = 12
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
- end
- elseif Anim == "Walk" then
- if FlyA == false then
- change = 1.0
- Humanoid.WalkSpeed = 10
- Humanoid.JumpPower = 60
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.185 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 3 * math.cos(sine / 3.5)), math.rad(0) + RootPart.RotVelocity.Y / 50, math.rad(8 * math.cos(sine / 7))), 0.2)
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(5 + 2.5 * math.cos(sine / 3.5)), math.rad(-3 - 0 * math.cos(sine / 3.5)), math.rad(-8 * math.cos(sine / 7)) + RootPart.RotVelocity.Y / 16), 0.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6, 0) * angles(math.rad(60+10 * math.cos(sine / 7)), math.rad(0), math.rad(10)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0) * angles(math.rad(-15 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(0), math.rad(-10)), 0.2)
- RH.C0 = RH.C0:lerp( cf(.5, -0.825 - 0.55 * math.cos(sine / 7) / 2,-0.1+ 0.5 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-7.5 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.15)
- LH.C0 = LH.C0:lerp( cf(-.5, -0.825 + 0.55 * math.cos(sine / 7) / 2,-0.1+ -0.5 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-7.5 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.15)
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(60+10 * math.cos(sine / 7)), math.rad(10)),.1)
- else
- HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(45 + 4 * math.cos(sine / 8/1.5)), math.rad(15 - 2 * math.cos(sine / 8/2))),.1)
- change = 1.2
- Humanoid.WalkSpeed = 38
- Humanoid.JumpPower = 80
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + 0.01* math.cos(sine / 8), 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(40 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-3* math.cos(sine / 8/2.5)) - RootPart.RotVelocity.Y / 26), .15)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-30.5 - 1.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/2.5)), math.rad(3* math.cos(sine / 8/2.5)) + RootPart.RotVelocity.Y / 16), .15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(50 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
- RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.75+ .04 * math.cos(sine / 8/1.5), -.4) * CFrame.Angles(math.rad(-40.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8)) - RootPart.RotVelocity.Y / 50),.15)
- LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.2) * CFrame.Angles(math.rad(-25.5 - 2 * math.cos(sine / 8/1.5)),math.rad(10),math.rad(-2.5- 0.0 * math.cos(sine / 8)) - RootPart.RotVelocity.Y / 50),.15)
- end
- end
- end
- if #Effects > 0 then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- 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[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))
- coroutine.resume(coroutine.create(function()
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) end))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame+Vector3.new(0,-.0,0) coroutine.resume(coroutine.create(function()
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) end))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block3" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))+Vector3.new(0,.15,0) coroutine.resume(coroutine.create(function()
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) end))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then coroutine.resume(coroutine.create(function()
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) end))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then coroutine.resume(coroutine.create(function()
- local Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) end))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then coroutine.resume(coroutine.create(function()
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) end))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- wait()
- Animate()
- end
- print("Script by: 123jl123")
- print("[H] Key Help ")
- coroutine.resume(coroutine.create(function()
- Animate()
- end))
- coroutine.resume(coroutine.create(function()
- NoClipCons = {}
- if #NoClipCons == 0 then
- local con = game:service("RunService").Stepped:connect(function()
- if HClip == false then
- pcall(function() Player.Character.Torso.CanCollide = false end)
- pcall(function() Player.Character.Head.CanCollide = false end)
- end
- end)
- table.insert(NoClipCons, con)
- else
- for i, v in pairs(NoClipCons) do
- v:disconnect()
- table.remove(NoClipCons, i)
- end
- end
- end))
- remote = Instance.new 'RemoteFunction';
- remote.Parent = Character;
- remote.OnServerInvoke = function (player, request, ...)
- if (player ~= Player) then
- return error ('You cannot invoke this remote', 0);
- end;
- if (request == 1) then
- local k = ...;
- KeyDown(k)
- end;
- if (request == 2) then
- local k = ...;
- --KeyUp(k)
- end;
- if (request == 3) then
- local k = ...;
- if k == "Down" then
- --MouseDown(k)
- elseif k == "Up" then
- --MouseUp(k)
- end
- end;
- if (request == 4) then
- local k=...;
- MTARGET=k
- end
- if (request == 5) then
- local k=...;
- MHIT=k
- end
- if (request == 6) then
- local k=...;
- CamCoord=k
- end
- end;
- remote.Name = 'ServerRemote';
- --local remote = NLS ([=[
- localscript = script.Keys
- localscript.Name = Player.Name
- localscript.Parent = Character
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement