Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(0.1)
- Bin = script.Parent
- Backpack = Bin.Parent
- Me = Backpack.Parent
- Humanoid = Character.Humanoid
- Torso = Character.Torso
- Head = Character.Head
- LeftArm = Character["Left Arm"]
- RightArm = Character["Right Arm"]
- LeftLeg = Character["Left Leg"]
- RightLeg = Character["Right Leg"]
- Neck = Torso["Neck"]
- RightShoulder = Torso["Right Shoulder"]
- LeftShoulder = Torso["Left Shoulder"]
- RightHip = Torso["Right Hip"]
- LeftHip = Torso["Left Hip"]
- Gyro = Instance.new("BodyGyro")
- Gyro.Parent = Torso
- Gyro.D = 50
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- Velocity = Instance.new("BodyVelocity")
- Velocity.Parent = Torso
- Velocity.maxForce = Vector3.new(0, 0, 0)
- Position = Instance.new("BodyPosition")
- Position.Parent = Torso
- Position.maxForce = Vector3.new(0, 0, 0)
- Char = Instance.new("StringValue")
- Char.Parent = Backpack
- Char.Name = "Char"
- Char.Value = Bin.Name
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- Blast = Instance.new("Part")
- Blast.Locked = true
- Blast.Name = "Blast"
- Blast.Shape = "Ball"
- Blast.TopSurface = "Smooth"
- Blast.BottomSurface = "Smooth"
- Blast.formFactor = "Symmetric"
- Blast.Size = Vector3.new(2, 2, 2)
- Blast.Transparency = 0.2
- Blast.BrickColor = BrickColor.new("Bright yellow")
- BlastGyro = Instance.new("BodyGyro")
- BlastGyro.Parent = Blast
- BlastGyro.D = 50
- BlastGyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- BlastVelocity = Instance.new("BodyVelocity")
- BlastVelocity.Parent = Blast
- BlastVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- Owner = Instance.new("ObjectValue")
- Owner.Parent = Blast
- Owner.Name = "Owner"
- Owner.Value = Me
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- BigShuriken = Instance.new("Part")
- BigShuriken.Locked = true
- BigShuriken.CanCollide = false
- BigShuriken.Name = "BigShuriken"
- BigShuriken.TopSurface = "Smooth"
- BigShuriken.BottomSurface = "Smooth"
- BigShuriken.formFactor = "Symmetric"
- BigShuriken.Transparency = 0.2
- BigShuriken.Size = Vector3.new(9, 9, 9)
- BigShuriken.BrickColor = BrickColor.new(23)
- BigShurikenMesh = Instance.new("SpecialMesh")
- BigShurikenMesh.Parent = BigShuriken
- BigShurikenMesh.MeshType = "Sphere"
- BigShurikenMesh.Scale = Vector3.new(1, 1, 1)
- BigShurikenGyro = Instance.new("BodyGyro")
- BigShurikenGyro.Parent = BigShuriken
- BigShurikenGyro.D = 50
- BigShurikenGyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- BigShurikenVelocity = Instance.new("BodyVelocity")
- BigShurikenVelocity.Parent = BigShuriken
- BigShurikenVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- Owner = Instance.new("ObjectValue")
- Owner.Parent = BigShuriken
- Owner.Name = "Owner"
- Owner.Value = Me
- BigShuriken1 = Instance.new("Part")
- BigShuriken1.Locked = true
- BigShuriken1.CanCollide = false
- BigShuriken1.Name = "BigShuriken"
- BigShuriken1.TopSurface = "Smooth"
- BigShuriken1.BottomSurface = "Smooth"
- BigShuriken1.formFactor = "Symmetric"
- BigShuriken1.Transparency = 0.15
- BigShuriken1.Size = Vector3.new(9, 9, 9)
- BigShuriken1.BrickColor = BrickColor.new(23)
- BigShurikenMesh = Instance.new("SpecialMesh")
- BigShurikenMesh.Parent = BigShuriken1
- BigShurikenMesh.MeshType = "Sphere"
- BigShurikenMesh.Scale = Vector3.new(1, 1, 1)
- BigShurikenGyro = Instance.new("BodyGyro")
- BigShurikenGyro.Parent = BigShuriken1
- BigShurikenGyro.D = 50
- BigShurikenGyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- BigShurikenVelocity = Instance.new("BodyVelocity")
- BigShurikenVelocity.Parent = BigShuriken1
- BigShurikenVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- Owner = Instance.new("ObjectValue")
- Owner.Parent = BigShuriken1
- Owner.Name = "Owner"
- Owner.Value = Me
- SpecialMode = false
- SpecialModeTypes = {"SuperSaiyan","SuperSaiyan2"}
- SpecialModeTypesMinimum = {500,400}
- CurrentSpecialModeType = ""
- ----------------------------------------[[ Character Appearance ]]----------------------------------------
- for i, v in pairs(Torso:GetChildren()) do
- if v.className == "Sparkles" or v.className == "Fire" then
- v:Remove()
- end
- end
- HandChakra1 = Instance.new("Part")
- HandChakra1.Parent = Character
- HandChakra1.Locked = true
- HandChakra1.Name = "Wristband"
- HandChakra1.TopSurface = "Smooth"
- HandChakra1.BottomSurface = "Smooth"
- HandChakra1.formFactor = "Symmetric"
- HandChakra1.Size = Vector3.new(1, 1, 1)
- HandChakra1.CanCollide = false
- HandChakra1.BrickColor = BrickColor.new("Really black")
- HandChakra1.CFrame = Torso.CFrame
- HandMesh = Instance.new("SpecialMesh")
- HandMesh.MeshType = "Brick"
- HandMesh.Scale = Vector3.new(0.22, 0.22, -1.90)
- HandMesh.Parent = HandChakra1
- HandWeld = Instance.new("Weld")
- HandWeld.Parent = LeftArm
- HandWeld.Part0 = LeftArm
- HandWeld.Part1 = HandChakra1
- HandWeld.C0 = CFrame.new(0, -1, -0.15)
- HandChakra1 = Instance.new("Part")
- HandChakra1.Parent = Character
- HandChakra1.Locked = true
- HandChakra1.Name = "Wristband"
- HandChakra1.TopSurface = "Smooth"
- HandChakra1.BottomSurface = "Smooth"
- HandChakra1.formFactor = "Symmetric"
- HandChakra1.Size = Vector3.new(1, 1, 1)
- HandChakra1.CanCollide = false
- HandChakra1.BrickColor = BrickColor.new("Medium stone grey")
- HandChakra1.CFrame = Torso.CFrame
- HandMesh = Instance.new("SpecialMesh")
- HandMesh.MeshType = "Brick"
- HandMesh.Scale = Vector3.new(2, 0.2, 0.2)
- HandMesh.Parent = HandChakra1
- HandWeld = Instance.new("Weld")
- HandWeld.Parent = LeftArm
- HandWeld.Part0 = LeftArm
- HandWeld.Part1 = HandChakra1
- HandWeld.C0 = CFrame.new(0, -1, -0.19)
- HandChakra1 = Instance.new("Part")
- HandChakra1.Parent = Character
- HandChakra1.Locked = true
- HandChakra1.Name = "Wristband"
- HandChakra1.TopSurface = "Smooth"
- HandChakra1.BottomSurface = "Smooth"
- HandChakra1.formFactor = "Symmetric"
- HandChakra1.Size = Vector3.new(1, 1, 1)
- HandChakra1.CanCollide = false
- HandChakra1.BrickColor = BrickColor.new(1)
- HandChakra1.CFrame = Torso.CFrame
- HandMesh = Instance.new("SpecialMesh")
- HandMesh.MeshType = "Brick"
- HandMesh.Scale = Vector3.new(1, 0.45, 1.6)
- HandMesh.Parent = HandChakra1
- HandWeld = Instance.new("Weld")
- HandWeld.Parent = LeftArm
- HandWeld.Part0 = LeftArm
- HandWeld.Part1 = HandChakra1
- HandWeld.C0 = CFrame.new(0, -1, -1.9)
- HandChakra1 = Instance.new("Part")
- HandChakra1.Parent = Character
- HandChakra1.Locked = true
- HandChakra1.Name = "Wristband"
- HandChakra1.TopSurface = "Smooth"
- HandChakra1.BottomSurface = "Smooth"
- HandChakra1.formFactor = "Symmetric"
- HandChakra1.Size = Vector3.new(1, 1, 1)
- HandChakra1.CanCollide = false
- HandChakra1.BrickColor = BrickColor.new(1)
- HandChakra1.CFrame = Torso.CFrame
- HandMesh = Instance.new("SpecialMesh")
- HandMesh.MeshType = "Brick"
- HandMesh.Scale = Vector3.new(1, 0.6, 1.6)
- HandMesh.Parent = HandChakra1
- HandWeld = Instance.new("Weld")
- HandWeld.Parent = LeftArm
- HandWeld.Part0 = LeftArm
- HandWeld.Part1 = HandChakra1
- HandWeld.C0 = CFrame.new(0, -1, -1)
- Hair = Instance.new("Part")
- Hair.Parent = Character
- Hair.Name = "Hair"
- Hair.Transparency = 0
- Hair.CanCollide = false
- Hair.Locked = true
- Hair.TopSurface = "Smooth"
- Hair.BottomSurface = "Smooth"
- Hair.formFactor = "Symmetric"
- Hair.BrickColor = BrickColor.new("Light reddish violet")
- Hair.CFrame = Torso.CFrame
- Hair.Size = Vector3.new(1, 1, 1)
- Weld = Instance.new("Weld")
- Weld.Parent = Head
- Weld.Part0 = Head
- Weld.Part1 = Hair
- Weld.C0 = CFrame.new(0, 0.26, 0.06)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = Hair
- Mesh.Scale = Vector3.new(1.1, 1.6, 1.25)
- Mesh.MeshType = "FileMesh"
- Mesh.MeshId = "http://www.roblox.com/asset/?id=23725781"
- Mesh.TextureId = ""
- Hair1 = Instance.new("Part")
- Hair1.Parent = Character
- Hair1.Name = "Hair1"
- Hair1.Transparency = 1
- Hair1.CanCollide = false
- Hair1.Locked = true
- Hair1.TopSurface = "Smooth"
- Hair1.BottomSurface = "Smooth"
- Hair1.formFactor = "Symmetric"
- Hair1.BrickColor = BrickColor.new("New Yeller")
- Hair1.CFrame = Torso.CFrame
- Hair1.Size = Vector3.new(1, 1, 1)
- Weld = Instance.new("Weld")
- Weld.Parent = Head
- Weld.Part0 = Head
- Weld.Part1 = Hair1
- Weld.C0 = CFrame.new(0, 0.9, 0)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = Hair1
- Mesh.Scale = Vector3.new(1.1, 1.6, 1.25)
- Mesh.MeshType = "FileMesh"
- Mesh.MeshId = "http://www.roblox.com/asset/?id=12212520"
- Mesh.TextureId = ""
- Hair2 = Instance.new("Part")
- Hair2.Parent = Character
- Hair2.Name = "Hair2"
- Hair2.Transparency = 1
- Hair2.CanCollide = false
- Hair2.Locked = true
- Hair2.TopSurface = "Smooth"
- Hair2.BottomSurface = "Smooth"
- Hair2.formFactor = "Symmetric"
- Hair2.BrickColor = BrickColor.new("Bright yellow")
- Hair2.CFrame = Torso.CFrame
- Hair2.Size = Vector3.new(1, 1, 1)
- Weld = Instance.new("Weld")
- Weld.Parent = Head
- Weld.Part0 = Head
- Weld.Part1 = Hair2
- Weld.C0 = CFrame.new(0, 1, 0)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = Hair2
- Mesh.Scale = Vector3.new(1.15, 1.8, 1.26)
- Mesh.MeshType = "FileMesh"
- Mesh.MeshId = "http://www.roblox.com/asset/?id=12212520"
- Mesh.TextureId = ""
- Hair3 = Instance.new("Part")
- Hair3.Parent = Character
- Hair3.Name = "Hair3"
- Hair3.formFactor = "Symmetric"
- Hair3.Size = Vector3.new(1, 1, 1)
- Hair3.CFrame = Head.CFrame
- Hair3.CanCollide = false
- Hair3.TopSurface = "Smooth"
- Hair3.BottomSurface = "Smooth"
- Hair3.BrickColor = BrickColor.new("Light reddish violet")
- Weld = Instance.new("Weld")
- Weld.Part0 = Head
- Weld.Part1 = Hair3
- Weld.Parent = Head
- Weld.C0 = CFrame.new(0, 0.26, 0.06)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = Hair3
- Mesh.MeshType = "Sphere"
- Mesh.Scale = Vector3.new(1.3, 1.3, 1.3)
- Shirt = Instance.new("Shirt")
- Shirt.Parent = Character
- Shirt.Name = "CharacterShirt"
- Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=45425741"
- Pants = Instance.new("Pants")
- Pants.Parent = Character
- Pants.Name = "CharacterPants"
- Pants.PantsTemplate = "http://www.roblox.com/asset/?id=45425755"
- ChakraSparkles = game.Lighting.Fire12:clone()
- ChakraSparkles.Parent = Torso
- ChakraSparkles.Enabled = false
- RunSparkles = Instance.new("Sparkles")
- RunSparkles.Parent = Torso
- RunSparkles.SparkleColor = Color3.new(1, 1, 0)
- RunSparkles.Enabled = false
- NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LeftHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- xHealth = Bin.Health
- xWalkSpeed = Bin.WalkSpeed
- Chakra = PlayerGui.Bars.Chakra
- MaxChakra = PlayerGui.Bars.MaxChakra
- wait(0.1)
- Health = Character:findFirstChild("Health")
- if Health ~= nil and Health.className == "Script" then
- Health:Remove()
- end
- Humanoid.WalkSpeed = xWalkSpeed.Value
- Humanoid.MaxHealth = xHealth.Value
- Humanoid:TakeDamage(1)
- wait(0.1)
- Humanoid.Health = Humanoid.MaxHealth
- ----------------------------------------[[ Flying ]]-------------------------------------------
- ----------------------------------------[[ Functions ]]----------------------------------------
- RestoringChakra = false
- Running = false
- Activated = false
- Melee = false
- Teleport = false
- Flying = false
- Damage = 6
- function CreateTag(Attacker, VictimHumanoid)
- for i, v in pairs(VictimHumanoid:GetChildren()) do
- if v.Name == "creator" then
- v:Remove()
- end
- end
- Tag = Instance.new("ObjectValue")
- Tag.Parent = VictimHumanoid
- Tag.Name = "creator"
- Tag.Value = Attacker
- end
- function ChakraWelds()
- TiltX = 0
- TiltY = 0
- TiltZ = 1
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ)
- TiltX = -0.4
- TiltY = 0
- TiltZ = 0
- MoveX = 0
- MoveY = 0
- MoveZ = -0.05
- RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
- TiltX = -0.1
- TiltY = 0
- TiltZ = 0
- MoveX = 0
- MoveY = 0.1
- MoveZ = 0
- RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
- end
- function ChakraWelds2()
- TiltX = 0
- TiltY = 0
- TiltZ = 1.57
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ)
- TiltX = 0.6
- TiltY = 0
- TiltZ = 0
- MoveX = 0
- MoveY = 0
- MoveZ = -0.3
- RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
- TiltX = -0.05
- TiltY = 0
- TiltZ = 0
- MoveX = 0
- MoveY = 0.1
- MoveZ = 0
- RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
- end
- function RefreshWelds()
- Neck.C0 = NeckC0
- Neck.C1 = NeckC1
- RightShoulder.C0 = RightShoulderC0
- RightShoulder.C1 = RightShoulderC1
- LeftShoulder.C0 = LeftShoulderC0
- LeftShoulder.C1 = LeftShoulderC1
- RightHip.C0 = RightHipC0
- RightHip.C1 = RightHipC1
- LeftHip.C0 = LeftHipC0
- LeftHip.C1 = LeftHipC1
- end
- ----------------------------------------[[ Keys ]]----------------------------------------
- function onKeyDown(Key)
- if RestoringChakra then
- RefreshWelds()
- Humanoid.WalkSpeed = xWalkSpeed.Value
- ChakraSparkles.Enabled = false
- print("Restoring Chakra - False")
- end
- RestoringChakra = false
- if not Activated and not Melee and script.disabled.Value == false then
- Activated = true
- Key:lower()
- if Key == "0" then
- print("Restoring Chakra - True")
- Humanoid.WalkSpeed = 0
- RestoringChakra = true
- end
- -----------------------------------------------------------------------------------------
- if Key == "x" and not WallRunning then
- if Humanoid.Jump == false then
- Humanoid.PlatformStand = true
- Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- Gyro.cframe = Torso.CFrame
- Torso.Velocity = Torso.CFrame.lookVector * 150 + Vector3.new(0, 120, 0)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, 0.5)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, -0.5)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.19)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -3.19)
- for i = 1 , 32 do
- Gyro.cframe = Gyro.cframe * CFrame.Angles(-0.39, 0, 0)
- wait()
- end
- RefreshWelds()
- Humanoid.PlatformStand = false
- Gyro.maxTorque = Vector3.new(math.huge, 0, math.huge)
- wait(0.5)
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- else
- Humanoid.PlatformStand = true
- Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- Gyro.cframe = Torso.CFrame
- Torso.Velocity = Torso.CFrame.lookVector * -150 + Vector3.new(0, 120, 0)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, -0.5)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, 0.5)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.19)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -3.19)
- for i = 1 , 32 do
- Gyro.cframe = Gyro.cframe * CFrame.Angles(0.39, 0, 0)
- wait()
- end
- RefreshWelds()
- Gyro.maxTorque = Vector3.new(math.huge, 0, math.huge)
- Humanoid.PlatformStand = false
- wait(0.5)
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- end
- end
- if Key == "z" and not WallRunning then
- if Humanoid.Jump == false then
- Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- Gyro.cframe = Torso.CFrame * CFrame.Angles(0, -0.15, 0)
- Turn = Torso.CFrame * CFrame.Angles(0, 1.57, 0)
- Velocity.maxForce = Vector3.new(math.huge, 0, math.huge)
- Velocity.velocity = Turn.lookVector * 80
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.57)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.57)
- SpinChance = math.random(1,2)
- if SpinChance == 1 then
- for i = 1 , 15 do
- Gyro.cframe = Gyro.cframe * CFrame.Angles(0, -0.41, 0)
- wait()
- end
- else
- RightHip.C0 = RightHipC0 * CFrame.Angles(-0.25, 0, 0)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0.25, 0, 0)
- for i = 1 , 15 do
- wait()
- end
- end
- RefreshWelds()
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- Velocity.maxForce = Vector3.new(0, 0, 0)
- else
- Humanoid.PlatformStand = true
- Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- Gyro.cframe = Torso.CFrame
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.14)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -3.14)
- Turn = Torso.CFrame * CFrame.Angles(0, 1.57, 0)
- Velocity.maxForce = Vector3.new(math.huge, 0, math.huge)
- Velocity.velocity = Turn.lookVector * 100 + Vector3.new(0, 100, 0)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0.2, 0, 0)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(-0.2, 0, 0)
- for i = 1 , 32 do
- Gyro.cframe = Gyro.cframe * CFrame.Angles(0, 0, 0.2)
- wait()
- end
- RefreshWelds()
- Humanoid.PlatformStand = false
- Gyro.maxTorque = Vector3.new(math.huge, 0, math.huge)
- wait(0.3)
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- Velocity.maxForce = Vector3.new(0, 0, 0)
- end
- end
- if Key == "c" and not WallRunning then
- if Humanoid.Jump == false then
- Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- Gyro.cframe = Torso.CFrame * CFrame.Angles(0, 0.15, 0)
- Turn = Torso.CFrame * CFrame.Angles(0, -1.57, 0)
- Velocity.maxForce = Vector3.new(math.huge, 0, math.huge)
- Velocity.velocity = Turn.lookVector * 80
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.57)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.57)
- SpinChance = math.random(1,2)
- if SpinChance == 1 then
- for i = 1 , 15 do
- Gyro.cframe = Gyro.cframe * CFrame.Angles(0, 0.41, 0)
- wait()
- end
- else
- RightHip.C0 = RightHipC0 * CFrame.Angles(0.25, 0, 0)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(-0.25, 0, 0)
- for i = 1 , 15 do
- wait()
- end
- end
- RefreshWelds()
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- Velocity.maxForce = Vector3.new(0, 0, 0)
- else
- Humanoid.PlatformStand = true
- Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- Gyro.cframe = Torso.CFrame
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.14)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -3.14)
- Turn = Torso.CFrame * CFrame.Angles(0, -1.57, 0)
- Velocity.maxForce = Vector3.new(math.huge, 0, math.huge)
- Velocity.velocity = Turn.lookVector * 100 + Vector3.new(0, 100, 0)
- RightHip.C0 = RightHipC0 * CFrame.Angles(-0.2, 0, 0)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0.2, 0, 0)
- for i = 1 , 32 do
- Gyro.cframe = Gyro.cframe * CFrame.Angles(0, 0, -0.2)
- wait()
- end
- RefreshWelds()
- Humanoid.PlatformStand = false
- Gyro.maxTorque = Vector3.new(math.huge, 0, math.huge)
- wait(0.3)
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- Velocity.maxForce = Vector3.new(0, 0, 0)
- end
- end
- ----------------------------------------[[ Teleportation ]]-------------------------------------------
- if Key == "u" and Teleport == false and Chakra.Value >= ((MaxChakra.Value/5)*2) then
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*2)
- ChakraWelds()
- Teleport = true
- wait(0.5)
- RefreshWelds()
- end
- if Key == "h" and Teleport == true and Chakra.Value >= ((MaxChakra.Value/5)*0.5) then
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*0.5)
- ChakraWelds()
- Teleport = false
- for i = 1, 10 do
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0, -9)
- end
- wait(0.5)
- RefreshWelds()
- end
- ----------------------------------------[[ Flying ]]-------------------------------------------
- if Key == "y" and Teleport == false and Flying == false and Chakra.Value >= ((MaxChakra.Value/5)*4) then
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*4)
- ChakraWelds()
- Flying = true
- wait(0.5)
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 250, 0)
- p = Instance.new("Part")
- p.Parent = Torso
- p.Anchored = true
- p.Transparency = 1
- RefreshWelds()
- p.CFrame = Torso.CFrame * CFrame.new(Vector3.new(0, -3, 0))
- stays = game.Lighting.PartFollow:Clone()
- stays.Parent = p
- wait(0.5)
- end
- if Key == "k" and Teleport == false and Flying == true and Chakra.Value >= ((MaxChakra.Value/5)*0.5) then
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*0.5)
- ChakraWelds()
- Flying = false
- p:Remove()
- RefreshWelds()
- wait(0.5)
- end
- ----------------------------------------[[ Melee ]]---------------------------------------
- if Key == "q" and Humanoid.Jump == false then
- Melee = true
- Chance = math.random(1, 2)
- if Chance == 1 then
- --LeftPunch
- for i = 1 , 6 do
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -0.15*i)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, -0.05*i, -0.28*i)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, 0.025*i)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, 0.025*i)
- wait()
- end
- wait(0.1)
- for i = 1 , 6 do
- RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0, 0, 0.15)
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, 0.28)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, -0.025*i)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, -0.025*i)
- wait()
- end
- elseif Chance == 2 then
- --RightPunch
- for i = 1 , 6 do
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0.05*i, 0.28*i)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 0.15*i)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, -0.025*i)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, -0.025*i)
- wait()
- end
- wait(0.1)
- for i = 1 , 6 do
- RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0, 0, -0.28)
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, -0.15)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, 0.025*i)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, 0.025*i)
- wait()
- end
- end
- RefreshWelds()
- Melee = false
- end
- if Key == "e" then
- Melee = true
- Chance = math.random(1, 2)
- if Humanoid.Jump == false then
- if Chance == 1 then
- --LeftKick
- for i = 1 , 6 do
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -0.15*i)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 0.15*i)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, -0.035*i)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, -0.31*i)
- wait()
- end
- wait(0.1)
- for i = 1 , 6 do
- RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0, 0, 0.15)
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, -0.15)
- RightHip.C0 = RightHip.C0 * CFrame.Angles(0, 0, 0.035)
- LeftHip.C0 = LeftHip.C0 * CFrame.Angles(0, 0, 0.31)
- wait()
- end
- elseif Chance == 2 then
- --RightKick
- for i = 1 , 6 do
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -0.15*i)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 0.15*i)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, 0.31*i)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, 0.035*i)
- wait()
- end
- wait(0.1)
- for i = 1 , 6 do
- RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0, 0, 0.15)
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, -0.15)
- RightHip.C0 = RightHip.C0 * CFrame.Angles(0, 0, -0.31)
- LeftHip.C0 = LeftHip.C0 * CFrame.Angles(0, 0, -0.035)
- wait()
- end
- end
- RefreshWelds()
- Melee = false
- else
- if Chance == 1 then
- Humanoid.PlatformStand = true
- Position.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- Position.position = Torso.Position - Vector3.new(0, 3.5, 0)
- Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- Gyro.cframe = CFrame.new(0, 0, 0)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, -1.5)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, -1.5)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.14)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -3.14)
- for i = 1 , math.random(20, 40) do
- Gyro.cframe = Gyro.cframe * CFrame.Angles(0, 0.8, 0)
- wait(0.05)
- end
- Humanoid.PlatformStand = false
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- Position.maxForce = Vector3.new(0, 0, 0)
- elseif Chance == 2 then
- Humanoid.PlatformStand = true
- Position.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- Position.position = Torso.Position - Vector3.new(0, 3.5, 0)
- Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- Gyro.cframe = CFrame.new(0, 0, 0)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, 1.5)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, 1.5)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.14)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -3.14)
- for i = 1 , math.random(20, 40) do
- Gyro.cframe = Gyro.cframe * CFrame.Angles(0, -0.8, 0)
- wait(0.05)
- end
- Humanoid.PlatformStand = false
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- Position.maxForce = Vector3.new(0, 0, 0)
- end
- RefreshWelds()
- Melee = false
- end
- end
- ----------------------------------------[[ Moves ]]----------------------------------------
- if Key == "r" and Chakra.Value >= ((MaxChakra.Value/5)*0.5) then
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*0.5)
- Chance = math.random(1, 2)
- if Chance == 1 then
- ShurikenClone = Blast:clone()
- ShurikenClone.Parent = Workspace
- ShurikenClone.CFrame = Torso.CFrame * CFrame.new(0.8, 0.8, -4)
- ShurikenClone.BodyGyro.cframe = Torso.CFrame
- ShurikenClone.BodyVelocity.velocity = Torso.CFrame.lookVector * math.random(80, 100)
- game.Lighting["ShurikenSpinner"]:clone().Parent = ShurikenClone.BodyGyro
- for i = 1 , 3 do
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0.1*i, 0.6*i)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 0.3*i)
- wait()
- end
- wait(0.3)
- for i = 1 , 3 do
- RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0, 0, -0.6)
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, -0.3)
- wait()
- end
- end
- if Chance == 2 then
- ShurikenClone = Blast:clone()
- ShurikenClone.Parent = Workspace
- ShurikenClone.CFrame = Torso.CFrame * CFrame.new(-0.8, 0.8, -4)
- ShurikenClone.BodyGyro.cframe = Torso.CFrame
- ShurikenClone.BodyVelocity.velocity = Torso.CFrame.lookVector * math.random(80, 100)
- game.Lighting["ShurikenSpinner"]:clone().Parent = ShurikenClone.BodyGyro
- for i = 1 , 3 do
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, -0.1*i, -0.6*i)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -0.3*i)
- wait()
- end
- wait(0.3)
- for i = 1 , 3 do
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, 0.6)
- RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0, 0, 0.3)
- wait()
- end
- end
- RefreshWelds()
- end
- if Key == "f" then
- if Chakra.Value >= ((MaxChakra.Value/5)*5) and not WallRunning then
- if CurrentSpecialModeType == "" or CurrentSpecialModeType == SpecialModeTypes[1] then
- Humanoid.WalkSpeed = 0
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*3)
- if CurrentSpecialModeType == "" then
- Chakra.Value = 200
- end
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.14)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -3.14)
- wait(1)
- Stuff = game.Lighting.SpiritEnergy:clone()
- Stuff.Parent = Torso
- Rasengan = Instance.new("Part")
- Rasengan.Parent = Character
- Rasengan.formFactor = "Symmetric"
- Rasengan.BrickColor = BrickColor.new(23)
- Rasengan.Transparency = 0.2
- Rasengan.Name = "Rasengan"
- Rasengan.Size = Vector3.new(1, 1, 1)
- Rasengan.TopSurface = "Smooth"
- Rasengan.BottomSurface = "Smooth"
- Rasengan.CFrame = Torso.CFrame
- RasenganWeld = Instance.new("Weld")
- RasenganWeld.Parent = Torso
- RasenganWeld.Part0 = Torso
- RasenganWeld.Part1 = Rasengan
- RasenganWeld.C0 = CFrame.new(0, 15.3, 0)
- if CurrentSpecialModeType ~= "" then
- RasenganWeld.C0 = CFrame.new(0, 15.5, 0)
- end
- RasenganMesh = Instance.new("SpecialMesh")
- RasenganMesh.Parent = Rasengan
- RasenganMesh.MeshType = "Sphere"
- RasenganMesh.Scale = Vector3.new(0, 0, 0)
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- for i = 1 , 10 do
- RasenganMesh.Scale = RasenganMesh.Scale + Vector3.new(1.5, 1.5, 1.5)
- if CurrentSpecialModeType ~= "" then
- RasenganMesh.Scale = RasenganMesh.Scale + Vector3.new(1.6, 1.6, 1.6)
- end
- wait(0.14)
- end
- wait(0.7)
- Rasengan:Remove()
- if CurrentSpecialModeType == "" then
- ShurikenClone = BigShuriken:clone()
- end
- if CurrentSpecialModeType ~= "" then
- ShurikenClone = BigShuriken1:clone()
- end
- ShurikenClone.Parent = Workspace
- ShurikenClone.CFrame = Torso.CFrame * CFrame.new(0, 1, -15.3)
- ShurikenClone.BodyGyro.cframe = Torso.CFrame
- ShurikenClone.BodyVelocity.velocity = Torso.CFrame.lookVector * math.random(145, 160)
- game.Lighting["SpiritBomb"]:clone().Parent = ShurikenClone
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.57)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.57)
- Stuff.Parent = ShurikenClone
- wait(1)
- RefreshWelds()
- Humanoid.WalkSpeed = xWalkSpeed.Value
- end
- if CurrentSpecialModeType == SpecialModeTypes[2] or CurrentSpecialModeType == SpecialModeTypes[3] then
- Humanoid.WalkSpeed = 0
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*4)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.14)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -3.14)
- wait(1)
- Stuff = game.Lighting.SpiritEnergy:clone()
- Stuff.Parent = Torso
- Rasengan = Instance.new("Part")
- Rasengan.Parent = Character
- Rasengan.formFactor = "Symmetric"
- Rasengan.BrickColor = BrickColor.new(23)
- Rasengan.Transparency = 0.2
- Rasengan.Name = "Rasengan"
- Rasengan.Size = Vector3.new(1, 1, 1)
- Rasengan.TopSurface = "Smooth"
- Rasengan.BottomSurface = "Smooth"
- Rasengan.CFrame = Torso.CFrame
- RasenganWeld = Instance.new("Weld")
- RasenganWeld.Parent = Torso
- RasenganWeld.Part0 = Torso
- RasenganWeld.Part1 = Rasengan
- RasenganWeld.C0 = CFrame.new(0, 15.5, 0)
- if CurrentSpecialModeType ~= SpecialModeTypes[2] then
- RasenganWeld.C0 = CFrame.new(0, 25, 0)
- end
- RasenganMesh = Instance.new("SpecialMesh")
- RasenganMesh.Parent = Rasengan
- RasenganMesh.MeshType = "Sphere"
- RasenganMesh.Scale = Vector3.new(0, 0, 0)
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- for i = 1 , 10 do
- RasenganMesh.Scale = RasenganMesh.Scale + Vector3.new(1.8, 1.8, 1.8)
- if CurrentSpecialModeType ~= SpecialModeTypes[2] then
- RasenganMesh.Scale = RasenganMesh.Scale + Vector3.new(2.5, 2.5, 2.5)
- end
- wait(0.14)
- end
- wait(0.7)
- Rasengan:Remove()
- if CurrentSpecialModeType == SpecialModeTypes[2] then
- ShurikenClone = BigShuriken2:clone()
- end
- if CurrentSpecialModeType == SpecialModeTypes[3] then
- ShurikenClone = BigShuriken3:clone()
- end
- ShurikenClone.Parent = Workspace
- ShurikenClone.CFrame = Torso.CFrame * CFrame.new(0, 1, -15.3)
- if CurrentSpecialModeType ~= SpecialModeTypes[2] then
- ShurikenClone.CFrame = Torso.CFrame * CFrame.new(0, 1, -16.25)
- end
- ShurikenClone.BodyGyro.cframe = Torso.CFrame
- ShurikenClone.BodyVelocity.velocity = Torso.CFrame.lookVector * math.random(145, 160)
- if CurrentSpecialModeType == SpecialModeTypes[2] then
- game.Lighting["SpiritBomb2"]:clone().Parent = ShurikenClone
- end
- if CurrentSpecialModeType == SpecialModeTypes[3] then
- game.Lighting["SuperSpiritBomb"]:clone().Parent = ShurikenClone
- end
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.57)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.57)
- Stuff.Parent = ShurikenClone
- wait(1.3)
- RefreshWelds()
- Humanoid.WalkSpeed = xWalkSpeed.Value
- end
- end
- end
- if Key == "v" then
- if Chakra.Value >= ((MaxChakra.Value/5)*2.5) and Humanoid.Jump == false and not WallRunning then
- Humanoid.WalkSpeed = 0
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*2.5)
- ChakraWelds()
- wait(2)
- Chidori = Instance.new("Part")
- Chidori.Parent = Character
- Chidori.formFactor = "Symmetric"
- Chidori.BrickColor = BrickColor.new(1)
- Chidori.Transparency = 1
- Chidori.Name = "Chidori"
- Chidori.Reflectance = 0.1
- Chidori.Size = Vector3.new(2, 2, 2)
- Chidori.TopSurface = "Smooth"
- Chidori.BottomSurface = "Smooth"
- Chidori.CFrame = Torso.CFrame
- ChidoriWeld = Instance.new("Weld")
- ChidoriWeld.Parent = LeftArm
- ChidoriWeld.Part0 = LeftArm
- ChidoriWeld.Part1 = Chidori
- ChidoriWeld.C0 = CFrame.new(0, -1, -1)
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- Humanoid.WalkSpeed = xWalkSpeed.Value * 3
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 0)
- Owner = Instance.new("ObjectValue")
- Owner.Parent = Chidori
- Owner.Name = "Owner"
- Owner.Value = Me
- if CurrentSpecialModeType == "" then
- game.Lighting.ChidoriScript:clone().Parent = Chidori
- else
- if CurrentSpecialModeType == SpecialModeTypes[1] then
- game.Lighting.ChidoriScript:clone().Parent = Chidori
- end
- end
- wait(5)
- RefreshWelds()
- Humanoid.WalkSpeed = xWalkSpeed.Value
- end
- end
- if Key == "t" and Humanoid.Jump == false and Chakra.Value >= ((MaxChakra.Value/5)*3) then
- SavedHealth = Humanoid.Health
- ChakraWelds()
- Humanoid.PlatformStand = true
- Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- Gyro.cframe = Torso.CFrame
- LawlGyro = Gyro.cframe
- Position.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- Position.position = Torso.Position
- p = Instance.new("Part")
- p.Parent = Character
- p.CanCollide = false
- p.formFactor = "Symmetric"
- p.Size = Vector3.new(30, 1, 30)
- p.Anchored = true
- p.Transparency = 1
- p.TopSurface = "Smooth"
- p.BottomSurface = "Smooth"
- p.CFrame = CFrame.new(Torso.Position-Vector3.new(0, 3, 0))
- LastNumberDistance = 15
- LastTorso = ""
- LastHumanoid = ""
- wait(0.3)
- game.Lighting.DragonFist:clone().Parent = RightArm
- game.Lighting.DragonFist:clone().Parent = LeftArm
- for i, v in pairs(workspace:GetChildren()) do
- if v.Name ~= Me.Name then
- if game.Players:GetPlayerFromCharacter(v) ~= nil then
- aTorso = v:findFirstChild("Torso")
- aHumanoid = v:findFirstChild("Humanoid")
- if aTorso ~= nil and aHumanoid ~= nil then
- if (Torso.Position-aTorso.Position).magnitude <= LastNumberDistance and aHumanoid.Health > 0 then
- LastNumberDistance = (Torso.Position-aTorso.Position).magnitude
- LastTorso = aTorso
- LastHumanoid = aHumanoid
- end
- end
- end
- end
- end
- LastPunched = "Left"
- if LastTorso ~= "" then
- Gyro.cframe = CFrame.new(Torso.Position, LastTorso.Position)
- for i = 1 , 70 do
- if LastTorso ~= nil and LastHumanoid ~= nil then
- Humanoid.Health = SavedHealth
- if i < 60 then
- LastTorso.CFrame = Torso.CFrame * CFrame.new(0, 0, -1.2) * CFrame.Angles(0, 3.14, 0)
- end
- if i >= 69 then
- LastTorso.Velocity = Torso.CFrame.lookVector * 300
- --[[ exp = Instance.new("Explosion")
- exp.Parent = workspace
- exp.BlastPressure = 0
- exp.Position = LastTorso.Position ]]
- end
- LastHumanoid:TakeDamage(3)
- CreateTag(Me, LastHumanoid)
- LastHumanoid.Sit = true
- if LastPunched == "Left" then
- LastPunched = "Right"
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, -0.05*6, 0.28*6)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 0.15*6)
- Gyro.cframe = LawlGyro * CFrame.Angles(0, 0.05, 0)
- else
- LastPunched = "Left"
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, -0.05*6, -0.28*6)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -0.15*6)
- Gyro.cframe = LawlGyro * CFrame.Angles(0, -0.05, 0)
- end
- end
- wait()
- end
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*3)
- end
- wait(0.3)
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- Position.maxForce = Vector3.new(0, 0, 0)
- p:Remove()
- Humanoid.PlatformStand = false
- RefreshWelds()
- end
- ----------------------------------------[[ Transformations ]]----------------------------------------
- if Key == "b" then
- if CurrentSpecialModeType == "" then
- ChosenSpecialModeType = 1
- if Humanoid.Health <= SpecialModeTypesMinimum[ChosenSpecialModeType] then
- if Chakra.Value >= MaxChakra.Value then
- CurrentSpecialModeType = SpecialModeTypes[ChosenSpecialModeType]
- Chakra.Value = MaxChakra.Value
- xWalkSpeed.Value = 27
- Damage = 9
- Humanoid.WalkSpeed = 0
- ChakraWelds()
- p = Instance.new("Part")
- p.Parent = Character
- p.Anchored = true
- p.CanCollide = false
- p.Transparency = 0.5
- p.formFactor = "Symmetric"
- p.Size = Vector3.new(1, 1, 1)
- p.TopSurface = "Smooth"
- p.BottomSurface = "Smooth"
- p.Name = "Sharingan"
- p.Shape = "Ball"
- p.CFrame = Torso.CFrame
- p.BrickColor = BrickColor.new("New Yeller")
- ChakraSparkles.Color = Color3.new(1, 1, 0)
- ChakraSparkles.SecondaryColor = Color3.new(1, 1, 0)
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- Hair.Transparency = 1
- Hair1.Transparency = 0
- Hair2.Transparency = 1
- Hair3.BrickColor = BrickColor.new("New Yeller")
- for i = 1 , 10 do
- wait(0.07)
- p.Size = p.Size + Vector3.new(1, 1, 1)
- p.Transparency = p.Transparency + 0.05
- p.CFrame = Torso.CFrame
- end
- p:Remove()
- RefreshWelds()
- Humanoid.WalkSpeed = xWalkSpeed.Value
- end
- end
- end
- end
- if Key == "n" then
- if CurrentSpecialModeType == "" or CurrentSpecialModeType == SpecialModeTypes[1] then
- ChosenSpecialModeType = 2
- if Humanoid.Health <= SpecialModeTypesMinimum[ChosenSpecialModeType] then
- if Chakra.Value >= MaxChakra.Value then
- CurrentSpecialModeType = SpecialModeTypes[ChosenSpecialModeType]
- Chakra.Value = MaxChakra.Value
- xWalkSpeed.Value = 30
- Damage = 11
- Humanoid.WalkSpeed = 0
- ChakraWelds()
- p = Instance.new("Part")
- p.Parent = Character
- p.Anchored = true
- p.CanCollide = false
- p.Transparency = 0.1
- p.formFactor = "Symmetric"
- p.Size = Vector3.new(1, 1, 1)
- p.TopSurface = "Smooth"
- p.BottomSurface = "Smooth"
- p.Name = "Sharingan"
- p.Shape = "Ball"
- p.CFrame = Torso.CFrame
- p.BrickColor = BrickColor.new("Bright yellow")
- ChakraSparkles.Color = Color3.new(0, 0, 1)
- ChakraSparkles.SecondaryColor = Color3.new(0, 0, 1)
- game.Lighting.Fire1:clone().Parent = Torso
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- Hair.Transparency = 1
- Hair1.Transparency = 1
- Hair2.Transparency = 0
- Hair3.BrickColor = BrickColor.new("Bright yellow")
- for i = 1 , 10 do
- wait(0.07)
- p.Size = p.Size + Vector3.new(2, 2, 2)
- p.Transparency = p.Transparency + 0.1
- p.CFrame = Torso.CFrame
- end
- p:Remove()
- RefreshWelds()
- Humanoid.WalkSpeed = xWalkSpeed.Value
- end
- end
- end
- end
- Activated = false
- end
- if Me.Name == "Player" then
- print(Key)
- end
- end
- ----------------------------------------[[ Other Stuff ]]----------------------------------------
- Bin.Selected:connect(function(Mouse)
- for i, v in pairs(Torso:GetChildren()) do
- if v.className == "BodyGyro" or v.className == "BodyVelocity" or v.className == "BodyPosition" then
- if v ~= Gyro and v ~= Velocity and v ~= Position then
- v:Remove()
- end
- end
- end
- for i, v in pairs(Backpack:GetChildren()) do
- if v.className == "Tool" or v.className == "HopperBin" or v.className == "LocalScript" then
- if v ~= script and v ~= Bin then
- v:Remove()
- end
- end
- end
- for i, v in pairs(Character:GetChildren()) do
- if v.className == "Tool" then
- v:Remove()
- end
- if v.Name == "HealthScript v2.0" or v.Name == "RobloxTeam" then
- v:Remove()
- end
- if v.Name == "Body Colors" then
- v.HeadColor = BrickColor.new("Pastel brown")
- v.LeftArmColor = BrickColor.new("Pastel brown")
- v.LeftLegColor = BrickColor.new("Pastel brown")
- v.RightArmColor = BrickColor.new("Pastel brown")
- v.RightLegColor = BrickColor.new("Pastel brown")
- v.TorsoColor = BrickColor.new("Pastel brown")
- end
- end
- for i, v in pairs(Character:GetChildren()) do
- if v.className == "Part" then
- if v.Name == "Head" or v.Name == "Torso" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" then
- v.BrickColor = BrickColor.new("Pastel brown")
- end
- end
- if v.className == "CharacterMesh" then
- v:Remove()
- end
- end
- Mouse.KeyDown:connect(onKeyDown)
- Mouse.KeyUp:connect(onKeyUp)
- script.Parent.Health.Parent = script
- script.Parent.WalkSpeed.Parent = script
- script.Parent = Backpack
- Bin:Remove()
- end)
- LastHP = Humanoid.Health
- RunCount = 0
- Humanoid.Died:connect(function()
- for i, v in pairs(workspace:GetChildren()) do
- if v.Name == Me.Name then
- v:BreakJoints()
- end
- end
- script:Remove()
- end)
- function onDamage(Hit)
- if Activated and Melee then
- if Hit.Parent.Name ~= Me.Name then
- EnemyHumanoid = Hit.Parent:findFirstChild("Humanoid")
- EnemyTorso = Hit.Parent:findFirstChild("Torso")
- if EnemyHumanoid ~= nil and EnemyTorso ~= nil then
- EnemyHumanoid:TakeDamage(Damage+math.random(-3, 3))
- CreateTag(Me, EnemyHumanoid)
- BloodChance = math.random(1, 25)
- if BloodChance == 1 then
- Blood = Instance.new("Part")
- Blood.Parent = EnemyHumanoid.Parent
- Blood.CanCollide = false
- Blood.formFactor = "Symmetric"
- Blood.Size = Vector3.new(1, 1, 1)
- Blood.Name = "Blood"
- Blood.Locked = true
- Blood.BrickColor = BrickColor.new(21)
- Blood.TopSurface = "Smooth"
- Blood.BottomSurface = "Smooth"
- Blood.CFrame = EnemyTorso.CFrame
- BloodMesh = Instance.new("SpecialMesh")
- BloodMesh.Parent = Blood
- BloodMesh.MeshType = "Brick"
- BloodMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
- Blood.Velocity = Vector3.new(math.random(-50, 50), math.random(20, 40), math.random(-50, 50))
- Blood:BreakJoints()
- end
- end
- end
- end
- end
- LeftArm.Touched:connect(onDamage)
- RightArm.Touched:connect(onDamage)
- LeftLeg.Touched:connect(onDamage)
- RightLeg.Touched:connect(onDamage)
- HealthBar = Me.PlayerGui.Bars.Background.HealthBar.Bar
- ChakraBar = Me.PlayerGui.Bars.Background.ChakraBar.Bar
- Chakra = Me.PlayerGui.Bars.Chakra
- MaxChakra = Me.PlayerGui.Bars.MaxChakra
- SavedHP = 100
- game.Lighting.FixCharacters:clone().Parent = workspace
- game.Lighting.Ragdoll:clone().Parent = Me.Character
- Me.PlayerGui.Bars.BloodScreen.BackgroundTransparency = 0
- while true do
- Humanoid = Me.Character:findFirstChild("Humanoid")
- if Humanoid ~= nil then
- if Humanoid.MaxHealth ~= math.huge and Humanoid.Health ~= SavedHP then
- if Humanoid.Health < SavedHP then
- Me.PlayerGui.Bars.BloodScreen.BackgroundTransparency = 0.4
- SavedHP = Humanoid.Health
- Me.PlayerGui.Bars.BloodScreen.BackgroundColor = BrickColor.new(21)
- else
- Me.PlayerGui.Bars.BloodScreen.BackgroundTransparency = 0.4
- SavedHP = Humanoid.Health
- Me.PlayerGui.Bars.BloodScreen.BackgroundColor = BrickColor.new(1)
- end
- end
- if Humanoid.Health <= 20 and Humanoid.Health > 0 then
- SavedHP = Humanoid.Health
- if Me.PlayerGui.Bars.BloodScreen.BackgroundTransparency > 0.9 then
- Me.PlayerGui.Bars.BloodScreen.BackgroundTransparency = 0.4
- Me.PlayerGui.Bars.BloodScreen.BackgroundColor = BrickColor.new(21)
- end
- end
- if Me.PlayerGui.Bars.BloodScreen.BackgroundTransparency >= 0.4 and Me.PlayerGui.Bars.BloodScreen.BackgroundTransparency < 1 then
- Me.PlayerGui.Bars.BloodScreen.BackgroundTransparency = Me.PlayerGui.Bars.BloodScreen.BackgroundTransparency + 0.05
- end
- HealthBar.Size = UDim2.new(Me.Character.Humanoid.Health/Me.Character.Humanoid.MaxHealth, 0, 1, 0)
- if Chakra.Value > MaxChakra.Value then
- wait(0.3)
- end
- if Chakra.Value > MaxChakra.Value then
- Chakra.Value = MaxChakra.Value
- end
- ChakraBar.Size = UDim2.new(Chakra.Value/MaxChakra.Value, 0, 1, 0)
- if Chakra.Value < 0 then
- wait(0.3)
- end
- if Chakra.Value < 0 then
- Chakra.Value = 0
- end
- end
- if Chakra.Value < 2 then
- if RunSparkles.Enabled == true and Running == true then
- Humanoid.WalkSpeed = xWalkSpeed.Value
- RunSparkles.Enabled = false
- Running = false
- RunCount = 0
- Humanoid.WalkSpeed = xWalkSpeed.Value
- RefreshWelds()
- Activated = false
- end
- end
- if Running then
- if Chakra.Value >= 3 then
- Activated = true
- Chakra.Value = Chakra.Value - 3
- RunCount = RunCount + 1
- Humanoid.WalkSpeed = xWalkSpeed.Value * 4
- RunSparkles.Enabled = true
- if RunCount >= 70 then
- Activated = false
- RunCount = 0
- Running = false
- RunSparkles.Enabled = false
- Humanoid.WalkSpeed = xWalkSpeed.Value
- RefreshWelds()
- end
- if Chakra.Value <= 3 then
- Running = false
- end
- end
- end
- if Humanoid.Health < LastHP then
- LastHP = Humanoid.Health
- if RestoringChakra then
- ChakraSparkles.Enabled = false
- print("Restoring Chakra - False")
- Humanoid.WalkSpeed = xWalkSpeed.Value
- RefreshWelds()
- end
- RestoringChakra = false
- end
- if RestoringChakra then
- if CurrentSpecialModeType == "" then
- ChakraSparkles.Enabled = true
- if Chakra.Value < MaxChakra.Value then
- Chakra.Value = Chakra.Value + (MaxChakra.Value/220)
- ChakraWelds()
- end
- end
- if CurrentSpecialModeType ~= "" then
- ChakraSparkles.Enabled = true
- if Chakra.Value < MaxChakra.Value then
- Chakra.Value = Chakra.Value + (MaxChakra.Value/120)
- ChakraWelds()
- end
- end
- end
- if CurrentSpecialModeType == SpecialModeTypes[1] then
- if Chakra.Value < MaxChakra.Value then
- Chakra.Value = Chakra.Value - 0.7
- wait(0.03)
- end
- if Chakra.Value >= MaxChakra.Value then
- Chakra.Value = Chakra.Value + 1
- wait(0.01)
- end
- if Chakra.Value <= 1 then
- Humanoid.WalkSpeed = 0
- ChakraWelds()
- wait(0.3)
- ChakraSparkles.Color = Color3.new(0, 0, 1)
- ChakraSparkles.SecondaryColor = Color3.new(0, 0, 1)
- Hair.Transparency = 0
- Hair1.Transparency = 1
- Hair2.Transparency = 1
- Hair3.BrickColor = BrickColor.new(26)
- xWalkSpeed.Value = 25
- wait(0.2)
- Humanoid.WalkSpeed = 25
- Damage = 7
- CurrentSpecialModeType = ""
- RefreshWelds()
- Chakra.Value = 0
- end
- end
- if CurrentSpecialModeType == SpecialModeTypes[2] then
- if Chakra.Value < MaxChakra.Value then
- Chakra.Value = Chakra.Value - 0.7
- wait(0.03)
- end
- if Chakra.Value >= MaxChakra.Value then
- Chakra.Value = Chakra.Value + 1
- wait(0.01)
- end
- if Chakra.Value <= 1 then
- Humanoid.WalkSpeed = 0
- ChakraWelds()
- wait(0.3)
- ChakraSparkles.Color = Color3.new(0, 0, 1)
- ChakraSparkles.SecondaryColor = Color3.new(0, 0, 1)
- Flames = Torso:findFirstChild("Fire1")
- Hair.Transparency = 0
- Hair1.Transparency = 1
- Hair2.Transparency = 1
- Hair3.BrickColor = BrickColor.new(26)
- xWalkSpeed.Value = 25
- wait(0.2)
- Humanoid.WalkSpeed = 25
- Damage = 7
- Flames:Remove()
- CurrentSpecialModeType = ""
- RefreshWelds()
- Chakra.Value = 0
- end
- end
- wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement