Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local Player = plr.Character
- local Mouse = plr:GetMouse()
- local hum = Player.Humanoid
- local rarm = Player["Right Arm"]
- local larm= Player["Left Arm"]
- local rleg= Player["Right Leg"]
- local lleg = Player["Left Leg"]
- local root = Player.HumanoidRootPart
- local tors = Player.Torso
- local head = Player.Head
- local shirtid = 765769814
- local pantsid = 781482072
- local punching = false
- local skinCol = "Lavender"
- local damaged = {}
- local t = tick()
- local faceid = 342828206
- local auras = {}
- local idle = true
- local kiBlasting = false
- local pwr10 = true
- local bv = nil
- local flying = false
- local pwr40 = false
- local pwr80 = false
- local pwr100 = false
- local ascendcooldown = false
- local descendcooldown = false
- local leftArmdamaging = false
- local rightArmdamaging = false
- local punching = false
- local action = ""
- local mouseDownF = false
- local punchDamage = 15
- local KiDamage = 30
- local armKi = "Right"
- Player:WaitForChild("Health"):Remove()
- local Render = game:GetService("RunService").RenderStepped
- game.Chat:Chat(Player, "Pathetic beings.. I guess its time to teach them a lesson.", "White")
- for i,s in pairs(Player:GetChildren()) do
- if s:IsA("Hat") or s:IsA("Accessory") or s:IsA("Accoutrement") or s:IsA("CharacterMesh") then
- s:Destroy()
- end
- end
- local bd = Player:FindFirstChild("Body Colors")
- if bd then
- bd.HeadColor = BrickColor.new(skinCol)
- bd.TorsoColor = BrickColor.new(skinCol)
- bd.LeftLegColor = BrickColor.new(skinCol)
- bd.RightLegColor = BrickColor.new(skinCol)
- bd.LeftArmColor = BrickColor.new(skinCol)
- bd.RightArmColor = BrickColor.new(skinCol)
- else
- bd = Instance.new("BodyColors", Player)
- bd.HeadColor = BrickColor.new(skinCol)
- bd.TorsoColor = BrickColor.new(skinCol)
- bd.LeftLegColor = BrickColor.new(skinCol)
- bd.RightLegColor = BrickColor.new(skinCol)
- bd.LeftArmColor = BrickColor.new(skinCol)
- bd.RightArmColor = BrickColor.new(skinCol)
- end
- shirt = Player:FindFirstChild("Shirt")
- if shirt then
- shirt.ShirtTemplate = "rbxassetid://".. shirtid ..""
- else
- shirt = Instance.new("Shirt", Player)
- shirt.ShirtTemplate = "rbxassetid://".. shirtid ..""
- end
- pants = Player:FindFirstChild("Pants")
- if pants then
- pants.PantsTemplate = "rbxassetid://".. pantsid ..""
- else
- pants = Instance.new("Pants", Player)
- pants. PantsTemplate = "rbxassetid://".. pantsid ..""
- end
- face = head:FindFirstChild("face")
- if face then
- face.Texture = "rbxassetid://".. faceid ..""
- else
- face = Instance.new("Decal", head)
- face.Name = "face"
- face.Texture = "rbxassetid://".. faceid ..""
- end
- function aura()
- local aura = Instance.new("ParticleEmitter", root)
- aura.Texture = "rbxassetid://445231746"
- aura.Color = ColorSequence.new(Color3.fromRGB(69, 0, 220))
- aura.Size = NumberSequence.new(0,1)
- aura.Transparency = NumberSequence.new(0,1)
- aura.LockedToPart = true
- aura.LightEmission = 1
- aura.LightInfluence = 1
- aura.ZOffset = -1
- aura.Lifetime = NumberRange.new(0.4)
- aura.Rate = 200
- aura.Speed = NumberRange.new(2)
- aura.SpreadAngle = Vector2.new(0,0)
- aura.Enabled = true
- table.insert(auras, aura)
- aurah = aura:Clone()
- aurah.Parent = head
- table.insert(auras, aurah)
- auralarm = aura:Clone()
- auralarm.Parent = larm
- table.insert(auras, auralarm)
- aurararm = aura:Clone()
- aurararm.Parent = rarm
- table.insert(auras, aurararm)
- auralleg = aura:Clone()
- auralleg.Parent = lleg
- table.insert(auras, auralleg)
- aurarleg = aura:Clone()
- aurarleg.Parent = rleg
- table.insert(auras, aurarleg)
- end
- function aura40()
- local aura = Instance.new("ParticleEmitter", root)
- aura.Texture = "rbxassetid://445231746"
- aura.Color = ColorSequence.new(Color3.fromRGB(137, 0, 217))
- aura.Size = NumberSequence.new(0,1)
- aura.Transparency = NumberSequence.new(0,1)
- aura.LockedToPart = true
- aura.LightEmission = 1
- aura.LightInfluence = 1
- aura.ZOffset = -1
- aura.Lifetime = NumberRange.new(0.4)
- aura.Rate = 200
- aura.Speed = NumberRange.new(2)
- aura.SpreadAngle = Vector2.new(0,0)
- aura.Enabled = true
- table.insert(auras, aura)
- aurah = aura:Clone()
- aurah.Parent = head
- table.insert(auras, aurah)
- auralarm = aura:Clone()
- auralarm.Parent = larm
- table.insert(auras, auralarm)
- aurararm = aura:Clone()
- aurararm.Parent = rarm
- table.insert(auras, aurararm)
- auralleg = aura:Clone()
- auralleg.Parent = lleg
- table.insert(auras, auralleg)
- aurarleg = aura:Clone()
- aurarleg.Parent = rleg
- table.insert(auras, aurarleg)
- local aura2 = Instance.new("ParticleEmitter", root)
- aura2.Texture = "rbxassetid://445231746"
- aura2.Color = ColorSequence.new(Color3.fromRGB(0, 0, 0))
- aura2.Size = NumberSequence.new(0,1)
- aura2.Transparency = NumberSequence.new(0,1)
- aura2.LockedToPart = true
- aura2.LightEmission = 0
- aura2.LightInfluence = 0
- aura2.ZOffset = -1.1
- aura2.Lifetime = NumberRange.new(0.4)
- aura2.Rate = 100000
- aura2.Speed = NumberRange.new(2)
- aura2.SpreadAngle = Vector2.new(0,0)
- aura2.Enabled = true
- table.insert(auras, aura2)
- aurah2 = aura2:Clone()
- aurah2.Parent = head
- table.insert(auras, aurah2)
- auralarm2 = aura2:Clone()
- auralarm2.Parent = larm
- table.insert(auras, auralarm2)
- aurararm2 = aura2:Clone()
- aurararm2.Parent = rarm
- table.insert(auras, aurararm2)
- auralleg2 = aura2:Clone()
- auralleg2.Parent = lleg
- table.insert(auras, auralleg2)
- aurarleg2 = aura2:Clone()
- aurarleg2.Parent = rleg
- table.insert(auras, aurarleg2)
- end
- function aura80()
- local aura = Instance.new("ParticleEmitter", root)
- aura.Texture = "rbxassetid://445231746"
- aura.Color = ColorSequence.new(Color3.fromRGB(137, 0, 217))
- aura.Size = NumberSequence.new(0,1)
- aura.Transparency = NumberSequence.new(0,1)
- aura.LockedToPart = true
- aura.LightEmission = 1
- aura.LightInfluence = 1
- aura.ZOffset = -1
- aura.Lifetime = NumberRange.new(0.4)
- aura.Rate = 100000
- aura.Speed = NumberRange.new(2)
- aura.SpreadAngle = Vector2.new(0,0)
- aura.Enabled = true
- table.insert(auras, aura)
- aurah = aura:Clone()
- aurah.Parent = head
- table.insert(auras, aurah)
- auralarm = aura:Clone()
- auralarm.Parent = larm
- table.insert(auras, auralarm)
- aurararm = aura:Clone()
- aurararm.Parent = rarm
- table.insert(auras, aurararm)
- auralleg = aura:Clone()
- auralleg.Parent = lleg
- table.insert(auras, auralleg)
- aurarleg = aura:Clone()
- aurarleg.Parent = rleg
- table.insert(auras, aurarleg)
- local aura2 = Instance.new("ParticleEmitter", root)
- aura2.Texture = "rbxassetid://445231746"
- aura2.Color = ColorSequence.new(Color3.fromRGB(0, 0, 0))
- aura2.Size = NumberSequence.new(0,1)
- aura2.Transparency = NumberSequence.new(0,1)
- aura2.LockedToPart = true
- aura2.LightEmission = 0
- aura2.LightInfluence = 0
- aura2.ZOffset = -1.1
- aura2.Lifetime = NumberRange.new(0.4)
- aura2.Rate = 100000
- aura2.Speed = NumberRange.new(2)
- aura2.SpreadAngle = Vector2.new(0,0)
- aura2.Enabled = true
- table.insert(auras, aura2)
- aurah2 = aura2:Clone()
- aurah2.Parent = head
- table.insert(auras, aurah2)
- auralarm2 = aura2:Clone()
- auralarm2.Parent = larm
- table.insert(auras, auralarm2)
- aurararm2 = aura2:Clone()
- aurararm2.Parent = rarm
- table.insert(auras, aurararm2)
- auralleg2 = aura2:Clone()
- auralleg2.Parent = lleg
- table.insert(auras, auralleg2)
- aurarleg2 = aura2:Clone()
- aurarleg2.Parent = rleg
- table.insert(auras, aurarleg2)
- local aura3 = Instance.new("ParticleEmitter", root)
- aura3.Texture = "rbxassetid://347730682"
- aura3.Color = ColorSequence.new(Color3.fromRGB(69, 0, 220))
- aura3.Size = NumberSequence.new(5,5)
- aura3.Transparency = NumberSequence.new(0,1)
- aura3.LockedToPart = true
- aura3.LightEmission = 1
- aura3.LightInfluence = 0
- aura3.ZOffset = -1.5
- aura3.Lifetime = NumberRange.new(0.1)
- aura3.Rate = 120
- aura3.Speed = NumberRange.new(20)
- aura3.SpreadAngle = Vector2.new(0,0)
- aura3.Enabled = true
- table.insert(auras, aura3)
- end
- function aura100()
- local aura = Instance.new("ParticleEmitter", root)
- aura.Texture = "rbxassetid://445231746"
- aura.Color = ColorSequence.new(Color3.fromRGB(137, 0, 217))
- aura.Size = NumberSequence.new(0,1)
- aura.Transparency = NumberSequence.new(0,1)
- aura.LockedToPart = true
- aura.LightEmission = 1
- aura.LightInfluence = 1
- aura.ZOffset = -1
- aura.Lifetime = NumberRange.new(0.4)
- aura.SpreadAngle = Vector2.new(1000,1000)
- aura.Rotation = NumberRange.new(200)
- aura.RotSpeed = NumberRange.new(200)
- aura.Rate = 100000
- aura.Speed = NumberRange.new(5)
- aura.Enabled = true
- table.insert(auras, aura)
- aurah = aura:Clone()
- aurah.Parent = head
- table.insert(auras, aurah)
- auralarm = aura:Clone()
- auralarm.Parent = larm
- table.insert(auras, auralarm)
- aurararm = aura:Clone()
- aurararm.Parent = rarm
- table.insert(auras, aurararm)
- auralleg = aura:Clone()
- auralleg.Parent = lleg
- table.insert(auras, auralleg)
- aurarleg = aura:Clone()
- aurarleg.Parent = rleg
- table.insert(auras, aurarleg)
- local aura2 = Instance.new("ParticleEmitter", root)
- aura2.Texture = "rbxassetid://445231746"
- aura2.Color = ColorSequence.new(Color3.fromRGB(0, 0, 0))
- aura2.Size = NumberSequence.new(0,1)
- aura2.Transparency = NumberSequence.new(0,1)
- aura2.LockedToPart = true
- aura2.LightEmission = 0
- aura2.LightInfluence = 0
- aura2.ZOffset = -1.1
- aura2.Lifetime = NumberRange.new(0.4)
- aura2.Rate = 100000
- aura2.Rotation = NumberRange.new(200)
- aura2.RotSpeed = NumberRange.new(200)
- aura2.Speed = NumberRange.new(5)
- aura2.SpreadAngle = Vector2.new(1000,1000)
- aura2.Enabled = true
- table.insert(auras, aura2)
- aurah2 = aura2:Clone()
- aurah2.Parent = head
- table.insert(auras, aurah2)
- auralarm2 = aura2:Clone()
- auralarm2.Parent = larm
- table.insert(auras, auralarm2)
- aurararm2 = aura2:Clone()
- aurararm2.Parent = rarm
- table.insert(auras, aurararm2)
- auralleg2 = aura2:Clone()
- auralleg2.Parent = lleg
- table.insert(auras, auralleg2)
- aurarleg2 = aura2:Clone()
- aurarleg2.Parent = rleg
- table.insert(auras, aurarleg2)
- local aura3 = Instance.new("ParticleEmitter", root)
- aura3.Texture = "rbxassetid://347730682"
- aura3.Color = ColorSequence.new(Color3.fromRGB(69, 0, 220))
- aura3.Size = NumberSequence.new(5,5)
- aura3.Transparency = NumberSequence.new(0.9,0.9)
- aura3.LockedToPart = true
- aura3.LightEmission = 1
- aura3.LightInfluence = 0
- aura3.ZOffset = -1.5
- aura3.Lifetime = NumberRange.new(0.1)
- aura3.Rate = 120
- aura3.Speed = NumberRange.new(20)
- aura3.SpreadAngle = Vector2.new(0,0)
- aura3.Enabled = true
- table.insert(auras, aura3)
- end
- function removeAura()
- -- aura fade
- for i,a in pairs(auras) do
- a.Enabled = false
- game:GetService("Debris"):AddItem(a, 3)
- end
- auras = {}
- end
- hum.JumpPower = 0
- hum.HipHeight = 1
- hum.WalkSpeed = 10
- hum.MaxHealth = 25000
- wait()
- hum.Health = 25000
- hum:WaitForChild("Animator"):Remove()
- function createJoint(wp0, wp1, wc0x, wc0y, wc0z, wc1x, wc1y, wc1z, name)
- local joint = Instance.new("Weld", wp0)
- joint.Part0 = wp0
- joint.Part1 = wp1
- joint.C0 = CFrame.new(wc0x, wc0y, wc0z)
- joint.C1 = CFrame.new(wc1x, wc1y, wc1z)
- joint.Name = name
- return joint
- end
- local RS = createJoint(tors, rarm, 1.5, 0.5, 0, 0, 0.5, 0, "Right Shoulder")
- local TS = createJoint(root, tors, 0, 0, 0, 0, 0, 0, "RootJoint")
- local LS = createJoint(tors, larm, -1.5, 0.5, 0, 0, 0.5, 0, "Left Shoulder")
- local RH = createJoint(tors, rleg, 0.5, -1, 0, 0, 1, 0, "Right Hip")
- local LH = createJoint(tors, lleg, -0.5, -1, 0, 0, 1, 0, "Left Hip")
- local NK = createJoint(tors, head, 0, 1, 0, 0, -1/2, 0, "Neck")
- local rsc0 = RS.C0
- local lsc0 = LS.C0
- local tsc0 = TS.C0
- local rhc0 = RH.C0
- local lhc0 = LH.C0
- local nkc0 = NK.C0
- local ears = Instance.new("Part", Player)
- ears.Size = Vector3.new(1, 1, 1)
- ears.CanCollide = false
- ears.BrickColor = BrickColor.new(skinCol)
- local earsMesh = Instance.new("SpecialMesh", ears)
- earsMesh.MeshId = "rbxassetid://101176852"
- earsMesh.Scale = Vector3.new(0.9, 1, 0.9)
- createJoint(head, ears, 0, 0.9, 0, 0, 0, 0, "EarWeld")
- local tail = Instance.new("Part", Player)
- tail.Size = Vector3.new(1, 1, 1)
- tail.CanCollide = false
- tail.BrickColor = BrickColor.new(skinCol)
- local tailMesh = Instance.new("SpecialMesh", tail)
- tailMesh.MeshId = "rbxassetid://534615496"
- tailMesh.Scale = Vector3.new(0.7, 0.7, 0.7)
- tailWeld = createJoint(tors, tail, 0, 0.5, 1.5, 0, 0, 0, "TailWeld")
- tailWeld.C0 = tailWeld.C0 * CFrame.Angles(math.rad(-50), 0, math.rad(-90))
- function createSound(soundid, volume, looped, parent, pitch, lifetime)
- local sound = Instance.new("Sound", parent)
- sound.SoundId = "rbxassetid://".. soundid ..""
- sound.Volume = volume
- sound.Pitch = pitch
- game:GetService("Debris"):AddItem(sound, lifetime)
- return sound
- end
- function damageLeftarm()
- function Damage(model)
- for i,s in pairs(model:GetChildren()) do
- Damage(s)
- if s.Name == "HumanoidRootPart" and s:IsA("BasePart") and s.Parent ~= Player then
- if (larm.Position - s.Position).magnitude < 2.364 and leftArmdamaging and punching then
- local hum = s.Parent:FindFirstChild("Humanoid")
- if hum then
- if damaged[hum.Parent] == nil then
- if vel then
- vel:Remove()
- end
- vel = Instance.new("BodyVelocity", s)
- vel.Velocity = CFrame.new(s.CFrame.p, Player.HumanoidRootPart.CFrame.lookVector * 120).lookVector
- game:GetService("Debris"):AddItem(vel, 0.25)
- damaged[hum.Parent] = true
- hum:TakeDamage(punchDamage +(math.random(-10, 10)/10))
- local punchSound = createSound("169380525", 1, false, Player.Head, 1 + (math.random(0, 5)/10), 1)
- punchSound:Play()
- end
- end
- end
- end
- end
- end
- Damage(workspace)
- end
- function damageRightarm()
- function Damage(model)
- for i,s in pairs(model:GetChildren()) do
- Damage(s)
- if s.Name == "HumanoidRootPart" and s:IsA("BasePart") and s.Parent ~= Player then
- if (rarm.Position - s.Position).magnitude < 2.364 and rightArmdamaging and punching then
- local hum = s.Parent:FindFirstChild("Humanoid")
- if hum then
- if damaged[hum.Parent] == nil then
- if vel then
- vel:Remove()
- end
- vel = Instance.new("BodyVelocity", s)
- vel.Velocity = CFrame.new(s.CFrame.p, Player.HumanoidRootPart.CFrame.lookVector * 120).lookVector
- game:GetService("Debris"):AddItem(vel, 0.25)
- damaged[hum.Parent] = true
- hum:TakeDamage(punchDamage +(math.random(-10, 10)/10))
- local punchSound = createSound("169380525", 1, false, Player.Head, 1 + (math.random(0, 5)/10), 1)
- punchSound:Play()
- end
- end
- end
- end
- end
- end
- Damage(workspace)
- end
- Render:connect(function()
- t = t + 0.5
- if flying then
- Player.HumanoidRootPart.CFrame = CFrame.new(Player.HumanoidRootPart.Position, Vector3.new(Mouse.Hit.p.x, Player.HumanoidRootPart.Position.y, Mouse.Hit.p.z))
- if mouseDownF then
- if bv then
- bv.Velocity = Mouse.Hit.lookVector * 100
- end
- else
- if bv then
- bv.Velocity = Vector3.new(0, 0, 0)
- end
- end
- end
- local exactVel = CFrame.new(Player.HumanoidRootPart.CFrame:vectorToObjectSpace(Player.HumanoidRootPart.Velocity))
- if idle then
- if math.abs(Player.HumanoidRootPart.Velocity.x) < 1 and math.abs(Player.HumanoidRootPart.Velocity.z) < 1 then
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, math.sin(t/10)/5, 0), 0.05)
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.cos(t/10)/10, 0, 0), 0.05)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0.5, 0.05 + math.cos(t/10)/10, 0)
- * CFrame.Angles(math.rad(-45), 0, math.rad(25) + -math.cos(t/10)/10), 0.05)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(-0.5, 0.05 + math.cos(t/10)/10, 0)
- * CFrame.Angles(math.rad(-45), 0, math.rad(-25) + math.cos(t/10)/10), 0.05)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, 0.3 + math.cos(t/10)/10, -0.2)
- * CFrame.Angles(math.rad(-5) + math.cos(t/10)/10/20, 0, math.rad(5)), 0.05)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, 0.3 + math.cos(t/10)/10, -0.2)
- * CFrame.Angles(math.rad(-5) + math.cos(t/10)/10/20, 0, math.rad(-5)), 0.05)
- else
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, math.cos(t/10)/5, 0)
- * CFrame.Angles(math.rad(exactVel.p.z), 0, math.rad(-exactVel.p.x)), 0.05)
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2,0, math.rad(exactVel.p.x)/2), 0.05)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(exactVel.p.z)/2, 0, math.rad(10) + math.cos(t/10)/30 + math.rad(-exactVel.p.x)), 0.05)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(exactVel.p.z)/2, 0, math.rad(-10) + -math.cos(t/10)/30 + math.rad(-exactVel.p.x)), 0.05)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, 0, math.rad(5) + math.cos(t/10)/30 + math.rad(-exactVel.p.x))
- * CFrame.new(0, 0.3, -0.2), 0.05)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, 0, math.rad(-5) + -math.cos(t/10)/30 + math.rad(-exactVel.p.x))
- * CFrame.new(0, 0.3, -0.2), 0.05)
- end
- else
- if action == "Punch1" then
- local speed = 0.8
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
- * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
- * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(50), 0), speed)
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(-40), 0), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(30), math.rad(-45), 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, math.rad(-45), 0)
- * CFrame.Angles(math.rad(-45), 0, 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(-45), math.rad(-20))
- * CFrame.Angles(math.rad(90), 0, math.rad(-45)), speed)
- elseif action == "Punch2" then
- local speed = 0.8
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
- * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
- * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(-50), 0), speed)
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(40), 0), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, math.rad(45), 0)
- * CFrame.Angles(math.rad(-45), 0, 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(30), math.rad(45), 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(45), math.rad(20))
- * CFrame.Angles(math.rad(100), 0, math.rad(45)), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
- elseif action == "Punch3" then
- local speed = 0.8
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
- * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
- * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(40), 0), speed)
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(-40), 0), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(30), math.rad(-45), 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, math.rad(-45), 0)
- * CFrame.Angles(math.rad(-45), 0, 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(-45), math.rad(-20))
- * CFrame.Angles(math.rad(80), 0, 0), speed)
- elseif action == "Punch4" then
- local speed = 0.8
- TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
- * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
- * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(-40), 0), speed)
- NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(40), 0), speed)
- RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, math.rad(45), 0)
- * CFrame.Angles(math.rad(-45), 0, 0), speed)
- LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(30), math.rad(45), 0), speed)
- LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(45), math.rad(-20))
- * CFrame.Angles(math.rad(70), 0, 0), speed)
- RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
- end
- damageLeftarm()
- damageRightarm()
- end
- end)
- function ascend()
- if pwr10 == true then
- pwr40 = true
- punchDamage = 30
- KiDamage = 50
- hum.WalkSpeed = 24
- pwr10 = false
- removeAura()
- aura40()
- elseif pwr40 == true then
- pwr80 = true
- punchDamage = 60
- KiDamage = 60
- hum.WalkSpeed = 38
- pwr40 = false
- removeAura()
- aura80()
- elseif pwr80 == true then
- pwr100 = true
- punchDamage = 90
- KiDamage = 70
- hum.WalkSpeed = 56
- pwr80 = false
- removeAura()
- aura100()
- end
- end
- function descend()
- if pwr100 == true then
- pwr80 = true
- punchDamage = 60
- KiDamage = 60
- hum.WalkSpeed = 38
- pwr100 = false
- removeAura()
- aura80()
- elseif pwr80 == true then
- pwr40 = true
- punchDamage = 30
- KiDamage = 60
- hum.WalkSpeed = 24
- pwr80 = false
- removeAura()
- aura40()
- elseif pwr40 == true then
- pwr10 = true
- punchDamage = 20
- KiDamage = 30
- hum.WalkSpeed = 16
- pwr40 = false
- removeAura()
- end
- end
- function base()
- pwr10 = true
- pwr40 = false
- pwr80 = false
- pwr100 = false
- punchDamage = 20
- hum.WalkSpeed = 16
- removeAura()
- end
- function lerpt(item,max,num,speed)
- for i = num, max, speed do
- item.Transparency = i
- wait()
- end
- item:Destroy()
- end
- function blast(pos)
- spawn(function()
- local damaged = {}
- local x = math.random(-5, 5)
- local y = math.random(-5, 5)
- local z = math.random(-5, 5)
- local ki = Instance.new("Part", Player)
- ki.Size = Vector3.new(1.1,1.1,1.1)
- ki.Material = "Neon"
- ki.CFrame = tors.CFrame * CFrame.new(x, y, -2)
- ki.Anchored = false
- ki.CanCollide = false
- ki.TopSurface = 10
- ki.BottomSurface = 10
- ki.BrickColor = BrickColor.new("Lilac")
- ki.LeftSurface = 10
- ki.RightSurface = 10
- ki.FrontSurface = 10
- ki.BackSurface = 10
- local kim = Instance.new("SpecialMesh", ki)
- kim.MeshType = "Sphere"
- local bp = Instance.new("BodyPosition", ki)
- bp.Position = pos + Vector3.new(x, y, z)
- bp.P = math.random(20000,100000)
- bp.D = 1000
- bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- repeat wait() until (ki.Position-bp.Position).magnitude < 3
- local ki2 = Instance.new("Part", Player)
- function Damage(model)
- for i,s in pairs(model:GetChildren()) do
- Damage(s)
- if s.Name == "HumanoidRootPart" and s:IsA("BasePart") and s.Parent ~= Player then
- if (ki2.Position - s.Position).magnitude < 7 then
- local hum = s.Parent:FindFirstChild("Humanoid")
- if hum then
- if damaged[hum.Parent] == nil then
- damaged[hum.Parent] = true
- if vel then
- vel:Remove()
- end
- vel = Instance.new("BodyVelocity", s)
- vel.Velocity = CFrame.new(s.CFrame.p, Player.HumanoidRootPart.CFrame.lookVector * 120).lookVector
- game:GetService("Debris"):AddItem(vel, 0.5)
- hum:TakeDamage(KiDamage +(math.random(-10, 10)/10))
- end
- end
- end
- end
- end
- end
- ki2.Size = Vector3.new(1,1,1)
- ki2.Material = "Neon"
- ki2.Anchored = true
- ki2.BrickColor = BrickColor.new("Lilac")
- ki2.CFrame = CFrame.new(pos + Vector3.new(x, y, z))
- ki2.CanCollide = false
- ki2.TopSurface = 10
- ki2.BottomSurface = 10
- ki2.LeftSurface = 10
- ki2.RightSurface = 10
- ki2.FrontSurface = 10
- ki2.BackSurface = 10
- local kim2 = Instance.new("SpecialMesh", ki2)
- kim2.MeshType = "Sphere"
- spawn(function()
- for i = 0,15,3 do
- wait()
- ki2.Size = Vector3.new(i,i,i)
- Damage(workspace)
- end
- spawn(function()
- lerpt(ki2,1,0,0.2)
- end)
- end)
- ki:Destroy()
- end)
- end
- Mouse.KeyDown:connect(function(k)
- if k:lower() == "b" and not ascendcooldown then
- spawn(function()
- ascendcooldown = true
- wait(5)
- ascendcooldown = false
- end)
- ascend()
- elseif k:lower() == "n" and not descendcooldown then
- spawn(function()
- descendcooldown = true
- wait(2)
- descendcooldown = false
- end)
- descend()
- elseif k == "m" then
- base()
- elseif k == "q" then
- action = "Punching"
- idle = false
- punching = true
- repeat
- if punching == false then
- attacking = false
- idle = true
- end
- damaged = {}
- action = "Punch1"
- leftArmdamaging = false
- rightArmdamaging = true
- wait(speed)
- if punching == false then
- attacking = false
- idle = true
- end
- damaged = {}
- action = "Punch2"
- leftArmdamaging = true
- rightArmdamaging = false
- wait(speed)
- if keyDown == false then
- attacking = false
- idle = true
- end
- damaged = {}
- action = "Punch3"
- leftArmdamaging = false
- rightArmdamaging = true
- wait(speed)
- if keyDown == false then
- attacking = false
- idle = true
- end
- damaged = {}
- action = "Punch4"
- wait(speed)
- until punching == false
- elseif k:lower() == "f" then
- if flying then
- flying = false
- if bv then
- bv:Remove()
- end
- else
- flying = true
- bv = Instance.new("BodyVelocity", root)
- bv.Velocity = Vector3.new(0, 0, 0)
- end
- elseif k:lower() == "e" then
- kiBlasting = true
- repeat
- idle = false
- if armKi == "Right" then
- action = "Punch3"
- else
- action = "Punch4"
- end
- blast(Mouse.Hit.p)
- wait(0.05)
- if armKi == "Right" then
- armKi = "Left"
- else
- armKi = "Right"
- end
- until kiBlasting == false
- end
- end)
- Mouse.KeyUp:connect(function(k)
- if k:lower() == "q" then
- action = ""
- punching = false
- idle = true
- leftArmdamaging = false
- rightArmdamaging = false
- elseif k:lower() == "e" and kiBlasting then
- kiBlasting = false
- action = ""
- idle = true
- end
- end)
- Mouse.Button1Down:connect(function()
- if flying then
- mouseDownF = true
- end
- end)
- Mouse.Button1Up:connect(function()
- if flying then
- mouseDownF = false
- end
- end)
- base()
- --One Punch Man Script
- p = owner
- char = p.Character
- des = false
- fling = true
- dot = false
- falling = false
- jump = true
- --char.Shirt:Remove()
- --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
- for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
- wait()--shirt = Instance.new("Shirt", char)
- --shirt.Name = "Shirt"
- --pants = Instance.new("Pants", char)
- --pants.Name = "Pants"
- --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=451927425"
- --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
- tp = true
- shoot = true
- hum = char.Humanoid
- punch = true
- neckp = char.Torso.Neck.C0
- neck = char.Torso.Neck
- hum.MaxHealth = math.huge
- wait()
- hum.Health = math.huge
- des = false
- root=char.HumanoidRootPart
- torso = char.Torso
- char.Head.face.Texture = "rbxassetid://332768867"
- local ChatService = game:GetService("Chat")
- local player = game.Players.LocalPlayer
- lig = Instance.new("PointLight",player.Character.Torso)
- lig.Color=Color3.new(255,0,0)
- bb = Instance.new("BillboardGui",player.Character.Head)
- bb.Enabled = true
- function newRay(start,face,range,wat)
- local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
- hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
- return rey,hit,pos
- end
- aa1={}
- torso=game.Players.LocalPlayer.Character.Torso
- local WorldUp = Vector3.new(0,1,0)
- function look2(Vec1,Vec2)
- local Orig = Vec1
- Vec1 = Vec1+Vector3.new(0,1,0)
- Vec2 = Vec2+Vector3.new(0,1,0)
- local Forward = (Vec2-Vec1).unit
- local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
- local Right = Up:Cross(Forward).unit
- Forward = -Forward
- Right = -Right
- return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
- end
- function look(CFr,Vec2)
- local A = Vector3.new(0,0,0)
- local B = CFr:inverse()*Vec2
- local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
- if B.Z > 0 then
- CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
- elseif B.Z == 0 then
- if B.Y > 0 then
- CF = CFr*CFrame.Angles(math.pi/2,0,0)
- elseif B.Y < 0 then
- CF = CFr*CFrame.Angles(-math.pi/2,0,0)
- else
- CF = CFr
- end
- end
- local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
- local Up = Vector3.new(X,Y,Z)
- local Forward = (Vec2-CFr.p).unit
- local Right = Up:Cross(Forward)
- Forward = -Forward
- Right = -Right
- return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
- end
- function simulate(j,d,m,r,t)
- local joint = j
- for i,v in ipairs(t) do
- if v[1]:FindFirstChild("Weld") then
- local stiff = m.CFrame.lookVector*0.03
- if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
- local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit
- local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude
- local pos = joint.p+(dir*(d*0.5))
- --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
- local inv = v[1].Weld.Part0.CFrame
- local rel1 = inv:inverse()*pos
- local rel2 = inv:inverse()*(pos-(dir*dis))
- local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
- v[1].Weld.C0 = cf
- v[2] = inv*cf
- --v[1].CFrame = cf
- end
- end
- end
- for i=1,8 do
- local p = Instance.new("Part",char)
- p.Anchored = false
- p.BrickColor = BrickColor.new("Institutional white")
- p.CanCollide = false
- p.FormFactor="Custom"
- p.Material = "SmoothPlastic"
- p.TopSurface = "SmoothNoOutlines"
- p.BottomSurface = "SmoothNoOutlines"
- p.RightSurface = "SmoothNoOutlines"
- p.LeftSurface = "SmoothNoOutlines"
- p.FrontSurface = "SmoothNoOutlines"
- p.BackSurface = "SmoothNoOutlines"
- p.Size=Vector3.new(2,.2,0.2)
- p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
- mesh = Instance.new("BlockMesh",p)
- mesh.Scale = Vector3.new(1,1,4)
- local w = Instance.new("Motor6D",p)
- w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
- w.Part1 = p
- w.Name = "Weld"
- --table.insert(aa1,p)
- aa1[i] = {p,p.CFrame}
- end
- game:service"RunService".Stepped:connect(function()
- simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1)
- end)
- bb.AlwaysOnTop = true
- bb.Size = UDim2.new(0,200,0,50)
- bb.StudsOffset = Vector3.new(0,1,0)
- gui=Instance.new("TextBox",bb)
- gui.Text = "* "
- gui.Size = UDim2.new(0,133,0,45)
- gui.Position=UDim2.new(0,57,0,-40)
- gui.TextColor3 = Color3.new(255,255,255)
- gui.BackgroundColor3=Color3.new(0,0,0)
- gui.TextWrapped = true
- gui.TextScaled = true
- gui.TextXAlignment = "Left"
- gui.TextYAlignment = "Top"
- gui.Visible = false
- gui.BorderColor3 = Color3.new(0,0,0)
- punch2 = true
- gui1=Instance.new("TextButton",bb)
- gui1.Position=UDim2.new(0,5,0,-43)
- gui1.Size = UDim2.new(0,190,0,51)
- gui1.TextColor3 = Color3.new(255,255,255)
- gui1.BackgroundColor3=Color3.new(255,255,255)
- jump2 = true
- gui1.Visible = false
- img = Instance.new("ImageLabel",bb)
- img.Size = UDim2.new(0,46,0,47)
- img.Position = UDim2.new(0,10,0,-41)
- img.Image = "rbxassetid://447301252"
- img.BorderColor3 = Color3.new(0,0,0)
- img.Visible = false
- soka = Instance.new("Sound",char)
- soka.SoundId = "http://www.roblox.com/asset/?id = 447199232"
- soka.Volume = 1
- boom = Instance.new("Sound",char)
- boom.SoundId = "http://www.roblox.com/asset/?id = 447041606"
- boom.Volume = 1
- boom2 = Instance.new("Sound",char)
- boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737"
- boom2.Volume = 1
- boom3 = Instance.new("Sound",char)
- boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
- boom3.Volume = 1
- tps = Instance.new("Sound",char)
- tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
- tps.Volume = 1
- asd = Instance.new("Sound",char)
- asd.SoundId = "http://www.roblox.com/asset/?id = 447310433"
- asd.Volume =1
- asd1 = Instance.new("Sound",char)
- asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
- asd2 = Instance.new("Sound",char)
- asd2.SoundId = "http://www.roblox.com/asset/?id = 386713054"
- asd2.Looped = true
- asd2.Volume = 5
- asd3 = Instance.new("Sound",char)
- asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996"
- asd3.Looped = true
- asd4 = Instance.new("Sound",char)
- asd4.SoundId = "http://www.roblox.com/asset/?id = 401258325"
- asd4.Looped = true
- asd5 = Instance.new("Sound",char)
- asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261"
- asd5.Looped = true
- gas = Instance.new("Sound",char)
- gas.SoundId = "http://www.roblox.com/asset/?id = 345052019"
- asd6 = Instance.new("Sound",char)
- asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325"
- asd6.Looped = true
- function play(play)
- asd:Play()
- wait(0.05)
- --asd1:Play()
- end
- ------------
- -------------------------
- function stream(origin,dir,length,size)
- local parts = {}
- for i = 1,length do
- local p = Instance.new("Part",char)
- p.Anchored = true
- p.Transparency = 0.5
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CanCollide = false
- p.BrickColor = BrickColor.new("Institutional white")
- p.Size = Vector3.new(10,30,10) -- for now
- p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
- parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)}
- game:GetService("Debris"):AddItem(p,3)
- end
- Spawn(function()
- while parts do
- for i,v in pairs(parts) do
- if v[1].Parent == char then
- v[1].CFrame = v[1].CFrame*v[2]
- else
- parts = nil
- break
- end
- end
- wait(0.02)
- end
- end)
- end
- --[[-- listen for their chatting
- player.Chatted:connect(function(message)
- a = string.len(message)
- gui.Text = ""
- gui.Visible = true
- gui1.Visible = true
- des = false
- img.Visible = true
- print(a)
- if dot == false then
- gui.Text = ""
- for i = 1,string.len(message) do
- gui.Text =gui.Text..message:sub(i,i)
- play()
- end
- end
- des = true
- end)]]--
- m.KeyDown:connect(function(k)
- if k == "g" then
- asd2:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "r" then
- asd4:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "q" then
- asd3:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "z" then
- img.Image = "rbxassetid://332766052"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "c" then
- img.Image = "rbxassetid://447301252"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "b" then
- asd6:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k:byte() == 48 then
- hum.WalkSpeed = 100
- end
- end)
- m.KeyDown:connect(function(k)
- if k:byte() == 50 then
- soka:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k:byte() == 52 then
- char.Head.face.Texture = "rbxassetid://444037452"
- end
- end)
- m.KeyDown:connect(function(k)
- if k:byte() == 51 then
- char.Head.face.Texture = "rbxassetid://332768867"
- end
- end)
- m.KeyUp:connect(function(k)
- if k:byte() == 48 then
- hum.WalkSpeed = 16
- end
- end)
- p.Chatted:connect(function(m)
- if m == "Okay." then
- soka:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "x" then
- if des == true then
- gui.Visible = false
- gui.Text = "* "
- gui1.Visible = false
- img.Visible = false
- end
- end
- end)
- m.KeyDown:connect(function(key)
- if key == "j" then
- if tp == true then
- tp = false
- tps:Play()
- char.Head.face.Parent = game.Lighting
- for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1
- end
- end
- wait(0.5)
- for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0
- end
- end
- char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
- char.HumanoidRootPart.Transparency = 1
- game.Lighting.face.Parent = char.Head
- wait(0.2)
- tp = true
- end
- end
- end)
- m.KeyDown:connect(function(key)
- if key == "t" then
- if punch2 == true then
- punch2 = false
- punch = false
- local ChatService = game:GetService("Chat")
- neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0)
- ChatService:Chat(char.Head, "Mind if I get Serious?")
- wait(1)
- local ChatService = game:GetService("Chat")
- ChatService:Chat(char.Head ,"Killer Move: Serious Series...")
- wait(1)
- local ChatService = game:GetService("Chat")
- ChatService:Chat(char.Head, "SERIOUS PUNCH.")
- neck.C0 = neckp
- wait(0.6)
- org = char.Torso["Left Shoulder"].C0
- char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
- wait()
- killbrick2 = Instance.new("Part",char)
- killbrick2.Size = Vector3.new(80,80,9000)
- killbrick2.Transparency = 1
- killbrick2.CanCollide = true
- wait(0.1)
- killbrick2.CanCollide = false
- killbrick2.Anchored = true
- killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005)
- killbrick2.Touched:connect(function(h)
- local x = h.Parent:FindFirstChild("Humanoid")
- if x then
- if x.Parent.Name == game.Players.LocalPlayer.Name then
- safe = true
- else safe = false
- end
- if x then
- if safe == false then
- h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900
- local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
- boom:Play()
- bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
- wait(0.2)
- x.Parent:BreakJoints()
- wait()
- safe = true
- end
- end
- end
- end)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Institutional white")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0.8
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
- --rng.Rotation = Vector3.new(math.pi/2,0,0)
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm.Scale = Vector3.new(1, 1.3, 2)
- local rng1 = Instance.new("Part", char)
- rng1.Anchored = true
- rng1.BrickColor = BrickColor.new("Institutional white")
- rng1.CanCollide = false
- rng1.FormFactor = 3
- rng1.Name = "Ring"
- rng1.Size = Vector3.new(1, 1, 1)
- rng1.Transparency = 0.8
- rng1.TopSurface = 0
- rng1.BottomSurface = 0
- rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
- --rng1.Rotation = Vector3.new(math.pi/2,0,0)
- rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm1 = Instance.new("SpecialMesh", rng1)
- rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm1.Scale = Vector3.new(1, 1.3, 2)
- local p = (torso.CFrame*CFrame.new(-20,0,3))
- stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5) -- 20 is number of parts, 6 is distance between each one
- local p = (torso.CFrame*CFrame.new(20,0,3))
- stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) -- same here
- local rng2 = Instance.new("Part", char)
- rng2.Anchored = true
- rng2.BrickColor = BrickColor.new("Institutional white")
- rng2.CanCollide = false
- rng2.FormFactor = 3
- rng2.Name = "Ring"
- rng2.Size = Vector3.new(1, 1, 1)
- rng2.Transparency = 0.8
- rng2.TopSurface = 0
- rng2.BottomSurface = 0
- rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
- --rng1.Rotation = Vector3.new(math.pi/2,0,0)
- rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm2 = Instance.new("SpecialMesh", rng2)
- rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm2.Scale = Vector3.new(1, 1.3, 2)
- wait(0.1)
- boom3:Play()
- coroutine.wrap(function()
- for i = 1, 35, 0.5 do
- rngm.Scale = Vector3.new(50 + i*2, 10 + i*2, 2.5+ i*4)
- rngm1.Scale = Vector3.new(50 + i*2, 1.4 + i*2, 1.4+ i*4)
- rngm2.Scale = Vector3.new(50 + i*2, 10 + i*2, 1.2+ i*4)
- wait()
- end
- wait()
- rng:Destroy()
- rng1:Destroy()
- rng2:Destroy()
- killbrick2:Remove()
- wait(0.5)
- char.Torso["Left Shoulder"].C0 = org
- wait(1)
- punch2 = true
- punch = true
- wait()
- end)()
- end
- wait(.1)
- end
- end)
- m.KeyDown:connect(function(key)
- if key == "k" then
- if punch == true then
- punch = false
- org = char.Torso["Left Shoulder"].C0
- char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
- killbrick = Instance.new("Part",char)
- killbrick.Size = Vector3.new(5,1,5)
- killbrick.Transparency = 1
- killbrick:BreakJoints()
- killbrick.CanCollide = false
- local wel = Instance.new("Weld",killbrick)
- wel.Part0 = killbrick
- wel.Part1 = char["Left Arm"]
- wel.C0 = CFrame.new(0,1,0)
- force = 90
- killbrick.Touched:connect(function(h)
- local x = h.Parent.Humanoid
- if x.Health >= 6000 then
- fling = false
- end
- if x.Health < 6000 then
- fling = true
- end
- local stop = h.Parent.Torso.Velocity
- if x.Parent.Name == game.Players.LocalPlayer.Name then
- safe = true
- else safe = false
- end
- if x then
- if safe == false then
- if fling == true then
- force = 900
- end
- if fling == false then
- force = 200
- end
- h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force
- local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
- boom:Play()
- bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
- wait(0.2)
- x:TakeDamage(5000)
- wait()
- safe = true
- bodyforc:Remove()
- h.Parent.Torso.Velocity = stop
- end
- end
- end)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Institutional white")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0.8
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
- --rng.Rotation = Vector3.new(math.pi/2,0,0)
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm.Scale = Vector3.new(1, 1.3, 2)
- wait(0.1)
- boom2:Play()
- coroutine.wrap(function()
- for i = 1, 10, .4 do
- rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
- wait()
- end
- wait()
- rng:Destroy()
- killbrick:Remove()
- wait(0.5)
- char.Torso["Left Shoulder"].C0 = org
- wait(1)
- punch = true
- wait()
- end)()
- end
- wait(.1)
- end
- end)
- m.KeyDown:connect(function(key)
- if key == "m" then
- if jump == true then
- jump = false
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Institutional white")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0.35
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.Position = torso.Position - Vector3.new(0,2,0)
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm.Scale = Vector3.new(1, 1.3, 2)
- wait(0.1)
- BV = Instance.new("BodyVelocity", torso)
- BV.maxForce = Vector3.new(0,20000,0)
- BV.P = 1000
- BV.velocity = Vector3.new(0,100,0)
- boom:Play()
- coroutine.wrap(function()
- for i = 1, 60, 2 do
- rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
- rng.Transparency = i/60
- wait()
- end
- wait()
- rng:Destroy()
- hum.WalkSpeed = 50
- wait(1)
- for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
- v:Destroy() jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false
- end end
- wait()
- end)()
- end
- wait(.1)
- end
- end)
- m.KeyDown:connect(function(key)
- if key == "n" then
- if falling == true then
- falling = false
- if jumping2 == true then
- jumping2 = false
- jump = false
- BV = Instance.new("BodyVelocity", torso)
- BV.maxForce = Vector3.new(0,-20000,0)
- BV.P = -1000
- BV.velocity = Vector3.new(0,-70,0)
- wait(0.6)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Institutional white")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0.35
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.Position = torso.Position - Vector3.new(0,2,0)
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm.Scale = Vector3.new(1, 1.3, 2)
- boom:Play()
- coroutine.wrap(function()
- for i = 1, 60, 2 do
- rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
- rng.Transparency = i/60
- wait()
- end
- wait()
- rng:Destroy()
- for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
- v:Destroy() wait(2) jumping2 = true hum.WalkSpeed = 16
- end end
- wait()
- end)()
- end
- wait(.1)
- end
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "f" then
- asd3:Stop()
- asd2:Stop()
- asd4:Stop()
- asd6:Stop()
- asd5:Stop()
- end
- end)
- ------------
- -- ~CLarramore 2016
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement