Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script has been converted to FE by iPxter
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- do
- print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- wait(0.1)
- Bin = script.Parent
- Backpack = Bin.Parent
- Me = Backpack.Parent
- PlayerGui = Me.PlayerGui
- Character = Me.Character
- 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)
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- Shuriken = Instance.new("Part")
- Shuriken.Locked = true
- Shuriken.Name = "Shuriken"
- Shuriken.TopSurface = "Smooth"
- Shuriken.BottomSurface = "Smooth"
- Shuriken.formFactor = "Symmetric"
- Shuriken.Size = Vector3.new(2, 2, 2)
- Shuriken.BrickColor = BrickColor.new("Dark stone grey")
- ShurikenMesh = Instance.new("SpecialMesh")
- ShurikenMesh.Parent = Shuriken
- ShurikenMesh.MeshType = "FileMesh"
- ShurikenMesh.MeshId = "http://www.roblox.com/asset/?id=11376946"
- ShurikenMesh.TextureId = ""
- ShurikenMesh.VertexColor = Vector3.new(1, 1, 1)
- ShurikenMesh.Scale = Vector3.new(2.5, 3, 2.5)
- ShurikenGyro = Instance.new("BodyGyro")
- ShurikenGyro.Parent = Shuriken
- ShurikenGyro.D = 50
- ShurikenGyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- ShurikenVelocity = Instance.new("BodyVelocity")
- ShurikenVelocity.Parent = Shuriken
- ShurikenVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- Owner = Instance.new("ObjectValue")
- Owner.Parent = Shuriken
- Owner.Name = "Owner"
- Owner.Value = Me
- 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.4
- Blast.Reflectance = 0.1
- Blast.BrickColor = BrickColor.new("Really red")
- 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)
- Blast2 = Instance.new("Part")
- Blast2.Locked = true
- Blast2.Name = "Blast"
- Blast2.Shape = "Ball"
- Blast2.TopSurface = "Smooth"
- Blast2.BottomSurface = "Smooth"
- Blast2.formFactor = "Symmetric"
- Blast2.Size = Vector3.new(1, 1, 1)
- Blast2.Transparency = 0
- Blast2.Reflectance = 0.2
- Blast2.BrickColor = BrickColor.new("Really black")
- Owner = Instance.new("ObjectValue")
- Owner.Parent = Blast
- Owner.Name = "Owner"
- Owner.Value = Me
- FeetChakra1 = Instance.new("Part")
- FeetChakra1.Parent = Character
- FeetChakra1.Locked = true
- FeetChakra1.Name = "FeetChakra1"
- FeetChakra1.TopSurface = "Smooth"
- FeetChakra1.BottomSurface = "Smooth"
- FeetChakra1.formFactor = "Symmetric"
- FeetChakra1.Transparency = 1
- FeetChakra1.Size = Vector3.new(1, 1, 1)
- FeetChakra1.CanCollide = false
- FeetChakra1.BrickColor = BrickColor.new(23)
- FeetChakra1.CFrame = Torso.CFrame
- FeetMesh = Instance.new("SpecialMesh")
- FeetMesh.MeshType = "Brick"
- FeetMesh.Scale = Vector3.new(1.15, 0.15, 1.15)
- FeetMesh.Parent = FeetChakra1
- FeetWeld = Instance.new("Weld")
- FeetWeld.Parent = LeftLeg
- FeetWeld.Part0 = LeftLeg
- FeetWeld.Part1 = FeetChakra1
- FeetWeld.C0 = CFrame.new(0, -1, 0)
- FeetChakra2 = Instance.new("Part")
- FeetChakra2.Parent = Character
- FeetChakra2.Locked = true
- FeetChakra2.Name = "FeetChakra2"
- FeetChakra2.TopSurface = "Smooth"
- FeetChakra2.BottomSurface = "Smooth"
- FeetChakra2.formFactor = "Symmetric"
- FeetChakra2.Transparency = 1
- FeetChakra2.Size = Vector3.new(1, 1, 1)
- FeetChakra2.CanCollide = false
- FeetChakra2.BrickColor = BrickColor.new(23)
- FeetChakra2.CFrame = Torso.CFrame
- FeetMesh = Instance.new("SpecialMesh")
- FeetMesh.MeshType = "Brick"
- FeetMesh.Scale = Vector3.new(1.15, 0.15, 1.15)
- FeetMesh.Parent = FeetChakra2
- FeetWeld = Instance.new("Weld")
- FeetWeld.Parent = RightLeg
- FeetWeld.Part0 = RightLeg
- FeetWeld.Part1 = FeetChakra2
- FeetWeld.C0 = CFrame.new(0, -1, 0)
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- RasenShuriken = Instance.new("Part")
- RasenShuriken.Locked = true
- RasenShuriken.Name = "RasenShuriken"
- RasenShuriken.TopSurface = "Smooth"
- RasenShuriken.BottomSurface = "Smooth"
- RasenShuriken.formFactor = "Symmetric"
- RasenShuriken.Size = Vector3.new(2, 2, 2)
- RasenShuriken.Shape = "Ball"
- RasenShuriken.Transparency = 0.2
- RasenShuriken.BrickColor = BrickColor.new("Pastel light blue")
- RasenShuriken2 = Instance.new("Part")
- RasenShuriken2.Locked = true
- RasenShuriken2.Name = "RasenShuriken2"
- RasenShuriken2.TopSurface = "Smooth"
- RasenShuriken2.BottomSurface = "Smooth"
- RasenShuriken2.formFactor = "Symmetric"
- RasenShuriken2.Transparency = 0.2
- RasenShuriken2.Size = Vector3.new(1, 3, 1)
- RasenShuriken2.BrickColor = BrickColor.new("Pastel light blue")
- RasenShurikenMesh = Instance.new("SpecialMesh")
- RasenShurikenMesh.Parent = RasenShuriken2
- RasenShurikenMesh.MeshType = "FileMesh"
- RasenShurikenMesh.MeshId = "http://www.roblox.com/asset/?id=11376946"
- RasenShurikenMesh.TextureId = ""
- RasenShurikenMesh.VertexColor = Vector3.new(1, 1, 1)
- RasenShurikenMesh.Scale = Vector3.new(6, 3, 6)
- RasenShuriken22 = Instance.new("Part")
- RasenShuriken22.Locked = true
- RasenShuriken22.Name = "RasenShuriken22"
- RasenShuriken22.TopSurface = "Smooth"
- RasenShuriken22.BottomSurface = "Smooth"
- RasenShuriken22.formFactor = "Symmetric"
- RasenShuriken22.Transparency = 0.2
- RasenShuriken22.Size = Vector3.new(1, 3, 1)
- RasenShuriken22.BrickColor = BrickColor.new("Pastel light blue")
- RasenShurikenMesh = Instance.new("CylinderMesh")
- RasenShurikenMesh.Parent = RasenShuriken22
- RasenShurikenMesh.Scale = Vector3.new(3, 0.015, 3)
- Owner = Instance.new("ObjectValue")
- Owner.Parent = RasenShuriken
- Owner.Name = "Owner"
- Owner.Value = Me
- RasenShuriken3 = Instance.new("Part")
- RasenShuriken3.Locked = true
- RasenShuriken3.Name = "RasenShuriken"
- RasenShuriken3.TopSurface = "Smooth"
- RasenShuriken3.BottomSurface = "Smooth"
- RasenShuriken3.formFactor = "Symmetric"
- RasenShuriken3.Size = Vector3.new(1, 1, 1)
- RasenShuriken3.Shape = "Ball"
- RasenShuriken3.Transparency = 0.2
- RasenShuriken3.BrickColor = BrickColor.new("Pastel light blue")
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = RasenShuriken3
- Mesh.MeshType = "Sphere"
- Mesh.Scale = Vector3.new(2, 2, 2)
- RasenShuriken33 = Instance.new("Part")
- RasenShuriken33.Locked = true
- RasenShuriken33.Name = "RasenShuriken2"
- RasenShuriken33.TopSurface = "Smooth"
- RasenShuriken33.BottomSurface = "Smooth"
- RasenShuriken33.formFactor = "Symmetric"
- RasenShuriken33.Transparency = 0.2
- RasenShuriken33.Size = Vector3.new(1, 3, 1)
- RasenShuriken33.BrickColor = BrickColor.new("Pastel light blue")
- RasenShurikenMesh = Instance.new("SpecialMesh")
- RasenShurikenMesh.Parent = RasenShuriken33
- RasenShurikenMesh.MeshType = "FileMesh"
- RasenShurikenMesh.MeshId = "http://www.roblox.com/asset/?id=11376946"
- RasenShurikenMesh.TextureId = ""
- RasenShurikenMesh.VertexColor = Vector3.new(1, 1, 1)
- RasenShurikenMesh.Scale = Vector3.new(24, 3, 24)
- RasenShuriken32 = Instance.new("Part")
- RasenShuriken32.Locked = true
- RasenShuriken32.Name = "RasenShuriken32"
- RasenShuriken32.TopSurface = "Smooth"
- RasenShuriken32.BottomSurface = "Smooth"
- RasenShuriken32.formFactor = "Symmetric"
- RasenShuriken32.Transparency = 0.2
- RasenShuriken32.Size = Vector3.new(1, 3, 1)
- RasenShuriken32.BrickColor = BrickColor.new("Pastel light blue")
- RasenShurikenMesh = Instance.new("CylinderMesh")
- RasenShurikenMesh.Parent = RasenShuriken32
- RasenShurikenMesh.Scale = Vector3.new(24, 0.02, 24)
- 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(24, 2, 24)
- BigShuriken.BrickColor = BrickColor.new("Pastel light blue")
- BigShurikenMesh = Instance.new("SpecialMesh")
- BigShurikenMesh.Parent = BigShuriken
- BigShurikenMesh.MeshType = "FileMesh"
- BigShurikenMesh.MeshId = "http://www.roblox.com/asset/?id=11376946"
- BigShurikenMesh.TextureId = ""
- BigShurikenMesh.VertexColor = Vector3.new(1, 1, 1)
- BigShurikenMesh.Scale = Vector3.new(30, 6, 30)
- 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
- SageShirt = Instance.new("Shirt")
- SageShirt.Name = "CharacterShirt"
- SageShirt.ShirtTemplate = "http://www.roblox.com/asset/?id=5646191"
- SagePants = Instance.new("Pants")
- SagePants.Name = "CharacterPants"
- SagePants.PantsTemplate = "http://www.roblox.com/asset/?id=5646193"
- SpecialMode = false
- SpecialModeTypes = {"SageMode","Kyuubi"}
- SpecialModeTypesMinimum = {300,200}
- SpecialModeTypesChakra = {1000,1000}
- CurrentSpecialModeType = ""
- for i, v in pairs(Torso:GetChildren()) do
- if v.className == "Sparkles" then
- v:Remove()
- end
- end
- for i, v in pairs(Character:GetChildren()) do
- if v.className == "Part" then
- v.BrickColor = BrickColor.new("Cool yellow")
- end
- end
- Head.face.Texture = "http://www.roblox.com/asset/?id=87119919"
- Hair = Instance.new("Part")
- Hair.Parent = Character
- Hair.Name = "Hair"
- Hair.CanCollide = false
- Hair.Locked = true
- Hair.BrickColor = BrickColor.new("Bright yellow")
- Hair.TopSurface = "Smooth"
- Hair.BottomSurface = "Smooth"
- Hair.formFactor = "Symmetric"
- 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.9, 0)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = Hair
- Mesh.Scale = Vector3.new(1, 1, 1)
- Mesh.MeshType = "FileMesh"
- Mesh.MeshId = "http://www.roblox.com/asset/?id=12212520"
- Mesh.TextureId = ""
- HeadBand = Instance.new("Part")
- HeadBand.Parent = Character
- HeadBand.Name = "HeadBand"
- HeadBand.CanCollide = false
- HeadBand.Locked = true
- HeadBand.TopSurface = "Smooth"
- HeadBand.BottomSurface = "Smooth"
- HeadBand.formFactor = "Symmetric"
- HeadBand.CFrame = Torso.CFrame
- HeadBand.Size = Vector3.new(1, 1, 1)
- Weld = Instance.new("Weld")
- Weld.Parent = Head
- Weld.Part0 = Head
- Weld.Part1 = HeadBand
- Weld.C0 = CFrame.new(-0.02, 0.4, 0)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = HeadBand
- Mesh.Scale = Vector3.new(1.01, 1.01, 1.01)
- Mesh.MeshType = "FileMesh"
- Mesh.MeshId = "http://www.roblox.com/asset/?id=1286425"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=51553477"
- HeadBand2 = Instance.new("Part")
- HeadBand2.Parent = Character
- HeadBand2.Name = "HeadBand2"
- HeadBand2.CanCollide = false
- HeadBand2.Locked = true
- HeadBand2.BrickColor = BrickColor.new(26)
- HeadBand2.TopSurface = "Smooth"
- HeadBand2.BottomSurface = "Smooth"
- HeadBand2.formFactor = "Symmetric"
- HeadBand2.CFrame = Torso.CFrame
- HeadBand2.Size = Vector3.new(1, 1, 1)
- Weld = Instance.new("Weld")
- Weld.Parent = Head
- Weld.Part0 = Head
- Weld.Part1 = HeadBand2
- Weld.C0 = CFrame.new(0, 0, 0.05)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = HeadBand2
- Mesh.Scale = Vector3.new(1, 1, 1)
- Mesh.MeshType = "FileMesh"
- Mesh.MeshId = "http://www.roblox.com/asset/?id=20407184"
- Mesh.TextureId = ""
- Shirt = Instance.new("Shirt")
- Shirt.Parent = Character
- Shirt.Name = "CharacterShirt"
- Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=21277690"
- Pants = Instance.new("Pants")
- Pants.Parent = Character
- Pants.Name = "CharacterPants"
- Pants.PantsTemplate = "http://www.roblox.com/asset/?id=21249347"
- ChakraSparkles = Instance.new("Sparkles")
- ChakraSparkles.Parent = Torso
- ChakraSparkles.SparkleColor = Color3.new(0, 0, 1)
- 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
- Items = game.Lighting:findFirstChild(Bin.Name.."Items")
- if Items ~= nil then
- Items:clone().Parent = PlayerGui
- end
- ClonesKillerGui = game.Lighting:findFirstChild("ClonesKillerGui"):clone()
- ClonesKillerGui.Parent = PlayerGui
- RestoringChakra = false
- Running = false
- Activated = false
- Melee = false
- TurningLeft = false
- TurningRight = false
- Damage = 4
- function CreateMyClone(ClonePosition, CloneType, CloneNumber)
- MyClone = script.CharacterClone:clone()
- MyClone.CloneType.Value = CloneType
- MyClone.Name = Me.Name
- MyClone.Humanoid.WalkSpeed = xWalkSpeed.Value
- MyClone.Parent = Workspace
- MyClone:MakeJoints()
- s = Character:findFirstChild("CharacterShirt")
- p = Character:findFirstChild("CharacterPants")
- if s ~= nil and p ~= nil then
- s:clone().Parent = MyClone
- p:clone().Parent = MyClone
- end
- HairClone = Hair:clone()
- HairClone.Parent = MyClone
- Weld = Instance.new("Weld")
- Weld.Parent = MyClone.Head
- Weld.Part0 = MyClone.Head
- Weld.Part1 = HairClone
- Weld.C0 = CFrame.new(0, 0.9, 0)
- HeadBandClone = HeadBand:clone()
- HeadBandClone.Parent = MyClone
- Weld = Instance.new("Weld")
- Weld.Parent = MyClone.Head
- Weld.Part0 = MyClone.Head
- Weld.Part1 = HeadBandClone
- Weld.C0 = CFrame.new(0, 0.4, 0)
- HeadBandClone2 = HeadBand2:clone()
- HeadBandClone2.Parent = MyClone
- Weld = Instance.new("Weld")
- Weld.Parent = MyClone.Head
- Weld.Part0 = MyClone.Head
- Weld.Part1 = HeadBandClone2
- Weld.C0 = CFrame.new(0, 0, 0.05)
- Head.face:clone().Parent = MyClone.Head
- MyClone.CloneNumber.Value = CloneNumber
- pewp = ClonesKillerGui:findFirstChild("Clone"..CloneNumber)
- if pewp ~= nil then
- pewp.Text = CloneType
- end
- game.Lighting.ClothesCheck:clone().Parent = MyClone
- MyClone.Torso.CFrame = Torso.CFrame
- MyClone:MoveTo(ClonePosition)
- CloneSmoke = game.Lighting["CloneSmoke"]:clone()
- CloneSmoke.Parent = MyClone
- CloneSmoke.CFrame = MyClone.Torso.CFrame
- if CurrentSpecialModeType == SpecialModeTypes[1] then
- Scroll = Instance.new("Part")
- Scroll.Parent = MyClone
- Scroll.CanCollide = false
- Scroll.formFactor = "Symmetric"
- Scroll.Size = Vector3.new(1, 4, 1)
- Scroll.BrickColor = BrickColor.new(21)
- Scroll.CFrame = MyClone.Torso.CFrame
- Scroll.Name = "Scroll"
- ScrollMesh = Instance.new("CylinderMesh")
- ScrollMesh.Parent = Scroll
- ScrollMesh.Scale = Vector3.new(1.65, 1, 1.65)
- ScrollWeld = Instance.new("Weld")
- ScrollWeld.Parent = MyClone.Torso
- ScrollWeld.Part0 = MyClone.Torso
- ScrollWeld.Part1 = Scroll
- ScrollWeld.C0 = CFrame.new(0, -0.85, 1.3) * CFrame.Angles(0, 0, 1.57)
- Scroll2 = Instance.new("Part")
- Scroll2.Parent = MyClone
- Scroll2.CanCollide = false
- Scroll2.formFactor = "Symmetric"
- Scroll2.Size = Vector3.new(1, 1, 1)
- Scroll2.BrickColor = BrickColor.new(26)
- Scroll2.CFrame = MyClone.Torso.CFrame
- Scroll2.Name = "Scroll"
- ScrollMesh = Instance.new("CylinderMesh")
- ScrollMesh.Parent = Scroll2
- ScrollMesh.Scale = Vector3.new(1.74, 0.7, 1.74)
- ScrollWeld = Instance.new("Weld")
- ScrollWeld.Parent = Scroll
- ScrollWeld.Part0 = Scroll
- ScrollWeld.Part1 = Scroll2
- ScrollWeld.C0 = CFrame.new(0, 1.67, 0)
- Scroll2 = Instance.new("Part")
- Scroll2.Parent = MyClone
- Scroll2.CanCollide = false
- Scroll2.formFactor = "Symmetric"
- Scroll2.Size = Vector3.new(1, 1, 1)
- Scroll2.BrickColor = BrickColor.new(26)
- Scroll2.CFrame = MyClone.Torso.CFrame
- Scroll2.Name = "Scroll"
- ScrollMesh = Instance.new("CylinderMesh")
- ScrollMesh.Parent = Scroll2
- ScrollMesh.Scale = Vector3.new(1.74, 0.7, 1.74)
- ScrollWeld = Instance.new("Weld")
- ScrollWeld.Parent = Scroll
- ScrollWeld.Part0 = Scroll
- ScrollWeld.Part1 = Scroll2
- ScrollWeld.C0 = CFrame.new(0, -1.67, 0)
- Scroll2 = Instance.new("Part")
- Scroll2.Parent = MyClone
- Scroll2.CanCollide = false
- Scroll2.formFactor = "Symmetric"
- Scroll2.Size = Vector3.new(1, 1, 1)
- Scroll2.BrickColor = BrickColor.new(217)
- Scroll2.CFrame = MyClone.Torso.CFrame
- Scroll2.Name = "Scroll"
- ScrollMesh = Instance.new("CylinderMesh")
- ScrollMesh.Parent = Scroll2
- ScrollMesh.Scale = Vector3.new(1.74, 1.4, 1.74)
- ScrollWeld = Instance.new("Weld")
- ScrollWeld.Parent = Scroll
- ScrollWeld.Part0 = Scroll
- ScrollWeld.Part1 = Scroll2
- ScrollWeld.C0 = CFrame.new(0, 0, 0)
- Scroll2 = Instance.new("Part")
- Scroll2.Parent = MyClone
- Scroll2.CanCollide = false
- Scroll2.formFactor = "Symmetric"
- Scroll2.Size = Vector3.new(1, 1, 1)
- Scroll2.BrickColor = BrickColor.new("Medium stone grey")
- Scroll2.CFrame = MyClone.Torso.CFrame
- Scroll2.Name = "Scroll"
- ScrollMesh = Instance.new("CylinderMesh")
- ScrollMesh.Parent = Scroll2
- ScrollMesh.Scale = Vector3.new(1, 0.5, 1)
- ScrollWeld = Instance.new("Weld")
- ScrollWeld.Parent = Scroll
- ScrollWeld.Part0 = Scroll
- ScrollWeld.Part1 = Scroll2
- ScrollWeld.C0 = CFrame.new(0, 2, 0)
- Scroll2 = Instance.new("Part")
- Scroll2.Parent = MyClone
- Scroll2.CanCollide = false
- Scroll2.formFactor = "Symmetric"
- Scroll2.Size = Vector3.new(1, 1, 1)
- Scroll2.BrickColor = BrickColor.new("Medium stone grey")
- Scroll2.CFrame = MyClone.Torso.CFrame
- Scroll2.Name = "Scroll"
- ScrollMesh = Instance.new("CylinderMesh")
- ScrollMesh.Parent = Scroll2
- ScrollMesh.Scale = Vector3.new(1, 0.5, 1)
- ScrollWeld = Instance.new("Weld")
- ScrollWeld.Parent = Scroll
- ScrollWeld.Part0 = Scroll
- ScrollWeld.Part1 = Scroll2
- ScrollWeld.C0 = CFrame.new(0, -2, 0)
- end
- end
- 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.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 ChakraWelds2()
- RightShoulder.C0 = RightShoulder.C0 * CFrame.new(-1, -1.5, 0) * CFrame.Angles(0, 0, 0)
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(1, -1.5, 0) * CFrame.Angles(0, 0, 0)
- RightHip.C0 = RightHipC0 * CFrame.new(1, 1.5, 0) * CFrame.Angles(0, 0, 0)
- LeftHip.C0 = LeftHipC0 * CFrame.new(-1, 1.5, 0) * CFrame.Angles(0, 0, 0)
- 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
- function Arm1()
- local g = game.Lighting.Kyuubi.Arm1:clone()
- g.Parent = Character
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = LeftArm
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- if h[i].className == "Part" then
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- LeftArm.Transparency = 1
- end
- function Arm2()
- local g = game.Lighting.Kyuubi.Arm2:clone()
- g.Parent = Character
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = RightArm
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- if h[i].className == "Part" then
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- RightArm.Transparency = 1
- end
- function Leg1()
- local g = game.Lighting.Kyuubi.Leg1:clone()
- g.Parent = Character
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = LeftLeg
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- if h[i].className == "Part" then
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- LeftLeg.Transparency = 1
- end
- function Leg2()
- local g = game.Lighting.Kyuubi.Leg2:clone()
- g.Parent = Character
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = RightLeg
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- if h[i].className == "Part" then
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- RightLeg.Transparency = 1
- end
- function Chest()
- local g = game.Lighting.Kyuubi.Chest:clone()
- g.Parent = Character
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = Torso
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- if h[i].className == "Part" then
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- Torso.Transparency = 1
- Head.Transparency = 0.98
- end
- GoingForward = false
- TopReached = true
- BottomReached = false
- RunDegree = 0
- function NoClimb()
- RestoringChakra = false
- Humanoid.WalkSpeed = xWalkSpeed.Value
- ChakraSparkles.Enabled = false
- print("Restoring Chakra - False")
- Activated = true
- WallRunning = false
- GoingForward = false
- TurningLeft = false
- TurningRight = false
- Humanoid.PlatformStand = false
- BottomReached = false
- TopReached = true
- RunDegree = 0
- Gyro.maxTorque = Vector3.new(math.huge, 0, math.huge)
- Gyro.cframe = CFrame.new(0, 0, 0)
- Position.position = Position.position + Vector3.new(0, 40, 0)
- RefreshWelds()
- wait(0.5)
- for i, v in pairs(workspace.CurrentCamera:GetChildren()) do
- if v.Name == "TiltBrick" or v.Name == "TiltPart" then
- v:Remove()
- end
- end
- RestoringChakra = false
- Humanoid.WalkSpeed = xWalkSpeed.Value
- ChakraSparkles.Enabled = false
- print("Restoring Chakra - False")
- RefreshWelds()
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- Position.maxForce = Vector3.new(0, 0, 0)
- Activated = false
- end
- CloneCount = 0
- function onKeyDown(Key)
- if RestoringChakra then
- RefreshWelds()
- Humanoid.WalkSpeed = xWalkSpeed.Value
- ChakraSparkles.Enabled = false
- print("Restoring Chakra - False")
- end
- if WallRunning then
- if Key == "" and not Activated then
- for i, v in pairs(workspace.CurrentCamera:GetChildren()) do
- if v.Name == "TiltBrick" then
- v:Remove()
- end
- end
- NoClimb()
- end
- if Key == "w" then
- GoingForward = true
- end
- if Key == "d" then
- TurningRight = true
- end
- if Key == "a" then
- TurningLeft = true
- end
- 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 == "-" and not WallRunning then
- Running = 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(1)
- 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(1)
- 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
- SpinChance = math.random(1,2)
- if SpinChance == 1 then
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -3.14)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 3.14)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, 1.5)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, 1.5)
- for i = 1 , 15 do
- Gyro.cframe = Gyro.cframe * CFrame.Angles(0, -0.41, 0)
- wait()
- end
- else
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.57)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.57)
- 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
- SpinChance = math.random(1,2)
- if SpinChance == 1 then
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.14)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -3.14)
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, -1.5)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, -1.5)
- for i = 1 , 15 do
- Gyro.cframe = Gyro.cframe * CFrame.Angles(0, 0.41, 0)
- wait()
- end
- else
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.57)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.57)
- 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 == "e" and CurrentSpecialModeType ~= SpecialModeTypes[2] then
- if Humanoid.Jump == false then
- Melee = true
- Chance = math.random(1, 4)
- 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
- elseif Chance == 3 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 == 4 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
- Melee = true
- Chance = math.random(1, 2)
- 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
- ----------------------------------------------------------------------------------------
- if Key == "q" and Humanoid.Jump == false and CurrentSpecialModeType ~= SpecialModeTypes[2] then
- ShurikenClone = Shuriken:clone()
- ShurikenClone.Parent = Workspace
- ShurikenClone.CFrame = Torso.CFrame * CFrame.new(0.8, 0.8, -4)
- stuff = math.random(1, 3)
- if stuff == 1 then
- ShurikenClone.BodyGyro.cframe = Torso.CFrame*CFrame.Angles(0, 0, 1)
- elseif stuff == 2 then
- ShurikenClone.BodyGyro.cframe = Torso.CFrame*CFrame.Angles(0, 0, -1)
- else
- ShurikenClone.BodyGyro.cframe = Torso.CFrame
- end
- ShurikenClone.BodyVelocity.velocity = Torso.CFrame.lookVector * 80
- game.Lighting["ShurikenSpinner"]:clone().Parent = ShurikenClone.BodyGyro
- for i = 1 , 6 do
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0.05*i, 0.3*i)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 0.15*i)
- wait()
- end
- wait(0.1)
- for i = 1 , 6 do
- RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0, 0, -0.3)
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, -0.15)
- wait()
- end
- RefreshWelds()
- end
- if Key == "r" and Chakra.Value >= ((MaxChakra.Value/5)*0.25) and CurrentSpecialModeType == SpecialModeTypes[2] then
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*0.25)
- ShurikenClone = Blast:clone()
- ShurikenClone.Parent = Workspace
- ShurikenClone.CFrame = Torso.CFrame * CFrame.new(0.8, 0.8, -9)
- ShurikenClone.BodyGyro.cframe = Torso.CFrame
- ShurikenClone.BodyVelocity.velocity = Torso.CFrame.lookVector * math.random(80, 100)
- game.Lighting["BlastSpinner"]:clone().Parent = ShurikenClone.BodyGyro
- B = Blast2:clone()
- B.Parent = ShurikenClone
- B.CFrame = ShurikenClone.CFrame
- W = Instance.new("Weld")
- W.Parent = ShurikenClone
- W.Part0 = ShurikenClone
- W.Part1 = B
- W.C0 = CFrame.new(0, 0, 0)
- wait(0.4)
- end
- if Key == "r" and CurrentSpecialModeType ~= SpecialModeTypes[2] then
- if Chakra.Value >= ((MaxChakra.Value/5)*0.5) and not WallRunning then
- CloneCount = 0
- for i, v in pairs(workspace:GetChildren()) do
- if v.Name == Me.Name then
- CloneCount = CloneCount + 1
- end
- end
- if CloneCount < 6 then
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*0.5)
- CreateMyClone((Torso.CFrame * CFrame.new(0, 0, -5)).p, "Attacking", CloneCount)
- ChakraWelds()
- wait(0.5)
- RefreshWelds()
- end
- end
- end
- if Key == "f" then
- if CurrentSpecialModeType == SpecialModeTypes[2] and Humanoid.Jump == false then
- if Chakra.Value >= ((MaxChakra.Value/5)*1.5) then
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*1.5)
- Humanoid.WalkSpeed = 0
- ChakraWelds2()
- Energy = Instance.new("Part")
- Energy.Parent = Character
- Energy.formFactor = "Symmetric"
- Energy.CanCollide = false
- Energy.BrickColor = BrickColor.new(21)
- Energy.Transparency = 1
- Energy.Name = "Energy"
- Energy.Size = Vector3.new(1, 1, 1)
- Energy.TopSurface = "Smooth"
- Energy.BottomSurface = "Smooth"
- Energy.CFrame = Torso.CFrame
- EnergyWeld = Instance.new("Weld")
- EnergyWeld.Parent = Torso
- EnergyWeld.Part0 = Torso
- EnergyWeld.Part1 = Energy
- EnergyWeld.C0 = CFrame.new(0, 0.5, -5)
- EnergyMesh = Instance.new("SpecialMesh")
- EnergyMesh.Parent = Energy
- EnergyMesh.MeshType = "Sphere"
- EnergyMesh.Scale = Vector3.new(1.6, 1.6, 1.6)
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- for i = 1 , 10 do
- Energy.Transparency = Energy.Transparency - 0.07
- wait(0.07)
- end
- p = Instance.new("Part")
- p.Parent = workspace
- p.Anchored = true
- p.Size = Vector3.new(2, 200, 2)
- p.CanCollide = false
- p.Transparency = Energy.Transparency
- p.Name = "StrongBlast"
- p.BrickColor = BrickColor.new(21)
- p.TopSurface = "Smooth"
- p.BottomSurface = "Smooth"
- p.CFrame = Torso.CFrame * CFrame.new(Vector3.new(0, 0.5, -5)) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0)
- Owner = Instance.new("ObjectValue")
- Owner.Parent = p
- Owner.Name = "Owner"
- Owner.Value = Me
- m = Instance.new("CylinderMesh")
- m.Parent = p
- m.Scale = Vector3.new(1, 0, 1)
- game.Lighting.BeastBomb:clone().Parent = p
- game.Lighting.Remover:clone().Parent = p
- for i = 1 , 60 do
- p.Transparency = p.Transparency + 0.005
- Energy.Transparency = Energy.Transparency + 0.005
- EnergyMesh.Scale = EnergyMesh.Scale + Vector3.new(0.01, 0.01, 0.01)
- p.CFrame = p.CFrame * CFrame.new(Vector3.new(0, -3, 0))
- m.Scale = m.Scale - Vector3.new(0.01, 0.03, 0.01)
- wait()
- end
- p:Remove()
- Energy:Remove()
- wait(0.5)
- Humanoid.WalkSpeed = xWalkSpeed.Value
- RefreshWelds()
- end
- end
- if CurrentSpecialModeType == SpecialModeTypes[1] and Humanoid.Jump == false then
- if Chakra.Value >= ((MaxChakra.Value/5)*1) and not WallRunning then
- Humanoid.WalkSpeed = 0
- Chakra.Value = Chakra.Value -((MaxChakra.Value/5)*0.25)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, -1.57, 1.57)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 1.57, -1.57)
- CreateMyClone((Torso.CFrame * CFrame.new(3.7, 0, 0)).p, "Rocket ", CloneCount)
- CreateMyClone((Torso.CFrame * CFrame.new(-3.7, 0, 0)).p, " Rocket", CloneCount+1)
- wait(0.3)
- RefreshWelds()
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.57)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.57)
- wait(0.2)
- Chakra.Value = Chakra.Value -((MaxChakra.Value/5)*0.25)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, -1.57, 1.57)
- CreateMyClone((Torso.CFrame * CFrame.new(3.7, 0, 0)).p, "Rocket", CloneCount+2)
- wait(0.5)
- RefreshWelds()
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.57)
- wait(0.3)
- Chakra.Value = Chakra.Value -((MaxChakra.Value/5)*0.5)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 1.57, -1.57)
- CreateMyClone((Torso.CFrame * CFrame.new(-3.7, 0, 0)).p, " Rocket ", CloneCount+3)
- wait(0.5)
- RefreshWelds()
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.57)
- wait(0.3)
- RefreshWelds()
- Humanoid.WalkSpeed = xWalkSpeed.Value
- end
- end
- if CurrentSpecialModeType == "" and Humanoid.Jump == false then
- if Chakra.Value >= ((MaxChakra.Value/5)*1) and not WallRunning then
- Humanoid.WalkSpeed = 0
- Chakra.Value = Chakra.Value -((MaxChakra.Value/5)*0.25)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, -1.57, 1.57)
- CreateMyClone((Torso.CFrame * CFrame.new(3.7, 0, 0)).p, "Rocket ", CloneCount)
- wait(0.3)
- RefreshWelds()
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.57)
- wait(0.1)
- Chakra.Value = Chakra.Value -((MaxChakra.Value/5)*0.25)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 1.57, -1.57)
- CreateMyClone((Torso.CFrame * CFrame.new(-3.7, 0, 0)).p, " Rocket", CloneCount+1)
- wait(0.3)
- RefreshWelds()
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.57)
- wait(0.1)
- Chakra.Value = Chakra.Value -((MaxChakra.Value/5)*0.5)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, -1.57, 1.57)
- CreateMyClone((Torso.CFrame * CFrame.new(3.7, 0, 0)).p, "Rocket", CloneCount+2)
- wait(0.5)
- RefreshWelds()
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.57)
- wait(0.2)
- RefreshWelds()
- Humanoid.WalkSpeed = xWalkSpeed.Value
- end
- end
- end
- if Key == "v" then
- if CurrentSpecialModeType == SpecialModeTypes[2] and Humanoid.Jump == false then
- if Chakra.Value >= ((MaxChakra.Value/5)*2) then
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*2)
- Humanoid.WalkSpeed = 0
- ChakraWelds2()
- Energy = Instance.new("Part")
- Energy.Parent = Character
- Energy.formFactor = "Symmetric"
- Energy.CanCollide = false
- Energy.BrickColor = BrickColor.new("Really red")
- Energy.Transparency = 1
- Energy.Name = "Energy"
- Energy.Size = Vector3.new(2, 2, 2)
- Energy.TopSurface = "Smooth"
- Energy.BottomSurface = "Smooth"
- Energy.CFrame = Torso.CFrame
- EnergyWeld = Instance.new("Weld")
- EnergyWeld.Parent = Torso
- EnergyWeld.Part0 = Torso
- EnergyWeld.Part1 = Energy
- EnergyWeld.C0 = CFrame.new(0, 0.5, -5)
- EnergyMesh = Instance.new("SpecialMesh")
- EnergyMesh.Parent = Energy
- EnergyMesh.MeshType = "Sphere"
- EnergyMesh.Scale = Vector3.new(1.6, 1.6, 1.6)
- Energy2 = Instance.new("Part")
- Energy2.Parent = Character
- Energy2.formFactor = "Symmetric"
- Energy2.CanCollide = false
- Energy2.BrickColor = BrickColor.new("Really black")
- Energy2.Transparency = 0
- Energy2.Name = "Energy"
- Energy2.Size = Vector3.new(1, 1, 1)
- Energy2.TopSurface = "Smooth"
- Energy2.BottomSurface = "Smooth"
- Energy2.CFrame = Torso.CFrame
- EnergyWeld = Instance.new("Weld")
- EnergyWeld.Parent = Torso
- EnergyWeld.Part0 = Torso
- EnergyWeld.Part1 = Energy2
- EnergyWeld.C0 = CFrame.new(0, 0.5, -5)
- EnergyMesh = Instance.new("SpecialMesh")
- EnergyMesh.Parent = Energy2
- EnergyMesh.MeshType = "Sphere"
- EnergyMesh.Scale = Vector3.new(1.5, 1.5, 1.5)
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- for i = 1 , 10 do
- Energy.Transparency = Energy.Transparency - 0.04
- wait(0.1)
- end
- p = Instance.new("Part")
- p.Parent = workspace
- p.Anchored = true
- p.Size = Vector3.new(3, 200, 3)
- p.CanCollide = false
- p.Transparency = Energy.Transparency
- p.Name = "StrongBlast"
- p.BrickColor = BrickColor.new("Really red")
- p.TopSurface = "Smooth"
- p.BottomSurface = "Smooth"
- p.CFrame = Torso.CFrame * CFrame.new(Vector3.new(0, 0.5, -5)) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0)
- Owner = Instance.new("ObjectValue")
- Owner.Parent = p
- Owner.Name = "Owner"
- Owner.Value = Me
- m = Instance.new("CylinderMesh")
- m.Parent = p
- m.Scale = Vector3.new(1, 0, 1)
- p2 = Instance.new("Part")
- p2.Parent = workspace
- p2.Anchored = true
- p2.Size = Vector3.new(2, 200, 2)
- p2.CanCollide = false
- p2.Transparency = Energy2.Transparency
- p2.Name = "StrongBlast"
- p2.BrickColor = BrickColor.new("Really black")
- p2.TopSurface = "Smooth"
- p2.BottomSurface = "Smooth"
- p2.CFrame = Torso.CFrame * CFrame.new(Vector3.new(0, 0.5, -5)) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0)
- m2 = Instance.new("CylinderMesh")
- m2.Parent = p2
- m2.Scale = Vector3.new(1, 0, 1)
- game.Lighting.BeastBomb:clone().Parent = p
- game.Lighting.Remover:clone().Parent = p
- game.Lighting.Remover:clone().Parent = p2
- for i = 1 , 75 do
- p.Transparency = p.Transparency + 0.0025
- Energy.Transparency = Energy.Transparency + 0.0025
- EnergyMesh.Scale = EnergyMesh.Scale + Vector3.new(0.01, 0.01, 0.01)
- p.CFrame = p.CFrame * CFrame.new(Vector3.new(0, -4, 0))
- p2.CFrame = p2.CFrame * CFrame.new(Vector3.new(0, -4, 0))
- m.Scale = m.Scale - Vector3.new(0.01, 0.04, 0.01)
- m2.Scale = m2.Scale - Vector3.new(0.01, 0.04, 0.01)
- wait()
- end
- p:Remove()
- Energy:Remove()
- p2:Remove()
- Energy2:Remove()
- wait(1)
- Humanoid.WalkSpeed = xWalkSpeed.Value
- RefreshWelds()
- end
- end
- if Chakra.Value >= ((MaxChakra.Value/5)*1.25) and Humanoid.Jump == false and not WallRunning then
- if CurrentSpecialModeType == SpecialModeTypes[1] then
- Humanoid.WalkSpeed = 0
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*1.25)
- CreateMyClone((Torso.CFrame * CFrame.new(3.5, 0, 3.5)).p, "Rasengan", 4)
- CreateMyClone((Torso.CFrame * CFrame.new(-3.5, 0, 3.5)).p, "Rasengan", 5)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -1.3)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 1.3)
- wait(0.7)
- Rasengan = Instance.new("Part")
- Rasengan.Parent = Character
- Rasengan.formFactor = "Symmetric"
- Rasengan.BrickColor = BrickColor.new(23)
- Rasengan.Transparency = 0.2
- Rasengan.Name = "Rasengan"
- Rasengan.Reflectance = 0.1
- Rasengan.Size = Vector3.new(1, 1, 1)
- Rasengan.TopSurface = "Smooth"
- Rasengan.BottomSurface = "Smooth"
- Rasengan.CFrame = Torso.CFrame
- RasenganWeld = Instance.new("Weld")
- RasenganWeld.Parent = RightArm
- RasenganWeld.Part0 = RightArm
- RasenganWeld.Part1 = Rasengan
- RasenganWeld.C0 = CFrame.new(0, -1.3, 0)
- RasenganMesh = Instance.new("SpecialMesh")
- RasenganMesh.Parent = Rasengan
- RasenganMesh.MeshType = "Sphere"
- RasenganMesh.Scale = Vector3.new(0, 0, 0)
- lRasengan = Instance.new("Part")
- lRasengan.Parent = Character
- lRasengan.formFactor = "Symmetric"
- lRasengan.BrickColor = BrickColor.new(23)
- lRasengan.Transparency = 0.2
- lRasengan.Name = "Rasengan"
- lRasengan.Reflectance = 0.1
- lRasengan.Size = Vector3.new(1, 1, 1)
- lRasengan.TopSurface = "Smooth"
- lRasengan.BottomSurface = "Smooth"
- lRasengan.CFrame = Torso.CFrame
- lRasenganWeld = Instance.new("Weld")
- lRasenganWeld.Parent = LeftArm
- lRasenganWeld.Part0 = LeftArm
- lRasenganWeld.Part1 = lRasengan
- lRasenganWeld.C0 = CFrame.new(0, -1.3, 0)
- lRasenganMesh = Instance.new("SpecialMesh")
- lRasenganMesh.Parent = lRasengan
- lRasenganMesh.MeshType = "Sphere"
- lRasenganMesh.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(0.1, 0.1, 0.1)
- lRasenganMesh.Scale = lRasenganMesh.Scale + Vector3.new(0.1, 0.1, 0.1)
- wait(0.1)
- end
- wait(0.1)
- Humanoid.WalkSpeed = xWalkSpeed.Value * 3
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.45)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.45)
- Owner = Instance.new("ObjectValue")
- Owner.Parent = Rasengan
- Owner.Name = "Owner"
- Owner.Value = Me
- OwnerClone = Owner:clone()
- OwnerClone.Parent = lRasengan
- game.Lighting.RightRasenrendanScript:clone().Parent = Rasengan
- game.Lighting.LeftRasenrendanScript:clone().Parent = lRasengan
- wait(5)
- RightShoulder.C0 = RightShoulderC0
- LeftShoulder.C0 = LeftShoulderC0
- Humanoid.WalkSpeed = xWalkSpeed.Value
- else
- if CurrentSpecialModeType == "" then
- Humanoid.WalkSpeed = 0
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*1.25)
- CreateMyClone((Torso.CFrame * CFrame.new(3.5, 0, 3.5)).p, "Rasengan", 5)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -1.3)
- wait(0.3)
- Rasengan = Instance.new("Part")
- Rasengan.Parent = Character
- Rasengan.formFactor = "Symmetric"
- Rasengan.BrickColor = BrickColor.new(23)
- Rasengan.Transparency = 0.2
- Rasengan.Name = "Rasengan"
- Rasengan.Reflectance = 0.1
- Rasengan.Size = Vector3.new(1, 1, 1)
- Rasengan.TopSurface = "Smooth"
- Rasengan.BottomSurface = "Smooth"
- Rasengan.CFrame = Torso.CFrame
- RasenganWeld = Instance.new("Weld")
- RasenganWeld.Parent = RightArm
- RasenganWeld.Part0 = RightArm
- RasenganWeld.Part1 = Rasengan
- RasenganWeld.C0 = CFrame.new(0, -1.3, 0)
- 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(0.1, 0.1, 0.1)
- wait(0.1)
- end
- wait(0.1)
- Humanoid.WalkSpeed = xWalkSpeed.Value * 3
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.45)
- Owner = Instance.new("ObjectValue")
- Owner.Parent = Rasengan
- Owner.Name = "Owner"
- Owner.Value = Me
- game.Lighting.RasenganScript:clone().Parent = Rasengan
- wait(5)
- RightShoulder.C0 = RightShoulderC0
- Humanoid.WalkSpeed = xWalkSpeed.Value
- end
- end
- end
- end
- if Key == "t" and Chakra.Value >= ((MaxChakra.Value/5)*2) and CurrentSpecialModeType == SpecialModeTypes[2] then
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*2)
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- Gyro.cframe = Torso.CFrame
- Velocity.maxForce = Vector3.new(0, 0, 0)
- Velocity.velocity = Vector3.new(0, 0, 0)
- Position.maxForce = Vector3.new(0, 0, 0)
- Position.position = Torso.Position
- Humanoid.WalkSpeed = 0
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(-1.35, 0, 0)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(1.35, 0, 0)
- Velocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- wait(0.1)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(-1.35, 0, 0)
- Humanoid.PlatformStand = true
- Model = Instance.new("Model")
- Model.Parent = Character
- ShockWave = Instance.new("Part")
- ShockWave.Parent = Model
- ShockWave.TopSurface = "Smooth"
- ShockWave.BottomSurface = "Smooth"
- ShockWave.Size = Vector3.new(50, 50, 50)
- ShockWave.Reflectance = 0.1
- ShockWave.Transparency = 0
- ShockWave.BrickColor = BrickColor.new("Really black")
- ShockWave.CanCollide = false
- ShockWave.Anchored = true
- ShockWave.Name = "ShockWave"
- ShockWave.CFrame = CFrame.new(Torso.Position + Vector3.new(0, -3, 0))
- ShockMesh = Instance.new("SpecialMesh")
- ShockMesh.Parent = ShockWave
- ShockMesh.Scale = Vector3.new(1, 1, 1)
- ShockMesh.MeshType = "Sphere"
- Effect = Instance.new("Part")
- Effect.Parent = Model
- Effect.Anchored = true
- Effect.CanCollide = false
- Effect.Size = Vector3.new(1, 1, 1)
- Effect.formFactor = "Symmetric"
- Effect.Transparency = 0
- Effect.Reflectance = 0.1
- Effect.BrickColor = BrickColor.new("Really black")
- Effect.TopSurface = "Smooth"
- Effect.BottomSurface = "Smooth"
- EffectMesh = Instance.new("CylinderMesh")
- EffectMesh.Parent = Effect
- EffectMesh.Scale = Vector3.new(20, 1500, 20)
- Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- for i = 1 , 60 do
- Gyro.cframe = Gyro.cframe * CFrame.fromEulerAnglesXYZ(0, -0.7, 0)
- ShockWave.CFrame = Torso.CFrame * CFrame.new(0, -2, 0)
- Effect.CFrame = Torso.CFrame * CFrame.new(0, -2, 0)
- for u, c in pairs(workspace:GetChildren()) do
- if c.Name ~= Me.Name then
- h = c:findFirstChild("Humanoid")
- t = c:findFirstChild("Torso")
- if h ~= nil and t ~= nil then
- if (Torso.Position-t.Position).magnitude <= ShockWave.Size.X/2 then
- h.Sit = true
- t.CFrame = CFrame.new(Torso.Position + Vector3.new(math.random(-20, 20), 0, math.random(-20, 20)))
- t.CFrame = t.CFrame * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- if i < 39 then
- h:TakeDamage(2.5)
- CreateTag(Me, h)
- end
- if i >= 39 then
- if h ~= nil and t ~= nil then
- h.Sit = true
- t.Velocity = Torso.CFrame.lookVector * 200 + Vector3.new(0, 60, 0)
- end
- end
- end
- end
- if c.className == "Part" then
- if c.Name == "Shuriken" then
- if (Torso.Position-c.Position).magnitude <= ShockWave.Size.X then
- f = c:findFirstChild("BodyVelocity")
- if f ~= nil then
- f.velocity = f.velocity * Vector3.new(-1, 1, -1)
- f.Name = "Reversed"
- end
- end
- end
- end
- end
- end
- wait()
- end
- Model:Remove()
- Humanoid.PlatformStand = false
- Velocity.maxForce = Vector3.new(0, 0, 0)
- Velocity.velocity = Vector3.new(0, 0, 0)
- wait(0.3)
- Gyro.maxTorque = Vector3.new(0, 0, 0)
- Humanoid.WalkSpeed = xWalkSpeed.Value
- RefreshWelds()
- end
- if Key == "t" and CurrentSpecialModeType ~= SpecialModeTypes[2] then
- if Chakra.Value >= ((MaxChakra.Value/5)*2) and Humanoid.Jump == false and not WallRunning then
- Humanoid.WalkSpeed = 0
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*2)
- CreateMyClone((Torso.CFrame * CFrame.new(3.6, 0, 1)).p, "Rasengan", 4)
- CreateMyClone((Torso.CFrame * CFrame.new(3.6, 0, 5)).p, "Rasengan", 5)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -1.3)
- wait(0.3)
- Rasengan = Instance.new("Part")
- Rasengan.Parent = Character
- Rasengan.formFactor = "Symmetric"
- Rasengan.BrickColor = BrickColor.new(23)
- Rasengan.Transparency = 0.2
- Rasengan.Name = "Rasengan"
- Rasengan.Reflectance = 0.1
- Rasengan.Size = Vector3.new(2, 2, 2)
- Rasengan.TopSurface = "Smooth"
- Rasengan.BottomSurface = "Smooth"
- Rasengan.CFrame = Torso.CFrame
- RasenganWeld = Instance.new("Weld")
- RasenganWeld.Parent = RightArm
- RasenganWeld.Part0 = RightArm
- RasenganWeld.Part1 = Rasengan
- if CurrentSpecialModeType == "" then
- RasenganWeld.C0 = CFrame.new(0, -1.8, 0)
- else
- RasenganWeld.C0 = CFrame.new(0, -2.3, 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
- if CurrentSpecialModeType == "" then
- RasenganMesh.Scale = RasenganMesh.Scale + Vector3.new(0.1, 0.1, 0.1)
- else
- RasenganMesh.Scale = RasenganMesh.Scale + Vector3.new(0.18, 0.18, 0.18)
- end
- wait(0.1)
- end
- wait(0.1)
- Humanoid.WalkSpeed = xWalkSpeed.Value * 3
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.57)
- Owner = Instance.new("ObjectValue")
- Owner.Parent = Rasengan
- Owner.Name = "Owner"
- Owner.Value = Me
- if CurrentSpecialModeType == "" then
- game.Lighting.GiantRasenganScript:clone().Parent = Rasengan
- else
- if CurrentSpecialModeType == SpecialModeTypes[1] then
- game.Lighting.GiantSageRasenganScript:clone().Parent = Rasengan
- end
- end
- wait(5)
- RightShoulder.C0 = RightShoulderC0
- Humanoid.WalkSpeed = xWalkSpeed.Value
- end
- end
- if Key == "g" and CurrentSpecialModeType == SpecialModeTypes[2] then
- if Chakra.Value >= ((MaxChakra.Value/5)*3) and Humanoid.Jump == false and not WallRunning then
- Humanoid.WalkSpeed = 0
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*3)
- wait(0.5)
- Rasengan = Instance.new("Part")
- Rasengan.Parent = Character
- Rasengan.formFactor = "Symmetric"
- Rasengan.BrickColor = BrickColor.new("Really red")
- Rasengan.Transparency = 0.3
- Rasengan.Name = "Rasengan"
- Rasengan.Reflectance = 0.1
- Rasengan.Size = Vector3.new(2, 2, 2)
- 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, 0.5, -6)
- RasenganMesh = Instance.new("SpecialMesh")
- RasenganMesh.Parent = Rasengan
- RasenganMesh.MeshType = "Sphere"
- RasenganMesh.Scale = Vector3.new(0, 0, 0)
- Rasengan2 = Instance.new("Part")
- Rasengan2.Parent = Rasengan
- Rasengan2.formFactor = "Symmetric"
- Rasengan2.BrickColor = BrickColor.new("Really black")
- Rasengan2.Transparency = 0
- Rasengan2.Name = "Ball"
- Rasengan2.Reflectance = 0.2
- Rasengan2.Size = Vector3.new(2, 2, 2)
- Rasengan2.TopSurface = "Smooth"
- Rasengan2.BottomSurface = "Smooth"
- Rasengan2.CFrame = Torso.CFrame
- RasenganWeld2 = Instance.new("Weld")
- RasenganWeld2.Parent = Rasengan
- RasenganWeld2.Part0 = Rasengan
- RasenganWeld2.Part1 = Rasengan2
- RasenganWeld2.C0 = CFrame.new(0, 0, 0)
- RasenganMesh2 = Instance.new("SpecialMesh")
- RasenganMesh2.Parent = Rasengan2
- RasenganMesh2.MeshType = "Sphere"
- RasenganMesh2.Scale = Vector3.new(0.8, 0.8, 0.8)
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- for i = 1 , 10 do
- RasenganMesh.Scale = RasenganMesh.Scale + Vector3.new(0.18, 0.18, 0.18)
- wait(0.1)
- end
- wait(0.05)
- Humanoid.WalkSpeed = xWalkSpeed.Value * 3
- Owner = Instance.new("ObjectValue")
- Owner.Parent = Rasengan
- Owner.Name = "Owner"
- Owner.Value = Me
- game.Lighting.KyuubiRasenganScript:clone().Parent = Rasengan
- end
- wait(5)
- Humanoid.WalkSpeed = xWalkSpeed.Value
- end
- if Key == "g" and CurrentSpecialModeType ~= SpecialModeTypes[2] then
- if Chakra.Value >= ((MaxChakra.Value/5)*2.5) and Humanoid.Jump == false and not WallRunning then
- if CurrentSpecialModeType == SpecialModeTypes[1] then
- Humanoid.WalkSpeed = 0
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*2.5)
- ChakraWelds()
- CreateMyClone((Torso.CFrame * CFrame.new(3.5, 0, 1)).p, "Rasengan", 4)
- CreateMyClone((Torso.CFrame * CFrame.new(3.5, 0, 5)).p, "Rasengan", 5)
- RefreshWelds()
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -1.3)
- wait(0.3)
- RasenShurikenClone = RasenShuriken:clone()
- RasenShurikenClone.Transparency = 1
- RasenShurikenClone.Parent = Character
- RasenShurikenClone.CFrame = Torso.CFrame
- RasenShurikenClone2 = RasenShuriken33:clone()
- RasenShurikenClone2.Parent = RasenShurikenClone
- RasenShurikenClone2.Transparency = 1
- RasenShurikenClone2.CFrame = RasenShurikenClone.CFrame
- RasenShurikenCloneWeld = Instance.new("Weld")
- RasenShurikenCloneWeld.Parent = RasenShurikenClone
- RasenShurikenCloneWeld.Part0 = RasenShurikenClone
- RasenShurikenCloneWeld.Part1 = RasenShurikenClone2
- RasenShurikenCloneWeld.C0 = CFrame.new(0, 0, 0)
- RasenShurikenClone22 = RasenShuriken32:clone()
- RasenShurikenClone22.Parent = RasenShurikenClone
- RasenShurikenClone22.Transparency = 1
- RasenShurikenClone22.CFrame = RasenShurikenClone.CFrame
- RasenShurikenCloneWeld = Instance.new("Weld")
- RasenShurikenCloneWeld.Parent = RasenShurikenClone
- RasenShurikenCloneWeld.Part0 = RasenShurikenClone
- RasenShurikenCloneWeld.Part1 = RasenShurikenClone22
- RasenShurikenCloneWeld.C0 = CFrame.new(0, 0, 0)
- RasenganWeld = Instance.new("Weld")
- RasenganWeld.Parent = RightArm
- RasenganWeld.Part0 = RightArm
- RasenganWeld.Part1 = RasenShurikenClone
- RasenganWeld.C0 = CFrame.new(0, -1.3, 0) * CFrame.Angles(0, 0, 0)
- RasenganWeld.Name = "BLEH"
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- for i = 1 , 10 do
- RasenShurikenClone.Transparency = RasenShurikenClone.Transparency - 0.08
- wait(0.1)
- end
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.14)
- wait(0.4)
- for i = 1 , 5 do
- RasenShurikenClone2.Transparency = RasenShurikenClone2.Transparency - 0.1
- RasenShurikenClone2.Mesh.Scale = RasenShurikenClone2.Mesh.Scale + Vector3.new(2, 0, 2)
- RasenShurikenClone22.Transparency = RasenShurikenClone22.Transparency - 0.1
- wait(0.05)
- end
- wait(0.3)
- RasenShurikenClone:Remove()
- RasenShurikenClone2:Remove()
- RasenShurikenClone22:Remove()
- ShurikenClone = BigShuriken:clone()
- ShurikenClone.Parent = Workspace
- ShurikenClone.CFrame = Torso.CFrame * CFrame.new(0.8, 0.8, -25)
- ShurikenClone.BodyGyro.cframe = Torso.CFrame
- ShurikenClone.BodyVelocity.velocity = Torso.CFrame.lookVector * math.random(200, 250)
- game.Lighting["ThrowRasenShurikenSpinner"]:clone().Parent = ShurikenClone
- RasenShurikenClone3 = RasenShuriken3:clone()
- RasenShurikenClone3.Parent = ShurikenClone
- RasenShurikenClone3.Transparency = 0.2
- RasenShurikenClone3.CFrame = ShurikenClone.CFrame
- RasenShurikenCloneWeld = Instance.new("Weld")
- RasenShurikenCloneWeld.Parent = ShurikenClone
- RasenShurikenCloneWeld.Part0 = ShurikenClone
- RasenShurikenCloneWeld.Part1 = RasenShurikenClone3
- RasenShurikenCloneWeld.C0 = CFrame.new(0, 0, 0)
- RasenShurikenClone32 = RasenShuriken32:clone()
- RasenShurikenClone32.Parent = ShurikenClone
- RasenShurikenClone32.Transparency = 0.15
- RasenShurikenClone32.CFrame = ShurikenClone.CFrame
- RasenShurikenCloneWeld2 = Instance.new("Weld")
- RasenShurikenCloneWeld2.Parent = ShurikenClone
- RasenShurikenCloneWeld2.Part0 = ShurikenClone
- RasenShurikenCloneWeld2.Part1 = RasenShurikenClone32
- RasenShurikenCloneWeld2.C0 = CFrame.new(0, 0, 0)
- 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(1)
- 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
- RefreshWelds()
- Humanoid.WalkSpeed = xWalkSpeed.Value
- else
- if CurrentSpecialModeType == "" then
- Humanoid.WalkSpeed = 0
- Chakra.Value = Chakra.Value - ((MaxChakra.Value/5)*2.5)
- ChakraWelds()
- CreateMyClone((Torso.CFrame * CFrame.new(3.5, 0, 1)).p, "Rasengan", 4)
- CreateMyClone((Torso.CFrame * CFrame.new(3.5, 0, 5)).p, "Rasengan", 5)
- RefreshWelds()
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -1.3)
- wait(0.3)
- RasenShurikenClone = RasenShuriken:clone()
- RasenShurikenClone.Transparency = 1
- RasenShurikenClone.Parent = Character
- RasenShurikenClone.CFrame = Torso.CFrame
- RasenShurikenClone2 = RasenShuriken2:clone()
- RasenShurikenClone2.Parent = RasenShurikenClone
- RasenShurikenClone2.Transparency = 1
- RasenShurikenClone2.CFrame = RasenShurikenClone.CFrame
- RasenShurikenCloneWeld = Instance.new("Weld")
- RasenShurikenCloneWeld.Parent = RasenShurikenClone
- RasenShurikenCloneWeld.Part0 = RasenShurikenClone
- RasenShurikenCloneWeld.Part1 = RasenShurikenClone2
- RasenShurikenCloneWeld.C0 = CFrame.new(0, 0, 0)
- RasenShurikenClone22 = RasenShuriken22:clone()
- RasenShurikenClone22.Parent = RasenShurikenClone
- RasenShurikenClone22.Transparency = 1
- RasenShurikenClone22.CFrame = RasenShurikenClone.CFrame
- RasenShurikenCloneWeld = Instance.new("Weld")
- RasenShurikenCloneWeld.Parent = RasenShurikenClone
- RasenShurikenCloneWeld.Part0 = RasenShurikenClone
- RasenShurikenCloneWeld.Part1 = RasenShurikenClone22
- RasenShurikenCloneWeld.C0 = CFrame.new(0, 0, 0)
- RasenganWeld = Instance.new("Weld")
- RasenganWeld.Parent = RightArm
- RasenganWeld.Part0 = RightArm
- RasenganWeld.Part1 = RasenShurikenClone
- RasenganWeld.C0 = CFrame.new(0, -1.3, 0) * CFrame.Angles(0, 0, 0)
- RasenganWeld.Name = "BLEH"
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- for i = 1 , 10 do
- RasenShurikenClone.Transparency = RasenShurikenClone.Transparency - 0.08
- wait(0.1)
- end
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.14)
- wait(0.4)
- for i = 1 , 5 do
- RasenShurikenClone2.Transparency = RasenShurikenClone2.Transparency - 0.1
- RasenShurikenClone2.Mesh.Scale = RasenShurikenClone2.Mesh.Scale + Vector3.new(2, 0, 2)
- RasenShurikenClone22.Transparency = RasenShurikenClone22.Transparency - 0.1
- RasenShurikenClone22.Mesh.Scale = RasenShurikenClone22.Mesh.Scale + Vector3.new(2, 0, 2)
- wait(0.05)
- end
- wait(0.5)
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.45)
- Humanoid.WalkSpeed = xWalkSpeed.Value * 3
- game.Lighting.RasenShurikenSpinner:clone().Parent = RasenShurikenClone
- for i = 1 , 50 do
- d = Character:findFirstChild("RasenShuriken")
- if d ~= nil then
- RasenganWeld.C0 = RasenganWeld.C0 * CFrame.Angles(0, 0.8, 0)
- end
- wait(0.1)
- end
- RightShoulder.C0 = RightShoulderC0
- Humanoid.WalkSpeed = xWalkSpeed.Value
- end
- end
- end
- end
- ----------------------------------------------------------------------------------------
- if Key == "b" and Chakra.Value >= ((MaxChakra.Value/5)*5) then
- if CurrentSpecialModeType == "" then
- ChosenSpecialModeType = 1
- if Humanoid.Health <= SpecialModeTypesMinimum[ChosenSpecialModeType] then
- --xHealth.Value = SpecialModeTypesMinimum[ChosenSpecialModeType]
- CurrentSpecialModeType = SpecialModeTypes[ChosenSpecialModeType]
- --Humanoid.MaxHealth = SpecialModeTypesMinimum[ChosenSpecialModeType]
- --MaxChakra.Value = SpecialModeTypesChakra[ChosenSpecialModeType]
- Chakra.Value = MaxChakra.Value
- xWalkSpeed.Value = xWalkSpeed.Value * 1.5
- Humanoid.Health = Humanoid.Health * 1.5
- Humanoid.WalkSpeed = xWalkSpeed.Value
- Damage = Damage * 1.5
- Effect = Instance.new("Part")
- Effect.Parent = Character
- Effect.Anchored = true
- Effect.CanCollide = false
- Effect.Size = Vector3.new(1, 1, 1)
- Effect.formFactor = "Symmetric"
- Effect.Transparency = 0.5
- Effect.BrickColor = BrickColor.new(28)
- Effect.TopSurface = "Smooth"
- Effect.BottomSurface = "Smooth"
- EffectMesh = Instance.new("CylinderMesh")
- EffectMesh.Parent = Effect
- EffectMesh.Scale = Vector3.new(20, 1500, 20)
- SageScroll = Instance.new("Model")
- SageScroll.Parent = Character
- SageScroll.Name = "SageScroll"
- Scroll = Instance.new("Part")
- Scroll.Parent = SageScroll
- Scroll.CanCollide = false
- Scroll.formFactor = "Symmetric"
- Scroll.Size = Vector3.new(1, 4, 1)
- Scroll.BrickColor = BrickColor.new(21)
- Scroll.CFrame = Torso.CFrame
- Scroll.Name = "Scroll"
- ScrollMesh = Instance.new("CylinderMesh")
- ScrollMesh.Parent = Scroll
- ScrollMesh.Scale = Vector3.new(1.65, 1, 1.65)
- ScrollWeld = Instance.new("Weld")
- ScrollWeld.Parent = Torso
- ScrollWeld.Part0 = Torso
- ScrollWeld.Part1 = Scroll
- ScrollWeld.C0 = CFrame.new(0, -0.85, 1.3) * CFrame.Angles(0, 0, 1.57)
- Scroll2 = Instance.new("Part")
- Scroll2.Parent = SageScroll
- Scroll2.CanCollide = false
- Scroll2.formFactor = "Symmetric"
- Scroll2.Size = Vector3.new(1, 1, 1)
- Scroll2.BrickColor = BrickColor.new(26)
- Scroll2.CFrame = Torso.CFrame
- Scroll2.Name = "Scroll"
- ScrollMesh = Instance.new("CylinderMesh")
- ScrollMesh.Parent = Scroll2
- ScrollMesh.Scale = Vector3.new(1.74, 0.7, 1.74)
- ScrollWeld = Instance.new("Weld")
- ScrollWeld.Parent = Scroll
- ScrollWeld.Part0 = Scroll
- ScrollWeld.Part1 = Scroll2
- ScrollWeld.C0 = CFrame.new(0, 1.67, 0)
- Scroll2 = Instance.new("Part")
- Scroll2.Parent = SageScroll
- Scroll2.CanCollide = false
- Scroll2.formFactor = "Symmetric"
- Scroll2.Size = Vector3.new(1, 1, 1)
- Scroll2.BrickColor = BrickColor.new(26)
- Scroll2.CFrame = Torso.CFrame
- Scroll2.Name = "Scroll"
- ScrollMesh = Instance.new("CylinderMesh")
- ScrollMesh.Parent = Scroll2
- ScrollMesh.Scale = Vector3.new(1.74, 0.7, 1.74)
- ScrollWeld = Instance.new("Weld")
- ScrollWeld.Parent = Scroll
- ScrollWeld.Part0 = Scroll
- ScrollWeld.Part1 = Scroll2
- ScrollWeld.C0 = CFrame.new(0, -1.67, 0)
- Scroll2 = Instance.new("Part")
- Scroll2.Parent = SageScroll
- Scroll2.CanCollide = false
- Scroll2.formFactor = "Symmetric"
- Scroll2.Size = Vector3.new(1, 1, 1)
- Scroll2.BrickColor = BrickColor.new(217)
- Scroll2.CFrame = Torso.CFrame
- Scroll2.Name = "Scroll"
- ScrollMesh = Instance.new("CylinderMesh")
- ScrollMesh.Parent = Scroll2
- ScrollMesh.Scale = Vector3.new(1.74, 1.4, 1.74)
- ScrollWeld = Instance.new("Weld")
- ScrollWeld.Parent = Scroll
- ScrollWeld.Part0 = Scroll
- ScrollWeld.Part1 = Scroll2
- ScrollWeld.C0 = CFrame.new(0, 0, 0)
- Scroll2 = Instance.new("Part")
- Scroll2.Parent = SageScroll
- Scroll2.CanCollide = false
- Scroll2.formFactor = "Symmetric"
- Scroll2.Size = Vector3.new(1, 1, 1)
- Scroll2.BrickColor = BrickColor.new("Medium stone grey")
- Scroll2.CFrame = Torso.CFrame
- Scroll2.Name = "Scroll"
- ScrollMesh = Instance.new("CylinderMesh")
- ScrollMesh.Parent = Scroll2
- ScrollMesh.Scale = Vector3.new(1, 0.5, 1)
- ScrollWeld = Instance.new("Weld")
- ScrollWeld.Parent = Scroll
- ScrollWeld.Part0 = Scroll
- ScrollWeld.Part1 = Scroll2
- ScrollWeld.C0 = CFrame.new(0, 2, 0)
- Scroll2 = Instance.new("Part")
- Scroll2.Parent = SageScroll
- Scroll2.CanCollide = false
- Scroll2.formFactor = "Symmetric"
- Scroll2.Size = Vector3.new(1, 1, 1)
- Scroll2.BrickColor = BrickColor.new("Medium stone grey")
- Scroll2.CFrame = Torso.CFrame
- Scroll2.Name = "Scroll"
- ScrollMesh = Instance.new("CylinderMesh")
- ScrollMesh.Parent = Scroll2
- ScrollMesh.Scale = Vector3.new(1, 0.5, 1)
- ScrollWeld = Instance.new("Weld")
- ScrollWeld.Parent = Scroll
- ScrollWeld.Part0 = Scroll
- ScrollWeld.Part1 = Scroll2
- ScrollWeld.C0 = CFrame.new(0, -2, 0)
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- s = Character:findFirstChild("CharacterShirt")
- p = Character:findFirstChild("CharacterPants")
- if s ~= nil and p ~= nil then
- s:Remove()
- p:Remove()
- SageShirt:clone().Parent = Character
- SagePants:clone().Parent = Character
- end
- for i = 1 , 20 do
- Effect.CFrame = CFrame.new(Torso.Position)
- EffectMesh.Scale = EffectMesh.Scale - Vector3.new(1, 0, 1)
- Effect.Transparency = Effect.Transparency + 0.025
- wait(0.1)
- end
- Effect:Remove()
- end
- end
- end
- if Key == "n" and Chakra.Value >= ((MaxChakra.Value/5)*5) then
- ChosenSpecialModeType = 2
- if Humanoid.Health <= SpecialModeTypesMinimum[ChosenSpecialModeType] then
- --xHealth.Value = SpecialModeTypesMinimum[ChosenSpecialModeType]
- CurrentSpecialModeType = SpecialModeTypes[ChosenSpecialModeType]
- --Humanoid.MaxHealth = SpecialModeTypesMinimum[ChosenSpecialModeType]
- --MaxChakra.Value = SpecialModeTypesChakra[ChosenSpecialModeType]
- Chakra.Value = MaxChakra.Value
- xWalkSpeed.Value = 42
- Humanoid.Health = Humanoid.Health * 1.5
- Humanoid.WalkSpeed = 0
- Damage = Damage * 1.7
- Effect = Instance.new("Part")
- Effect.Parent = Character
- Effect.Anchored = true
- Effect.CanCollide = false
- Effect.Size = Vector3.new(1, 1, 1)
- Effect.formFactor = "Symmetric"
- Effect.Transparency = 0
- Effect.Reflectance = 0.05
- Effect.BrickColor = BrickColor.new("Really black")
- Effect.TopSurface = "Smooth"
- Effect.BottomSurface = "Smooth"
- EffectMesh = Instance.new("CylinderMesh")
- EffectMesh.Parent = Effect
- EffectMesh.Scale = Vector3.new(20, 1500, 20)
- Scroll = Character:findFirstChild("SageScroll")
- if Scroll ~= nil then
- Scroll:Remove()
- end
- Torso.CFrame = Torso.CFrame * CFrame.new(0, 0.1, 0)
- s = Character:findFirstChild("CharacterShirt")
- p = Character:findFirstChild("CharacterPants")
- if s ~= nil and p ~= nil then
- s:Remove()
- p:Remove()
- end
- Kyuubi = game.Lighting.Kyuubi.Head:clone()
- Kyuubi.Parent = Character
- Kyuubi.CFrame = CFrame.new(Torso.Position + Vector3.new(0, -2.5, 0))
- Kyuubi.Name = Me.Name
- HeadBand:Remove()
- Hair:Remove()
- HeadBand2:Remove()
- Arm1()
- Arm2()
- Leg1()
- Leg2()
- Chest()
- for i = 1 , 50 do
- Effect.CFrame = CFrame.new(Torso.Position)
- EffectMesh.Scale = EffectMesh.Scale + Vector3.new(0.005, 0, 0.005)
- Effect.Transparency = Effect.Transparency + 0.0005
- Kyuubi.Mesh.Scale = Kyuubi.Mesh.Scale + Vector3.new(0.01, 0.01, 0.01)
- Kyuubi.Transparency = Kyuubi.Transparency + 0.0005
- Kyuubi.CFrame = Torso.CFrame * CFrame.Angles(0, -3, 0)
- for u, c in pairs(workspace:GetChildren()) do
- if c.Name ~= Me.Name then
- h = c:findFirstChild("Humanoid")
- t = c:findFirstChild("Torso")
- if h ~= nil and t ~= nil then
- if (Torso.Position-t.Position).magnitude <= Kyuubi.Size.X then
- h.Sit = true
- t.CFrame = CFrame.new(Torso.Position + Vector3.new(math.random(-70, 70), 0, math.random(-70, 70)))
- t.CFrame = t.CFrame * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- h.Sit = true
- t.Velocity = Torso.CFrame.lookVector * 200 + Vector3.new(0, 60, 0)
- end
- end
- end
- if c.className == "Part" then
- if c.Name == "Shuriken" then
- if (Torso.Position-c.Position).magnitude <= Kyuubi.Size.X*1.5 then
- f = c:findFirstChild("BodyVelocity")
- if f ~= nil then
- f.velocity = f.velocity * Vector3.new(-1, 1, -1)
- f.Name = "Reversed"
- end
- end
- end
- end
- end
- wait(0.0025)
- end
- Effect:Remove()
- Kyuubi:Remove()
- Humanoid.WalkSpeed = xWalkSpeed.Value
- Head.face:Remove()
- ChakraSparkles.SparkleColor = Color3.new(1, 0, 0)
- end
- end
- Activated = false
- end
- if Me.Name == "Player" then
- print(Key)
- end
- end
- function onKeyUp(Key)
- Key:lower()
- if WallRunning then
- if Key == "w" then
- GoingForward = false
- RefreshWelds()
- end
- if Key == "d" then
- TurningRight = false
- end
- if Key == "a" then
- TurningLeft = false
- end
- end
- end
- WallRunning = false
- function onButton1Down(Mouse)
- if Mouse.Target ~= nil and Chakra.Value >= (MaxChakra.Value/5) and not Activated and not WallRunning then
- if (Torso.Position-Mouse.Hit.p).magnitude > 30 and (Torso.Position-Mouse.Hit.p).magnitude < 100 and Mouse.Target.Name ~= "TiltBrick" then
- Activated = true
- Chakra.Value = Chakra.Value - (MaxChakra.Value/5)
- ChakraWelds()
- ClickedPosition = Mouse.Hit
- wait(0.5)
- Activated = false
- RefreshWelds()
- Torso.CFrame = ClickedPosition * CFrame.new(0, 3.1, 0)
- end
- end
- if Mouse.Target ~= nil and Chakra.Value >= 1 then
- print(Mouse.Target.Name)
- if not Activated and not WallRunning then
- if (Torso.Position-Mouse.Hit.p).magnitude <= 30 then
- if Mouse.Target.Name == "TiltPart" then
- Activated = true
- WallRunning = true
- Humanoid.PlatformStand = true
- xx = Mouse.Hit.X - Mouse.Target.CFrame.X
- yy = Mouse.Hit.Y - Mouse.Target.CFrame.Y
- zz = Mouse.Hit.Z - Mouse.Target.CFrame.Z
- MouseTilt = (Mouse.Target.CFrame * CFrame.new(0, 2.5, 0)) + Vector3.new(xx,yy,zz)
- MousePosition = MouseTilt.p
- Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- Gyro.cframe = MouseTilt
- Position.maxForce = Vector3.new(999999, 999999, 999999)
- Position.position = MousePosition
- Activated = false
- end
- Wedge = Mouse.Target:findFirstChild("Mesh")
- if Mouse.Target.Name == "Wall" and Mouse.Target.className == "Part" and Wedge == nil then
- Parts = Mouse.Target:findFirstChild("TiltPart")
- if Parts == nil then
- Part = Instance.new("Part")
- Part.Parent = workspace.CurrentCamera
- Part.Anchored = true
- Part.formFactor = "Symmetric"
- Part.CanCollide = false
- Part.Name = "TiltPart"
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.Transparency = 1
- Part.Size = Vector3.new(Mouse.Target.Size.X, 1, Mouse.Target.Size.Z)
- Part.CFrame = Mouse.Target.CFrame * CFrame.new(0, -(Mouse.Target.Size.Y/2), 0) * CFrame.Angles(3.14, 0, 0)
- Part = Instance.new("Part")
- Part.Parent = workspace.CurrentCamera
- Part.Anchored = true
- Part.formFactor = "Symmetric"
- Part.CanCollide = false
- Part.Name = "TiltPart"
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.Transparency = 1
- Part.Size = Vector3.new(Mouse.Target.Size.X, 1, Mouse.Target.Size.Y)
- Part.CFrame = Mouse.Target.CFrame * CFrame.new(0, 0, (Mouse.Target.Size.Z/2)) * CFrame.Angles(1.57, 0, 0)
- Part = Instance.new("Part")
- Part.Parent = workspace.CurrentCamera
- Part.Anchored = true
- Part.formFactor = "Symmetric"
- Part.CanCollide = false
- Part.Name = "TiltPart"
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.Transparency = 1
- Part.Size = Vector3.new(Mouse.Target.Size.X, 1, Mouse.Target.Size.Y)
- Part.CFrame = Mouse.Target.CFrame * CFrame.new(0, 0, -(Mouse.Target.Size.Z/2)) * CFrame.Angles(-1.57, 0, 0)
- Part = Instance.new("Part")
- Part.Parent = workspace.CurrentCamera
- Part.Anchored = true
- Part.formFactor = "Symmetric"
- Part.CanCollide = false
- Part.Name = "TiltPart"
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.Transparency = 1
- Part.Size = Vector3.new(Mouse.Target.Size.Y, 1, Mouse.Target.Size.Z)
- Part.CFrame = Mouse.Target.CFrame * CFrame.new(-(Mouse.Target.Size.X/2), 0, 0) * CFrame.Angles(0, 0, 1.57)
- Part = Instance.new("Part")
- Part.Parent = workspace.CurrentCamera
- Part.Anchored = true
- Part.formFactor = "Symmetric"
- Part.CanCollide = false
- Part.Name = "TiltPart"
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.Transparency = 1
- Part.Size = Vector3.new(Mouse.Target.Size.Y, 1, Mouse.Target.Size.Z)
- Part.CFrame = Mouse.Target.CFrame * CFrame.new((Mouse.Target.Size.X/2), 0, 0) * CFrame.Angles(0, 0, -1.57)
- end
- end
- end
- end
- end
- end
- 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 == "Body Colors" or v.Name == "HealthScript v2.0" or v.Name == "RobloxTeam" then
- v:Remove()
- end
- if v.Name == "CharacterShirt" or v.Name == "CharacterPants" then
- if v ~= Shirt and v ~= Pants then
- v:Remove()
- end
- end
- if v.Name == "Body Colors" then
- v:Remove()
- b = Instance.new("BodyColors")
- b.HeadColor = BrickColor.new("Pastel brown")
- b.LeftArmColor = BrickColor.new("Pastel brown")
- b.LeftLegColor = BrickColor.new("Pastel brown")
- b.RightArmColor = BrickColor.new("Pastel brown")
- b.RightLegColor = BrickColor.new("Pastel brown")
- b.TorsoColor = BrickColor.new("Pastel brown")
- b.Parent = Character
- 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
- script.CharacterClone.CloneScript.Disabled = false
- Mouse.KeyDown:connect(onKeyDown)
- Mouse.KeyUp:connect(onKeyUp)
- Mouse.Button1Down:connect(function() onButton1Down(Mouse) end)
- 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 = 1
- SavedHP = Humanoid.Health
- 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
- FeetChakra1.Transparency = 1
- FeetChakra2.Transparency = 1
- if WallRunning then
- if CurrentSpecialModeType ~= SpecialModeTypes[2] then
- FeetChakra1.Transparency = 0.5
- FeetChakra1.BrickColor = BrickColor.new(23)
- FeetChakra2.Transparency = 0.5
- FeetChakra2.BrickColor = BrickColor.new(23)
- end
- if Chakra.Value <= 0 then
- NoClimb()
- end
- if Chakra.Value > 0 then
- --Chakra.Value = Chakra.Value - (MaxChakra.Value/1000)
- if TurningRight then
- Gyro.cframe = Gyro.cframe * CFrame.Angles(0, -0.1, 0)
- end
- if TurningLeft then
- Gyro.cframe = Gyro.cframe * CFrame.Angles(0, 0.1, 0)
- end
- end
- end
- if GoingForward then
- Brcks = {}
- function infChilds(obj)
- for _, v in pairs(obj:GetChildren()) do
- if v:IsA("BasePart") then
- table.insert(Brcks, v)
- end
- if v == Character then break end
- infChilds(v)
- end
- end
- function getChilds(obj)
- infChilds(obj)
- end
- function detectCollision(pos)
- getChilds(workspace)
- local bool = false
- for _, v in pairs(Brcks) do
- local dif = v.CFrame:pointToObjectSpace(pos)
- if (math.floor(dif.y)) <= v.Size.y/2 and (math.floor(dif.y)) >= -(v.Size.y/2) then
- if (math.floor(dif.x)) <= v.Size.x/2 and (math.floor(dif.x)) >= -(v.Size.x/2) then
- if (math.floor(dif.z)) <= v.Size.z/2 and (math.floor(dif.z)) >= -(v.Size.z/2) then
- bool = true
- end
- end
- end
- end
- Brcks = {}
- return bool
- end
- x = detectCollision((Torso.CFrame * CFrame.new(0, -2.5, 0).p))
- if x == false and not Activated then
- for i, v in pairs(workspace.CurrentCamera:GetChildren()) do
- if v.Name == "TiltBrick" then
- v:Remove()
- end
- end
- NoClimb()
- else
- Bleh = Torso.CFrame * CFrame.new(0, 0, -5)
- Position.position = Bleh.p
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -1.57)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 1.57)
- if BottomReached then
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, RunDegree)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, RunDegree)
- RunDegree = RunDegree + 0.2
- end
- if TopReached then
- RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, RunDegree)
- LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, RunDegree)
- RunDegree = RunDegree - 0.2
- end
- if RunDegree > 1.2 then
- TopReached = true
- BottomReached = false
- end
- if RunDegree < -1.2 then
- TopReached = false
- BottomReached = true
- end
- 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 >= 6 then
- Activated = true
- Chakra.Value = Chakra.Value - (MaxChakra.Value/333)
- RunCount = RunCount + 1
- Humanoid.WalkSpeed = xWalkSpeed.Value * 4
- RunSparkles.Enabled = true
- TiltX = -1.1
- TiltY = 0
- TiltZ = 0.5
- RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
- TiltX = -0.3
- TiltY = 0
- TiltZ = 0
- MoveX = 0.1
- MoveY = 0
- MoveZ = -0.5
- RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, -3.14, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
- if RunCount >= 70 then
- Activated = false
- RunCount = 0
- Running = false
- RunSparkles.Enabled = false
- Humanoid.WalkSpeed = xWalkSpeed.Value
- RefreshWelds()
- end
- if Chakra.Value < 6 and Running == true then
- Activated = false
- RunCount = 0
- Running = false
- RunSparkles.Enabled = false
- Humanoid.WalkSpeed = xWalkSpeed.Value
- RefreshWelds()
- 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
- TurningLeft = false
- TurningRight = false
- GoingForward = false
- ChakraSparkles.Enabled = true
- ChakraWelds()
- if CurrentSpecialModeType == SpecialModeTypes[2] then
- ChakraWelds2()
- end
- if not WallRunning then
- if Chakra.Value < MaxChakra.Value then
- if CurrentSpecialModeType == "" then
- Chakra.Value = Chakra.Value + (MaxChakra.Value/420)
- else
- Chakra.Value = Chakra.Value + (MaxChakra.Value/250)
- end
- end
- else
- if Chakra.Value < MaxChakra.Value then
- if CurrentSpecialModeType == "" then
- Chakra.Value = Chakra.Value + (MaxChakra.Value/420)
- else
- Chakra.Value = Chakra.Value + (MaxChakra.Value/250)
- end
- end
- end
- end
- ---------
- wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement