Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game:GetService("Players").LocalPlayer
- local Mouse = Player:GetMouse()
- repeat
- wait()
- until Player.Character ~= nil
- local Character = Player.Character
- local Humanoid = Character:WaitForChild("Humanoid")
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- NewColB = BrickColor.new("Hot pink")
- NewCol2B = BrickColor.new("Plum")
- NewCol = NewColB.Color
- NewCol2 = NewCol2B.Color
- if Player:FindFirstChild("Color1") then
- NewCol = Player.Color1.Value
- NewColB = BrickColor.new(NewCol)
- end
- if Player:FindFirstChild("Color2") then
- NewCol2 = Player.Color2.Value
- NewCol2B = BrickColor.new(NewCol2)
- end
- Weld = function(X, Y, Z)
- local CJ = CFrame.new(X.Position)
- local C0 = X.CFrame:inverse() * CJ
- local C1 = Y.CFrame:inverse() * CJ
- if Z then
- C0 = CFrame.new()
- end
- local W = Create("Weld")({Name = "Weld", Parent = X, Part0 = X, Part1 = Y, C0 = C0, C1 = C1})
- return W
- end
- WModel = Instance.new("Model")
- local blade = Instance.new("Model", WModel)
- blade.Name = "Blade"
- Blade = blade
- local part = Instance.new("Part", blade)
- part.CanCollide = false
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part.Transparency = 0.3
- part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part.Anchored = false
- part.Material = Enum.Material.Neon
- part.Size = Vector3.new(0.2, 0.2, 0.54)
- part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part.CFrame = CFrame.new(0.355, 2.013, 0.707) * CFrame.Angles(3.1415922641754, 1.3089979887009, -1.5707957744598)
- part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BrickColor = NewColB
- part.Friction = 0.3
- part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh = Instance.new("SpecialMesh", part)
- mesh.Scale = Vector3.new(0.4, 0.4, 1)
- mesh.MeshType = Enum.MeshType.Wedge
- local part_2 = Instance.new("Part", blade)
- part_2.CanCollide = false
- part_2.FormFactor = Enum.FormFactor.Custom
- part_2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.Transparency = 0.3
- part_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.Anchored = false
- part_2.Material = Enum.Material.Neon
- part_2.Size = Vector3.new(0.2, 0.2, 0.54)
- part_2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.CFrame = CFrame.new(0.355, 2.013, -0.763) * CFrame.Angles(2.6219535698147e-07, 1.3089964389801, -1.5707966089249)
- part_2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.BrickColor = NewColB
- part_2.Friction = 0.3
- part_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_2 = Instance.new("SpecialMesh", part_2)
- mesh_2.Scale = Vector3.new(0.4, 0.4, 1)
- mesh_2.MeshType = Enum.MeshType.Wedge
- local part_3 = Instance.new("Part", blade)
- part_3.CanCollide = false
- part_3.FormFactor = Enum.FormFactor.Custom
- part_3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.Transparency = 0.3
- part_3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.Anchored = false
- part_3.Material = Enum.Material.Neon
- part_3.Size = Vector3.new(0.2, 0.2, 0.2)
- part_3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.CFrame = CFrame.new(-1.331, 2.013, -0.319) * CFrame.Angles(2.6219535698147e-07, 1.3089964389801, -1.5707966089249)
- part_3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.BrickColor = NewColB
- part_3.Friction = 0.3
- part_3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_3 = Instance.new("SpecialMesh", part_3)
- mesh_3.Scale = Vector3.new(0.4, 0.4, 1)
- mesh_3.MeshType = Enum.MeshType.Wedge
- local part_4 = Instance.new("Part", blade)
- part_4.CanCollide = false
- part_4.FormFactor = Enum.FormFactor.Custom
- part_4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.Transparency = 0.3
- part_4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.Anchored = false
- part_4.Material = Enum.Material.Neon
- part_4.Size = Vector3.new(0.2, 0.6, 1.2)
- part_4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.CFrame = CFrame.new(0.923, 2.013, -0.333) * CFrame.Angles(-1.570796251297, -1.5707963705063, 0)
- part_4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.BrickColor = NewColB
- part_4.Friction = 0.3
- part_4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_4 = Instance.new("SpecialMesh", part_4)
- mesh_4.Scale = Vector3.new(0.4, 1, 1)
- mesh_4.MeshType = Enum.MeshType.Wedge
- local part_5 = Instance.new("Part", blade)
- part_5.CanCollide = false
- part_5.FormFactor = Enum.FormFactor.Custom
- part_5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.Transparency = 0.3
- part_5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.Anchored = false
- part_5.Material = Enum.Material.Neon
- part_5.Size = Vector3.new(0.2, 0.6, 0.6)
- part_5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.CFrame = CFrame.new(0.023, 2.013, 0.267) * CFrame.Angles(1.5707966089249, 1.5707963705063, 0)
- part_5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.BrickColor = NewColB
- part_5.Friction = 0.3
- part_5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_5 = Instance.new("SpecialMesh", part_5)
- mesh_5.Scale = Vector3.new(0.4, 1, 1)
- mesh_5.MeshType = Enum.MeshType.Wedge
- local part_6 = Instance.new("Part", blade)
- part_6.CanCollide = false
- part_6.FormFactor = Enum.FormFactor.Custom
- part_6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.Transparency = 0.3
- part_6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.Anchored = false
- part_6.Material = Enum.Material.Neon
- part_6.Size = Vector3.new(0.2, 0.6, 0.6)
- part_6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.CFrame = CFrame.new(0.023, 2.013, -0.333) * CFrame.Angles(-1.5707958936691, 1.5707963705063, 0)
- part_6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.BrickColor = NewColB
- part_6.Friction = 0.3
- part_6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_6 = Instance.new("SpecialMesh", part_6)
- mesh_6.Scale = Vector3.new(0.4, 1, 1)
- mesh_6.MeshType = Enum.MeshType.Wedge
- local part_7 = Instance.new("Part", blade)
- part_7.CanCollide = false
- part_7.FormFactor = Enum.FormFactor.Custom
- part_7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.Transparency = 0.3
- part_7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.Anchored = false
- part_7.Material = Enum.Material.Neon
- part_7.Size = Vector3.new(0.2, 0.2, 0.2)
- part_7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.CFrame = CFrame.new(-1.331, 2.013, 0.231) * CFrame.Angles(3.1415917873383, 1.3089982271194, -1.5707950592041)
- part_7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.BrickColor = NewColB
- part_7.Friction = 0.3
- part_7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_7 = Instance.new("SpecialMesh", part_7)
- mesh_7.Scale = Vector3.new(0.4, 0.4, 1)
- mesh_7.MeshType = Enum.MeshType.Wedge
- local part_8 = Instance.new("Part", blade)
- part_8.CanCollide = false
- part_8.FormFactor = Enum.FormFactor.Custom
- part_8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.Transparency = 0.3
- part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.Anchored = false
- part_8.Material = Enum.Material.Neon
- part_8.Size = Vector3.new(0.2, 0.4, 0.88)
- part_8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.CFrame = CFrame.new(0.123, 2.013, -0.496) * CFrame.Angles(1.7013506976582e-06, 0.10575110465288, -1.5707951784134)
- part_8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.BrickColor = NewColB
- part_8.Friction = 0.3
- part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_8 = Instance.new("SpecialMesh", part_8)
- mesh_8.Scale = Vector3.new(0.4, 1, 1)
- mesh_8.MeshType = Enum.MeshType.Wedge
- local part_9 = Instance.new("Part", blade)
- part_9.CanCollide = false
- part_9.FormFactor = Enum.FormFactor.Custom
- part_9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.Transparency = 0.3
- part_9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.Anchored = false
- part_9.Material = Enum.Material.Neon
- part_9.Size = Vector3.new(0.2, 0.6, 1.2)
- part_9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.CFrame = CFrame.new(0.923, 2.013, 0.267) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
- part_9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.BrickColor = NewColB
- part_9.Friction = 0.3
- part_9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_9 = Instance.new("SpecialMesh", part_9)
- mesh_9.Scale = Vector3.new(0.4, 1, 1)
- mesh_9.MeshType = Enum.MeshType.Wedge
- local part_10 = Instance.new("Part", blade)
- part_10.CanCollide = false
- part_10.FormFactor = Enum.FormFactor.Custom
- part_10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.Transparency = 0.3
- part_10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.Anchored = false
- part_10.Material = Enum.Material.Neon
- part_10.Size = Vector3.new(0.2, 0.2, 0.54)
- part_10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.CFrame = CFrame.new(-0.695, 2.013, -0.843) * CFrame.Angles(2.6219535698147e-07, 1.3089964389801, -1.5707966089249)
- part_10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.BrickColor = NewColB
- part_10.Friction = 0.3
- part_10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_10 = Instance.new("SpecialMesh", part_10)
- mesh_10.Scale = Vector3.new(0.4, 0.4, 1)
- mesh_10.MeshType = Enum.MeshType.Wedge
- local part_11 = Instance.new("Part", blade)
- part_11.CanCollide = false
- part_11.FormFactor = Enum.FormFactor.Custom
- part_11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.Transparency = 0.3
- part_11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.Anchored = false
- part_11.Material = Enum.Material.Neon
- part_11.Size = Vector3.new(0.2, 0.2, 1)
- part_11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.CFrame = CFrame.new(-0.717, 2.013, -0.653) * CFrame.Angles(2.6219535698147e-07, 1.3089964389801, -1.5707966089249)
- part_11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.BrickColor = NewColB
- part_11.Friction = 0.3
- part_11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_11 = Instance.new("SpecialMesh", part_11)
- mesh_11.Scale = Vector3.new(0.4, 1, 1)
- mesh_11.MeshType = Enum.MeshType.Wedge
- local part_12 = Instance.new("Part", blade)
- part_12.CanCollide = false
- part_12.FormFactor = Enum.FormFactor.Custom
- part_12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.Transparency = 0.3
- part_12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.Anchored = false
- part_12.Material = Enum.Material.Neon
- part_12.Size = Vector3.new(0.2, 0.2, 0.54)
- part_12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.CFrame = CFrame.new(-0.695, 2.013, 0.767) * CFrame.Angles(3.1415781974792, 1.3089973926544, -1.5707813501358)
- part_12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.BrickColor = NewColB
- part_12.Friction = 0.3
- part_12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_12 = Instance.new("SpecialMesh", part_12)
- mesh_12.Scale = Vector3.new(0.4, 0.4, 1)
- mesh_12.MeshType = Enum.MeshType.Wedge
- local part_13 = Instance.new("Part", blade)
- part_13.CanCollide = false
- part_13.FormFactor = Enum.FormFactor.Custom
- part_13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.Transparency = 0.3
- part_13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.Anchored = false
- part_13.Material = Enum.Material.Neon
- part_13.Size = Vector3.new(0.2, 0.2, 1)
- part_13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.CFrame = CFrame.new(-0.717, 2.013, 0.587) * CFrame.Angles(3.141592502594, 1.3089973926544, -1.5707961320877)
- part_13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.BrickColor = NewColB
- part_13.Friction = 0.3
- part_13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_13 = Instance.new("SpecialMesh", part_13)
- mesh_13.Scale = Vector3.new(0.4, 1, 1)
- mesh_13.MeshType = Enum.MeshType.Wedge
- local part_14 = Instance.new("Part", blade)
- part_14.CanCollide = false
- part_14.FormFactor = Enum.FormFactor.Custom
- part_14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.Transparency = 0.3
- part_14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.Anchored = false
- part_14.Material = Enum.Material.Neon
- part_14.Size = Vector3.new(0.2, 0.6, 0.6)
- part_14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.CFrame = CFrame.new(-0.577, 2.013, 0.267) * CFrame.Angles(1.5707966089249, 1.5707963705063, 0)
- part_14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.BrickColor = NewColB
- part_14.Friction = 0.3
- part_14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_14 = Instance.new("SpecialMesh", part_14)
- mesh_14.Scale = Vector3.new(0.4, 1, 1)
- mesh_14.MeshType = Enum.MeshType.Wedge
- local part_15 = Instance.new("Part", blade)
- part_15.CanCollide = false
- part_15.FormFactor = Enum.FormFactor.Custom
- part_15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.Transparency = 0.3
- part_15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.Anchored = false
- part_15.Material = Enum.Material.Neon
- part_15.Size = Vector3.new(0.2, 0.6, 0.8)
- part_15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.CFrame = CFrame.new(0.123, 2.013, 0.267) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
- part_15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.BrickColor = NewColB
- part_15.Friction = 0.3
- part_15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_15 = Instance.new("SpecialMesh", part_15)
- mesh_15.Scale = Vector3.new(0.4, 1, 1)
- mesh_15.MeshType = Enum.MeshType.Wedge
- local part_16 = Instance.new("Part", blade)
- part_16.CanCollide = false
- part_16.FormFactor = Enum.FormFactor.Custom
- part_16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.Transparency = 0.3
- part_16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.Anchored = false
- part_16.Material = Enum.Material.Neon
- part_16.Size = Vector3.new(0.2, 0.6, 0.6)
- part_16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.CFrame = CFrame.new(-0.577, 2.013, -0.333) * CFrame.Angles(-1.5707958936691, 1.5707963705063, 0)
- part_16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.BrickColor = NewColB
- part_16.Friction = 0.3
- part_16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_16 = Instance.new("SpecialMesh", part_16)
- mesh_16.Scale = Vector3.new(0.4, 1, 1)
- mesh_16.MeshType = Enum.MeshType.Wedge
- local part_17 = Instance.new("Part", blade)
- part_17.CanCollide = false
- part_17.FormFactor = Enum.FormFactor.Custom
- part_17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.Transparency = 0.3
- part_17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.Anchored = false
- part_17.Material = Enum.Material.Neon
- part_17.Size = Vector3.new(0.2, 0.6, 0.8)
- part_17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.CFrame = CFrame.new(0.123, 2.013, -0.333) * CFrame.Angles(-1.570796251297, -1.5707963705063, 0)
- part_17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.BrickColor = NewColB
- part_17.Friction = 0.3
- part_17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_17 = Instance.new("SpecialMesh", part_17)
- mesh_17.Scale = Vector3.new(0.4, 1, 1)
- mesh_17.MeshType = Enum.MeshType.Wedge
- local part_18 = Instance.new("Part", blade)
- part_18.CanCollide = false
- part_18.FormFactor = Enum.FormFactor.Custom
- part_18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.Transparency = 0.3
- part_18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.Anchored = false
- part_18.Material = Enum.Material.Neon
- part_18.Size = Vector3.new(0.2, 0.4, 0.88)
- part_18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.CFrame = CFrame.new(0.123, 2.013, 0.444) * CFrame.Angles(-3.1415927410126, 0.094166807830334, -1.5707974433899)
- part_18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.BrickColor = NewColB
- part_18.Friction = 0.3
- part_18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_18 = Instance.new("SpecialMesh", part_18)
- mesh_18.Scale = Vector3.new(0.4, 1, 1)
- mesh_18.MeshType = Enum.MeshType.Wedge
- local part_19 = Instance.new("Part", WModel)
- part_19.CanCollide = false
- part_19.FormFactor = Enum.FormFactor.Custom
- part_19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.Anchored = false
- part_19.Material = Enum.Material.Sand
- part_19.Size = Vector3.new(1, 0.2, 1)
- part_19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.CFrame = CFrame.new(-0.937, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -0.051952254027128, 1.5707963705063)
- part_19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.BrickColor = NewCol2B
- part_19.Friction = 0.3
- part_19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_19 = Instance.new("BlockMesh", part_19)
- mesh_19.Scale = Vector3.new(1.07, 0.7, 1.07)
- local part_20 = Instance.new("Part", WModel)
- part_20.CanCollide = false
- part_20.FormFactor = Enum.FormFactor.Custom
- part_20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.Reflectance = 0.2
- part_20.Anchored = false
- part_20.Material = Enum.Material.SmoothPlastic
- part_20.Size = Vector3.new(1, 0.2, 1)
- part_20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.CFrame = CFrame.new(-1.327, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- part_20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.BrickColor = NewCol2B
- part_20.Friction = 0.3
- part_20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_20 = Instance.new("BlockMesh", part_20)
- mesh_20.Scale = Vector3.new(1.07, 0.2, 1.07)
- local part_21 = Instance.new("Part", WModel)
- part_21.CanCollide = false
- part_21.FormFactor = Enum.FormFactor.Custom
- part_21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.Anchored = false
- part_21.Material = Enum.Material.SmoothPlastic
- part_21.Size = Vector3.new(1, 0.2, 1)
- part_21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.CFrame = CFrame.new(-0.037, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- part_21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.BrickColor = BrickColor.new("Fossil")
- part_21.Friction = 0.3
- part_21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_21 = Instance.new("BlockMesh", part_21)
- mesh_21.Scale = Vector3.new(1.06, 1.01, 1.06)
- local part_22 = Instance.new("Part", WModel)
- part_22.CanCollide = false
- part_22.FormFactor = Enum.FormFactor.Custom
- part_22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.Reflectance = 0.2
- part_22.Anchored = false
- part_22.Material = Enum.Material.SmoothPlastic
- part_22.Size = Vector3.new(1, 0.2, 1)
- part_22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.CFrame = CFrame.new(0.053, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- part_22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.BrickColor = NewCol2B
- part_22.Friction = 0.3
- part_22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_22 = Instance.new("BlockMesh", part_22)
- mesh_22.Scale = Vector3.new(1.07, 0.2, 1.07)
- local part_23 = Instance.new("Part", WModel)
- part_23.CanCollide = false
- part_23.FormFactor = Enum.FormFactor.Custom
- part_23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.Reflectance = 0.2
- part_23.Anchored = false
- part_23.Material = Enum.Material.SmoothPlastic
- part_23.Size = Vector3.new(1, 0.2, 1)
- part_23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.CFrame = CFrame.new(-1.137, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- part_23.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.BrickColor = NewCol2B
- part_23.Friction = 0.3
- part_23.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_23 = Instance.new("BlockMesh", part_23)
- mesh_23.Scale = Vector3.new(1.07, 0.2, 1.07)
- local part_24 = Instance.new("Part", WModel)
- part_24.CanCollide = false
- part_24.FormFactor = Enum.FormFactor.Custom
- part_24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.Reflectance = 0.2
- part_24.Anchored = false
- part_24.Material = Enum.Material.SmoothPlastic
- part_24.Size = Vector3.new(1, 0.2, 1)
- part_24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.CFrame = CFrame.new(-0.137, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- part_24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.BrickColor = NewCol2B
- part_24.Friction = 0.3
- part_24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_24 = Instance.new("BlockMesh", part_24)
- mesh_24.Scale = Vector3.new(1.07, 0.2, 1.07)
- local part_25 = Instance.new("Part", WModel)
- part_25.CanCollide = false
- part_25.FormFactor = Enum.FormFactor.Custom
- part_25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.Reflectance = 0.2
- part_25.Anchored = false
- part_25.Material = Enum.Material.SmoothPlastic
- part_25.Size = Vector3.new(0.2, 0.2, 0.2)
- part_25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.CFrame = CFrame.new(-0.837, 1.78, -0.01) * CFrame.Angles(4.9179170957814e-08, -0.78539830446243, -1.1338809891015e-08)
- part_25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.BrickColor = NewCol2B
- part_25.Friction = 0.3
- part_25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_25 = Instance.new("BlockMesh", part_25)
- mesh_25.Scale = Vector3.new(1.6, 1.05, 1.6)
- local part_26 = Instance.new("Part", WModel)
- part_26.CanCollide = false
- part_26.FormFactor = Enum.FormFactor.Custom
- part_26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.Reflectance = 0.2
- part_26.Anchored = false
- part_26.Material = Enum.Material.SmoothPlastic
- part_26.Size = Vector3.new(0.2, 1.06, 0.2)
- part_26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.CFrame = CFrame.new(-0.637, 1.33, -0.01) * CFrame.Angles(1.570796251297, -0.78539806604385, -1.2223480894136e-07)
- part_26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.BrickColor = NewCol2B
- part_26.Friction = 0.3
- part_26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_26 = Instance.new("BlockMesh", part_26)
- mesh_26.Scale = Vector3.new(2, 1.05, 2)
- local part_27 = Instance.new("Part", WModel)
- part_27.CanCollide = false
- part_27.FormFactor = Enum.FormFactor.Custom
- part_27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.Anchored = false
- part_27.Material = Enum.Material.Sand
- part_27.Size = Vector3.new(1, 0.2, 1)
- part_27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.CFrame = CFrame.new(-0.537, 1.33, -0.01) * CFrame.Angles(-3.141592502594, 0.069024816155434, 1.5707963705063)
- part_27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.BrickColor = NewCol2B
- part_27.Friction = 0.3
- part_27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_27 = Instance.new("BlockMesh", part_27)
- mesh_27.Scale = Vector3.new(1.07, 0.7, 1.07)
- local part_28 = Instance.new("Part", WModel)
- part_28.CanCollide = false
- part_28.FormFactor = Enum.FormFactor.Custom
- part_28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.Reflectance = 0.2
- part_28.Anchored = false
- part_28.Material = Enum.Material.SmoothPlastic
- part_28.Size = Vector3.new(0.2, 0.2, 0.2)
- part_28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.CFrame = CFrame.new(-0.437, 1.78, -0.01) * CFrame.Angles(4.9179170957814e-08, -0.78539830446243, -1.1338809891015e-08)
- part_28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.BrickColor = NewCol2B
- part_28.Friction = 0.3
- part_28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_28 = Instance.new("BlockMesh", part_28)
- mesh_28.Scale = Vector3.new(1.6, 1.05, 1.6)
- local part_29 = Instance.new("Part", WModel)
- part_29.CanCollide = false
- part_29.FormFactor = Enum.FormFactor.Custom
- part_29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.Anchored = false
- part_29.Material = Enum.Material.Sand
- part_29.Size = Vector3.new(1, 0.2, 1)
- part_29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.CFrame = CFrame.new(-0.327, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -0.095224447548389, 1.5707963705063)
- part_29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.BrickColor = NewCol2B
- part_29.Friction = 0.3
- part_29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_29 = Instance.new("BlockMesh", part_29)
- mesh_29.Scale = Vector3.new(1.07, 0.7, 1.07)
- local part_30 = Instance.new("Part", WModel)
- part_30.CanCollide = false
- part_30.FormFactor = Enum.FormFactor.Custom
- part_30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.Anchored = false
- part_30.Material = Enum.Material.SmoothPlastic
- part_30.Size = Vector3.new(1, 0.2, 1)
- part_30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.CFrame = CFrame.new(-1.237, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- part_30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.BrickColor = BrickColor.new("Fossil")
- part_30.Friction = 0.3
- part_30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_30 = Instance.new("BlockMesh", part_30)
- mesh_30.Scale = Vector3.new(1.06, 1.01, 1.06)
- local part_31 = Instance.new("Part", WModel)
- part_31.CanCollide = false
- part_31.FormFactor = Enum.FormFactor.Custom
- part_31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.Reflectance = 0.2
- part_31.Anchored = false
- part_31.Material = Enum.Material.SmoothPlastic
- part_31.Size = Vector3.new(0.2, 0.2, 0.2)
- part_31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.CFrame = CFrame.new(-0.637, 1.78, -0.01) * CFrame.Angles(4.9179170957814e-08, -0.78539830446243, -1.1338809891015e-08)
- part_31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.BrickColor = NewCol2B
- part_31.Friction = 0.3
- part_31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_31 = Instance.new("BlockMesh", part_31)
- mesh_31.Scale = Vector3.new(2.3, 1.05, 2.3)
- local part_32 = Instance.new("Part", WModel)
- part_32.CanCollide = false
- part_32.FormFactor = Enum.FormFactor.Custom
- part_32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.Anchored = false
- part_32.Material = Enum.Material.Neon
- part_32.Size = Vector3.new(0.2, 1.06, 0.2)
- part_32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.CFrame = CFrame.new(-0.637, 1.33, -0.01) * CFrame.Angles(1.570796251297, -0.78539806604385, -1.2223480894136e-07)
- part_32.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.BrickColor = NewColB
- part_32.Friction = 0.3
- part_32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_32 = Instance.new("BlockMesh", part_32)
- mesh_32.Scale = Vector3.new(1.5, 1.07, 1.5)
- local part_33 = Instance.new("Part", WModel)
- part_33.CanCollide = false
- part_33.FormFactor = Enum.FormFactor.Custom
- part_33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.Reflectance = 0.2
- part_33.Anchored = false
- part_33.Material = Enum.Material.Neon
- part_33.Size = Vector3.new(0.2, 0.2, 0.2)
- part_33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.CFrame = CFrame.new(-0.637, 1.78, -0.01) * CFrame.Angles(4.9179170957814e-08, -0.78539830446243, -1.1338809891015e-08)
- part_33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.BrickColor = NewColB
- part_33.Friction = 0.3
- part_33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_33 = Instance.new("BlockMesh", part_33)
- mesh_33.Scale = Vector3.new(2, 1.06, 2)
- local part_34 = Instance.new("Part", WModel)
- part_34.CanCollide = false
- part_34.FormFactor = Enum.FormFactor.Custom
- part_34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.Reflectance = 0.2
- part_34.Anchored = false
- part_34.Material = Enum.Material.Neon
- part_34.Size = Vector3.new(0.2, 0.2, 0.2)
- part_34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.CFrame = CFrame.new(-0.837, 1.78, -0.01) * CFrame.Angles(4.9179170957814e-08, -0.78539830446243, -1.1338809891015e-08)
- part_34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.BrickColor = NewColB
- part_34.Friction = 0.3
- part_34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_34 = Instance.new("BlockMesh", part_34)
- mesh_34.Scale = Vector3.new(1.3, 1.06, 1.3)
- local part_35 = Instance.new("Part", WModel)
- part_35.CanCollide = false
- part_35.FormFactor = Enum.FormFactor.Custom
- part_35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.Reflectance = 0.2
- part_35.Anchored = false
- part_35.Material = Enum.Material.Neon
- part_35.Size = Vector3.new(0.2, 0.2, 0.2)
- part_35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.CFrame = CFrame.new(-0.437, 1.78, -0.01) * CFrame.Angles(4.9179170957814e-08, -0.78539830446243, -1.1338809891015e-08)
- part_35.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.BrickColor = NewColB
- part_35.Friction = 0.3
- part_35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_35 = Instance.new("BlockMesh", part_35)
- mesh_35.Scale = Vector3.new(1.3, 1.06, 1.3)
- Handle = Instance.new("Part", WModel)
- Handle.CanCollide = false
- Handle.FormFactor = Enum.FormFactor.Custom
- Handle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Handle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Handle.Anchored = false
- Handle.Material = Enum.Material.SmoothPlastic
- Handle.Size = Vector3.new(1.005, 1.4, 1.005)
- Handle.Name = "Handle"
- Handle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Handle.CFrame = CFrame.new(-0.637, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- Handle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Handle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Handle.BrickColor = BrickColor.new("Black")
- Handle.Friction = 0.3
- Handle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_36 = Instance.new("BlockMesh", Handle)
- mesh_36.Scale = Vector3.new(1.05, 1, 1.05)
- WModel2 = Instance.new("Model")
- local blade = Instance.new("Model", WModel2)
- blade.Name = "Blade2"
- Blade2 = blade
- local part = Instance.new("Part", blade)
- part.CanCollide = false
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part.Transparency = 0.3
- part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part.Anchored = false
- part.Material = Enum.Material.Neon
- part.Size = Vector3.new(0.2, 0.2, 0.54)
- part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part.CFrame = CFrame.new(0.355, 2.013, 0.707) * CFrame.Angles(3.1415922641754, 1.3089979887009, -1.5707957744598)
- part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BrickColor = NewColB
- part.Friction = 0.3
- part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh = Instance.new("SpecialMesh", part)
- mesh.Scale = Vector3.new(0.4, 0.4, 1)
- mesh.MeshType = Enum.MeshType.Wedge
- local part_2 = Instance.new("Part", blade)
- part_2.CanCollide = false
- part_2.FormFactor = Enum.FormFactor.Custom
- part_2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.Transparency = 0.3
- part_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.Anchored = false
- part_2.Material = Enum.Material.Neon
- part_2.Size = Vector3.new(0.2, 0.2, 0.54)
- part_2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.CFrame = CFrame.new(0.355, 2.013, -0.763) * CFrame.Angles(2.6219535698147e-07, 1.3089964389801, -1.5707966089249)
- part_2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.BrickColor = NewColB
- part_2.Friction = 0.3
- part_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_2 = Instance.new("SpecialMesh", part_2)
- mesh_2.Scale = Vector3.new(0.4, 0.4, 1)
- mesh_2.MeshType = Enum.MeshType.Wedge
- local part_3 = Instance.new("Part", blade)
- part_3.CanCollide = false
- part_3.FormFactor = Enum.FormFactor.Custom
- part_3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.Transparency = 0.3
- part_3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.Anchored = false
- part_3.Material = Enum.Material.Neon
- part_3.Size = Vector3.new(0.2, 0.2, 0.2)
- part_3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.CFrame = CFrame.new(-1.331, 2.013, -0.319) * CFrame.Angles(2.6219535698147e-07, 1.3089964389801, -1.5707966089249)
- part_3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.BrickColor = NewColB
- part_3.Friction = 0.3
- part_3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_3 = Instance.new("SpecialMesh", part_3)
- mesh_3.Scale = Vector3.new(0.4, 0.4, 1)
- mesh_3.MeshType = Enum.MeshType.Wedge
- local part_4 = Instance.new("Part", blade)
- part_4.CanCollide = false
- part_4.FormFactor = Enum.FormFactor.Custom
- part_4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.Transparency = 0.3
- part_4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.Anchored = false
- part_4.Material = Enum.Material.Neon
- part_4.Size = Vector3.new(0.2, 0.6, 1.2)
- part_4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.CFrame = CFrame.new(0.923, 2.013, -0.333) * CFrame.Angles(-1.570796251297, -1.5707963705063, 0)
- part_4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.BrickColor = NewColB
- part_4.Friction = 0.3
- part_4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_4 = Instance.new("SpecialMesh", part_4)
- mesh_4.Scale = Vector3.new(0.4, 1, 1)
- mesh_4.MeshType = Enum.MeshType.Wedge
- local part_5 = Instance.new("Part", blade)
- part_5.CanCollide = false
- part_5.FormFactor = Enum.FormFactor.Custom
- part_5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.Transparency = 0.3
- part_5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.Anchored = false
- part_5.Material = Enum.Material.Neon
- part_5.Size = Vector3.new(0.2, 0.6, 0.6)
- part_5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.CFrame = CFrame.new(0.023, 2.013, 0.267) * CFrame.Angles(1.5707966089249, 1.5707963705063, 0)
- part_5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.BrickColor = NewColB
- part_5.Friction = 0.3
- part_5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_5 = Instance.new("SpecialMesh", part_5)
- mesh_5.Scale = Vector3.new(0.4, 1, 1)
- mesh_5.MeshType = Enum.MeshType.Wedge
- local part_6 = Instance.new("Part", blade)
- part_6.CanCollide = false
- part_6.FormFactor = Enum.FormFactor.Custom
- part_6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.Transparency = 0.3
- part_6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.Anchored = false
- part_6.Material = Enum.Material.Neon
- part_6.Size = Vector3.new(0.2, 0.6, 0.6)
- part_6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.CFrame = CFrame.new(0.023, 2.013, -0.333) * CFrame.Angles(-1.5707958936691, 1.5707963705063, 0)
- part_6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.BrickColor = NewColB
- part_6.Friction = 0.3
- part_6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_6 = Instance.new("SpecialMesh", part_6)
- mesh_6.Scale = Vector3.new(0.4, 1, 1)
- mesh_6.MeshType = Enum.MeshType.Wedge
- local part_7 = Instance.new("Part", blade)
- part_7.CanCollide = false
- part_7.FormFactor = Enum.FormFactor.Custom
- part_7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.Transparency = 0.3
- part_7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.Anchored = false
- part_7.Material = Enum.Material.Neon
- part_7.Size = Vector3.new(0.2, 0.2, 0.2)
- part_7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.CFrame = CFrame.new(-1.331, 2.013, 0.231) * CFrame.Angles(3.1415917873383, 1.3089982271194, -1.5707950592041)
- part_7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.BrickColor = NewColB
- part_7.Friction = 0.3
- part_7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_7 = Instance.new("SpecialMesh", part_7)
- mesh_7.Scale = Vector3.new(0.4, 0.4, 1)
- mesh_7.MeshType = Enum.MeshType.Wedge
- local part_8 = Instance.new("Part", blade)
- part_8.CanCollide = false
- part_8.FormFactor = Enum.FormFactor.Custom
- part_8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.Transparency = 0.3
- part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.Anchored = false
- part_8.Material = Enum.Material.Neon
- part_8.Size = Vector3.new(0.2, 0.4, 0.88)
- part_8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.CFrame = CFrame.new(0.123, 2.013, -0.496) * CFrame.Angles(1.7013506976582e-06, 0.10575110465288, -1.5707951784134)
- part_8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.BrickColor = NewColB
- part_8.Friction = 0.3
- part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_8 = Instance.new("SpecialMesh", part_8)
- mesh_8.Scale = Vector3.new(0.4, 1, 1)
- mesh_8.MeshType = Enum.MeshType.Wedge
- local part_9 = Instance.new("Part", blade)
- part_9.CanCollide = false
- part_9.FormFactor = Enum.FormFactor.Custom
- part_9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.Transparency = 0.3
- part_9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.Anchored = false
- part_9.Material = Enum.Material.Neon
- part_9.Size = Vector3.new(0.2, 0.6, 1.2)
- part_9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.CFrame = CFrame.new(0.923, 2.013, 0.267) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
- part_9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.BrickColor = NewColB
- part_9.Friction = 0.3
- part_9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_9 = Instance.new("SpecialMesh", part_9)
- mesh_9.Scale = Vector3.new(0.4, 1, 1)
- mesh_9.MeshType = Enum.MeshType.Wedge
- local part_10 = Instance.new("Part", blade)
- part_10.CanCollide = false
- part_10.FormFactor = Enum.FormFactor.Custom
- part_10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.Transparency = 0.3
- part_10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.Anchored = false
- part_10.Material = Enum.Material.Neon
- part_10.Size = Vector3.new(0.2, 0.2, 0.54)
- part_10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.CFrame = CFrame.new(-0.695, 2.013, -0.843) * CFrame.Angles(2.6219535698147e-07, 1.3089964389801, -1.5707966089249)
- part_10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.BrickColor = NewColB
- part_10.Friction = 0.3
- part_10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_10 = Instance.new("SpecialMesh", part_10)
- mesh_10.Scale = Vector3.new(0.4, 0.4, 1)
- mesh_10.MeshType = Enum.MeshType.Wedge
- local part_11 = Instance.new("Part", blade)
- part_11.CanCollide = false
- part_11.FormFactor = Enum.FormFactor.Custom
- part_11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.Transparency = 0.3
- part_11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.Anchored = false
- part_11.Material = Enum.Material.Neon
- part_11.Size = Vector3.new(0.2, 0.2, 1)
- part_11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.CFrame = CFrame.new(-0.717, 2.013, -0.653) * CFrame.Angles(2.6219535698147e-07, 1.3089964389801, -1.5707966089249)
- part_11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.BrickColor = NewColB
- part_11.Friction = 0.3
- part_11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_11 = Instance.new("SpecialMesh", part_11)
- mesh_11.Scale = Vector3.new(0.4, 1, 1)
- mesh_11.MeshType = Enum.MeshType.Wedge
- local part_12 = Instance.new("Part", blade)
- part_12.CanCollide = false
- part_12.FormFactor = Enum.FormFactor.Custom
- part_12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.Transparency = 0.3
- part_12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.Anchored = false
- part_12.Material = Enum.Material.Neon
- part_12.Size = Vector3.new(0.2, 0.2, 0.54)
- part_12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.CFrame = CFrame.new(-0.695, 2.013, 0.767) * CFrame.Angles(3.1415781974792, 1.3089973926544, -1.5707813501358)
- part_12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.BrickColor = NewColB
- part_12.Friction = 0.3
- part_12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_12 = Instance.new("SpecialMesh", part_12)
- mesh_12.Scale = Vector3.new(0.4, 0.4, 1)
- mesh_12.MeshType = Enum.MeshType.Wedge
- local part_13 = Instance.new("Part", blade)
- part_13.CanCollide = false
- part_13.FormFactor = Enum.FormFactor.Custom
- part_13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.Transparency = 0.3
- part_13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.Anchored = false
- part_13.Material = Enum.Material.Neon
- part_13.Size = Vector3.new(0.2, 0.2, 1)
- part_13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.CFrame = CFrame.new(-0.717, 2.013, 0.587) * CFrame.Angles(3.141592502594, 1.3089973926544, -1.5707961320877)
- part_13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.BrickColor = NewColB
- part_13.Friction = 0.3
- part_13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_13 = Instance.new("SpecialMesh", part_13)
- mesh_13.Scale = Vector3.new(0.4, 1, 1)
- mesh_13.MeshType = Enum.MeshType.Wedge
- local part_14 = Instance.new("Part", blade)
- part_14.CanCollide = false
- part_14.FormFactor = Enum.FormFactor.Custom
- part_14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.Transparency = 0.3
- part_14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.Anchored = false
- part_14.Material = Enum.Material.Neon
- part_14.Size = Vector3.new(0.2, 0.6, 0.6)
- part_14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.CFrame = CFrame.new(-0.577, 2.013, 0.267) * CFrame.Angles(1.5707966089249, 1.5707963705063, 0)
- part_14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.BrickColor = NewColB
- part_14.Friction = 0.3
- part_14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_14 = Instance.new("SpecialMesh", part_14)
- mesh_14.Scale = Vector3.new(0.4, 1, 1)
- mesh_14.MeshType = Enum.MeshType.Wedge
- local part_15 = Instance.new("Part", blade)
- part_15.CanCollide = false
- part_15.FormFactor = Enum.FormFactor.Custom
- part_15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.Transparency = 0.3
- part_15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.Anchored = false
- part_15.Material = Enum.Material.Neon
- part_15.Size = Vector3.new(0.2, 0.6, 0.8)
- part_15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.CFrame = CFrame.new(0.123, 2.013, 0.267) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
- part_15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.BrickColor = NewColB
- part_15.Friction = 0.3
- part_15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_15 = Instance.new("SpecialMesh", part_15)
- mesh_15.Scale = Vector3.new(0.4, 1, 1)
- mesh_15.MeshType = Enum.MeshType.Wedge
- local part_16 = Instance.new("Part", blade)
- part_16.CanCollide = false
- part_16.FormFactor = Enum.FormFactor.Custom
- part_16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.Transparency = 0.3
- part_16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.Anchored = false
- part_16.Material = Enum.Material.Neon
- part_16.Size = Vector3.new(0.2, 0.6, 0.6)
- part_16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.CFrame = CFrame.new(-0.577, 2.013, -0.333) * CFrame.Angles(-1.5707958936691, 1.5707963705063, 0)
- part_16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.BrickColor = NewColB
- part_16.Friction = 0.3
- part_16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_16 = Instance.new("SpecialMesh", part_16)
- mesh_16.Scale = Vector3.new(0.4, 1, 1)
- mesh_16.MeshType = Enum.MeshType.Wedge
- local part_17 = Instance.new("Part", blade)
- part_17.CanCollide = false
- part_17.FormFactor = Enum.FormFactor.Custom
- part_17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.Transparency = 0.3
- part_17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.Anchored = false
- part_17.Material = Enum.Material.Neon
- part_17.Size = Vector3.new(0.2, 0.6, 0.8)
- part_17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.CFrame = CFrame.new(0.123, 2.013, -0.333) * CFrame.Angles(-1.570796251297, -1.5707963705063, 0)
- part_17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.BrickColor = NewColB
- part_17.Friction = 0.3
- part_17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_17 = Instance.new("SpecialMesh", part_17)
- mesh_17.Scale = Vector3.new(0.4, 1, 1)
- mesh_17.MeshType = Enum.MeshType.Wedge
- local part_18 = Instance.new("Part", blade)
- part_18.CanCollide = false
- part_18.FormFactor = Enum.FormFactor.Custom
- part_18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.Transparency = 0.3
- part_18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.Anchored = false
- part_18.Material = Enum.Material.Neon
- part_18.Size = Vector3.new(0.2, 0.4, 0.88)
- part_18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.CFrame = CFrame.new(0.123, 2.013, 0.444) * CFrame.Angles(-3.1415927410126, 0.094166807830334, -1.5707974433899)
- part_18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.BrickColor = NewColB
- part_18.Friction = 0.3
- part_18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_18 = Instance.new("SpecialMesh", part_18)
- mesh_18.Scale = Vector3.new(0.4, 1, 1)
- mesh_18.MeshType = Enum.MeshType.Wedge
- local part_19 = Instance.new("Part", WModel2)
- part_19.CanCollide = false
- part_19.FormFactor = Enum.FormFactor.Custom
- part_19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.Anchored = false
- part_19.Material = Enum.Material.Sand
- part_19.Size = Vector3.new(1, 0.2, 1)
- part_19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.CFrame = CFrame.new(-0.937, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -0.051952254027128, 1.5707963705063)
- part_19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.BrickColor = NewCol2B
- part_19.Friction = 0.3
- part_19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_19 = Instance.new("BlockMesh", part_19)
- mesh_19.Scale = Vector3.new(1.07, 0.7, 1.07)
- local part_20 = Instance.new("Part", WModel2)
- part_20.CanCollide = false
- part_20.FormFactor = Enum.FormFactor.Custom
- part_20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.Reflectance = 0.2
- part_20.Anchored = false
- part_20.Material = Enum.Material.SmoothPlastic
- part_20.Size = Vector3.new(1, 0.2, 1)
- part_20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.CFrame = CFrame.new(-1.327, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- part_20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.BrickColor = NewCol2B
- part_20.Friction = 0.3
- part_20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_20 = Instance.new("BlockMesh", part_20)
- mesh_20.Scale = Vector3.new(1.07, 0.2, 1.07)
- local part_21 = Instance.new("Part", WModel2)
- part_21.CanCollide = false
- part_21.FormFactor = Enum.FormFactor.Custom
- part_21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.Anchored = false
- part_21.Material = Enum.Material.SmoothPlastic
- part_21.Size = Vector3.new(1, 0.2, 1)
- part_21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.CFrame = CFrame.new(-0.037, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- part_21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.BrickColor = BrickColor.new("Fossil")
- part_21.Friction = 0.3
- part_21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_21 = Instance.new("BlockMesh", part_21)
- mesh_21.Scale = Vector3.new(1.06, 1.01, 1.06)
- local part_22 = Instance.new("Part", WModel2)
- part_22.CanCollide = false
- part_22.FormFactor = Enum.FormFactor.Custom
- part_22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.Reflectance = 0.2
- part_22.Anchored = false
- part_22.Material = Enum.Material.SmoothPlastic
- part_22.Size = Vector3.new(1, 0.2, 1)
- part_22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.CFrame = CFrame.new(0.053, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- part_22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.BrickColor = NewCol2B
- part_22.Friction = 0.3
- part_22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_22 = Instance.new("BlockMesh", part_22)
- mesh_22.Scale = Vector3.new(1.07, 0.2, 1.07)
- local part_23 = Instance.new("Part", WModel2)
- part_23.CanCollide = false
- part_23.FormFactor = Enum.FormFactor.Custom
- part_23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.Reflectance = 0.2
- part_23.Anchored = false
- part_23.Material = Enum.Material.SmoothPlastic
- part_23.Size = Vector3.new(1, 0.2, 1)
- part_23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.CFrame = CFrame.new(-1.137, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- part_23.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.BrickColor = NewCol2B
- part_23.Friction = 0.3
- part_23.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_23 = Instance.new("BlockMesh", part_23)
- mesh_23.Scale = Vector3.new(1.07, 0.2, 1.07)
- local part_24 = Instance.new("Part", WModel2)
- part_24.CanCollide = false
- part_24.FormFactor = Enum.FormFactor.Custom
- part_24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.Reflectance = 0.2
- part_24.Anchored = false
- part_24.Material = Enum.Material.SmoothPlastic
- part_24.Size = Vector3.new(1, 0.2, 1)
- part_24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.CFrame = CFrame.new(-0.137, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- part_24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.BrickColor = NewCol2B
- part_24.Friction = 0.3
- part_24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_24 = Instance.new("BlockMesh", part_24)
- mesh_24.Scale = Vector3.new(1.07, 0.2, 1.07)
- local part_25 = Instance.new("Part", WModel2)
- part_25.CanCollide = false
- part_25.FormFactor = Enum.FormFactor.Custom
- part_25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.Reflectance = 0.2
- part_25.Anchored = false
- part_25.Material = Enum.Material.SmoothPlastic
- part_25.Size = Vector3.new(0.2, 0.2, 0.2)
- part_25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.CFrame = CFrame.new(-0.837, 1.78, -0.01) * CFrame.Angles(4.9179170957814e-08, -0.78539830446243, -1.1338809891015e-08)
- part_25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.BrickColor = NewCol2B
- part_25.Friction = 0.3
- part_25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_25 = Instance.new("BlockMesh", part_25)
- mesh_25.Scale = Vector3.new(1.6, 1.05, 1.6)
- local part_26 = Instance.new("Part", WModel2)
- part_26.CanCollide = false
- part_26.FormFactor = Enum.FormFactor.Custom
- part_26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.Reflectance = 0.2
- part_26.Anchored = false
- part_26.Material = Enum.Material.SmoothPlastic
- part_26.Size = Vector3.new(0.2, 1.06, 0.2)
- part_26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.CFrame = CFrame.new(-0.637, 1.33, -0.01) * CFrame.Angles(1.570796251297, -0.78539806604385, -1.2223480894136e-07)
- part_26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.BrickColor = NewCol2B
- part_26.Friction = 0.3
- part_26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_26 = Instance.new("BlockMesh", part_26)
- mesh_26.Scale = Vector3.new(2, 1.05, 2)
- local part_27 = Instance.new("Part", WModel2)
- part_27.CanCollide = false
- part_27.FormFactor = Enum.FormFactor.Custom
- part_27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.Anchored = false
- part_27.Material = Enum.Material.Sand
- part_27.Size = Vector3.new(1, 0.2, 1)
- part_27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.CFrame = CFrame.new(-0.537, 1.33, -0.01) * CFrame.Angles(-3.141592502594, 0.069024816155434, 1.5707963705063)
- part_27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.BrickColor = NewCol2B
- part_27.Friction = 0.3
- part_27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_27 = Instance.new("BlockMesh", part_27)
- mesh_27.Scale = Vector3.new(1.07, 0.7, 1.07)
- local part_28 = Instance.new("Part", WModel2)
- part_28.CanCollide = false
- part_28.FormFactor = Enum.FormFactor.Custom
- part_28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.Reflectance = 0.2
- part_28.Anchored = false
- part_28.Material = Enum.Material.SmoothPlastic
- part_28.Size = Vector3.new(0.2, 0.2, 0.2)
- part_28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.CFrame = CFrame.new(-0.437, 1.78, -0.01) * CFrame.Angles(4.9179170957814e-08, -0.78539830446243, -1.1338809891015e-08)
- part_28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.BrickColor = NewCol2B
- part_28.Friction = 0.3
- part_28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_28 = Instance.new("BlockMesh", part_28)
- mesh_28.Scale = Vector3.new(1.6, 1.05, 1.6)
- local part_29 = Instance.new("Part", WModel2)
- part_29.CanCollide = false
- part_29.FormFactor = Enum.FormFactor.Custom
- part_29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.Anchored = false
- part_29.Material = Enum.Material.Sand
- part_29.Size = Vector3.new(1, 0.2, 1)
- part_29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.CFrame = CFrame.new(-0.327, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -0.095224447548389, 1.5707963705063)
- part_29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.BrickColor = NewCol2B
- part_29.Friction = 0.3
- part_29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_29 = Instance.new("BlockMesh", part_29)
- mesh_29.Scale = Vector3.new(1.07, 0.7, 1.07)
- local part_30 = Instance.new("Part", WModel2)
- part_30.CanCollide = false
- part_30.FormFactor = Enum.FormFactor.Custom
- part_30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.Anchored = false
- part_30.Material = Enum.Material.SmoothPlastic
- part_30.Size = Vector3.new(1, 0.2, 1)
- part_30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.CFrame = CFrame.new(-1.237, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- part_30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.BrickColor = BrickColor.new("Fossil")
- part_30.Friction = 0.3
- part_30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_30 = Instance.new("BlockMesh", part_30)
- mesh_30.Scale = Vector3.new(1.06, 1.01, 1.06)
- local part_31 = Instance.new("Part", WModel2)
- part_31.CanCollide = false
- part_31.FormFactor = Enum.FormFactor.Custom
- part_31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.Reflectance = 0.2
- part_31.Anchored = false
- part_31.Material = Enum.Material.SmoothPlastic
- part_31.Size = Vector3.new(0.2, 0.2, 0.2)
- part_31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.CFrame = CFrame.new(-0.637, 1.78, -0.01) * CFrame.Angles(4.9179170957814e-08, -0.78539830446243, -1.1338809891015e-08)
- part_31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.BrickColor = NewCol2B
- part_31.Friction = 0.3
- part_31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_31 = Instance.new("BlockMesh", part_31)
- mesh_31.Scale = Vector3.new(2.3, 1.05, 2.3)
- local part_32 = Instance.new("Part", WModel2)
- part_32.CanCollide = false
- part_32.FormFactor = Enum.FormFactor.Custom
- part_32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.Anchored = false
- part_32.Material = Enum.Material.Neon
- part_32.Size = Vector3.new(0.2, 1.06, 0.2)
- part_32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.CFrame = CFrame.new(-0.637, 1.33, -0.01) * CFrame.Angles(1.570796251297, -0.78539806604385, -1.2223480894136e-07)
- part_32.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.BrickColor = NewColB
- part_32.Friction = 0.3
- part_32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_32 = Instance.new("BlockMesh", part_32)
- mesh_32.Scale = Vector3.new(1.5, 1.07, 1.5)
- local part_33 = Instance.new("Part", WModel2)
- part_33.CanCollide = false
- part_33.FormFactor = Enum.FormFactor.Custom
- part_33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.Reflectance = 0.2
- part_33.Anchored = false
- part_33.Material = Enum.Material.Neon
- part_33.Size = Vector3.new(0.2, 0.2, 0.2)
- part_33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.CFrame = CFrame.new(-0.637, 1.78, -0.01) * CFrame.Angles(4.9179170957814e-08, -0.78539830446243, -1.1338809891015e-08)
- part_33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.BrickColor = NewColB
- part_33.Friction = 0.3
- part_33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_33 = Instance.new("BlockMesh", part_33)
- mesh_33.Scale = Vector3.new(2, 1.06, 2)
- local part_34 = Instance.new("Part", WModel2)
- part_34.CanCollide = false
- part_34.FormFactor = Enum.FormFactor.Custom
- part_34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.Reflectance = 0.2
- part_34.Anchored = false
- part_34.Material = Enum.Material.Neon
- part_34.Size = Vector3.new(0.2, 0.2, 0.2)
- part_34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.CFrame = CFrame.new(-0.837, 1.78, -0.01) * CFrame.Angles(4.9179170957814e-08, -0.78539830446243, -1.1338809891015e-08)
- part_34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.BrickColor = NewColB
- part_34.Friction = 0.3
- part_34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_34 = Instance.new("BlockMesh", part_34)
- mesh_34.Scale = Vector3.new(1.3, 1.06, 1.3)
- local part_35 = Instance.new("Part", WModel2)
- part_35.CanCollide = false
- part_35.FormFactor = Enum.FormFactor.Custom
- part_35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.Reflectance = 0.2
- part_35.Anchored = false
- part_35.Material = Enum.Material.Neon
- part_35.Size = Vector3.new(0.2, 0.2, 0.2)
- part_35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.CFrame = CFrame.new(-0.437, 1.78, -0.01) * CFrame.Angles(4.9179170957814e-08, -0.78539830446243, -1.1338809891015e-08)
- part_35.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.BrickColor = NewColB
- part_35.Friction = 0.3
- part_35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_35 = Instance.new("BlockMesh", part_35)
- mesh_35.Scale = Vector3.new(1.3, 1.06, 1.3)
- Handle2 = Instance.new("Part", WModel2)
- Handle2.CanCollide = false
- Handle2.FormFactor = Enum.FormFactor.Custom
- Handle2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Handle2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Handle2.Anchored = false
- Handle2.Material = Enum.Material.SmoothPlastic
- Handle2.Size = Vector3.new(1.005, 1.4, 1.005)
- Handle2.Name = "Handle2"
- Handle2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Handle2.CFrame = CFrame.new(-0.637, 1.33, -0.01) * CFrame.Angles(-3.141592502594, -4.9825732872932e-08, 1.5707963705063)
- Handle2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Handle2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Handle2.BrickColor = BrickColor.new("Black")
- Handle2.Friction = 0.3
- Handle2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- local mesh_36 = Instance.new("BlockMesh", Handle)
- mesh_36.Scale = Vector3.new(1, 1, 1.05)
- -- had to edit the weld function completely
- local WeldObjects = function(parent, h)
- for i,obj in pairs(parent:GetChildren()) do
- if obj.ClassName=="Part" and parent:FindFirstChild("Handle") then
- Weld(Handle, obj)
- elseif obj.ClassName=="Part" and parent:FindFirstChild("Handle2") then
- Weld(Handle2, obj)
- end
- end
- end
- -- i couldnt be pro enough so i need to make 2 =(
- local WeldObjects2 = function(parent, h)
- for i,obj in pairs(parent:GetChildren()) do
- if h and parent.Name=="Blade" then
- Weld(Handle, obj)
- elseif h and parent.Name=="Blade2" then
- Weld(Handle2, obj)
- end
- end
- end
- WeldObjects(WModel, Handle)
- WeldObjects2(Blade, Handle)
- WModel.Parent = Character
- WeldObjects(WModel2, Handle2)
- WeldObjects2(Blade2, Handle2)
- WModel2.Parent = Character
- WModel.Name = "RightBlade"
- WModel2.Name = "LeftBlade"
- Handle.Name = "RightHandle"
- Handle2.Name = "LeftHandle"
- local g = Instance.new("Motor6D")
- g.Part0 = Character:WaitForChild("Right Arm")
- g.Part1 = Handle
- g.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(0, math.pi, 0)
- g.C1 = CFrame.new() * CFrame.Angles(0, 0, 0)
- g.Name = "RightGrip"
- g.Parent = Character:WaitForChild("Right Arm")
- Grip = g
- local g = Instance.new("Motor6D")
- g.Part0 = Character:WaitForChild("Left Arm")
- g.Part1 = Handle2
- g.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(0, 0, 0)
- g.C1 = CFrame.new() * CFrame.Angles(0, 0, 0)
- g.Name = "LeftGrip"
- g.Parent = Character:WaitForChild("Left Arm")
- Grip2 = g
- move1 = "(Z)\nPsyshock"
- move2 = "(X)\nMind Strike"
- move3 = "(C)\nTelekinesis"
- move4 = "(V)\nPsionic Assault"
- BreakCAnim = false
- it = Instance.new
- vt = Vector3.new
- cf = CFrame.new
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- local wef = workspace:FindFirstChild("Effects")
- if wef == nil then
- wef = Instance.new("Model", workspace)
- wef.Name = "Effects"
- end
- Mouse.TargetFilter = workspace:WaitForChild("Effects")
- Character:WaitForChild("Sound").Disabled = true
- Character.Sound:WaitForChild("LocalSound").Disabled = true
- local Bezier = {}
- Bezier.__index = Bezier
- Bezier.new = function(...)
- local points = {...}
- assert(#points >= 3, "Must have at least 3 points")
- local bezier = {}
- local V3 = Vector3.new
- local lerpV3 = V3().lerp
- local lines = {}
- local numLines = 0
- local finalLine = nil
- local CreatePoint = function(v3)
- local point = {v3.X, v3.Y, v3.Z}
- point.ToVector3 = function(self)
- return V3(self[1], self[2], self[3])
- end
- point.lerp = function(self, other, ratio)
- return lerpV3(self:ToVector3(), other:ToVector3(), ratio)
- end
- return point
- end
- for i = 1, #points - 1 do
- local p1 = CreatePoint(points[i])
- local p2 = CreatePoint(points[i + 1])
- local line = {p1, p2, CreatePoint(p1)}
- lines[#lines + 1] = line
- end
- do
- do
- local relativeLines = lines
- for n = #lines, 2, -1 do
- local newLines = {}
- for i = 1, n - 1 do
- local l1, l2 = relativeLines[i], relativeLines[i + 1]
- local line = {l1[3], l2[3], CreatePoint(l1[3])}
- newLines[i] = line
- lines[#lines + 1] = line
- end
- relativeLines = newLines
- end
- finalLine = relativeLines[1]
- numLines = #lines
- bezier.Get = function(self, ratio, clampRatio)
- -- DECOMPILER ERROR at PC15: Unhandled construct in 'MakeBoolean' P3
- -- DECOMPILER ERROR at PC15: Unhandled construct in 'MakeBoolean' P3
- if not clampRatio or ((ratio >= 0 or not 0)) then
- for i = 1, numLines do
- local line = lines[i]
- local mid = line[1]:lerp(line[2], ratio)
- local pt = line[3]
- pt[1] = mid.X
- end
- return finalLine[3]:ToVector3()
- end
- end
- bezier.GetPath = function(self, step)
- assert(type(step) == "number", "Must provide a step increment")
- assert(step > 0 and step < 1, "Step out of domain; should be between 0 and 1 (exclusive)")
- local path = {}
- local lastI = 0
- for i = 0, 1, step do
- lastI = i
- path[#path + 1] = self:Get(i)
- end
- if 1 - lastI >= step * 0.5 then
- do
- do
- local overrideLast = lastI >= 1
- path[#path + (overrideLast and 0 or 1)] = bezier:Get(1)
- do return path end
- -- DECOMPILER ERROR: 7 unprocessed JMP targets
- end
- end
- end
- end
- bezier.GetPoints = function(self)
- return points
- end
- do return setmetatable(bezier, Bezier) end
- -- DECOMPILER ERROR: 1 unprocessed JMP targets
- end
- end
- end
- local sounds = {
- Sounds = {Magic_Slash_Big02 = 231917772, Tempus_Move3Hit = 206083232, Tempus_Move3Hit3 = 206083252, Abbys_Attack2 = 200633377, Abyss_Move2Orb = 200633577, claw_swipe03 = 199145204, claw_swipe02 = 199145146, claw_swipe01 = 199145095, laser_oh = 300916057, laser_oc = 300916038, cryst3 = 285370545, cryst2 = 285370517, cryst1 = 285370493, Nether_Move3Field = 228343330, Commander_Move4_Start = 199145659, Commander_Move2_Fly2 = 199145433, Commander_Move3_Hit = 199145477, Obsidian_Move1_Shoot = 203691562, Obsidian_Move4_Teleport = 203691699, Omega_Move4Grab = 200632821, SA_Ult_SpellEnd = 296961827, Stealth4 = 263609994, equip = 243711322, ["199148971"] = 199148971, ["199149025"] = 199149025, ["199149072"] = 199149072, ["199149109"] = 199149109, ["199149119"] = 199149119, ["199149321"] = 199149321, ["199149338"] = 199149338, ["199149367"] = 199149367, ["199149409"] = 199149409, ["199149452"] = 199149452, ["199149137"] = 199149137, ["199149186"] = 199149186, ["199149221"] = 199149221, ["199149235"] = 199149235, ["199149269"] = 199149269, ["199149297"] = 199149297, ["199148933"] = 199148933, ["199148947"] = 199148947}
- }
- sounds.get = function(self, name, looped, pitch, volume, pos)
- local id = nil
- if type(name) == "string" then
- id = self.Sounds[name]
- else
- id = name
- end
- if id == nil then
- error("SoundModule - " .. name .. " does not exist")
- end
- local sound = Instance.new("Sound")
- sound.Name = "Sound:" .. name
- sound.SoundId = "rbxassetid://" .. id
- sound.Looped = looped or false
- sound.Pitch = pitch or 1
- sound.Volume = volume or 0.5
- sound.Parent = pos or workspace
- return sound
- end
- spawn(function()
- for i,v in pairs(sounds.Sounds) do
- game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=" .. v)
- end
- end)
- so = function(id, par, vol, pit)
- local sou = Instance.new("Sound", par or workspace)
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
- coroutine.resume(coroutine.create(function(Sound)
- swait()
- Sound:play()
- end), sou)
- game:GetService("Debris"):AddItem(sou, 6)
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- tf = 0
- allowframeloss = true
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
- local gui = it(GuiType)
- gui.Parent = parent
- gui.Text = text
- gui.BackgroundTransparency = backtrans
- gui.BackgroundColor3 = backcol
- gui.SizeConstraint = "RelativeXY"
- gui.TextXAlignment = "Center"
- gui.TextYAlignment = "Center"
- gui.Position = pos
- gui.Size = size
- gui.Font = "SourceSans"
- gui.FontSize = "Size14"
- gui.TextWrapped = false
- gui.TextStrokeTransparency = 0
- gui.TextColor = BrickColor.new("White")
- return gui
- end
- local Grip, Grip2 = nil, nil
- local isjugg = false
- equipfirst = false
- local StatsFolder = Instance.new("BoolValue")
- StatsFolder.Name = "Stats"
- StatsFolder.Parent = Character
- local Decrease = Instance.new("BoolValue", StatsFolder)
- Decrease.Name = "Decrease"
- local Block = Instance.new("BoolValue", StatsFolder)
- Block.Name = "Block"
- local Rooted = Instance.new("BoolValue", StatsFolder)
- Rooted.Name = "Rooted"
- local Stagger = Instance.new("BoolValue", StatsFolder)
- Stagger.Name = "Stagger"
- local StaggerHit = Instance.new("BoolValue", StatsFolder)
- StaggerHit.Name = "StaggerHit"
- local Stun = Instance.new("NumberValue", StatsFolder)
- Stun.Name = "Stun"
- local StunT = Instance.new("NumberValue", StatsFolder)
- StunT.Name = "StunThreshold"
- StunT.Value = 100
- local Stunned = Instance.new("BoolValue", StatsFolder)
- Stunned.Name = "Stunned"
- fengui = it("GuiMain")
- fengui.Parent = Player.PlayerGui
- fengui.Name = "WeaponGUI"
- fenframe = it("Frame")
- fenframe.Parent = fengui
- fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
- fenframe.BackgroundTransparency = 1
- fenframe.BorderColor3 = Color3.new(17, 17, 17)
- fenframe.Size = UDim2.new(0.1, 0, 0.1, 0)
- fenframe.Position = UDim2.new(0.95, 0, 0.7, 0)
- fenframe2 = it("Frame")
- fenframe2.Parent = fengui
- fenframe2.BackgroundColor3 = Color3.new(255, 255, 255)
- fenframe2.BackgroundTransparency = 1
- fenframe2.BorderColor3 = Color3.new(17, 17, 17)
- fenframe2.Size = UDim2.new(0.2, 0, 0.1, 0)
- fenframe2.Position = UDim2.new(0.4, 0, 0.85, 0)
- fenframe3 = it("Frame")
- fenframe3.Parent = fengui
- fenframe3.BackgroundColor3 = Color3.new(255, 255, 255)
- fenframe3.BackgroundTransparency = 1
- fenframe3.BorderColor3 = Color3.new(17, 17, 17)
- fenframe3.Size = UDim2.new(0.2, 0, 0.2, 0)
- fenframe3.Position = UDim2.new(0.8, 0, 0.8, 0)
- fenframe3.Name = "MoveFrame"
- fenframe4 = it("Frame")
- fenframe4.Parent = fengui
- fenframe4.BackgroundColor3 = Color3.new(255, 255, 255)
- fenframe4.BackgroundTransparency = 1
- fenframe4.BorderColor3 = Color3.new(17, 17, 17)
- fenframe4.Size = UDim2.new(0.1, 0, 0.1, 0)
- fenframe4.Position = UDim2.new(0, 0, 0.7, 0)
- pressedf = false
- fenframe5 = it("Frame")
- fenframe5.Parent = fengui
- fenframe5.BackgroundColor3 = Color3.new(0, 0, 0)
- fenframe5.BackgroundTransparency = 1
- fenframe5.BorderColor3 = Color3.new(0, 0, 0)
- fenframe5.Size = UDim2.new(1, 0, 1, 0)
- fenframe5.Position = UDim2.new(0, 0, 0, 0)
- fenframe5.ZIndex = 2
- tellbar = gui("TextLabel", fenframe5, "Fixed by kent911t\nPress \'F\' to equip your weapon.", 1, Color3.new(0, 0, 0), UDim2.new(0.25, 0, 0.25, 0), UDim2.new(0.5, 0, 0.5, 0))
- tellbar.Font = "Arial"
- tellbar.TextScaled = true
- tellbar.TextTransparency = 1
- tellbar.TextStrokeTransparency = 1
- tellbar.ZIndex = 2
- fnumb = 0
- fenbarmana1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
- fenbarmana2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
- fenbarmana4 = gui("TextLabel", fenframe, "Mana(" .. "" .. ")", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
- fenbarblock1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.6, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
- fenbarblock2 = gui("TextLabel", fenframe, "", 0, NewCol2, UDim2.new(-0.6, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
- fenbarblock3 = gui("TextLabel", fenframe, "Blood(" .. "blood" .. ")", 1, Color3.new(0, 0, 0), UDim2.new(-0.6, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
- fenbardamage = gui("TextLabel", fenframe2, "Damage", 0.55, Color3.new(0.6078431372549, 0, 0), UDim2.new(-0.23, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
- fenbardef = gui("TextLabel", fenframe2, "Defense", 0.55, Color3.new(0, 0, 0.6078431372549), UDim2.new(-0.46, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
- fenbarmove = gui("TextLabel", fenframe2, "Walkspeed", 0.55, Color3.new(0, 0.6078431372549, 0), UDim2.new(1.03, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
- fenbarhp1 = gui("TextLabel", fenframe2, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.46, 0, 1, 0), UDim2.new(1.92, 0, 0.4, 0))
- fenbarhp2 = gui("TextLabel", fenbarhp1, "", 0, Color3.new(1, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
- fenbarhp3 = gui("TextLabel", fenbarhp1, "(100)", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
- fenbarstun1 = gui("TextLabel", fenframe4, "", 0, Color3.new(0, 0, 0), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
- fenbarstun2 = gui("TextLabel", fenframe4, "", 0, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
- fenbarstun3 = gui("TextLabel", fenframe4, "Stun(" .. Stun.Value .. ")", 1, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
- fenbarmove1 = gui("TextButton", fenframe3, move1, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
- fenbarmove1.ZIndex = 2
- fenbarmove1b = gui("TextLabel", fenbarmove1, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
- fenbarmove2 = gui("TextButton", fenframe3, move2, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
- fenbarmove2.ZIndex = 2
- fenbarmove2b = gui("TextLabel", fenbarmove2, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
- fenbarmove3 = gui("TextButton", fenframe3, move3, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
- fenbarmove3.ZIndex = 2
- fenbarmove3b = gui("TextLabel", fenbarmove3, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
- fenbarmove4 = gui("TextButton", fenframe3, move4, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
- fenbarmove4.ZIndex = 2
- fenbarmove4b = gui("TextLabel", fenbarmove4, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
- fenbarmind = gui("TextLabel", fenframe2, "Mind", 0.55, NewCol, UDim2.new(1.26, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
- canjump = true
- stunnum = 0
- Effects = {}
- removeControl = function()
- canjump = false
- end
- resumeControl = function()
- canjump = true
- end
- Humanoid.Changed:connect(function()
- if canjump == false then
- Humanoid.Jump = false
- end
- end)
- Tool = nil
- if script.Parent.className ~= "HopperBin" then
- Tool = Instance.new("HopperBin")
- Tool.Parent = Player.Backpack
- Tool.Name = "Psionic Blades"
- script.Parent = Tool
- end
- Bin = script.Parent
- if Bin.Name == "Synth" then
- Bin.Name = "Psionic Blades"
- end
- hitbox = Instance.new("Part")
- hitbox.Name = "Hitbox"
- hitbox.Anchored = true
- hitbox.CanCollide = false
- hitbox.Transparency = 1
- EmptyAnimId = "http://www.roblox.com/Asset?ID=180435571"
- EmptyAnim = Create("Animation")({AnimationId = EmptyAnimId})
- EmptyAnimTrack = Humanoid:LoadAnimation(EmptyAnim)
- WEnabled = false
- deb = false
- equipped = false
- Ignore = {Character, wef}
- DEBUG = true
- Color = function(r, g, b)
- return Color3.new(r / 255, g / 255, b / 255)
- end
- lerp = function(a, b, k)
- return a + (b - a) * k
- end
- SineInOut = function(step)
- return 0.5 + math.cos(step * math.pi) * -0.5
- end
- normalize = function(value, min, max)
- return (value - min) / (max - min)
- end
- local Stats = {}
- Stats.Mana = {Type = "DoubleConstrainedValue", Value = 0, Min = 0, Max = 100, Update = function(self, step)
- if DEBUG then
- step = step * 20
- end
- self.Instance.Value = self.Instance.Value + step * (2 + Stats.Mind:Get() / 15)
- self.Value = self.Instance.Value
- BarSize = normalize(self.Value, self.Min, self.Max)
- end, Add = function(self, amount)
- self.Instance.Value = self.Instance.Value + amount
- end, Get = function(self)
- return self.Instance.Value
- end}
- Stats.Psi = {Type = "DoubleConstrainedValue", Value = 0, Min = 0, Max = 100, Update = function(self, step)
- if DEBUG then
- step = step * 20
- end
- self.Instance.Value = self.Instance.Value + step * 1.5
- self.Value = self.Instance.Value
- BarSize = normalize(self.Value, self.Min, self.Max)
- end, Add = function(self, amount)
- self.Instance.Value = self.Instance.Value + amount
- end, Get = function(self)
- return self.Instance.Value
- end, Set = function(self, amount)
- self.Instance.Value = amount
- end}
- Stats.Mind = {Type = "IntConstrainedValue", Value = 0, Min = 0, Max = 30, SpeedBuff = nil, DamageBuff = nil, Update = function(self, step)
- self.Value = self.Instance.Value
- if self.Value >= 15 and self.DamageBuff == nil then
- self.DamageBuff = Stats.Damage:AddBuff(-0.2)
- else
- if self.Value < 15 and self.DamageBuff then
- self.DamageBuff:Destroy()
- self.DamageBuff = nil
- end
- end
- if self.Value == 30 and self.SpeedBuff == nil then
- self.SpeedBuff = Stats.Speed:AddBuff(-0.2)
- else
- if self.Value < 30 and self.SpeedBuff then
- self.SpeedBuff:Destroy()
- self.SpeedBuff = nil
- end
- end
- if math.random(70) == 1 then
- local loop = nil
- do
- local n = Instance.new("Part")
- n.Anchored = true
- n.CanCollide = false
- n.Transparency = 0.5
- n.TopSurface = "Smooth"
- n.BottomSurface = "Smooth"
- n.FormFactor = "Custom"
- n.Size = Vector3.new(1, 1, 1)
- local m = Instance.new("BlockMesh")
- m.Scale = Vector3.new(0, 0, 0)
- m.Parent = n
- local co = {NewColB, NewCol2B}
- n.BrickColor = co[math.random(1, #co)]
- local RStart = Character.Torso.Position + Vector3.new(math.random(-5, 5), 0, math.random(-5, 5))
- local REnd = RStart + Vector3.new(0, -1, 0)
- local ray = Ray.new(RStart, (REnd - RStart).unit * 50)
- local _, pos = workspace:FindPartOnRayWithIgnoreList(ray, {WModel, WModel2, Character, wef})
- n.CFrame = CFrame.new(pos)
- local StartTrans = lerp(1, 0.2, normalize(self.Value, self.Min, self.Max))
- n.Transparency = StartTrans
- local Time = 0
- local MaxTime = 1
- n.Parent = wef
- loop = game:GetService("RunService").RenderStepped:connect(function(step)
- n.Transparency = lerp(StartTrans, 1, normalize(Time, 0, MaxTime))
- m.Scale = Vector3.new(2, 0, 2):lerp(Vector3.new(0, 2, 0), normalize(Time, 0, MaxTime))
- n.CFrame = n.CFrame * CFrame.new(0, step * 2, 0)
- Time = Time + step
- if MaxTime < Time then
- loop:disconnect()
- n:Destroy()
- end
- end)
- end
- end
- end, Add = function(self, amount)
- self.Instance.Value = self.Instance.Value + amount
- end, Set = function(self, amount)
- self.Instance.Value = amount
- end, Get = function(self)
- return self.Instance.Value
- end}
- Stats.Speed = {Type = "NumberValue", Name = "Movement", Value = 1, Base = 1, BuffedBase = 0.9, OldBase = 0.9,
- Buffs = {}
- , Frozen = false, Update = function(self, step)
- new = 0
- for i,v in ipairs(Decrease:GetChildren()) do
- if v.Name == "DecreaseMvmt" then
- new = new + v.Value
- if v:FindFirstChild("Duration") then
- v.Duration.Value = v.Duration.Value - 1
- if v.Duration.Value <= 0 then
- v:Destroy()
- end
- end
- end
- end
- self.Instance.Value = self.Base - (new)
- if self.Instance.Value < 0 then
- self.Instance.Value = 0
- end
- self.Value = self.Instance.Value
- if Mvmt.Value < 0 or Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true or Rooted.Value then
- Humanoid.WalkSpeed = 0
- else
- Humanoid.WalkSpeed = 16 * self.Instance.Value
- end
- end, SetBase = function(self, amount)
- self.Base = amount
- end, Get = function(self)
- return self.Instance.Value
- end, AddBuff = function(self, amount, time, target, noNotify)
- name = "DecreaseMvmt"
- Dec = Instance.new("NumberValue")
- Dec.Name = name
- Dec.Value = amount
- Dur = nil
- if time then
- Dur = Instance.new("NumberValue")
- Dur.Name = "Duration"
- Dur.Value = time
- Dur.Parent = Dec
- end
- if target then
- st = target.Parent:FindFirstChild("Stats"):FindFirstChild("Decrease")
- if st then
- Dec.Parent = st
- else
- if DEBUG then
- print("Couldnt find stats folder")
- end
- end
- else
- do
- Dec.Parent = Decrease
- do
- if not noNotify then
- text = ""
- if amount < 0 then
- text = "+Movement"
- else
- text = "-Movement"
- end
- showDamage(target or Humanoid, text, "Debuff")
- end
- return Dec, Dur
- end
- end
- end
- end}
- Stats.Damage = {Type = "NumberValue", Value = 1, Base = 1, BuffedBase = 1, OldBase = 1,
- Buffs = {}
- , Update = function(self, step)
- new = 0
- for i,v in ipairs(Decrease:GetChildren()) do
- if v.Name == "DecreaseAtk" then
- new = new + v.Value
- if v:FindFirstChild("Duration") then
- v.Duration.Value = v.Duration.Value - 1
- if v.Duration.Value <= 0 then
- v:Destroy()
- end
- end
- end
- end
- self.Instance.Value = self.Base - (new)
- if self.Instance.Value < 0 then
- self.Instance.Value = 0
- end
- self.Value = self.Instance.Value
- end, Add = function(self, amount)
- self.Instance.Value = self.Instance.Value + amount
- end, Set = function(self, amount)
- self.Instance.Value = amount
- end, SetBase = function(self, amount)
- self.Base = amount
- end, Get = function(self)
- return self.Instance.Value
- end, AddBuff = function(self, amount, time, target, noNotify)
- name = "DecreaseAtk"
- Dec = Instance.new("NumberValue")
- Dec.Name = name
- Dec.Value = amount
- Dur = nil
- if time then
- Dur = Instance.new("NumberValue")
- Dur.Name = "Duration"
- Dur.Value = time
- Dur.Parent = Dec
- end
- if target then
- st = target.Parent:FindFirstChild("Stats"):FindFirstChild("Decrease")
- if st then
- Dec.Parent = st
- else
- if DEBUG then
- print("Couldnt find stats folder")
- end
- end
- else
- do
- Dec.Parent = Decrease
- do
- if not noNotify then
- text = ""
- if amount < 0 then
- text = "+Damage"
- else
- text = "-Damage"
- end
- showDamage(target or Humanoid, text, "Debuff")
- end
- return Dec, Dur
- end
- end
- end
- end}
- Stats.Defense = {Type = "NumberValue", Value = 1, Base = 1, BuffedBase = 1, OldBase = 1,
- Buffs = {}
- , Update = function(self, step)
- new = 0
- for i,v in ipairs(Decrease:GetChildren()) do
- if v.Name == "DecreaseDef" then
- new = new + v.Value
- if v:FindFirstChild("Duration") then
- v.Duration.Value = v.Duration.Value - 1
- if v.Duration.Value <= 0 then
- v:Destroy()
- end
- end
- end
- end
- self.Instance.Value = self.Base - (new)
- if self.Instance.Value < 0 then
- self.Instance.Value = 0
- end
- self.Value = self.Instance.Value
- end, Add = function(self, amount)
- self.Instance.Value = self.Instance.Value + amount
- end, Set = function(self, amount)
- self.Instance.Value = amount
- end, SetBase = function(self, amount)
- self.Base = amount
- end, Get = function(self)
- return self.Instance.Value
- end, AddBuff = function(self, amount, time, target, noNotify)
- name = "DecreaseDef"
- Dec = Instance.new("NumberValue")
- Dec.Name = name
- Dec.Value = amount
- Dur = nil
- if time then
- Dur = Instance.new("NumberValue")
- Dur.Name = "Duration"
- Dur.Value = time
- Dur.Parent = Dec
- end
- if target then
- st = target.Parent:FindFirstChild("Stats"):FindFirstChild("Decrease")
- if st then
- Dec.Parent = st
- else
- if DEBUG then
- print("Couldnt find stats folder")
- end
- end
- else
- do
- Dec.Parent = Decrease
- do
- if not noNotify then
- text = ""
- if amount < 0 then
- text = "+Defense"
- else
- text = "-Defense"
- end
- showDamage(target or Humanoid, text, "Debuff")
- end
- return Dec, Dur
- end
- end
- end
- end}
- for i,v in pairs(Stats) do
- if not v.NoGen then
- v.Instance = Instance.new(v.Type)
- v.Instance.Name = v.Name or i
- if v.Type == "IntConstrainedValue" or v.Type == "DoubleConstrainedValue" then
- v.Instance.MinValue = v.Min
- v.Instance.MaxValue = v.Max
- end
- v.Instance.Value = v.Value
- v.Instance.Parent = StatsFolder
- end
- end
- Mvmt = Stats.Speed.Instance
- showDamage = function(Char, Dealt, Type)
- m = Instance.new("Model")
- m.Name = "Effect"
- c = Instance.new("Part")
- c.Transparency = 1
- c.Name = "Head"
- c.TopSurface = 0
- c.BottomSurface = 0
- c.formFactor = "Plate"
- c.Size = Vector3.new(1, 0.4, 1)
- b = Instance.new("BillboardGui", c)
- b.Size = UDim2.new(5, 0, 5, 0)
- b.AlwaysOnTop = true
- damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
- if Type == "Damage" then
- damgui.Font = "SourceSans"
- if Dealt == "Block" then
- damgui.TextColor3 = BrickColor.new("Bright blue").Color
- else
- if Dealt < 3 then
- damgui.TextColor3 = BrickColor.new("White").Color
- else
- if Dealt >= 3 and Dealt < 20 then
- damgui.TextColor3 = BrickColor.new("Bright yellow").Color
- else
- damgui.TextColor3 = BrickColor.new("Really red").Color
- damgui.Font = "SourceSansBold"
- end
- end
- end
- else
- if Type == "Debuff" then
- damgui.TextColor3 = BrickColor.new("White").Color
- else
- if Type == "Interrupt" then
- damgui.TextColor3 = BrickColor.new("New Yeller").Color
- else
- if Type == "Heal" then
- damgui.TextColor3 = BrickColor.new("Bright green").Color
- end
- end
- end
- end
- damgui.TextScaled = true
- ms = Instance.new("CylinderMesh")
- ms.Scale = Vector3.new(0.8, 0.8, 0.8)
- ms.Parent = c
- c.Reflectance = 0
- Instance.new("BodyGyro").Parent = c
- c.Parent = m
- if Char:findFirstChild("Head") ~= nil then
- c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
- else
- if Char.Parent:findFirstChild("Head") ~= nil then
- c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
- end
- end
- f = Instance.new("BodyPosition")
- f.P = 200
- f.D = 100
- f.maxForce = Vector3.new(5450, 5450, 5450)
- if Type == "Damage" or Type == "Heal" then
- f.position = c.Position + Vector3.new(0, 3, 0)
- else
- if Type == "Debuff" or Type == "Interrupt" then
- f.position = c.Position + Vector3.new(0, 5, 0)
- end
- end
- f.Parent = c
- game:GetService("Debris"):AddItem(m, 5)
- table.insert(Effects, {m, "showDamage", damgui, f, 10, 1, 15, 50, 100})
- c.CanCollide = false
- m.Parent = workspace
- c.CanCollide = false
- end
- getTeamColor = function(Target)
- plr = game.Players:GetPlayerFromCharacter(Target.Parent)
- EnemyStats = Target.Parent:FindFirstChild("Stats")
- if plr then
- if plr.Neutral == false then
- return plr.TeamColor
- else
- return true
- end
- else
- if EnemyStats then
- neutral = EnemyStats:FindFirstChild("Neutral")
- if neutral and neutral.Value == false then
- tm = EnemyStats:FindFirstChild("TeamColor")
- if tm then
- return tm.Value
- end
- else
- do
- do
- do return true end
- return false
- end
- end
- end
- end
- end
- end
- StunTarget = function(Target, Amount, args)
- if Target == nil then
- return
- end
- local EnemyStats = Target.Parent:FindFirstChild("Stats")
- if EnemyStats == nil then
- return
- end
- local st = EnemyStats:FindFirstChild("Stun")
- if not st then
- return
- end
- st.Value = st.Value + Amount
- end
- Damage = function(Target, Min, Max, args)
- if not args then
- args = {}
- end
- local h = Target
- local hit = Target.Parent:FindFirstChild("Torso")
- if not hit then
- return 0
- end
- local succes = true
- local EnemyStats = Target.Parent:FindFirstChild("Stats")
- local blocked = false
- local enblock = false
- local staggering = false
- local hb = Target.Parent:findFirstChild("Hitbox")
- if hb and not args.ignoreHitbox and not args.ranged then
- local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
- ref.Anchored = true
- ref.CFrame = cf(hb.Position)
- game:GetService("Debris"):AddItem(ref, 1)
- local hitnum = math.random(1, 5)
- if hitnum == 1 then
- so("199148971", ref, 1, 1)
- else
- if hitnum == 2 then
- so("199149025", ref, 1, 1)
- else
- if hitnum == 3 then
- so("199149072", ref, 1, 1)
- else
- if hitnum == 4 then
- so("199149109", ref, 1, 1)
- else
- if hitnum == 5 then
- so("199149119", ref, 1, 1)
- end
- end
- end
- end
- end
- staggering = true
- end
- do
- if EnemyStats then
- enblock = EnemyStats:findFirstChild("Block")
- if enblock ~= nil and not args.ignoreBlock and enblock.Value == true then
- enblock.Value = false
- blocked = true
- end
- end
- do
- if not args.ignoreTeam then
- local col = getTeamColor(Target)
- if type(col) ~= "boolean" and Player.Neutral == false and col == Player.TeamColor then
- return false
- end
- end
- if DEBUG then
- local nrargs = 0
- for i,v in pairs(args) do
- nrargs = nrargs + 1
- end
- if nrargs > 0 then
- print("Damage - Arguments")
- for i,v in pairs(args) do
- print("\t" .. tostring(i) .. " = " .. tostring(v))
- end
- end
- end
- do
- if not args.pure then
- Min = Min * Stats.Damage:Get()
- Max = Max * Stats.Damage:Get()
- end
- local dmg = math.random(Min, Max)
- if args.maxDamage and args.maxDamage < dmg then
- dmg = args.maxDamage
- end
- do
- if EnemyStats and not args.ignoreDefense and not args.pure then
- local EnemyDef = EnemyStats:FindFirstChild("Defense")
- if EnemyDef then
- dmg = dmg / EnemyDef.Value
- else
- print("Couldnt find enemy defense")
- end
- end
- if dmg <= 3 and dmg > 0 and blocked ~= true then
- local hitnum = math.random(1, 5)
- if hitnum == 1 then
- so("199149321", hit, 1, 1)
- else
- if hitnum == 2 then
- so("199149338", hit, 1, 1)
- else
- if hitnum == 3 then
- so("199149367", hit, 1, 1)
- else
- if hitnum == 4 then
- so("199149409", hit, 1, 1)
- else
- if hitnum == 5 then
- so("199149452", hit, 1, 1)
- end
- end
- end
- end
- end
- else
- do
- do
- if blocked ~= true and dmg > 0 then
- local hitnum = math.random(1, 6)
- if hitnum == 1 then
- so("199149137", hit, 1, 1)
- else
- if hitnum == 2 then
- so("199149186", hit, 1, 1)
- else
- if hitnum == 3 then
- so("199149221", hit, 1, 1)
- else
- if hitnum == 4 then
- so("199149235", hit, 1, 1)
- else
- if hitnum == 5 then
- so("199149269", hit, 1, 1)
- else
- if hitnum == 6 then
- so("199149297", hit, 1, 1)
- end
- end
- end
- end
- end
- end
- end
- if blocked == true then
- showDamage(hit.Parent, "Block", "Damage")
- if not args.ranged then
- enblock.Value = false
- Stagger.Value = true
- local hitnum = math.random(1, 2)
- if hitnum == 1 then
- so("199148933", hit, 1, 1)
- else
- if hitnum == 2 then
- so("199148947", hit, 1, 1)
- end
- end
- succes = false
- end
- else
- do
- if staggering then
- StaggerHit.Value = true
- end
- dmg = math.floor(dmg)
- coroutine.resume(coroutine.create(function(Hum, Dam)
- hit.Parent.Humanoid:TakeDamage(Dam)
- end), h, dmg)
- local col = "Damage"
- if dmg < 0 then
- dmg = dmg * -1
- col = "Heal"
- end
- args.TextColor = col
- do
- local disp = dmg
- if not DEBUG then
- disp = math.floor(dmg + 0.5)
- end
- showDamage(Target, disp, col)
- return dmg, succes
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- KnockBack = function(Target, Amount, Dir, Position, Extra, args)
- if not args then
- args = {}
- end
- do
- if not args.ignoreTeam then
- col = getTeamColor(Target)
- if type(col) ~= "boolean" and Player.Neutral == false and col == Player.TeamColor then
- return false
- end
- end
- Torso = Target.Parent:FindFirstChild("Torso")
- if not Torso then
- return
- end
- Vel = nil
- if not Extra then
- Extra = Vector3.new(0, 0, 0)
- end
- if Dir then
- Vel = Dir * Amount + Extra
- else
- Dir = (Torso.Position - Position).unit
- Vel = Dir * Amount + Extra
- end
- Torso.Velocity = Vel
- end
- end
- local Skills = {
- E = {Key = "e", MaxCombo = 2, Active = false, Activate = function(self)
- deb = true
- self.Active = true
- local Combo = 0
- local debuff = Stats.Speed:AddBuff(0.5, nil, nil, true)
- while self.Active do
- if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true or Humanoid.Health == 0 then
- self.Active = false
- break
- end
- Combo = Combo + 1
- if Stats.Psi:Get() < 10 then
- self.Active = false
- break
- end
- if Combo == 1 then
- stab1()
- else
- if Combo == 2 then
- stab2()
- end
- end
- local RStart, REnd = vt(Character.Head.Position.x,Character.Head.Position.y,Character.Head.Position.z), Mouse.Hit.p
- do
- local ray = Ray.new(RStart, (REnd - RStart).unit * 200)
- local _, HitP = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- local s2 = sounds:get("Magic_Slash_Big02", false, math.random(8, 10) / 10, nil, Character.Torso)
- if s2 then
- s2:Play()
- s2.Ended:connect(function()
- s2:Destroy()
- end)
- end
- local go = false
- local wasgo = true
- local ProjPos, ProjCol = nil, nil
- local oldDmg = 0
- local Results = nil
- spawn(function()
- local Reached = false
- local loop = nil
- local n = Instance.new("Part")
- n.Anchored = true
- n.CanCollide = false
- n.Material = "Neon"
- n.Transparency = 0.2
- n.TopSurface = "Smooth"
- n.BottomSurface = "Smooth"
- n.FormFactor = "Custom"
- n.Size = Vector3.new(1, 1, 1)
- local m = Instance.new("SpecialMesh")
- m.MeshId = "http://www.roblox.com/asset/?id=3270017"
- m.Name = "Ring"
- m.MeshType = Enum.MeshType.FileMesh
- m.Scale = vt()
- local ring = n:Clone()
- m.Parent = ring
- local co = {NewColB}
- n.BrickColor = co[math.random(1, #co)]
- ring.BrickColor = n.BrickColor
- local Arm = nil
- if Combo == 1 then
- Arm = Character:WaitForChild("Right Arm")
- else
- if Combo == 2 then
- Arm = Character:WaitForChild("Left Arm")
- end
- end
- local curve = nil
- curve = Bezier.new(Arm.CFrame * CFrame.new(0, -1, 0).p, Arm.CFrame * CFrame.new(0, -1, 0).p:lerp(HitP, 0.5), HitP)
- local Time = 0
- local MaxTime = (HitP - Arm.Position).magnitude / 200
- local MaxTime2 = 0.3
- n.CFrame = CFrame.new(curve:Get(0))
- n.Parent = wef
- lastTime = 0
- loop = game:GetService("RunService").RenderStepped:connect(function(step)
- if not Reached then
- local pos = CFrame.new(curve:Get(normalize(Time, 0, MaxTime))) * RandomCFRot()
- n.CFrame = pos
- local RStart, REnd = curve:Get(normalize(Time, 0, MaxTime)), curve:Get(normalize(Time, 0, MaxTime)) + Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
- local ray = Ray.new(RStart, (REnd - RStart).unit * 20)
- local part, HitP2 = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- local p0 = curve:Get(normalize(Time, 0, MaxTime))
- local p1 = HitP2
- if part then
- zapp(p0, p1, 2, 1, n.BrickColor, "Neon", 0.2, 0.7, 0.5, true)
- end
- local TempResults = CheckHumanoid(curve:Get(normalize(Time, 0, MaxTime)), 4)
- if #TempResults > 0 then
- HitP = curve:Get(normalize(Time, 0, MaxTime))
- Time = MaxTime
- end
- lastTime = Time
- Time = Time + step
- if MaxTime <= Time then
- Reached = true
- Time = 0
- Results = CheckHumanoid(HitP, 10)
- local s = sounds:get("Tempus_Move3Hit", false, math.random(8, 10) / 10, nil, n)
- do
- s:Play()
- s.Ended:connect(function()
- s:Destroy()
- end)
- ProjPos = n.CFrame.p
- ProjCol = n.BrickColor
- ring.CFrame = n.CFrame
- ring.Parent = wef
- end
- end
- else
- do
- n.Size = Vector3.new(1, 1, 1):lerp(Vector3.new(8, 8, 8), normalize(Time, 0, MaxTime2))
- n.CFrame = n.CFrame * RandomCFRot()
- n.Transparency = lerp(0.5, 1, normalize(Time, 0, MaxTime2))
- ring.CFrame = n.CFrame * RandomCFRot()
- m.Scale = Vector3.new(0, 0, 0):lerp(Vector3.new(20, 20, 5), normalize(Time, 0, MaxTime2))
- ring.Transparency = lerp(0.5, 1, normalize(Time, 0, MaxTime2))
- Time = Time + step
- if MaxTime2 < Time then
- loop:disconnect()
- n:Destroy()
- ring:Destroy()
- end
- end
- end
- end)
- repeat
- wait()
- until Reached
- for i,Result in ipairs(Results) do
- go = false
- local col = getTeamColor(Result.Humanoid)
- -- DECOMPILER ERROR at PC164: Unhandled construct in 'MakeBoolean' P1
- if type(col) ~= "boolean" and Player.Neutral == false and col ~= Player.TeamColor then
- go = true
- wasgo = true
- end
- go = true
- wasgo = true
- if go then
- oldDmg = Damage(Result.Humanoid, 4, 6, {pure = true, ignoreHitbox = true, ranged = true})
- if s then
- KnockBack(Result.Humanoid, 10, nil, Character.Torso.Position)
- StunTarget(Result.Humanoid, 5)
- Stats.Speed:AddBuff(0.1, 60, Result.Humanoid)
- Stats.Mind:Add(1)
- local Results2 = (CheckHumanoid(ProjPos, 60))
- do
- local loop2 = nil
- local lastTime2 = 0
- local Time2 = 0
- local MaxTime2 = 0.3
- local Result2 = nil
- do
- for i,v in ipairs(Results2) do
- do
- if v.Humanoid ~= Result.Humanoid then
- local col = getTeamColor(v.Humanoid)
- local yep = false
- -- DECOMPILER ERROR at PC247: Unhandled construct in 'MakeBoolean' P1
- if type(col) ~= "boolean" and Player.Neutral == false and col ~= Player.TeamColor then
- yep = true
- end
- yep = true
- if yep then
- Result2 = v
- if math.random(2) == 1 then
- do
- do break end
- -- DECOMPILER ERROR at PC260: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC260: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC260: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC260: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC260: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC260: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- end
- end
- end
- if Result2 then
- local s = sounds:get("Abbys_Attack2", false, 2, nil, Character.Torso)
- s:Play()
- s.Ended:connect(function()
- s:Destroy()
- end)
- local n = Instance.new("Part")
- n.Anchored = true
- n.BrickColor = ProjCol
- n.Material = "Neon"
- n.CanCollide = false
- n.Transparency = 0.5
- n.TopSurface = "Smooth"
- n.BottomSurface = "Smooth"
- n.FormFactor = "Custom"
- n.Size = Vector3.new(1, 1, 1)
- local m = Instance.new("BlockMesh")
- local torso = Result2.Humanoid.Parent:FindFirstChild("Torso")
- do
- if torso then
- local ran = {Vector3.new(math.random(-10, 10), math.random(-5, 5), math.random(-10, 10)), Vector3.new(math.random(-10, 10), math.random(-5, 5), math.random(-10, 10)), Vector3.new(math.random(-10, 10), math.random(-5, 5), math.random(-10, 10))}
- loop2 = game:GetService("RunService").RenderStepped:connect(function(step)
- local curve2 = Bezier.new(ProjPos, ProjPos:lerp(torso.CFrame.p, 0.25) + ran[1], ProjPos:lerp(torso.CFrame.p, 0.5) + ran[2], ProjPos:lerp(torso.CFrame.p, 0.75) + ran[3], torso.CFrame.p)
- local pos = curve2:Get(normalize(Time2, 0, MaxTime2))
- local oldpos = curve2:Get(normalize(lastTime2, 0, MaxTime2))
- local part = n:Clone()
- part.Transparency = 1
- part.CFrame = CFrame.new(pos)
- local mesh = m:Clone()
- mesh.Parent = part
- local distance = (oldpos - pos).magnitude
- mesh.Scale = Vector3.new(lerp(1, 0.2, normalize(lastTime2, 0, MaxTime2)), lerp(0.5, 0.2, normalize(lastTime2, 0, MaxTime2)), distance)
- part.CFrame = CFrame.new(oldpos, pos) * CFrame.new(0, 0, -distance / 2)
- part.Parent = wef
- local loop3 = nil
- local iTime = 0
- loop3 = game:GetService("RunService").RenderStepped:connect(function(step)
- local t = normalize(iTime, 0, MaxTime2)
- if t < 0.5 then
- t = normalize(t, 0, 0.5)
- part.Transparency = lerp(1, 0.2, t)
- else
- t = normalize(t, 0.5, 1)
- part.Transparency = lerp(0.2, 1, t)
- end
- iTime = iTime + step
- if MaxTime2 < iTime then
- loop2:disconnect()
- part:Destroy()
- end
- end)
- lastTime2 = Time2
- Time2 = Time2 + step
- if MaxTime2 < Time2 then
- loop2:disconnect()
- Damage(Result2.Humanoid, oldDmg / 4 * 3, oldDmg / 4 * 3, {pure = true, ignoreHitbox = true, ranged = true})
- KnockBack(Result2.Humanoid, 10, nil, ProjPos)
- StunTarget(Result2.Humanoid, 3)
- Stats.Mind:Add(1)
- end
- end)
- end
- -- DECOMPILER ERROR at PC392: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC392: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- end
- end
- end)
- Stats.Psi:Add(-10)
- if Combo == self.MaxCombo then
- do
- Combo = 0
- -- DECOMPILER ERROR at PC127: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC127: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- -- DECOMPILER ERROR at PC128: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC128: LeaveBlock: unexpected jumping out IF_STMT
- end
- if debuff then
- debuff:Destroy()
- end
- wait()
- deb = false
- end, Deactivate = function(self)
- self.Active = false
- end, Update = function(self)
- end}
- ,
- Z = {Name = "Psyshock", Frame = "Skill1", Key = "z", MaxTime = 8, CurTime = 0, Color = Color(150, 150, 210), Activate = function(self)
- if self.CurTime < self.MaxTime then
- return
- end
- if Stats.Mana:Get() < 15 then
- return
- end
- deb = true
- self.CurTime = 0
- Stats.Mana:Add(-15)
- local RStart, REnd = Character.Head.Position, Mouse.Hit.p
- local ray = Ray.new(RStart, (REnd - RStart).unit * 100)
- local _, HitP = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- local RStart2, REnd2 = HitP + Vector3.new(0, 1, 0), HitP + Vector3.new(0, -1, 0)
- local ray2 = Ray.new(RStart2, (REnd2 - RStart2).Unit * 100)
- local p, HitP2 = workspace:FindPartOnRayWithIgnoreList(ray2, {Character, wef})
- if not p then
- print("meh")
- deb = false
- return
- end
- spawn(SendShock)
- local n = Instance.new("Part")
- n.Anchored = true
- n.CanCollide = false
- n.Material = "Neon"
- n.Transparency = 0.8
- n.TopSurface = "Smooth"
- n.BottomSurface = "Smooth"
- n.FormFactor = "Custom"
- n.Size = Vector3.new(1, 1, 1)
- n.CFrame = CFrame.new(HitP2)
- local m = Instance.new("SpecialMesh")
- m.MeshId = "http://www.roblox.com/asset/?id=20329976"
- m.Name = "Blast"
- m.MeshType = Enum.MeshType.FileMesh
- m.Scale = Vector3.new(0, 0, 0)
- local m2 = Instance.new("BlockMesh")
- m2.Scale = Vector3.new(0, 0, 0)
- m2.Parent = n
- local blast = n:Clone()
- m.Parent = blast
- blast.Transparency = 0.2
- local co = {NewColB, NewCol2B}
- local Time = 0
- local MaxTime = 0.2
- local loop = nil
- loop = game:GetService("RunService").RenderStepped:connect(function(step)
- local t = normalize(Time, 0, MaxTime)
- local expl = n:Clone()
- local mesh = expl:WaitForChild("Mesh")
- expl.BrickColor = co[math.random(1, #co)]
- expl.CFrame = expl.CFrame * CFrame.new(math.random(-5, 5), math.random(-1, 3), math.random(-5, 5))
- expl.Parent = wef
- m.Scale = Vector3.new(0, 0, 0):lerp(Vector3.new(7, 4, 7), t)
- mesh.Scale = Vector3.new(0, 0, 0):lerp(Vector3.new(5, 5, 5), t)
- expl.CFrame = expl.CFrame * RandomCFRot()
- blast.CFrame = blast.CFrame * CFrame.Angles(0, math.random() * 5, 0)
- local Time2 = 0
- local MaxTime2 = 1
- local loop2 = nil
- loop2 = game:GetService("RunService").RenderStepped:connect(function(step)
- local t2 = normalize(Time2, 0, MaxTime2)
- expl.Transparency = lerp(0.8, 1, t2)
- Time2 = Time2 + step
- if MaxTime2 <= Time2 then
- loop2:disconnect()
- expl:Destroy()
- end
- end)
- Time = Time + step
- if MaxTime <= Time then
- loop:disconnect()
- local loop3 = nil
- do
- local Time3 = 0
- local MaxTime3 = 1
- loop3 = game:GetService("RunService").RenderStepped:connect(function(step)
- local t3 = normalize(Time2, 0, MaxTime2)
- blast.Transparency = lerp(0.2, 1, t3)
- blast.CFrame = blast.CFrame * CFrame.Angles(0, math.random() * 10, 0) * CFrame.new(0, -step * 5, 0)
- Time3 = Time3 + step
- if MaxTime3 <= Time3 then
- loop3:disconnect()
- blast:Destroy()
- end
- end)
- end
- end
- end)
- blast.BrickColor = NewColB
- blast.Parent = wef
- local sp = n:Clone()
- sp.Transparency = 1
- sp.CFrame = CFrame.new(blast.CFrame.p + Vector3.new(0, 2, 0))
- sp.Parent = wef
- local s = sounds:get("laser_oh", false, nil, 1, sp)
- s:Play()
- s.Ended:connect(function()
- s:Destroy()
- end)
- Stats.Speed:AddBuff(0.5, 10, nil, true)
- local done = false
- local Results = CheckHumanoid(HitP2, 20, nil, {ignoreSelf = true})
- local nohit = false
- if #Results < 1 then
- nohit = true
- end
- if not nohit then
- Result = Results[1]
- spawn(function()
- local friendly = false
- local col = getTeamColor(Result.Humanoid)
- if type(col) ~= "boolean" and Player.Neutral == false then
- if col ~= Player.TeamColor then
- friendly = false
- else
- friendly = true
- end
- else
- friendly = false
- end
- if Result.Humanoid == Humanoid and Stats.Mind:Get() < 30 then
- friendly = true
- end
- local id = false
- if Stats.Mind:Get() == 30 and isjugg == false then
- id = true
- end
- local go = false
- -- DECOMPILER ERROR at PC66: Unhandled construct in 'MakeBoolean' P1
- if friendly and Stats.Mind:Get() ~= 30 then
- Damage(Result.Humanoid, -4, -2, {pure = true, ignoreTeam = true, ignoreDefense = true, ignoreHitbox = true, ranged = true})
- local rbuff = math.random(1, 3)
- do
- if rbuff == 1 then
- Stats.Speed:AddBuff(-0.1, 300, Result.Humanoid)
- else
- if rbuff == 2 then
- Stats.Damage:AddBuff(-0.1, 300, Result.Humanoid)
- else
- Stats.Defense:AddBuff(-0.1, 300, Result.Humanoid)
- end
- end
- go = true
- end
- end
- do
- if Result.Humanoid ~= Humanoid then
- Damage(Result.Humanoid, 4, 6, {ignoreDefense = id, ignoreHitbox = true, ranged = true})
- KnockBack(Result.Humanoid, 2, nil, HitP2, Vector3.new(0, 10, 0))
- StunTarget(Result.Humanoid, 5)
- Stats.Mind:Add(1)
- go = true
- end
- if go then
- local n = Instance.new("Part")
- n.Anchored = true
- n.CanCollide = false
- n.Material = "Neon"
- n.Transparency = 0.5
- n.TopSurface = "Smooth"
- n.BottomSurface = "Smooth"
- n.FormFactor = "Custom"
- n.Size = Vector3.new(2, 2, 2)
- n.CFrame = CFrame.new(HitP2)
- local n2 = n:Clone()
- n2.Size = Vector3.new(1, 1, 1)
- n.BrickColor = NewCol2B
- n2.BrickColor = NewColB
- local Result2 = nil
- local lastCol = col
- local BouncePos = HitP2
- local bouncetype = "allies"
- if friendly == false then
- bouncetype = "enemies"
- end
- for bounces = 1, 3 do
- do
- local nah = true
- local Results2 = CheckHumanoid(BouncePos, 40, nil, {ignoreSelf = true})
- for i = #Results2, 1, -1 do
- local r = Results2[i]
- if i > 1 then
- local col = getTeamColor(r.Humanoid)
- local friendly = false
- local denied = false
- if type(col) ~= "boolean" and Player.Neutral == false then
- if col ~= Player.TeamColor then
- friendly = false
- else
- if Stats.Mind:Get() < 30 then
- friendly = true
- else
- friendly = false
- denied = true
- end
- end
- else
- if r.Humanoid == Humanoid and Stats.Mind:Get() < 30 then
- friendly = true
- else
- friendly = false
- end
- end
- if friendly and Stats.Mind:Get() == 30 and lastCol ~= col and type(lastCol) == "boolean" then
- Result2 = nil
- else
- end
- if denied then
- do
- Result2 = r
- if math.random(2) == 1 then
- break
- end
- if not Result2 then
- local col = getTeamColor(r.Humanoid)
- local friendly = false
- if type(col) ~= "boolean" and Player.Neutral == false then
- if col ~= Player.TeamColor then
- friendly = false
- else
- if Stats.Mind:Get() < 30 then
- friendly = true
- else
- denied = true
- end
- end
- else
- if r.Humanoid == Humanoid and Stats.Mind:Get() < 30 then
- friendly = true
- else
- if r.Humanoid == Humanoid and Stats.Mind:Get() == 30 then
- denied = true
- else
- friendly = false
- end
- end
- end
- if friendly and Stats.Mind:Get() == 30 and lastCol ~= col and type(lastCol) == "boolean" then
- Result2 = nil
- nah = false
- else
- end
- end
- if denied then
- do
- Result2 = r
- -- DECOMPILER ERROR at PC361: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC361: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC361: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC361: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC361: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC361: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC361: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- end
- end
- if Result2 == nil then
- break
- end
- local curve = nil
- local ran = (Vector3.new(math.random(-30, 30), math.random(-3, 3), math.random(-30, 30)))
- local loopb = nil
- local Reached = false
- curve = Bezier.new(BouncePos, Result2.Model.Torso.CFrame.p + ran, Result2.Model.Torso.CFrame.p)
- local last = curve:Get(0)
- local lastTime = 0
- local Time = 0
- local MaxTime = 0.4
- n.Parent = wef
- n2.Parent = wef
- loopb = game:GetService("RunService").RenderStepped:connect(function(step)
- if not Result2 then
- loopb:disconnect()
- Reached = true
- end
- if Result2.Model == nil then
- Time = MaxTime
- else
- curve = Bezier.new(BouncePos, Result2.Model.Torso.CFrame.p + ran, Result2.Model.Torso.CFrame.p)
- local t = normalize(Time, 0, MaxTime)
- local p = curve:Get(t)
- local p0 = curve:Get(normalize(Time, 0, MaxTime))
- local p1 = curve:Get(1)
- zapp(p0, p1, 3, 1, n.BrickColor, "Neon", 0.2, 0.7, step * 2, true)
- n.CFrame = CFrame.new(p) * RandomCFRot()
- n2.CFrame = CFrame.new(p) * RandomCFRot()
- end
- do
- last = p
- lastTime = Time
- Time = Time + step
- if MaxTime < Time then
- loopb:disconnect()
- BouncePos = Result2.Model.Torso.CFrame.p
- Reached = true
- end
- end
- end)
- repeat
- wait()
- until Reached
- local bloop = nil
- local Time = 0
- local MaxTime = 1
- local bp = n:Clone()
- bp.Size = Vector3.new(0.2, 0.2, 0.2)
- bp.Transparency = 0
- bp.Parent = wef
- bloop = game:GetService("RunService").RenderStepped:connect(function(step)
- local t = normalize(Time, 0, MaxTime)
- bp.Size = Vector3.new(0.2, 0.2, 0.2):lerp(Vector3.new(5, 5, 5), t)
- bp.Transparency = lerp(0, 1, t)
- Time = Time + step
- if MaxTime < Time then
- bloop:disconnect()
- bp:Destroy()
- end
- end)
- local friendly = false
- local col = getTeamColor(Result2.Humanoid)
- if type(col) ~= "boolean" and Player.Neutral == false then
- if col ~= Player.TeamColor then
- friendly = false
- else
- friendly = true
- end
- else
- friendly = false
- end
- if Result2.Humanoid == Humanoid then
- friendly = true
- end
- local id = false
- if Stats.Mind:Get() == 30 and isjugg == false then
- id = true
- end
- -- DECOMPILER ERROR at PC522: Unhandled construct in 'MakeBoolean' P1
- if friendly and Stats.Mind:Get() ~= 30 then
- Damage(Result2.Humanoid, -4, -1, {pure = true, ignoreTeam = true, ignoreDefense = true, ignoreHitbox = true, ranged = true, ignoreBlock = true})
- local rbuff = math.random(1, 3)
- if rbuff == 1 then
- Stats.Speed:AddBuff(-0.1, 300, Result2.Humanoid)
- else
- if rbuff == 2 then
- Stats.Damage:AddBuff(-0.1, 300, Result2.Humanoid)
- else
- Stats.Defense:AddBuff(-0.1, 300, Result2.Humanoid)
- end
- end
- end
- do
- if Result2.Model ~= Character then
- Damage(Result2.Humanoid, 3, 5, {ignoreDefense = id, ignoreHitbox = true, ranged = true})
- KnockBack(Result2.Humanoid, 1, nil, curve:Get(0), Vector3.new(0, 10, 0))
- StunTarget(Result2.Humanoid, 2)
- Stats.Mind:Add(1)
- Stats.Psi:Add(1)
- end
- local bs = sounds:get("cryst2", false, 1, 1, n)
- bs:Play()
- s.Ended:connect(function()
- bs:Destroy()
- end)
- end
- -- DECOMPILER ERROR at PC614: LeaveBlock: unexpected jumping out DO_STMT
- end
- end
- n:Destroy()
- n2:Destroy()
- end
- end
- end)
- end
- wait(1)
- done = true
- wait()
- deb = false
- RStart = nil
- REnd = nil
- end, Update = function(self, step)
- if DEBUG then
- step = step * 2
- end
- self.CurTime = self.CurTime + step
- if self.MaxTime <= self.CurTime then
- self.CurTime = self.MaxTime
- end
- end}
- ,
- X = {Name = "Mind Strike", Frame = "Skill2", Key = "x", MaxTime = 6, CurTime = 0, Color = Color(150, 150, 210), Activate = function(self)
- if self.CurTime < self.MaxTime then
- return
- end
- if Stats.Mana:Get() < 15 then
- return
- end
- deb = true
- local loop = nil
- local parts = {}
- local Reached = false
- local EndAbility = false
- local ArmTarget = Character["Right Arm"].CFrame * CFrame.new(0, -1, 0)
- local part = Instance.new("Part")
- part.Anchored = true
- part.BrickColor = NewCol2B
- part.Material = "Neon"
- part.CanCollide = false
- part.Transparency = 0.5
- part.TopSurface = "Smooth"
- part.BottomSurface = "Smooth"
- part.FormFactor = "Custom"
- part.Size = Vector3.new(1, 1, 1)
- part.BrickColor = NewColB
- part.CFrame = ArmTarget * RandomCFRot()
- local mesh = Instance.new("BlockMesh")
- mesh.Scale = vt()
- local part2 = part:Clone()
- part2.BrickColor = NewCol2B
- local mesh2 = Instance.new("SpecialMesh")
- mesh2.MeshType = "Sphere"
- mesh2.Scale = vt()
- local part3 = part2:Clone()
- part3.Transparency = 0.75
- local mesh3 = mesh2:Clone()
- mesh.Parent = part
- mesh2.Parent = part2
- mesh3.Parent = part3
- part.Parent = wef
- part2.Parent = wef
- loop = game:GetService("RunService").RenderStepped:connect(function(step)
- if not Reached then
- mesh.Scale = mesh.Scale:lerp(vt(2, 2, 2), 0.1)
- part.CFrame = part.CFrame:lerp(ArmTarget * RandomCFRot(), 0.8)
- part2.CFrame = part.CFrame
- mesh2.Scale = mesh2.Scale:lerp(vt(1.8, 1.8, 1.8), 0.1)
- else
- mesh.Scale = mesh.Scale:lerp(vt(3, 3, 3), 0.1)
- part.CFrame = part.CFrame:lerp(ArmTarget * RandomCFRot(), 0.8)
- part2.CFrame = part.CFrame
- mesh2.Scale = mesh2.Scale:lerp(vt(2.8, 2.8, 2.8), 0.1)
- part3.CFrame = part.CFrame
- mesh3.Scale = mesh3.Scale:lerp(vt(30, 30, 30), 0.1)
- end
- for i,v in ipairs(parts) do
- local t = normalize(v.time, 0, 0.3)
- v.part.CFrame = v.start:lerp(ArmTarget * RandomCFRot(), t)
- v.mesh.Scale = vt():lerp(vt(1.5, 1.5, 1.5), t)
- v.part.Transparency = lerp(0, 1, t)
- v.time = v.time + step
- if v.time >= 0.3 then
- v.part:Destroy()
- table.remove(parts, i)
- end
- end
- if EndAbility and #parts == 0 then
- loop:disconnect()
- part:Destroy()
- part2:Destroy()
- part3:Destroy()
- end
- end)
- local co = {NewColB, NewCol2B}
- local s1 = sounds:get("Commander_Move4_Start", false, 0.6, 1, part)
- s1:Play()
- s1.Ended:connect(function()
- s1:Destroy()
- end)
- spawn(function()
- MindStrikeAnim()
- Reached = true
- end)
- spawn(function()
- while not EndAbility do
- wait()
- local n = Instance.new("Part")
- n.Anchored = true
- n.BrickColor = NewCol2B
- n.Material = "Neon"
- n.CanCollide = false
- n.Transparency = 0
- n.TopSurface = "Smooth"
- n.BottomSurface = "Smooth"
- n.FormFactor = "Custom"
- n.Size = Vector3.new(1, 1, 1)
- n.BrickColor = co[math.random(1, #co)]
- if not Reached then
- n.CFrame = ArmTarget * RandomCFRot() * CFrame.new(10, 0, 0) * RandomCFRot()
- else
- n.CFrame = ArmTarget * RandomCFRot() * CFrame.new(35, 0, 0) * RandomCFRot()
- end
- local m = Instance.new("BlockMesh")
- m.Parent = n
- m.Scale = vt()
- n.Parent = wef
- if not Reached then
- ArmTarget = Character["Right Arm"].CFrame * CFrame.new(0, -1, 0)
- end
- local p = {start = n.CFrame, part = n, mesh = m, time = 0}
- table.insert(parts, p)
- end
- end)
- repeat
- wait()
- until Reached
- if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
- Stats.Mana:Add(-7.5)
- self.CurTime = self.MaxTime / 2
- EndAbility = true
- deb = false
- return
- end
- local HitResult = nil
- do
- for i = 1, 5 do
- wait(0.1)
- ArmTarget = Character["Right Arm"].CFrame * CFrame.new(0, -1, 0)
- HitResult = CheckHumanoid(ArmTarget.p, 8)
- if HitResult ~= nil and #HitResult > 0 then
- break
- end
- end
- end
- do
- if HitResult ~= nil and #HitResult > 0 then
- Stats.Mana:Add(-15)
- self.CurTime = 0
- local s2 = sounds:get("Tempus_Move3Hit3", false, 1, 1, part)
- s2:Play()
- s2.Ended:connect(function()
- s2:Destroy()
- end)
- part3.Parent = wef
- local Result = HitResult[1]
- local friendly = false
- local col = getTeamColor(Result.Humanoid)
- if type(col) ~= "boolean" and Player.Neutral == false and col == Player.TeamColor then
- friendly = true
- end
- if not friendly then
- local id = false
- do
- if Stats.Mind:Get() == 30 and isjugg == false then
- id = true
- end
- local dmg, succes = Damage(Result.Humanoid, 3, 6, {ignoreHitbox = true, ranged = true, ignoreDefense = id})
- if succes then
- do
- StunTarget(Result.Humanoid, 10)
- KnockBack(Result.Humanoid, 5, nil, Character.Torso.CFrame.p)
- Stats.Mind:Add(1)
- Stats.Psi:Add(5)
- -- DECOMPILER ERROR at PC292: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC292: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- else
- if Stats.Mind:Get() < 30 then
- Damage(Result.Humanoid, -6, -3, {ignoreHitbox = true, ignoreBlock = true, ignoreTeam = true, pure = true, ranged = true, ignoreDefense = true})
- end
- end
- deb = false
- for i = 1, 6 do
- wait(0.6)
- local s3 = sounds:get("Obsidian_Move1_Shoot", false, 4, 1, part)
- s3:Play()
- s3.Ended:connect(function()
- s3:Destroy()
- end)
- mesh3.Scale = vt()
- local Results = CheckHumanoid(ArmTarget.p, 30, nil, {ignoreSelf = true})
- for _,v in ipairs(Results) do
- local friendly = false
- local col = getTeamColor(v.Humanoid)
- if type(col) ~= "boolean" and Player.Neutral == false and col == Player.TeamColor then
- friendly = true
- end
- if v.Humanoid == Humanoid then
- friendly = true
- end
- if not friendly then
- local id = false
- if Stats.Mind:Get() == 30 and isjugg == false then
- id = true
- end
- local dmg, succes = Damage(v.Humanoid, 3, 4, {ignoreHitbox = true, ranged = true, ignoreDefense = id})
- if succes then
- StunTarget(v.Humanoid, 5)
- KnockBack(v.Humanoid, 3, nil, ArmTarget.p + Vector3.new(0, -1, 0))
- Stats.Mind:Add(1)
- Stats.Psi:Add(5)
- end
- else
- do
- do
- if Stats.Mind:Get() < 30 then
- local dmgArgs = Damage(v.Humanoid, -2, -1, {ignoreHitbox = true, ignoreBlock = true, ignoreTeam = true, pure = true, ranged = true, ignoreDefense = true})
- end
- -- DECOMPILER ERROR at PC442: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC442: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC442: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- end
- EndAbility = true
- else
- do
- Stats.Mana:Add(-7.5)
- self.CurTime = self.MaxTime / 2
- deb = false
- EndAbility = true
- end
- end
- end
- end, Update = function(self, step)
- self.CurTime = self.CurTime + step
- if self.MaxTime <= self.CurTime then
- self.CurTime = self.MaxTime
- end
- end}
- ,
- C = {Name = "Telekinesis", Frame = "Skill3", Key = "c", MaxTime = 20, CurTime = 0, isActive = false, BodyPos = nil, BodyGyro = nil, Pos = nil, Times = 0, Color = Color(150, 150, 210), Activate = function(self)
- if self.isActive == false then
- if deb then
- return
- end
- if self.CurTime < self.MaxTime then
- return
- end
- if Stats.Mana:Get() < 35 then
- return
- end
- end
- if self.isActive == false then
- deb = true
- local ring = Instance.new("SpecialMesh")
- do
- ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
- ring.Name = "Ring"
- ring.MeshType = Enum.MeshType.FileMesh
- ring.Scale = vt(10, 10, 4)
- local n = Instance.new("Part")
- n.Anchored = true
- n.CanCollide = false
- n.Material = "SmoothPlastic"
- n.Transparency = 0.5
- n.TopSurface = "Smooth"
- n.BottomSurface = "Smooth"
- n.FormFactor = "Custom"
- n.Size = Vector3.new(1, 1, 1)
- n.BrickColor = NewColB
- n.CFrame = Character.HumanoidRootPart.CFrame * cf(0, -2, 0) * angles(math.pi / 2, 0, 0)
- ring.Parent = n
- local sp = Stats.Speed:AddBuff(100, nil, nil, true)
- spawn(FlyStart)
- for b = 1, 2 do
- swait()
- local part = n:Clone()
- part.CFrame = Character.HumanoidRootPart.CFrame * cf(0, -2, 0) * angles(math.pi / 2, 0, 0)
- local mesh = part.Ring
- part.Parent = wef
- for i = 0, 1, 0.2 do
- swait()
- mesh.Scale = mesh.Scale:lerp(vt(0, 0, 1), 0.2)
- end
- part:Destroy()
- end
- sp:Destroy()
- BreakCAnim = true
- repeat
- wait()
- until not BreakCAnim
- local s1 = sounds:get("Commander_Move2_Fly2", false, 1, 1, Character.Torso)
- s1:Play()
- s1.Ended:connect(function()
- s1:Destroy()
- end)
- self.Times = self.Times + 1
- local ThisTime = self.Times
- local RStart, REnd = Character.Torso.Position, Character.Torso.Position + Vector3.new(0, 10, 0)
- local ray = Ray.new(RStart, (REnd - RStart).unit * 20)
- local _, UpTarget = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- self.BodyPos = Instance.new("BodyPosition")
- self.BodyPos.Position = UpTarget
- self.BodyPos.MaxForce = vt(math.huge, math.huge, math.huge)
- self.BodyPos.D = 600
- self.BodyGyro = Instance.new("BodyGyro")
- self.BodyGyro.MaxTorque = vt(1, math.huge, 1)
- self.BodyGyro.D = 500
- self.BodyPos.Parent = Character.HumanoidRootPart
- self.Pos = UpTarget
- spawn(Flying)
- wait(0.3)
- self.isActive = true
- wait(3)
- if self.isActive and self.Times == ThisTime then
- self.isActive = false
- BreakCAnim = true
- local RStart, REnd = Character.Torso.Position, Character.Torso.Position + vt(0, -1, 0)
- local ray = Ray.new(RStart, (REnd - RStart).unit * 200)
- local _, Target = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- self.BodyPos.Position = Target + Vector3.new(0, 3, 0)
- self.BodyPos.D = 150
- self.BodyGyro:Destroy()
- while wait(0.1) and ThisTime == self.Times do
- local Results = CheckHumanoid(Target, 8, nil, {ignoreSelf = true})
- for i,v in ipairs(Results) do
- if v.Humanoid == Humanoid then
- self.Times = self.Times + 1
- SmashGround()
- break
- end
- end
- end
- end
- end
- else
- self.isActive = false
- BreakCAnim = true
- self.Times = self.Times + 1
- local ThisTime = self.Times
- local RStart, REnd = Character.Torso.Position, Character.Torso.Position + vt(0, -1, 0)
- local ray = Ray.new(RStart, (REnd - RStart).unit * 200)
- local _, Target = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- self.BodyPos.Position = Target + Vector3.new(0, 3, 0)
- self.BodyPos.D = 150
- self.BodyGyro:Destroy()
- while wait(0.1) and ThisTime == self.Times do
- local Results = CheckHumanoid(Target, 8, nil, {ignoreSelf = true})
- for i,v in ipairs(Results) do
- if v.Humanoid == Humanoid then
- self.Times = self.Times + 1
- SmashGround()
- break
- end
- end
- end
- end
- end, TriggerClick = function(self)
- local ThisTime = self.Times
- self.isActive = false
- wait()
- BreakCAnim = true
- local s1 = sounds:get("Obsidian_Move4_Teleport", false, 1, 1, Character.Torso)
- s1:Play()
- s1.Ended:connect(function()
- s1:Destroy()
- end)
- local RStart, REnd = Character.Torso.Position, Mouse.Hit.p
- local ray = Ray.new(RStart, (REnd - RStart).unit * 70)
- local _, Target = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- local RStart, REnd = Target + vt(0, 1, 0), Target
- local ray = Ray.new(RStart, (REnd - RStart).unit * 100)
- local part, Target = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- if part == nil then
- self.isActive = true
- return
- end
- Humanoid.AutoRotate = false
- Humanoid.PlatformStand = true
- self.BodyGyro.Parent = Character.HumanoidRootPart
- self.BodyGyro.CFrame = cf(Character.Torso.Position, Target) * angles(math.pi / 2, 0, 0)
- self.BodyPos.Position = Target + Vector3.new(0, 2, 0)
- self.BodyPos.D = 500
- self.BodyPos.P = 5000
- spawn(function()
- while wait(0.1) and ThisTime == self.Times do
- local Results = CheckHumanoid(Target, 8, nil, {ignoreSelf = true})
- for i,v in ipairs(Results) do
- if v.Humanoid == Humanoid then
- self.Times = self.Times + 1
- SmashGround(true)
- Humanoid.AutoRotate = true
- Humanoid.PlatformStand = false
- Humanoid.Jump = true
- break
- end
- end
- end
- end)
- wait(5)
- if self.Times == ThisTime then
- local RStart, REnd = Character.Torso.Position, Character.Torso.Position + vt(0, -1, 0)
- local ray = Ray.new(RStart, (REnd - RStart).unit * 200)
- local _, Target = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- self.BodyPos.Position = Target + Vector3.new(0, 2, 0)
- self.BodyGyro:Destroy()
- SmashGround(true)
- Humanoid.AutoRotate = true
- Humanoid.PlatformStand = false
- Humanoid.Jump = true
- end
- end, Update = function(self, step)
- self.CurTime = self.CurTime + step
- if self.MaxTime <= self.CurTime then
- self.CurTime = self.MaxTime
- end
- end}
- ,
- V = {Name = "Psionic Assault", Frame = "Skill4", Key = "v", MaxTime = 50, CurTime = 0, Color = Color(150, 150, 210), Activate = function(self)
- if self.CurTime < self.MaxTime then
- return
- end
- if Stats.Mana:Get() < 65 then
- return
- end
- deb = true
- local RStart, REnd = Character.Head.CFrame.p, Mouse.Hit.p
- local ray = Ray.new(RStart, (REnd - RStart).unit * 1000)
- local TargetPart, Target = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- if TargetPart == nil then
- deb = false
- return
- end
- local TargetHum, TargetModel = CheckHumanoidOfPart(TargetPart)
- if not TargetHum then
- deb = false
- return
- end
- local col = getTeamColor(TargetHum)
- local friendly = false
- if type(col) ~= "boolean" and Player.Neutral == false and col == Player.TeamColor then
- friendly = true
- end
- local TargetTorso = TargetModel:FindFirstChild("Torso")
- if not TargetTorso or friendly then
- deb = false
- return
- end
- local TempTargets = CheckHumanoid(Target, 25, nil, {ignoreSelf = true})
- local AmountTargets = #TempTargets
- local BlastSize = 5 + 3 * AmountTargets + Stats.Psi:Get() / 15
- local DamageSize = 10 + 2 * AmountTargets + Stats.Mind:Get() / 2 + Stats.Psi:Get() / 10
- local oldMind = Stats.Mind:Get()
- Stats.Mind:Set(0)
- Stats.Psi:Set(0)
- Stats.Mana:Add(-65)
- self.CurTime = 0
- local s1 = sounds:get("Nether_Move3Field", false, 2.5, 1, Character.Torso)
- s1:Play()
- s1.Ended:connect(function()
- s1:Destroy()
- end)
- local ref = Instance.new("Part")
- ref.Anchored = true
- ref.CanCollide = false
- ref.Transparency = 1
- ref.CFrame = cf(Target)
- ref.Parent = wef
- local s2 = sounds:get("Nether_Move3Field", false, 3, 1, ref)
- s2:Play()
- s2.Ended:connect(function()
- s2:Destroy()
- end)
- local n = Instance.new("Part")
- n.Anchored = true
- n.BrickColor = NewCol2B
- n.Material = "Neon"
- n.CanCollide = false
- n.Transparency = 0.8
- n.TopSurface = "Smooth"
- n.BottomSurface = "Smooth"
- n.FormFactor = "Custom"
- n.Size = Vector3.new(1, 1, 1)
- local m = Instance.new("BlockMesh")
- local ring = Instance.new("SpecialMesh")
- ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
- ring.Name = "Ring"
- ring.MeshType = Enum.MeshType.FileMesh
- ring.Scale = vt()
- local TimeIndicator = n:Clone()
- TimeIndicator.Transparency = 0.5
- TimeIndicator.CFrame = cf(Target) * angles(math.pi / 2, 0, 0)
- local TimeIndicatorMesh = ring:Clone()
- TimeIndicatorMesh.Parent = TimeIndicator
- TimeIndicatorMesh.Scale = vt(BlastSize, BlastSize, 1)
- local TIEnabled = true
- local TITime = 0
- local TIMaxTime = 2
- TimeIndicator.Parent = wef
- local SkillDebuff = Stats.Defense:AddBuff(0.5, nil, nil, true)
- local ReachedEnd = false
- spawn(function()
- ChargeAssault()
- ReachedEnd = true
- end)
- local Arms = {Character:FindFirstChild("Right Arm"), Character:FindFirstChild("Left Arm")}
- local ArmMid = Arms[1].CFrame * CFrame.new(0, -2, 0):lerp(Arms[2].CFrame * CFrame.new(0, -2, 0), 0.5)
- local chargeparts = {}
- local maxt = 1
- local loop = nil
- loop = game:GetService("RunService").RenderStepped:connect(function(step)
- local tt = normalize(TITime, 0, TIMaxTime)
- if TIMaxTime <= TITime and TIEnabled then
- TIEnabled = false
- TimeIndicator:Destroy()
- else
- if TIEnabled then
- TimeIndicator.CFrame = cf(Target) * angles(math.pi / 2, 0, 0)
- TimeIndicatorMesh.Scale = vt(BlastSize, BlastSize, 5):lerp(vt(0, 0, 5), tt)
- end
- end
- TITime = TITime + step
- ref.CFrame = cf(Target)
- for i,v in ipairs(chargeparts) do
- if v.type == "inner" then
- v.mesh.Scale = v.mesh.Scale:lerp(vt(0, 0, 0), normalize(v.time, 0, maxt))
- v.part.Transparency = lerp(v.part.Transparency, 0, 0.1)
- v.part.CFrame = v.part.CFrame:lerp(ArmMid, 0.8) * RandomCFRot()
- v.time = v.time + step
- if maxt <= v.time then
- v.part:Destroy()
- table.remove(chargeparts, i)
- end
- else
- if v.type == "outter" then
- v.part.Transparency = lerp(0, 1, normalize(v.time, 0, maxt))
- v.mesh.Scale = v.mesh.Scale:lerp(vt(1, 1, 1), 0.1)
- v.part.CFrame = v.part.CFrame:lerp(ArmMid, 0.01) * RandomCFRot()
- v.time = v.time + step
- if maxt <= v.time then
- v.part:Destroy()
- table.remove(chargeparts, i)
- end
- else
- if v.type == "target" then
- v.mesh.Scale = v.mesh.Scale:lerp(vt(0, 0, 0), normalize(v.time, 0, maxt))
- v.part.Transparency = lerp(v.part.Transparency, 1, 0.1)
- v.part.CFrame = v.part.CFrame:lerp(cf(Target), 0.8) * RandomCFRot()
- v.time = v.time + step
- if maxt <= v.time then
- v.part:Destroy()
- table.remove(chargeparts, i)
- end
- else
- if v.type == "targetoutter" then
- v.part.Transparency = lerp(0, 1, normalize(v.time, 0, maxt))
- v.mesh.Scale = v.mesh.Scale:lerp(vt(2, 2, 2), 0.1)
- v.part.CFrame = v.part.CFrame:lerp(CFrame.new(Target), 0.01) * RandomCFRot()
- v.time = v.time + step
- if maxt <= v.time then
- v.part:Destroy()
- table.remove(chargeparts, i)
- end
- end
- end
- end
- end
- end
- if ReachedEnd and #chargeparts == 0 then
- loop:disconnect()
- end
- end)
- while not ReachedEnd do
- wait(0.2)
- local part = n:Clone()
- local mesh = m:Clone()
- mesh.Parent = part
- part.CFrame = ArmMid * RandomCFRot()
- part.Transparency = 1
- mesh.Scale = vt(5, 5, 5)
- local part2 = part:Clone()
- part2.Mesh.Scale = vt()
- part2.CFrame = part2.CFrame * CFrame.new(4, 0, 0) * RandomCFRot()
- part2.BrickColor = NewColB
- part3 = part:Clone()
- part3.Mesh.Scale = vt(BlastSize, BlastSize, BlastSize)
- part3.CFrame = cf(Target) * RandomCFRot()
- part3.Transparency = 0.5
- local part4 = part:Clone()
- part4.Mesh.Scale = vt()
- part4.CFrame = cf(Target) * RandomCFRot() * cf(BlastSize + 5, 0, 0) * RandomCFRot()
- part4.BrickColor = NewColB
- table.insert(chargeparts, {time = 0, part = part, mesh = mesh, type = "inner"})
- table.insert(chargeparts, {time = 0, part = part2, mesh = part2.Mesh, type = "outter"})
- table.insert(chargeparts, {time = 0, part = part3, mesh = part3.Mesh, type = "target"})
- table.insert(chargeparts, {time = 0, part = part4, mesh = part4.Mesh, type = "targetoutter"})
- part.Parent = wef
- part2.Parent = wef
- part3.Parent = wef
- part4.Parent = wef
- local RStart, REnd = ArmMid.p, ArmMid.p + Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2))
- local ray = Ray.new(RStart, (REnd - RStart).unit * 30)
- local part, HitP2 = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- local p0 = ArmMid.p
- local p1 = HitP2
- if part then
- zapp(p0, p1, 3, 1, NewColB, "Neon", 0.4, 0.1, 1, true)
- end
- if TargetTorso then
- Target = TargetTorso.Position
- end
- ArmMid = Arms[1].CFrame * CFrame.new(0, -2, 0):lerp(Arms[2].CFrame * CFrame.new(0, -2, 0), 0.5)
- end
- do
- if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
- SkillDebuff:Destroy()
- deb = false
- ref:Destroy()
- return
- end
- StrikeAssault()
- local clappart = n:Clone()
- clappart.Transparency = 0.5
- clappart.CFrame = Character.Torso.CFrame * cf(0, 0, -2)
- local clapmesh = ring:Clone()
- clapmesh.Scale = vt(0, 0, 1)
- clapmesh.Parent = clappart
- clappart.Parent = wef
- local exparts = {}
- local co = {NewColB, NewCol2B}
- for i = 1, 10 do
- local part = n:Clone()
- local mesh = m:Clone()
- mesh.Parent = part
- part.CFrame = cf(Target) * RandomCFRot()
- part.Transparency = 1
- part.BrickColor = co[math.random(1, #co)]
- mesh.Scale = vt(BlastSize, BlastSize, BlastSize)
- table.insert(exparts, {part = part, mesh = mesh, start = part.CFrame, pend = part.CFrame * CFrame.new(BlastSize, 0, 0) * RandomCFRot()})
- part.Parent = wef
- end
- local loop = nil
- local Time = 0
- local MaxTime = 0.4
- local done = false
- local s2 = sounds:get("SA_Ult_SpellEnd", false, 1, 2, ref)
- s2:Play()
- s2.Ended:connect(function()
- s2:Destroy()
- end)
- loop = game:GetService("RunService").RenderStepped:connect(function(step)
- if TargetTorso then
- Target = TargetTorso.Position
- ref.CFrame = cf(Target)
- end
- ArmMid = Arms[1].CFrame * CFrame.new(0, -2, 0):lerp(Arms[2].CFrame * CFrame.new(0, -2, 0), 0.5)
- local t = normalize(Time, 0, MaxTime)
- clappart.CFrame = Character.Torso.CFrame * cf(0, 0, -2) * angles(0, math.pi / 2, 0)
- clapmesh.Scale = vt(0, 0, 1):lerp(vt(3, 3, 1), t * 4)
- for i,v in ipairs(exparts) do
- v.part.CFrame = v.start:lerp(v.pend, t)
- v.part.Transparency = lerp(1, 0, t)
- v.mesh.Scale = vt(BlastSize, BlastSize, BlastSize):lerp(vt(), t)
- end
- Time = Time + step
- if MaxTime <= Time then
- loop:disconnect()
- for i,v in ipairs(exparts) do
- v.part:Destroy()
- end
- clappart:Destroy()
- done = true
- end
- end)
- local Targets2 = CheckHumanoid(Target, BlastSize + 5)
- local dmgArgs = {ignoreHitbox = true, ranged = true, ignoreDefense = id}
- if isjugg then
- dmgArgs.maxDamage = 50
- dmgArgs.ignoreDefense = false
- end
- for i,v in ipairs(Targets2) do
- local friendly = false
- local col = getTeamColor(v.Humanoid)
- if type(col) ~= "boolean" and Player.Neutral == false and col == Player.TeamColor then
- friendly = true
- end
- if not friendly then
- local id = false
- if Stats.Mind:Get() == 30 then
- id = true
- end
- local dmg, succes = Damage(v.Humanoid, DamageSize - 5, DamageSize, dmgArgs)
- if succes then
- StunTarget(v.Humanoid, 30)
- if v.Humanoid ~= TargetHum then
- KnockBack(v.Humanoid, 5, nil, Target)
- end
- Stats.Speed:AddBuff(0.2, 120, v.Humanoid)
- end
- end
- end
- do
- repeat
- wait()
- until done
- SkillDebuff:Destroy()
- ref:Destroy()
- deb = false
- end
- end
- end, Update = function(self, step)
- if DEBUG then
- step = step * 20
- end
- self.CurTime = self.CurTime + step
- if self.MaxTime <= self.CurTime then
- self.CurTime = self.MaxTime
- end
- end}
- ,
- M1 = {Name = "Combo", Key = "M1", Combo = 0, MaxCombo = 4, ComboTime = 200, MaxComboTime = 200, Activate = function(self)
- deb = true
- self.Combo = self.Combo + 1
- local dmg1, dmg2 = 4, 6
- local hit = false
- local DmgArgs = {}
- local Results = nil
- local Hit = {}
- local ss = {"claw_swipe01", "claw_swipe02", "claw_swipe03"}
- local s = sounds:get(ss[math.random(1, #ss)], false, 1.5, 1, Character.Torso)
- s:Play()
- s.Ended:connect(function()
- s:Destroy()
- end)
- if self.Combo == 1 then
- local reached = false
- spawn(function()
- combo1()
- reached = true
- deb = false
- end)
- hitbox.Parent = Character
- while not reached do
- wait()
- Results = CheckHumanoid(Handle.CFrame * CFrame.new(0, -1.5, 0).p, 3)
- do
- for i,v in ipairs(Results) do
- local go = true
- do
- do
- for _,b in ipairs(Hit) do
- if b == v.Humanoid then
- go = false
- end
- end
- end
- if go then
- table.insert(Hit, v.Humanoid)
- local _, s = Damage(v.Humanoid, dmg1, dmg2, DmgArgs)
- if s then
- do
- KnockBack(v.Humanoid, 2, nil, Character.Torso.Position)
- StunTarget(v.Humanoid, 2)
- Stats.Psi:Add(1)
- end
- end
- end
- end
- end
- end
- end
- hitbox.Parent = nil
- elseif self.Combo == 2 then
- local reached = false
- spawn(function()
- combo2()
- reached = true
- deb = false
- end)
- hitbox.Parent = Character
- while not reached do
- wait()
- Results = CheckHumanoid(Handle2.CFrame * CFrame.new(0, -1.5, 0).p, 3)
- for i,v in ipairs(Results) do
- local go = true
- for _,b in ipairs(Hit) do
- if b == v.Humanoid then
- go = false
- end
- end
- if go then
- table.insert(Hit, v.Humanoid)
- local _, s = Damage(v.Humanoid, dmg1, dmg2, DmgArgs)
- if s then
- KnockBack(v.Humanoid, 2, nil, Character.Torso.Position)
- StunTarget(v.Humanoid, 2)
- Stats.Psi:Add(1)
- end
- end
- end
- end
- hitbox.Parent = nil
- elseif self.Combo == 3 then
- local reached = false
- spawn(function()
- combo3()
- reached = true
- deb = false
- end)
- hitbox.Parent = Character
- while not reached do
- wait(0.1)
- Results = CheckHumanoid(Handle2.CFrame:lerp(Handle.CFrame, 0.5).p, 5)
- for i,v in ipairs(Results) do
- local go = true
- for _,b in ipairs(Hit) do
- if b == v.Humanoid then
- go = false
- end
- end
- if go then
- table.insert(Hit, v.Humanoid)
- local _, s = Damage(v.Humanoid, dmg1 / 2, dmg2 / 2, DmgArgs)
- if s then
- KnockBack(v.Humanoid, 2, nil, Character.Torso.Position)
- StunTarget(v.Humanoid, 2)
- Stats.Psi:Add(1)
- end
- end
- end
- end
- hitbox.Parent = nil
- local s = sounds:get("Magic_Slash_Big02", false, math.random(8, 10) / 10, nil, Character.Torso)
- s:Play()
- s.Ended:connect(function()
- s:Destroy()
- end)
- local n = Instance.new("Part")
- n.Anchored = true
- n.CanCollide = false
- n.Transparency = 0.5
- n.TopSurface = "Smooth"
- n.BottomSurface = "Smooth"
- n.FormFactor = "Custom"
- n.Size = Vector3.new(3, 3, 3)
- n.CFrame = Character.HumanoidRootPart.CFrame * CFrame.new(0, 2.5, -2)
- local co = {NewColB, NewCol2B}
- for i = 1, 5 do
- local p = n:Clone()
- p.CFrame = p.CFrame * RandomCFRot()
- p.BrickColor = co[math.random(1, #co)]
- if p.BrickColor == NewCol2B then
- p.Material = "Neon"
- end
- p.Parent = wef
- local Origin = p.CFrame
- local Target = p.CFrame * RandomCFRot() * CFrame.new(10, 0, 0)
- local loop = nil
- local Time = 0
- local MaxTime = math.random(3, 5) / 10
- loop = game:GetService("RunService").RenderStepped:connect(function(step)
- p.Size = Vector3.new(3, 3, 3):lerp(Vector3.new(0, 0, 0), normalize(Time, 0, MaxTime))
- p.CFrame = Origin:lerp(Target, normalize(Time, 0, MaxTime)) * RandomCFRot()
- Time = Time + step
- if MaxTime < Time then
- p:Destroy()
- loop:disconnect()
- end
- end)
- end
- local Results2 = CheckHumanoid(Character.HumanoidRootPart.CFrame * CFrame.new(0, 2.5, -2).p, 15)
- Results = #Results + #Results2
- for i,v in ipairs(Results2) do
- local _, s = Damage(v.Humanoid, 3, 4, {ignoreHitbox = true, ranged = true})
- if s then
- KnockBack(v.Humanoid, -5, nil, Character.Torso.Position)
- StunTarget(v.Humanoid, 2)
- Stats.Psi:Add(1)
- end
- end
- elseif self.Combo == 4 then
- local reached = false
- spawn(function()
- combo4()
- reached = true
- deb = false
- end)
- hitbox.Parent = Character
- while not reached do
- wait(0.1)
- Results = CheckHumanoid(Handle2.CFrame:lerp(Handle.CFrame, 0.5).p, 5)
- for i,v in ipairs(Results) do
- local go = true
- for _,b in ipairs(Hit) do
- if b == v.Humanoid then
- go = false
- end
- end
- if go then
- table.insert(Hit, v.Humanoid)
- local _, s = Damage(v.Humanoid, dmg1 / 2, dmg2 / 2, DmgArgs)
- if s then
- KnockBack(v.Humanoid, 2, nil, Character.Torso.Position)
- StunTarget(v.Humanoid, 2)
- Stats.Psi:Add(1)
- end
- end
- end
- end
- do
- hitbox.Parent = nil
- local RStart, REnd = Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2).p, Character.HumanoidRootPart.CFrame * CFrame.new(0, -2.5, -2).p
- local ray = Ray.new(RStart, (REnd - RStart).unit * 10)
- local p, HitP = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- if p then
- local s = sounds:get("laser_oc", false, math.random(8, 10) / 10, nil, Character.Torso)
- s:Play()
- s.Ended:connect(function()
- s:Destroy()
- end)
- local n = Instance.new("Part")
- n.Anchored = true
- n.CanCollide = false
- n.Transparency = 1
- n.BrickColor = NewColB
- n.TopSurface = "Smooth"
- n.BottomSurface = "Smooth"
- n.FormFactor = "Custom"
- n.Size = Vector3.new(0, 1, 0)
- n.CFrame = CFrame.new(HitP)
- local m = Instance.new("SpecialMesh")
- m.MeshType = "Sphere"
- m.Parent = n
- spawn(function()
- for i = 1, 10 do
- wait()
- local p = n:Clone()
- do
- p.Parent = wef
- local Origin = p.CFrame * CFrame.new(0, 1, 0)
- local Target = p.CFrame
- local loop = nil
- local Time = 0
- local MaxTime = 0.4
- loop = game:GetService("RunService").RenderStepped:connect(function(step)
- p.Size = Vector3.new(0, 0, 0):lerp(Vector3.new(20, 1, 20), normalize(Time, 0, MaxTime))
- p.CFrame = Origin:lerp(Target, normalize(Time, 0, MaxTime))
- p.Transparency = lerp(0.5, 1, normalize(Time, 0, MaxTime))
- Time = Time + step
- if MaxTime < Time then
- p:Destroy()
- loop:disconnect()
- end
- end)
- end
- end
- end)
- local Results2 = CheckHumanoid(HitP, 20)
- Results = #Results + #Results2
- for i,v in ipairs(Results2) do
- local _, s = Damage(v.Humanoid, 3, 4, {ignoreHitbox = true, ranged = true})
- if s then
- KnockBack(v.Humanoid, 5, nil, Character.Torso.Position)
- StunTarget(v.Humanoid, 2)
- Stats.Psi:Add(1)
- end
- end
- end
- end
- do
- swait()
- if self.Combo == 4 or self.Combo > 4 then
- self.Combo = 0
- deb = false
- end
- self.ComboTime = self.MaxComboTime
- end
- end
- end, Update = function(self, step)
- if deb then
- return
- end
- self.ComboTime = self.ComboTime - step
- if self.ComboTime < 0 then
- self.Combo = 0
- self.ComboTime = 0
- end
- end}
- }
- game:GetService("RunService").Heartbeat:connect(function(step)
- for i,v in pairs(Stats) do
- v:Update(step)
- end
- MaxHealth = Humanoid.MaxHealth
- CurHealth = Humanoid.Health
- BarSize = normalize(CurHealth, 0, MaxHealth)
- for i,v in pairs(Skills) do
- if v.Update then
- v:Update(step)
- end
- end
- stunnum2 = 20
- if stunnum2 <= stunnum then
- if Stun.Value > 0 then
- Stun.Value = Stun.Value - 1
- end
- stunnum = 0
- end
- stunnum = stunnum + 1
- fenbarmana2:TweenSize((UDim2.new(0.4, 0, -4 * Stats.Mana.Value / 100, 0)), nil, 1, 0.4, true)
- fenbarmana4.Text = "Mana(" .. math.floor(Stats.Mana:Get()) .. ")"
- fenbarhp2.BackgroundColor3 = Color3.new(Humanoid.Health / Humanoid.MaxHealth, 0, 0)
- fenbarhp2:TweenSize((UDim2.new(Humanoid.Health / Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true)
- fenbarhp3.Text = "(" .. math.floor(Humanoid.Health) .. ")"
- fenbarblock2:TweenSize((UDim2.new(0.4, 0, -4 * Stats.Psi:Get() / 100, 0)), nil, 1, 0.4, true)
- fenbarblock3.Text = "Psi(" .. math.floor(Stats.Psi:Get()) .. ")"
- fenbarmove1b:TweenSize((UDim2.new(normalize(Skills.Z.CurTime, 0, Skills.Z.MaxTime), 0, 1, 0)), nil, 1, 0.4, true)
- fenbarmove2b:TweenSize((UDim2.new(normalize(Skills.X.CurTime, 0, Skills.X.MaxTime), 0, 1, 0)), nil, 1, 0.4, true)
- fenbarmove2.Text = move2
- fenbarmove3b:TweenSize((UDim2.new(normalize(Skills.C.CurTime, 0, Skills.C.MaxTime), 0, 1, 0)), nil, 1, 0.4, true)
- fenbarmove4b:TweenSize((UDim2.new(normalize(Skills.V.CurTime, 0, Skills.V.MaxTime), 0, 1, 0)), nil, 1, 0.4, true)
- fenbarmind.Text = "Mind\n(" .. Stats.Mind:Get() .. "/" .. Stats.Mind.Max .. ")"
- AtkVal = Stats.Damage:Get() * 100
- AtkVal = math.floor(AtkVal)
- AtkVal = AtkVal / 100
- fenbardamage.Text = "Damage\n(" .. AtkVal .. ")"
- DefVal = Stats.Defense:Get() * 100
- DefVal = math.floor(DefVal)
- DefVal = DefVal / 100
- fenbardef.Text = "Defense\n(" .. DefVal .. ")"
- MvmtVal = Stats.Speed:Get() * 100
- MvmtVal = math.floor(MvmtVal)
- MvmtVal = MvmtVal / 100
- fenbarmove.Text = "Walkspeed\n(" .. MvmtVal .. ")"
- if StunT.Value <= Stun.Value then
- fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4, 0)), nil, 1, 0.4, true)
- else
- fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4 * Stun.Value / StunT.Value, 0)), nil, 1, 0.4, true)
- end
- fenbarstun3.Text = "Stun(" .. Stun.Value .. ")"
- end)
- PlayerGui = Player:WaitForChild("PlayerGui")
- Backpack = Player:WaitForChild("Backpack")
- Torso = Character:WaitForChild("Torso")
- Head = Character:WaitForChild("Head")
- LeftArm = Character:WaitForChild("Left Arm")
- LeftLeg = Character:WaitForChild("Left Leg")
- RightArm = Character:WaitForChild("Right Arm")
- RightLeg = Character:WaitForChild("Right Leg")
- Neck = Torso:WaitForChild("Neck")
- necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RootPart = Character.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- RootCF = euler(-1.57, 0, 3.14)
- RandomCFRot = function()
- return CFrame.Angles(math.rad(math.random(360)), math.rad(math.random(360)), math.rad(math.random(360)))
- 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
- wfc = function(m, n)
- if DEBUG then
- print("Looking for " .. n .. " in " .. m.Name)
- end
- return m:WaitForChild(n)
- end
- rayCast = function(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- zapp = function(p0, p1, parts, offset, color, material, thickness, transparency, time, fade)
- local magz = (p0 - p1).magnitude
- local curpos = p0
- local trz = {-offset, offset}
- if not time then
- time = 0.2
- end
- local partList = {}
- for i = 1, parts do
- local part = Instance.new("Part")
- do
- part.TopSurface = 0
- part.BottomSurface = 0
- part.Material = material or "Neon"
- part.Anchored = true
- part.CanCollide = false
- part.Transparency = transparency or 0.4
- part.BrickColor = color
- part.FormFactor = "Custom"
- part.Size = Vector3.new(1, 1, magz / parts)
- local mesh = Instance.new("BlockMesh")
- mesh.Parent = part
- mesh.Scale = Vector3.new(thickness, thickness, 1)
- local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / parts).p + ofz
- if parts == i then
- local magz2 = (curpos - p1).magnitude
- part.Size = Vector3.new(1, 1, magz2)
- part.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
- else
- do
- do
- part.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / parts / 2)
- curpos = part.CFrame * CFrame.new(0, 0, magz / parts / 2).p
- if fade then
- game.Debris:AddItem(part, time)
- pcall(function()
- local t = 0
- local s = part.Transparency
- local loop = nil
- loop = game:GetService("RunService").RenderStepped:connect(function(step)
- if time <= t then
- loop:disconnect()
- return
- end
- local normt = normalize(t, 0, time)
- part.Transparency = lerp(s, 1, normt)
- t = t + step
- end)
- end)
- else
- game.Debris:AddItem(part, time)
- end
- part.Parent = wef
- table.insert(partList, part)
- end
- -- DECOMPILER ERROR at PC165: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC165: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC165: LeaveBlock: unexpected jumping out DO_STMT
- end
- end
- end
- end
- return partList
- end
- CheckHumanoidOfPart = function(part)
- h = nil
- h1, h2 = part.Parent:FindFirstChild("Humanoid"), part.Parent.Parent:FindFirstChild("Humanoid")
- if h1 then
- h = h1
- else
- if h2 then
- h = h2
- else
- return false
- end
- end
- return h, h.Parent
- end
- CheckHumanoidOfModel = function(Model)
- for i,v in ipairs(Model:GetChildren()) do
- if v:IsA("Humanoid") then
- return true, v
- end
- end
- end
- CheckHumanoid = function(Pos, Rad, MinRad, args)
- if not args then
- args = {}
- end
- if not MinRad then
- MinRad = 0
- end
- if DEBUG then
- n = Instance.new("Part")
- n.Anchored = true
- n.CanCollide = false
- n.Transparency = 0.8
- n.TopSurface = "Smooth"
- n.BottomSurface = "Smooth"
- n.FormFactor = "Custom"
- n.Size = Vector3.new(Rad, Rad, Rad)
- n.CFrame = CFrame.new(Pos)
- m = Instance.new("SpecialMesh")
- m.MeshType = "Sphere"
- m.Parent = n
- n.Parent = wef
- game:GetService("Debris"):AddItem(n, 0.2)
- end
- do
- hitbox.CFrame = CFrame.new(Pos)
- hitbox.Size = Vector3.new(Rad, Rad, Rad)
- Results = {}
- for i,v in ipairs(workspace:GetChildren()) do
- if v:IsA("Model") then
- go = false
- if args.ignoreSelf == true then
- go = true
- else
- if v ~= Character then
- go = true
- end
- end
- if go then
- succes, humanoid = CheckHumanoidOfModel(v)
- if succes and humanoid.Health > 0 then
- for _,b in ipairs(v:GetChildren()) do
- if b:IsA("BasePart") then
- Dist = (Pos - b.CFrame.p).magnitude
- if Dist <= Rad / 2 and MinRad / 2 <= Dist then
- table.insert(Results, {Model = v, Humanoid = humanoid, Distance = Dist, HitPart = b})
- break
- end
- end
- end
- end
- end
- end
- end
- table.sort(Results, function(a, b)
- do return a.Distance < b.Distance end
- -- DECOMPILER ERROR: 1 unprocessed JMP targets
- end)
- return Results
- end
- end
- N = wfc(wfc(Character, "Torso"), "Neck")
- RS = wfc(Character.Torso, "Right Shoulder")
- LS = wfc(Character.Torso, "Left Shoulder")
- RH = wfc(Character.Torso, "Right Hip")
- LH = wfc(Character.Torso, "Left Hip")
- RJ = wfc(wfc(Character, "HumanoidRootPart"), "RootJoint")
- RootPart = Character.HumanoidRootPart
- DN1 = N.C1
- DRS1 = RS.C1
- DLS1 = LS.C1
- DRH1 = RH.C1
- DLH1 = LH.C1
- DRJ1 = RJ.C1
- RootJoint = RJ
- Neck = N
- RootCF = euler(-1.57, 0, 3.14)
- necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- DN1 = N.C1
- DRS1 = RS.C1
- DLS1 = LS.C1
- DRH1 = RH.C1
- DLH1 = LH.C1
- DRJ1 = RJ.C1
- DN0 = N.C0
- DRS0 = RS.C0
- DLS0 = LS.C0
- DRH0 = RH.C0
- DLH0 = LH.C0
- DRJ0 = RJ.C0
- MainAnimLoop = nil
- Anim = "Idle"
- walkforw = false
- walk = 0
- canwalk = true
- ResetC0 = false
- stunanim = false
- staggeranim = false
- game:GetService("RunService").Heartbeat:connect(function(step)
- col = Player.TeamColor
- --[[for _,c in pairs(game.Teams:children()) do
- if c.TeamColor == col and c.Name == "Juggernaut" then
- isjugg = true
- end
- end--]]
- if Stagger.Value == true and staggeranim == false then
- coroutine.resume(coroutine.create(function()
- staggeranim = true
- while deb == true do
- swait()
- end
- StaggerAnim()
- StaggerHit.Value = false
- Stagger.Value = false
- staggeranim = false
- deb = false
- end))
- end
- if StaggerHit.Value == true and staggeranim == false then
- coroutine.resume(coroutine.create(function()
- staggeranim = true
- while deb == true do
- swait()
- end
- StaggerHitt()
- StaggerHit.Value = false
- Stagger.Value = false
- staggeranim = false
- deb = false
- end))
- end
- if StunT.Value <= Stun.Value and stunanim == false then
- coroutine.resume(coroutine.create(function()
- stunanim = true
- while deb == true do
- swait()
- end
- StunAnim()
- Stun.Value = 0
- stunanim = false
- deb = false
- end))
- end
- if not WEnabled then
- return
- end
- torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velderp = RootPart.Velocity.y
- hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- if Anim == "Walk" and canwalk then
- if walkforw == true then
- RH.C1 = clerp(RH.C1, DRH1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
- LH.C1 = clerp(LH.C1, DLH1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
- else
- RH.C1 = clerp(RH.C1, DRH1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
- LH.C1 = clerp(LH.C1, DLH1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
- end
- if not deb then
- RJ.C0 = clerp(RJ.C0, DRJ0, 0.2)
- N.C0 = clerp(N.C0, DN0, 0.2)
- N.C1 = clerp(N.C1, DN1, 0.2)
- LS.C0 = clerp(LS.C0, DLS0, 0.2)
- RS.C0 = clerp(RS.C0, DRS0, 0.2)
- LH.C0 = clerp(LH.C0, DLH0, 0.2)
- RH.C0 = clerp(RH.C0, DRH0, 0.2)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(0.6, 0.3, 0.5), 0.18)
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(0.6, -0.3, -0.5), 0.18)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, 0), 0.18)
- end
- else
- if Anim == "Idle" and deb == false then
- t = 0.2
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.2, 0.2) * CFrame.Angles(0.6, 0, -0.3), t)
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.2, 0.2) * CFrame.Angles(0.6, 0, -0.1), t)
- RH.C1 = clerp(RH.C1, DRH1 * CFrame.new(-0.4, -0.2, 0) * CFrame.Angles(0.2, 0.1, -0.05), t)
- LH.C1 = clerp(LH.C1, DLH1 * CFrame.new(0, -0.2, 0) * CFrame.Angles(0.2, 0.1, -0.05), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, 0), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, 0), t)
- RJ.C0 = clerp(RJ.C0, DRJ0, t)
- N.C0 = clerp(N.C0, DN0, t)
- LS.C0 = clerp(LS.C0, DLS0, t)
- RS.C0 = clerp(RS.C0, DRS0, t)
- LH.C0 = clerp(LH.C0, DLH0, t)
- RH.C0 = clerp(RH.C0, DRH0, t)
- end
- end
- do
- if RootPart.Velocity.y > 1 and hitfloor == nil then
- Anim = "Jump"
- if deb == false then
- N.C0 = clerp(N.C0, necko * euler(-0.2, 0, 0), 0.2)
- Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, 0), 0.3)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 0.2), 0.2)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(-0.8, 0, -0.2), 0.2)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
- LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
- LH.C1 = clerp(LH.C1, DLH1, 0.2)
- RH.C1 = clerp(RH.C1, DRH1, 0.2)
- end
- else
- if RootPart.Velocity.y < -1 and hitfloor == nil then
- Anim = "Fall"
- if deb == false then
- Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
- Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, 0), 0.3)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(0.1, 0, 1), 0.2)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(0.1, 0, -1), 0.2)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
- end
- else
- if torvel < 1 and hitfloor ~= nil then
- Anim = "Idle"
- else
- if torvel > 2 and torvel < 30 and hitfloor ~= nil then
- Anim = "Walk"
- walk = walk + 1
- if 15 - 5 * Mvmt.Value <= walk then
- walk = 0
- if walkforw == true then
- walkforw = false
- else
- if walkforw == false then
- walkforw = true
- end
- end
- end
- end
- end
- end
- end
- if ResetC0 then
- RJ.C0 = clerp(RJ.C0, DRJ0, 0.2)
- N.C0 = clerp(N.C0, DN0, 0.2)
- N.C1 = clerp(N.C1, DN1, 0.2)
- LS.C0 = clerp(LS.C0, DLS0, 0.2)
- RS.C0 = clerp(RS.C0, DRS0, 0.2)
- LH.C0 = clerp(LH.C0, DLH0, 0.2)
- RH.C0 = clerp(RH.C0, DRH0, 0.2)
- end
- if #Effects > 0 then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- Thing = Effects[e]
- if Thing ~= nil then
- Part = Thing[1]
- Mode = Thing[2]
- Delay = Thing[3]
- IncX = Thing[4]
- IncY = Thing[5]
- IncZ = Thing[6]
- if Thing[2] == "CylinderClang" then
- if Thing[3] <= 1 then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[7] = Thing[1].CFrame
- effect("New Yeller", 0, Thing[8], Thing[7])
- Thing[8] = Thing[7]
- Thing[3] = Thing[3] + Thing[4]
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- if Thing[2] == "showDamage" then
- if Thing[6] < Thing[5] then
- Thing[6] = Thing[6] + 1
- else
- if Thing[6] < Thing[7] then
- Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
- Thing[6] = Thing[6] + 1
- else
- if Thing[6] < Thing[8] then
- Thing[6] = Thing[6] + 1
- else
- if Thing[6] < Thing[9] then
- Thing[6] = Thing[6] + 1
- Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
- Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
- Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
- else
- Thing[1].Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- if Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" and Thing[2] ~= "Transposition" and Thing[2] ~= "BloodBind" then
- if Thing[1].Transparency <= 1 then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- do
- if Thing[2] == "Ice" then
- if Thing[6] <= Thing[5] then
- Thing[6] = Thing[6] + 0.3
- Thing[1].CFrame = Thing[1].CFrame * cf(0, 1, 0)
- else
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- else
- if Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * cf(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * euler(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- else
- if Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- do
- if Thing[2] == "Cylinder" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- do
- if Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0)
- Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- do
- if Thing[2] == "Elec" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- do
- do
- if Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- Part.Parent = nil
- table.remove(Effects, e)
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC1336: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- effect = function(Color, Ref, LP, P1, returnn)
- if LP == nil or P1 == nil then
- return
- end
- local effectsmsh = Instance.new("CylinderMesh")
- effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
- effectsmsh.Name = "Mesh"
- local effectsg = Instance.new("Part")
- NoOutline(effectsg)
- effectsg.formFactor = 3
- effectsg.CanCollide = false
- effectsg.Name = "Eff"
- effectsg.Locked = true
- effectsg.Anchored = true
- effectsg.Size = Vector3.new(0.5, 1, 0.5)
- effectsg.Parent = workspace
- effectsmsh.Parent = effectsg
- effectsg.BrickColor = BrickColor.new(Color)
- effectsg.Reflectance = Ref
- local point1 = P1
- local mg = (LP.p - point1.p).magnitude
- effectsg.Size = Vector3.new(0.5, mg, 0.5)
- effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
- effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
- game:GetService("Debris"):AddItem(effectsg, 2)
- if returnn then
- return effectsg
- end
- if not returnn then
- table.insert(Effects, {effectsg, "Cylinder", 0.2, 0.01, 0, 0.01, effectsmsh})
- end
- end
- NoOutline = function(Part)
- Part.TopSurface = 10
- end
- part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
- local fp = it("Part")
- fp.formFactor = formfactor
- fp.Parent = parent
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked = true
- fp.BrickColor = brickcolor
- fp.Name = name
- fp.Size = size
- fp.Position = Torso.Position
- NoOutline(fp)
- fp.Material = "SmoothPlastic"
- fp:BreakJoints()
- return fp
- end
- mesh = function(Mesh, part, meshtype, meshid, offset, scale)
- local mesh = it(Mesh)
- mesh.Parent = part
- if Mesh == "SpecialMesh" then
- mesh.MeshType = meshtype
- if meshid ~= "nil" then
- mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
- end
- end
- mesh.Offset = offset
- mesh.Scale = scale
- return mesh
- end
- ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
- local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
- end
- StaggerAnim = function()
- deb = true
- removeControl()
- for i = 1, math.random(2, 4) do
- ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
- end
- for i = 0, 1, 0.35 do
- swait()
- if Rooted.Value == false then
- Torso.Velocity = RootPart.CFrame.lookVector * -40
- end
- Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.3)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.4), 0.3)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.3)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
- LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
- end
- for i = 0, 1, 0.2 do
- swait()
- if Rooted.Value == false then
- Torso.Velocity = RootPart.CFrame.lookVector * -40
- end
- Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.5, 0, -0.4), 0.4)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.4)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
- LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.4)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
- RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.4)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.5), 0.4)
- end
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.5, 0, 0), 0.3)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8) * euler(-0.2, 0, -0.4), 0.3)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(-0.5, 0, 0.2) * euler(0, -0.4, 0), 0.3)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
- LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.2) * euler(0, 0.4, 0), 0.3)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 1.2), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
- end
- for i = 1, 40 do
- swait()
- if StunT.Value <= Stun.Value then
- break
- end
- end
- do
- resumeControl()
- deb = false
- end
- end
- StaggerHitt = function()
- deb = true
- for i = 1, math.random(2, 4) do
- ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
- end
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, 0), 0.3)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.9), 0.3)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
- LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.6), 0.3)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.4), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
- end
- deb = false
- end
- StunAnim = function()
- canwalk = false
- deb = true
- removeControl()
- Stunned.Value = true
- showDamage(Character, "Stunned", "Interrupt")
- dec = Instance.new("NumberValue", Decrease)
- dec.Name = "DecreaseMvmt"
- dec.Value = 10
- for i = 0, 1, 0.3 do
- swait()
- Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.5), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -3), 0.2)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1.3), 0.2)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- LS.C0 = clerp(LS.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.4) * euler(0, -0.1, 0), 0.2)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.3), 0.25)
- LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
- end
- for i = 0, 1, 0.3 do
- swait()
- Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -0.5), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.8, 0, -3), 0.2)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- LS.C0 = clerp(LS.C0, cf(-1.2, 0.5, -0.4) * euler(1.2, 0, 0.8) * euler(0, -0.1, 0), 0.2)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.25)
- LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(0.1, 0, 0.7), 0.25)
- end
- for i = 0, 1, 0.3 do
- swait()
- Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -1), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1.57, 0, -3), 0.2)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, -0.8) * euler(0, -0.1, 0), 0.2)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.6), 0.25)
- LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.3), 0.25)
- end
- for i = 0, 1, 0.1 do
- swait()
- if hitfloor ~= nil then
- Torso.Velocity = vt(0, 0, 0)
- end
- Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), 0.3)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * euler(1.57, 0, -3.14), 0.3)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1.5) * euler(0.2, 0, 0), 0.3)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
- LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.57) * euler(0, 0, 0), 0.3)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 0), 0.3)
- end
- for i = 1, 70 do
- swait()
- if hitfloor ~= nil then
- Torso.Velocity = vt(0, 0, 0)
- end
- end
- for i = 0, 1, 0.2 do
- swait()
- Stun.Value = 0
- Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1, 0, -4), 0.3)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1) * euler(0.2, -1, 0), 0.3)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
- LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, 0.2) * euler(0, 0, 0), 0.3)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0.4), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, -1) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 1), 0.3)
- end
- resumeControl()
- dec.Parent = nil
- Stun.Value = 0
- Skills.M1.Combo = 0
- Stunned.Value = false
- deb = false
- for i = 1, 10 do
- swait()
- Stun.Value = 0
- end
- canwalk = true
- end
- combo1 = function()
- ResetC0 = true
- local t = 0.4
- for i = 0, 1, 0.3 do
- swait()
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(1.1, 0.5, -1), t)
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(0.3, -0.2, -1), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, 0.2), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, -0.2), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- end
- end
- end
- for i = 0, 1, 0.15 do
- swait()
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-1, 0, -1.3), t)
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(0.3, -0.5, 0), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, -0.2), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, 0.2), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- end
- end
- end
- ResetC0 = false
- end
- combo2 = function()
- ResetC0 = true
- local t = 0.4
- for i = 0, 1, 0.3 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(1, -0.5, 1), t)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(0.3, 0.5, 1), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, -0.2), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, 0.2), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- end
- end
- end
- for i = 0, 1, 0.15 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-1.1, 0, 2), t)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(0.3, -0.5, 0), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, 0.2), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, -0.2), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- end
- end
- end
- ResetC0 = false
- end
- combo3 = function()
- ResetC0 = true
- local t = 0.4
- for i = 0, 1, 0.3 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0.5, 0, 0.5) * CFrame.Angles(0, -math.pi / 2, 0), t)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(-0.5, 0, 0.5) * CFrame.Angles(0, math.pi / 2, 0), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0, 0, 0), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- -- DECOMPILER ERROR at PC114: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC114: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- for i = 0, 1, 0.2 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0.5, 0, 0.5) * CFrame.Angles(-math.pi + 0.1, -math.pi / 3, 0), t)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(-0.5, 0, 0.5) * CFrame.Angles(-math.pi + 0.1, math.pi / 3, 0), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.2, 0, 0), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- end
- end
- end
- ResetC0 = false
- end
- combo4 = function()
- ResetC0 = true
- local t = 0.4
- for i = 0, 1, 0.3 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(-0.5, 0, 0.5) * CFrame.Angles(-math.pi - 0.4, math.pi / 2, 0), t)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0.5, 0, 0.5) * CFrame.Angles(math.pi - 0.4, -math.pi / 2, 0), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.2, 0, 0), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- end
- end
- end
- canwalk = false
- for i = 0, 1, 0.2 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(-0.5, 0, 0.5) * CFrame.Angles(0, math.pi / 2, 0), t)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0.5, 0, 0.5) * CFrame.Angles(0, -math.pi / 2, 0), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.3, 0, 0), t)
- RH.C1 = clerp(RH.C1, DRH1 * CFrame.new(-0.4, -0.2, 0) * CFrame.Angles(0.2, 0.1, -0.1), t)
- LH.C1 = clerp(LH.C1, DLH1 * CFrame.new(0, -0.3, 0) * CFrame.Angles(0.2, 0.1, -0.05), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- end
- end
- end
- canwalk = true
- ResetC0 = false
- end
- stab1 = function()
- ResetC0 = true
- local t = 0.4
- canwalk = false
- for i = 0, 1, 0.2 do
- swait()
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(1.1, 0.5, -1), t)
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(0.3, -0.2, -1), t)
- RH.C1 = clerp(RH.C1, DRH1 * CFrame.new(-0.4, -0.2, 0) * CFrame.Angles(0.2, 0.1, -0.05), t)
- LH.C1 = clerp(LH.C1, DLH1 * CFrame.new(0, -0.2, 0) * CFrame.Angles(0.2, 0.1, -0.05), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, 0.2), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, -0.2), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- end
- end
- end
- for i = 0, 1, 0.3 do
- swait()
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-1, 0, -1.3), t)
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(0.3, -0.5, 0), t)
- RH.C1 = clerp(RH.C1, DRH1 * CFrame.new(-0.4, -0.2, 0) * CFrame.Angles(0.2, 0.1, -0.05), t)
- LH.C1 = clerp(LH.C1, DLH1 * CFrame.new(0, -0.2, 0) * CFrame.Angles(0.2, 0.1, -0.05), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, -0.2), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, 0.2), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- -- DECOMPILER ERROR at PC306: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC306: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- canwalk = true
- ResetC0 = false
- deb = false
- end
- stab2 = function()
- ResetC0 = true
- local t = 0.4
- canwalk = false
- for i = 0, 1, 0.2 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(1, -0.5, 1), t)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(0.3, 0.5, 1), t)
- RH.C1 = clerp(RH.C1, DRH1 * CFrame.new(-0.4, -0.2, 0) * CFrame.Angles(0.2, 0.1, -0.05), t)
- LH.C1 = clerp(LH.C1, DLH1 * CFrame.new(0, -0.2, 0) * CFrame.Angles(0.2, 0.1, -0.05), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, -0.2), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, 0.2), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- -- DECOMPILER ERROR at PC155: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC155: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- for i = 0, 1, 0.3 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-1.1, 0, 2), t)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(0.3, -0.5, 0), t)
- RH.C1 = clerp(RH.C1, DRH1 * CFrame.new(-0.4, -0.2, 0) * CFrame.Angles(0.2, 0.1, -0.05), t)
- LH.C1 = clerp(LH.C1, DLH1 * CFrame.new(0, -0.2, 0) * CFrame.Angles(0.2, 0.1, -0.05), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, 0.2), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, -0.2), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- -- DECOMPILER ERROR at PC306: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC306: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- canwalk = true
- ResetC0 = false
- deb = false
- end
- SendShock = function()
- ResetC0 = true
- local t = 0.4
- for i = 0, 1, 0.1 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-0.1, 0, math.pi / 2), t)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-0.1, 0, -math.pi / 2), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, 0), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, 0), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- -- DECOMPILER ERROR at PC114: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC114: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- ResetC0 = false
- deb = false
- end
- ChargeAssault = function()
- ResetC0 = true
- local t = 0.4
- for i = 0, 1, 0.02 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-0.3, 0, math.pi / 2), t)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-0.3, 0, -math.pi / 2), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, 0), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, 0), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- -- DECOMPILER ERROR at PC114: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC114: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- ResetC0 = false
- deb = false
- end
- StrikeAssault = function()
- ResetC0 = true
- local t = 0.4
- for i = 0, 1, 0.1 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(1, 0, math.pi / 2), t)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(1, 0, -math.pi / 2), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, 0), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, 0), t)
- end
- t = 0.6
- ResetC0 = false
- deb = false
- spawn(function()
- for i = 0, 1, 0.1 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-0.4, 0, math.pi / 2), t)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-0.4, 0, -math.pi / 2), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, 0), t)
- N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0, 0, 0), t)
- RJ.C0 = clerp(RJ.C1, DRJ1 * cf() * angles(-0.1, 0, 0), t)
- end
- end)
- end
- MindStrikeAnim = function()
- local t = 0.2
- for i = 0, 1, 0.04 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * cf(0, 0.4, 0) * angles(0.4, 0, 0), t)
- RS.C1 = clerp(RS.C1, DRS1 * cf(0, 0.5, 0) * angles(0.5, 0, -1.6), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * cf() * angles(-0.2, 0, 0.7), t)
- N.C1 = clerp(N.C1, DN1 * cf() * angles(0.1, 0, -0.8), t)
- LS.C0 = clerp(LS.C0, DLS0, t)
- RS.C0 = clerp(RS.C0, DRS0, t)
- N.C0 = clerp(N.C0, DN0, t)
- RJ.C0 = clerp(RJ.C0, DRJ0, t)
- RH.C0 = clerp(RH.C0, DRH0 * cf() * angles(0, 0.8, 0), t)
- LH.C0 = clerp(LH.C0, DLH0 * cf() * angles(0, 0.8, 0), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- end
- end
- end
- t = 0.6
- for i = 0, 1, 0.3 do
- swait()
- LS.C1 = clerp(LS.C1, DLS1 * cf(0, 0.4, 0) * angles(0, -math.pi / 4, -math.pi / 3), t)
- RS.C1 = clerp(RS.C1, DRS1 * cf(0, 0.4, 0.3) * angles(0.2, 0, -1.5), t)
- RJ.C1 = clerp(RJ.C1, DRJ1 * cf() * angles(-0.2, 0, -0.4), t)
- N.C1 = clerp(N.C1, DN1 * cf() * angles(0.1, 0, 0.4), t)
- RH.C0 = clerp(RH.C0, DRH0 * cf() * angles(0, -0.4, 0), t)
- LH.C0 = clerp(LH.C0, DLH0 * cf() * angles(0, -0.4, 0), t)
- if Stagger.Value ~= true and StunT.Value > Stun.Value then
- do
- if StaggerHit.Value == true then
- break
- end
- -- DECOMPILER ERROR at PC299: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC299: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- Flying = function()
- while true do
- swait()
- N.C0 = clerp(N.C0, necko * euler(0.3, 0, 0), 0.2)
- Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 0.2), 0.2)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(-0.8, 0, -0.2), 0.2)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- RH.C0 = clerp(RH.C0, cf(1, -0.5, -0.4) * euler(0, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
- LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.2, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
- LH.C1 = clerp(LH.C1, DLH1, 0.2)
- RH.C1 = clerp(RH.C1, DRH1, 0.2)
- if BreakCAnim then
- BreakCAnim = false
- break
- end
- end
- end
- FlyStart = function()
- while true do
- swait()
- N.C0 = clerp(N.C0, necko * euler(0.1, 0, 0), 0.2)
- Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.5, 0, 0), 0.3)
- RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(0.8, 0, 0.4), 0.2)
- RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(0.8, 0, -0.4), 0.2)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
- RH.C0 = clerp(RH.C0, cf(1, -0.5, -0.4) * euler(1, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
- LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.2, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
- LH.C1 = clerp(LH.C1, DLH1, 0.2)
- RH.C1 = clerp(RH.C1, DRH1, 0.2)
- if BreakCAnim then
- BreakCAnim = false
- break
- end
- end
- end
- Smash = function()
- for i = 0, 1, 0.3 do
- swait()
- N.C0 = clerp(N.C0, necko * euler(-1, 0, 0), 0.4)
- Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.4)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.8, 0, 0), 0.5)
- RS.C0 = clerp(RS.C0, DRS0, 0.4)
- RS.C1 = clerp(RS.C1, DRS1 * cf(0, 0.4, 0) * angles(0.1, 0, -1.7), 0.5)
- LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(-0.8, 0, -0.2), 0.5)
- LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
- RH.C0 = clerp(RH.C0, cf(1, -0.5, -0.4) * euler(0, 1.5, 0) * euler(-0.2, 0, 1.1), 0.4)
- LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(0, -1.5, 0) * euler(-0.2, 0, -0.2), 0.4)
- LH.C1 = clerp(LH.C1, DLH1, 0.2)
- RH.C1 = clerp(RH.C1, DRH1, 0.2)
- end
- end
- SmashGround = function(clicked)
- spawn(Smash)
- local RStart, REnd = Character.Torso.Position, Character.Torso.Position + vt(0, -1, 0)
- local gray = Ray.new(RStart, (REnd - RStart).unit * 100)
- local p, Ground = workspace:FindPartOnRayWithIgnoreList(gray, {Character, wef})
- local Results = CheckHumanoid(Ground, 40)
- for i,Result in ipairs(Results) do
- local friendly = false
- local col = getTeamColor(Result.Humanoid)
- if type(col) ~= "boolean" and Player.Neutral == false and col == Player.TeamColor then
- friendly = true
- end
- if not friendly then
- local id = false
- if Stats.Mind:Get() == 30 then
- id = true
- end
- local dmg1 = 5
- local dmg2 = 10
- local knckb = 70
- if clicked then
- dmg1 = 3
- knckb = 20
- end
- local dmg, succes = Damage(Result.Humanoid, dmg1, dmg2, {ignoreHitbox = true, ranged = true, ignoreDefense = id})
- if succes then
- StunTarget(Result.Humanoid, 20)
- KnockBack(Result.Humanoid, knckb, nil, Ground)
- Stats.Mind:Add(1)
- Stats.Psi:Add(5)
- end
- end
- end
- local ring = Instance.new("SpecialMesh")
- ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
- ring.Name = "Ring"
- ring.MeshType = Enum.MeshType.FileMesh
- ring.Scale = vt()
- local n = Instance.new("Part")
- n.Anchored = true
- n.CanCollide = false
- n.Material = "SmoothPlastic"
- n.Transparency = 0
- n.TopSurface = "Smooth"
- n.BottomSurface = "Smooth"
- n.FormFactor = "Custom"
- n.Size = Vector3.new(1, 1, 1)
- n.BrickColor = BrickColor.new("Dark stone grey")
- local m = (Instance.new("BlockMesh"))
- local loop = nil
- local Time = 0
- local MaxTime = 0.4
- ringsmashp = n:Clone()
- ringsmashp.BrickColor = NewColB
- ringsmashp.Transparency = 0.5
- ringsmashp.CFrame = cf(Ground) * angles(math.pi / 2, 0, 0)
- ringsmashm = ring:Clone()
- ringsmashm.Scale = vt(0, 0, 2)
- local fieldp = ringsmashp:Clone()
- fieldp.CFrame = cf(Ground)
- local fieldm = ring:Clone()
- fieldm.MeshType = "Sphere"
- fieldm.Scale = vt()
- local fieldp2 = ringsmashp:Clone()
- fieldp2.CFrame = cf(Ground)
- fieldp2.Transparency = 0.8
- local fieldm2 = ring:Clone()
- fieldm2.MeshType = "Sphere"
- fieldm2.Scale = vt()
- fieldm2.Parent = fieldp2
- ringsmashm.Parent = ringsmashp
- fieldm.Parent = fieldp
- ringsmashp.Parent = wef
- fieldp.Parent = wef
- fieldp2.Parent = wef
- local pitch = 0.4
- if clicked then
- pitch = 1
- end
- local s1 = sounds:get("Commander_Move3_Hit", false, pitch, 1, Character.Torso)
- s1:Play()
- s1.Ended:connect(function()
- s1:Destroy()
- end)
- loop = game:GetService("RunService").RenderStepped:connect(function(step)
- p = workspace:FindPartOnRayWithIgnoreList(gray, {Character, wef})
- local t = normalize(Time, 0, MaxTime)
- ringsmashm.Scale = ringsmashm.Scale:lerp(vt(40, 40, 2), 0.2)
- fieldm.Scale = fieldm.Scale:lerp(vt(40, 0.2, 40), 0.1)
- fieldm2.Scale = fieldm2.Scale:lerp(vt(40, 0.2, 40), 0.05)
- fieldp.CFrame = cf(Ground)
- fieldp2.CFrame = cf(Ground)
- Time = Time + step
- if MaxTime <= Time then
- loop:disconnect()
- ringsmashp:Destroy()
- end
- end)
- local poss = {}
- local maxp = 20
- if clicked then
- maxp = 10
- end
- for i = 1, maxp do
- local RStart = vt(0, 10, 0) + fieldp.CFrame * angles(0, math.rad(math.random(360)), 0) * cf(math.random(5, 20), 0, 0) * RandomCFRot().p
- local REnd = RStart + vt(0, -1, 0)
- local ray = Ray.new(RStart, (REnd - RStart).unit * 100)
- local p, Target = workspace:FindPartOnRayWithIgnoreList(ray, {Character, wef})
- if p and CheckHumanoidOfPart(p) == false then
- local part = n:Clone()
- part.CanCollide = true
- part.Material = p.Material
- part.BrickColor = p.BrickColor
- part.Size = vt(math.random(2, 5), math.random(2, 5), math.random(2, 5))
- part.CFrame = cf(Target) * RandomCFRot()
- local part2 = part:Clone()
- part2.Size = part.Size + vt(0.2, 0.2, 0.2)
- part2.BrickColor = NewColB
- part2.Transparency = 0.9
- part2.Material = "Neon"
- part.Parent = wef
- part2.Parent = wef
- table.insert(poss, part)
- local t = math.random(60, 70) / 10
- game:GetService("Debris"):AddItem(part, t)
- game:GetService("Debris"):AddItem(part2, t)
- end
- end
- if Skills.C.BodyGyro then
- Skills.C.BodyGyro:Destroy()
- end
- if Skills.C.BodyPos then
- Skills.C.BodyPos:Destroy()
- end
- Humanoid.AutoRotate = true
- Humanoid.PlatformStand = false
- Humanoid.Jump = true
- wait()
- Character.Torso.Velocity = vt(0, -10, 0)
- canwalk = false
- Stats.Speed:AddBuff(100, 9, nil, true)
- Skills.C.CurTime = Skills.C.MaxTime / 2
- if clicked then
- Skills.C.CurTime = 0
- end
- Stats.Mana:Add(-35)
- local parts = {}
- local partloop = game:GetService("RunService").RenderStepped:connect(function(step)
- fieldm2.Scale = fieldm2.Scale:lerp(vt(40, 0.2, 40), 0.1)
- for i,v in ipairs(parts) do
- v.part.CFrame = cf(v.part.CFrame.p + vt(0, step * 10, 0)) * RandomCFRot()
- v.mesh.Scale = v.mesh.Scale:lerp(vt(), 0.1)
- v.time = v.time + step
- if v.time >= 1 then
- v.part:Destroy()
- table.remove(parts, i)
- end
- end
- end)
- spawn(function()
- game:GetService("Debris"):AddItem(fieldp, 5)
- game:GetService("Debris"):AddItem(fieldp2, 5)
- for i = 0, 8 do
- wait(0.6)
- local p0t = poss[math.random(1, #poss)]
- do
- p0 = p0t.Position + vt(math.random(-p0t.Size.X / 2 * 10, p0t.Size.X / 2 * 10) / 10, math.random(-p0t.Size.Y / 2 * 10, p0t.Size.Y / 2 * 10) / 10, math.random(-p0t.Size.Z / 2 * 10, p0t.Size.Z / 2 * 10) / 10)
- local p1 = p0 + vt(math.random(-10, 10), math.random(30), math.random(-10, 10))
- zapp(p0, p1, 5, 3, NewCol2B, "Neon", math.random(1, 5) / 10, 0.5, 0.5, true)
- local Results = CheckHumanoid(Ground, 40, nil, {ignoreSelf = true})
- for i,Result in ipairs(Results) do
- local friendly = false
- local col = getTeamColor(Result.Humanoid)
- if type(col) ~= "boolean" and Player.Neutral == false and col == Player.TeamColor then
- friendly = true
- end
- if Result.Humanoid == Humanoid then
- friendly = true
- end
- if not friendly then
- local id = false
- if Stats.Mind:Get() == 30 then
- id = true
- end
- local dmg, succes = Damage(Result.Humanoid, 2, 4, {ignoreHitbox = true, ranged = true, ignoreDefense = id})
- if succes then
- StunTarget(Result.Humanoid, 3)
- KnockBack(Result.Humanoid, 5, nil, Ground)
- Stats.Mind:Add(1)
- Stats.Psi:Add(2)
- end
- else
- do
- if Stats.Mind:Get() < 30 then
- if not clicked then
- Stats.Speed:AddBuff(-0.2, 20, Result.Humanoid)
- Stats.Defense:AddBuff(-0.2, 20, Result.Humanoid)
- Stats.Damage:AddBuff(-0.2, 20, Result.Humanoid)
- else
- local b = math.random(1, 3)
- if b == 1 then
- Stats.Speed:AddBuff(-0.2, 20, Result.Humanoid)
- else
- if b == 2 then
- Stats.Defense:AddBuff(-0.2, 20, Result.Humanoid)
- else
- Stats.Damage:AddBuff(-0.2, 20, Result.Humanoid)
- end
- end
- end
- end
- do
- -- DECOMPILER ERROR at PC249: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC249: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC249: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- fieldm2.Scale = vt(2, 30, 2)
- local part = n:Clone()
- part.BrickColor = NewCol2B
- part.Transparency = 0.5
- local mesh = m:Clone()
- mesh.Scale = vt(4, 4, 4)
- mesh.Parent = part
- part.CFrame = fieldp.CFrame * angles(0, math.rad(math.random(360)), 0) * cf(math.random(5, 20), 0, 0) * RandomCFRot()
- part.Parent = wef
- table.insert(parts, {part = part, mesh = mesh, time = 0})
- local s2 = sounds:get("Stealth4", false, 0.5, 1, fieldp)
- s2:Play()
- s2.Ended:connect(function()
- pcall(function()
- s2:Destroy()
- end)
- end)
- end
- end
- do
- repeat
- wait()
- until #parts == 0
- partloop:disconnect()
- end
- end)
- wait(0.3)
- deb = false
- canwalk = true
- end
- local UnequipDebuff1 = (Stats.Defense:AddBuff(0.4, nil, nil, true))
- local UnequipDebuff2 = nil
- for _,v in ipairs(Blade:GetChildren()) do
- v.Transparency = lerp(0.3, 1, 1)
- end
- for _,v in ipairs(Blade2:GetChildren()) do
- v.Transparency = lerp(0.3, 1, 1)
- end
- Mouse.KeyDown:connect(function(key)
- if Humanoid.Health == 0 then
- return
- end
- if not equipped then
- return
- end
- if key == "f" then
- --[[if deb then
- return
- end--]]
- deb = true
- spawn(function()
- if equipfirst == false then
- equipfirst = true
- for i = 0, 1, 0.1 do
- swait()
- fenframe5.BackgroundTransparency = lerp(0.5, 1, i)
- tellbar.TextTransparency = lerp(0, 1, i)
- tellbar.TextStrokeTransparency = lerp(0, 1, i)
- end
- fenframe5.BackgroundTransparency = 1
- tellbar.TextTransparency = 1
- tellbar.TextStrokeTransparency = 1
- fenframe5.Parent = nil
- end
- end)
- if WEnabled then
- UnequipDebuff1 = Stats.Defense:AddBuff(0.4, nil, nil, true)
- UnequipDebuff2:Destroy()
- local sp = Stats.Speed:AddBuff(0.4, nil, nil, true)
- do
- for i = 0, 1, 0.1 do
- swait()
- N.C0 = clerp(N.C0, DN0, 0.4)
- RS.C0 = clerp(RS.C0, DRS0, 0.4)
- LS.C0 = clerp(LS.C0, DLS0, 0.4)
- RJ.C0 = clerp(RJ.C0, DRJ0, 0.4)
- N.C1 = clerp(N.C1, DN1, 0.4)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-1, 0, -1.3), 0.4)
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-1.1, 0, 2), 0.4)
- RJ.C1 = clerp(RJ.C1, DRJ1, 0.4)
- end
- local s1 = sounds:get("equip", false, 1.5, 0.6, Character.Torso)
- s1:Play()
- s1.Ended:connect(function()
- s1:Destroy()
- end)
- for i = 0, 1, 0.2 do
- swait()
- for _,v in ipairs(Blade:GetChildren()) do
- v.Transparency = lerp(0.3, 1, i)
- end
- for _,v in ipairs(Blade2:GetChildren()) do
- v.Transparency = lerp(0.3, 1, i)
- end
- end
- for _,v in ipairs(Blade:GetChildren()) do
- v.Transparency = lerp(0.3, 1, 1)
- end
- for _,v in ipairs(Blade2:GetChildren()) do
- v.Transparency = lerp(0.3, 1, 1)
- end
- WEnabled = false
- for i = 0, 1, 0.1 do
- swait()
- N.C0 = clerp(N.C0, DN0, 0.4)
- RS.C0 = clerp(RS.C0, DRS0, 0.4)
- LS.C0 = clerp(LS.C0, DLS0, 0.4)
- RH.C0 = clerp(RH.C0, DRH0, 0.4)
- LH.C0 = clerp(LH.C0, DLH0, 0.4)
- RJ.C0 = clerp(RJ.C0, DRJ0, 0.4)
- N.C1 = clerp(N.C1, DN1, 0.4)
- RS.C1 = clerp(RS.C1, DRS1, 0.4)
- LS.C1 = clerp(LS.C1, DLS1, 0.4)
- RH.C1 = clerp(RH.C1, DRH1, 0.4)
- LH.C1 = clerp(LH.C1, DLH1, 0.4)
- RJ.C1 = clerp(RJ.C1, DRJ1, 0.4)
- end
- N.C0 = clerp(N.C0, DN0, 1)
- RS.C0 = clerp(RS.C0, DRS0, 1)
- LS.C0 = clerp(LS.C0, DLS0, 1)
- RH.C0 = clerp(RH.C0, DRH0, 1)
- LH.C0 = clerp(LH.C0, DLH0, 1)
- RJ.C0 = clerp(RJ.C0, DRJ0, 1)
- N.C1 = clerp(N.C1, DN1, 1)
- RS.C1 = clerp(RS.C1, DRS1, 1)
- LS.C1 = clerp(LS.C1, DLS1, 1)
- RH.C1 = clerp(RH.C1, DRH1, 1)
- LH.C1 = clerp(LH.C1, DLH1, 1)
- RJ.C1 = clerp(RJ.C1, DRJ1, 1)
- sp:Destroy()
- Character:WaitForChild("Animate").Disabled = false
- EmptyAnimTrack:Stop()
- end
- else
- do
- WEnabled = true
- local sp = Stats.Speed:AddBuff(0.4, nil, nil, true)
- Character:WaitForChild("Animate").Disabled = true
- EmptyAnimTrack:Play()
- for i = 0, 1, 0.1 do
- swait()
- N.C0 = clerp(N.C0, DN0, 0.4)
- RS.C0 = clerp(RS.C0, DRS0, 0.4)
- LS.C0 = clerp(LS.C0, DLS0, 0.4)
- RH.C0 = clerp(RH.C0, DRH0, 0.4)
- LH.C0 = clerp(LH.C0, DLH0, 0.4)
- RJ.C0 = clerp(RJ.C0, DRJ0, 0.4)
- N.C1 = clerp(N.C1, DN1, 0.4)
- RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-1, 0, -1.3), 0.4)
- LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.4, 0.3) * CFrame.Angles(-1.1, 0, 2), 0.4)
- RH.C1 = clerp(RH.C1, DRH1, 0.4)
- LH.C1 = clerp(LH.C1, DLH1, 0.4)
- RJ.C1 = clerp(RJ.C1, DRJ1, 0.4)
- end
- do
- local s1 = sounds:get("equip", false, 1.5, 0.6, Character.Torso)
- s1:Play()
- s1.Ended:connect(function()
- s1:Destroy()
- end)
- for i = 0, 1, 0.2 do
- swait()
- for _,v in ipairs(Blade:GetChildren()) do
- v.Transparency = lerp(1, 0.3, i)
- end
- for _,v in ipairs(Blade2:GetChildren()) do
- v.Transparency = lerp(1, 0.3, i)
- end
- end
- for _,v in ipairs(Blade:GetChildren()) do
- v.Transparency = lerp(1, 0.3, 1)
- end
- for _,v in ipairs(Blade2:GetChildren()) do
- v.Transparency = lerp(1, 0.3, 1)
- end
- UnequipDebuff1:Destroy()
- UnequipDebuff2 = Stats.Speed:AddBuff(0.1, nil, nil, true)
- sp:Destroy()
- deb = false
- if DEBUG then
- if key == "h" then
- Stagger.Value = true
- end
- if key == "j" then
- StaggerHit.Value = true
- end
- if key == "k" then
- Stun.Value = StunT.Value
- end
- end
- end
- end
- end
- end
- end)
- Mouse.KeyDown:connect(function(key)
- if Humanoid.Health == 0 then
- return
- end
- if not equipped then
- return
- end
- if deb and key ~= "c" then
- return
- end
- if not WEnabled then
- return
- end
- for i,v in pairs(Skills) do
- if key == v.Key then
- v:Activate()
- end
- end
- end)
- Mouse.KeyUp:connect(function(key)
- if Humanoid.Health == 0 then
- return
- end
- if not equipped then
- return
- end
- if not WEnabled then
- return
- end
- for i,v in pairs(Skills) do
- if key == v.Key and v.Deactivate then
- v:Deactivate()
- end
- end
- end)
- Mouse.Button1Down:connect(function()
- if Humanoid.Health == 0 then
- return
- end
- if not equipped then
- return
- end
- if not WEnabled then
- return
- end
- for i,v in pairs(Skills) do
- if key == v.Key and v.Deactivate then
- v:Deactivate()
- end
- end
- end)
- Mouse.Button1Down:connect(function()
- if Humanoid.Health == 0 then
- return
- end
- if Skills.C.isActive then
- Skills.C:TriggerClick()
- return
- end
- if deb or not equipped then
- return
- end
- if not WEnabled then
- return
- end
- if Skills.M1 then
- Skills.M1:Activate()
- end
- end)
- Bin.Selected:connect(function()
- equipped = true
- end)
- Bin.Deselected:connect(function()
- equipped = false
- end)
- Humanoid.Died:connect(function()
- deb = true
- Handle.Name = "Handle"
- Handle2.Name = "Handle"
- WeldObjects(WModel)
- WeldObjects(WModel2)
- WeldObjects(Blade, Handle)
- WeldObjects(Blade2, Handle2)
- Grip:Destroy()
- Grip2:Destroy()
- Handle.CanCollide = true
- WModel.Parent = wef
- WModel2.Parent = wef
- end)
- fenbarmove1.MouseButton1Click:connect(function()
- if Humanoid.Health == 0 then
- return
- end
- if deb then
- return
- end
- Skills.Z:Activate()
- end)
- fenbarmove2.MouseButton1Click:connect(function()
- if Humanoid.Health == 0 then
- return
- end
- if deb then
- return
- end
- Skills.X:Activate()
- end)
- fenbarmove3.MouseButton1Click:connect(function()
- if Humanoid.Health == 0 then
- return
- end
- if deb then
- return
- end
- Skills.C:Activate()
- end)
- fenbarmove4.MouseButton1Click:connect(function()
- if Humanoid.Health == 0 then
- return
- end
- if deb then
- return
- end
- Skills.V:Activate()
- end)
- for i = 0, 1, 0.1 do
- swait()
- fenframe5.BackgroundTransparency = lerp(1, 0.5, i)
- tellbar.TextTransparency = lerp(1, 0, i)
- tellbar.TextStrokeTransparency = lerp(1, 0, i)
- end
- fenframe5.BackgroundTransparency = 0.5
- tellbar.TextTransparency = 0
- tellbar.TextStrokeTransparency = 0
- print("Synth has loaded")
- print("isjugg: " .. tostring(isjugg))
Add Comment
Please, Sign In to add comment