Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Colours = {
- Spirit = {
- BrickColor.new("Electric blue"),
- BrickColor.new("Institutional white")
- }
- }
- Keys = {}
- UserInputService = game:GetService("UserInputService")
- TweenService = game:GetService("TweenService")
- Chat = game:GetService("Chat")
- Plr = game:GetService("Players").LocalPlayer
- if Plr.Name ~= "spyro10jf" and Plr.Name ~= "battledoesmc" and Plr.Name ~= "Mewy23" and Plr.Name ~= "KenZen_Rozach" and Plr.Name ~= "Cinime112" and Plr.Name ~= "LetArk" and Plr.Name ~= "ZaWhiteSnake" then
- error("Fuck off skid, don't try and use my script.")
- Plr:Kick("Nice try.")
- end
- warn([[
- ===================================================
- Keys
- ===================================================
- -----------------------
- Transformations
- -----------------------
- Q - SSJ
- E - SSJ2
- R - SSJ3
- T - SSJG
- Y - SSJB/SSJGSS(Depending on what you prefer to call it)
- U - Ultra Instinct
- P - Base form
- -----------------------
- Moves
- -----------------------
- _______________________
- For Base - SSJB
- _______________________
- Z - Punches
- X - Solar Rush combo
- C - Energy Blast Volley
- V - Kamehameha
- N - Super Energy Blast Volley(Homing)
- M - Some ki blast combo
- H - Sprit Bomb
- _______________________
- For SSJB&SSJG
- _______________________
- B - Can You Follow Me? Combo. Only available in SSJG
- B - Super Kamehameha. Only available in SSJB
- _______________________
- For Ultra Instinct
- _______________________
- Z - Toggle Sprint with afterimages
- X - Kamehameha
- C - Toggle Dodge
- V - Air Punch(What UI Goku used against Kefla)
- B - Rapid punch combo with Air Punch as the final blow. (Always a one-shot).
- _______________________
- Misc for all
- _______________________
- G - Instant Transmission
- F - Toggle Flying
- _______________________]])
- Mouse = Plr:GetMouse()
- Char = Plr.Character
- Human = Char:FindFirstChildOfClass("Humanoid")
- assert(Human.RigType == Enum.HumanoidRigType.R6, "You need to be in r6 to use this script! R15 won't work.")
- Motor6DClones = {}
- BodyPartClones = {}
- Rad = math.rad
- Sin = math.sin
- Random = math.random
- Floor = math.floor
- Torso = Char.Torso
- HRoot = Char.HumanoidRootPart
- LArm = Char["Left Arm"]
- RArm = Char["Right Arm"]
- LLeg = Char["Left Leg"]
- RLeg = Char["Right Leg"]
- Head = Char.Head
- Hrj = HRoot.RootJoint
- LShold = Torso["Left Shoulder"]
- RShold = Torso["Right Shoulder"]
- LHip = Torso["Left Hip"]
- RHip = Torso["Right Hip"]
- Last = "Left"
- Anim = "Idle"
- Dir = "None"
- Mode = "Base"
- Falling = false
- Flying = false
- After = false
- Typing = false
- CanMelee = false
- Attacking = false
- Sprint = false
- Walkspeed = 16
- Char.Animate.Disabled = true
- Human.Animator:Destroy()
- Human:RemoveAccessories()
- Char.Sound:Destroy()
- Char.Animate:Destroy()
- Dodge = false
- Neck = Torso.Neck
- Lscf = LShold.C0
- Rscf = RShold.C0
- Lhcf = LHip.C0
- Rhcf = RHip.C0
- Ncf = Neck.C0
- Hrjcf = Hrj.C0
- if Char:FindFirstChildOfClass("BodyColors") then
- Char:FindFirstChildOfClass("BodyColors"):Destroy()
- end
- for _, v in pairs(Char:GetChildren()) do
- if v:IsA("Clothing") or v:IsA("ShirtGraphic") then
- v:Destroy()
- elseif v:IsA("BasePart") then
- v.BrickColor = BrickColor.new("Pastel brown")
- end
- end
- function SWait(float)
- if not float then
- return game:GetService("RunService").RenderStepped:wait()
- else
- return game:GetService("RunService").RenderStepped:wait(float)
- end
- end
- function Smooth(part)
- part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- end
- function Create(Class, Parent, Name, Extra)
- local asd = Instance.new(Class, Parent)
- asd.Name = Name or Class
- if asd:IsA("BasePart") then
- Smooth(asd)
- end
- for i, v in pairs(Extra or {}) do
- asd[i] = v
- end
- return asd
- end
- function newWeld(parent, P0, P1, C0, C1)
- local weld = Instance.new("Motor6D", parent or P0)
- weld.Part0 = P0
- weld.Part1 = P1
- weld.C0 = C0 or weld.C0
- weld.C1 = C1 or weld.C1
- return weld
- end
- function findRealAncestor(inst)
- local par = inst.Parent
- local lastPar = inst
- repeat
- lastPar = par
- if par.Parent == nil then
- par = workspace
- else
- par = par.Parent
- end
- wait()
- until par == workspace
- return lastPar or nil
- end
- function createEmit(props)
- for _, v in pairs(Char:GetChildren()) do
- if v:IsA("BasePart") then
- local emit = Instance.new("ParticleEmitter", v)
- for i, v in pairs(props or {}) do
- emit[i] = v
- end
- end
- end
- end
- function toggleEmitters(arg)
- if arg ~= "AllOff" then
- for _, v in pairs(Char:GetDescendants()) do
- if v.Name == arg and v:IsA("ParticleEmitter") then
- v.Enabled = not v.Enabled
- end
- end
- else
- for _, v in pairs(Char:GetDescendants()) do
- if v:IsA("ParticleEmitter") then
- v.Enabled = false
- end
- end
- end
- end
- function stopAllSounds()
- for _, v in pairs(Char:GetDescendants()) do
- if v:IsA("Sound") then
- v:Stop()
- end
- end
- end
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * Range), Ignore and Char, false, false)
- end
- function CreateRegion3(pos, siz)
- local offset = siz / 2
- local p1 = pos - offset
- local p2 = pos + offset
- return Region3.new(p1, p2)
- end
- Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://765423946"
- Shirt = Create("Shirt", Char, "Shirt", {
- ShirtTemplate = "http://www.roblox.com/asset/?id=247266812"
- })
- Pants = Create("Pants", Char, "Pants", {
- PantsTemplate = "http://www.roblox.com/asset/?id=247266984"
- })
- Hair = Create("Part", Char, "Hair", {
- CanCollide = false,
- BrickColor = BrickColor.new("Black metallic")
- })
- Nose = Create("Decal", Head, "Decal", {
- Texture = "rbxassetid://765424161"
- })
- Mouth = Create("Decal", Head, "Decal", {
- Texture = "rbxassetid://932140764"
- })
- Create("SpecialMesh", Hair, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=501884712",
- Scale = Vector3.new(6.2, 6.2, 6.2),
- Offset = Vector3.new(0, 0.55, -0.1)
- })
- HairWeld = newWeld(Head, Hair, Head, CFrame.new(0, -0.3, 0))
- KamehamehaSound = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://586178392",
- Volume = 4,
- EmitterSize = 100
- })
- PunchSound = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://137579113",
- Volume = 4,
- EmitterSize = 100
- })
- SpiritBombSound = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://919429799",
- Volume = 2,
- EmitterSize = 100
- })
- ExplosionSound = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://638861091",
- Volume = 3,
- EmitterSize = 100
- })
- PunchSound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://137579113",
- Volume = 4,
- EmitterSize = 100
- })
- PunchSound3 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://441202925",
- Volume = 4,
- EmitterSize = 100
- })
- ExplosionSound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://165970126",
- Volume = 4
- })
- UltraSound1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://1136905493",
- Volume = 1,
- EmitterSize = 100,
- Looped = true
- })
- UltraSound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://232213955",
- Volume = 2
- })
- SSJScream1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://527276541",
- Volume = 2
- })
- SSJScream2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://975468335",
- Volume = 2
- })
- SSJSound1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://437393965",
- Volume = 2
- })
- SSJSound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://891397456",
- Volume = 4,
- Looped = true
- })
- SSJSound3 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://390946253",
- Volume = 2,
- EmitterSize = 100,
- Looped = true
- })
- SSJ2Sound1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://850205092",
- Volume = 4,
- Looped = true
- })
- SSJ2Sound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://144377132",
- Volume = 2,
- Looped = true,
- EmitterSize = 100
- })
- SSJ3Sound1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://156056027",
- Volume = 2,
- Looped = true,
- EmitterSize = 100
- })
- SSJGSound1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://785398417",
- Volume = 2,
- Looped = true,
- EmitterSize = 100
- })
- SSJGSound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://590580266",
- Volume = 4,
- Looped = true
- })
- PowerDown = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://922710675",
- Volume = 4,
- EmitterSize = 100
- })
- SSJBSound1 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://874183151",
- Volume = 2
- })
- SSJBSound2 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://180572775",
- Volume = 2,
- Looped = true,
- EmitterSize = 100
- })
- SSJBSound3 = Create("Sound", HRoot, "Sound", {
- SoundId = "rbxassetid://443386048",
- Volume = 4,
- Looped = true
- })
- Hcf = HairWeld.C0
- FloatVel = Create("BodyVelocity", nil, "Float", {
- MaxForce = Vector3.new(0, 0, 0),
- Velocity = Vector3.new(0, 0, 0)
- })
- FloatGyro = Create("BodyGyro", nil, "Gyro", {
- MaxTorque = Vector3.new(0, 0, 0),
- P = 30000
- })
- Char.Archivable = true
- Clone = Char:Clone()
- Clone.Shirt.ShirtTemplate = "rbxassetid://1162887253"
- Clone.Pants.PantsTemplate = "rbxassetid://1162887782"
- Clone.Hair.Mesh.MeshId = "rbxassetid://1125231485"
- Clone.Head.Motor6D.C0 = Clone.Head.Motor6D.C0 * CFrame.Angles(Rad(0), Rad(180), Rad(0))
- Clone:FindFirstChildOfClass("Humanoid").DisplayDistanceType = "None"
- if Clone:FindFirstChildOfClass("ForceField") then
- Clone:FindFirstChildOfClass("ForceField"):Destroy()
- end
- Char.Archivable = false
- SSJContainer = Create("BillboardGui", HRoot, "BillboardGui", {
- ExtentsOffset = Vector3.new(0, 0, 0),
- MaxDistance = math.huge,
- Size = UDim2.new(20, 0, 20, 0)
- })
- Aura = Create("ImageLabel", SSJContainer, "ImageLabel", {
- BackgroundTransparency = 1,
- Size = UDim2.new(2, 0, 1, 0),
- Position = UDim2.new(-0.5, 0, -0.2, 0)
- })
- createEmit({
- Name = "UltAura",
- Color = ColorSequence.new(Color3.fromRGB(0, 170, 255)),
- LightEmission = 0.15,
- LightInfluence = 1,
- Size = NumberSequence.new(1),
- Texture = "rbxassetid://833874434",
- Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1),
- NumberSequenceKeypoint.new(0.117, 0.705),
- NumberSequenceKeypoint.new(0.655, 0.732),
- NumberSequenceKeypoint.new(1, 1)
- }),
- Lifetime = NumberRange.new(2),
- Rate = 25,
- RotSpeed = NumberRange.new(-100, 100),
- Speed = NumberRange.new(0.5),
- SpreadAngle = Vector2.new(15, 15),
- ZOffset = -2,
- Enabled = false,
- LockedToPart = true
- })
- createEmit({
- Name = "UltAura",
- Color = ColorSequence.new(Color3.fromRGB(85, 0, 255)),
- LightEmission = 0.15,
- LightInfluence = 1,
- Size = NumberSequence.new(0.95),
- Texture = "rbxassetid://833874434",
- Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1),
- NumberSequenceKeypoint.new(0.117, 0.705),
- NumberSequenceKeypoint.new(0.655, 0.732),
- NumberSequenceKeypoint.new(1, 1)
- }),
- Lifetime = NumberRange.new(2),
- Rate = 25,
- RotSpeed = NumberRange.new(-100, 100),
- Speed = NumberRange.new(0.5),
- SpreadAngle = Vector2.new(15, 15),
- ZOffset = -3,
- Enabled = false,
- LockedToPart = true
- })
- createEmit({
- Name = "UltAura",
- Color = ColorSequence.new(Color3.fromRGB(255, 255, 255)),
- LightEmission = 0.15,
- LightInfluence = 1,
- Size = NumberSequence.new(0.9),
- Texture = "rbxassetid://833874434",
- Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1),
- NumberSequenceKeypoint.new(0.117, 0.705),
- NumberSequenceKeypoint.new(0.655, 0.732),
- NumberSequenceKeypoint.new(1, 1)
- }),
- Lifetime = NumberRange.new(2),
- Rate = 25,
- RotSpeed = NumberRange.new(-100, 100),
- Speed = NumberRange.new(0.5),
- SpreadAngle = Vector2.new(15, 15),
- ZOffset = -1,
- Enabled = false,
- LockedToPart = true
- })
- function keyDown(key)
- Keys[key] = true
- if Attacking then
- return
- end
- if Mode ~= "Ultra" then
- if key == Enum.KeyCode.Z then
- Attacking = true
- do
- local cached = {}
- local function onTouch(h)
- if h.Parent == nil then
- return
- end
- if h:IsDescendantOf(Char) then
- return
- end
- if cached[h.Parent] then
- return
- end
- local hum = h.Parent:FindFirstChildOfClass("Humanoid")
- local tor = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("HumanoidRootPart")
- if hum and tor then
- local ring = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Institutional white"),
- Size = Vector3.new(1, 1, 1),
- CFrame = CFrame.new(tor.CFrame.p, HRoot.CFrame.p)
- })
- ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(180), Rad(0))
- local mesh = Create("SpecialMesh", ring, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=20329976",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(20, 1, 20)
- }):Play()
- game:GetService("Debris"):AddItem(ring, 1)
- for _, v in pairs(h.Parent:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 102)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 83)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 66)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 49)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 32)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 15)
- end
- cached[h.Parent] = true
- spawn(function()
- wait(0.1)
- cached[h.Parent] = nil
- end)
- end
- end
- local lac = LArm.Touched:connect(onTouch)
- local rac = RArm.Touched:connect(onTouch)
- PunchSound.Looped = true
- PunchSound:Play()
- for i = 0, 6 do
- for i = 0, 1, 0.1 do
- Neck.C0 = Neck.C0:lerp(Ncf, i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i)
- SWait()
- end
- for i = 0, 1, 0.1 do
- Neck.C0 = Neck.C0:lerp(Ncf, i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(-90)), i)
- SWait()
- end
- end
- PunchSound.Looped = false
- PunchSound:Stop()
- lac:Disconnect()
- rac:Disconnect()
- Attacking = false
- end
- elseif key == Enum.KeyCode.X then
- if Mouse.Target.Parent == nil then
- return
- end
- Attacking = true
- Walkspeed = 0
- do
- local targ = Mouse.Target.Parent
- local hum = targ:FindFirstChildOfClass("Humanoid")
- local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
- if not hum or not tor then
- Attacking = false
- Walkspeed = 16
- return
- end
- for i = 0, 0.2, 0.01 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-20)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(20)), i)
- SWait()
- end
- local bv = Create("BodyVelocity", HRoot, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = Vector3.new(0, 100, 0)
- })
- for i = 0, 0.2, 0.01 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf, i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), i)
- SWait()
- end
- for i = 0, 100 do
- bv.Velocity = bv.Velocity - Vector3.new(0, 1, 0)
- if 0 > bv.Velocity.Y then
- bv.Velocity = Vector3.new(0, 0, 0)
- break
- end
- SWait()
- end
- for i = 0, 0.2, 0.01 do
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-25), Rad(0), Rad(180)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-25), Rad(0), Rad(-180)), i)
- SWait()
- end
- game:GetService("Chat"):Chat(Head, "SOLAR FLARE X100!", Enum.ChatColor.White)
- tor.Anchored = true
- for i = 0, 1, 0.1 do
- local orb = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white"),
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(40, 40, 40)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(orb, 1)
- wait(0.1)
- end
- Char:MoveTo(tor.CFrame * CFrame.new(0, -1, 2.2).p)
- Torso.CFrame = CFrame.new(Torso.CFrame.p, tor.CFrame.p)
- local cached = {}
- local function damage()
- local ring = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Institutional white"),
- Size = Vector3.new(1, 1, 1),
- CFrame = tor.CFrame
- })
- local mesh = Create("SpecialMesh", ring, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(20, 20, 1)
- }):Play()
- game:GetService("Debris"):AddItem(ring, 1)
- for _, v in pairs(targ.Parent:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 102)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 83)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 66)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 49)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 32)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 15)
- end
- end
- PunchSound.Looped = true
- PunchSound:Play()
- for i = 0, 6 do
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i)
- SWait()
- end
- damage()
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(-90)), i)
- SWait()
- end
- damage()
- end
- PunchSound.Looped = false
- PunchSound:Stop()
- PunchSound3:Play()
- for i = 0, 0.1, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(0), Rad(-130)), i)
- SWait()
- end
- damage()
- local orig = tor.CFrame
- local bv2 = Create("BodyVelocity", tor, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = Vector3.new(0, 50, 0)
- })
- tor.Anchored = false
- wait(1)
- for i = 0, 100 do
- bv2.Velocity = bv2.Velocity - Vector3.new(0, 1, 0)
- if 0 > bv2.Velocity.Y then
- bv2.Velocity = Vector3.new(0, 0, 0)
- break
- end
- SWait()
- end
- Char:MoveTo(tor.CFrame * CFrame.new(0, 1, 2).p)
- for i = 0, 0.2, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-50), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(50)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-50)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-140)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(140)), i)
- SWait()
- end
- for i = 0, 0.2, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(50), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-50)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(50)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(40)), i)
- SWait()
- end
- damage()
- bv2:Destroy()
- local asd = false
- PunchSound3:Play()
- spawn(function()
- wait(2)
- if not asd and Attacking then
- Attacking = false
- bv:Destroy()
- Walkspeed = 16
- end
- end)
- hum.StateChanged:connect(function(old, state)
- if state == Enum.HumanoidStateType.Landed then
- local ray = Ray.new(HRoot.CFrame.p, HRoot.CFrame * CFrame.new(0, -1000, 0).p.unit * 500)
- local part, pos, face, material = workspace:FindPartOnRay(ray, Char, false, false)
- ExplosionSound2:Play()
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 102)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 83)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 66)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 49)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 32)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 15)
- end
- for i = 0, 360, 36 do
- local debris = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = part.BrickColor or BrickColor.new("Bright green"),
- Material = material or Enum.Material.Grass,
- Size = Vector3.new(15, 20, 10),
- CFrame = tor.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -15)
- })
- debris.CFrame = debris.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0))
- TweenService:Create(debris, TweenInfo.new(2), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(debris, 2)
- end
- asd = true
- bv:Destroy()
- Walkspeed = 16
- Attacking = false
- end
- end)
- end
- elseif key == Enum.KeyCode.C then
- Attacking = true
- local orb1 = Create("Part", Char, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1)
- })
- local smesh = Create("SpecialMesh", orb1, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.001, 0.001, 0.001)
- })
- local orb2 = Create("Part", Char, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1)
- })
- local smesh2 = Create("SpecialMesh", orb2, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.001, 0.001, 0.001)
- })
- newWeld(orb1, LArm, orb1, CFrame.new(0, -1, 0))
- newWeld(orb2, RArm, orb2, CFrame.new(0, -1, 0))
- for i = 0, 0.28, 0.01 do
- Neck.C0 = Neck.C0:lerp(Ncf, i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf, i)
- Neck.C0 = Neck.C0:lerp(Ncf, i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(90)), i)
- SWait()
- end
- TweenService:Create(smesh, TweenInfo.new(1), {
- Scale = Vector3.new(1, 1, 1)
- }):Play()
- TweenService:Create(smesh2, TweenInfo.new(1), {
- Scale = Vector3.new(1, 1, 1)
- }):Play()
- wait(1)
- for i = 0, 1, 0.1 do
- do
- local blast = Create("Part", workspace, "EB", {
- CanCollide = false,
- BrickColor = BrickColor.new("Electric blue"),
- Material = "Neon",
- Size = Vector3.new(2, 2, 2),
- CFrame = HRoot.CFrame * CFrame.new(Random(-4, 4), Random(0, 2), -2)
- })
- local mesh = Create("SpecialMesh", blast, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.5, 0.5, 2)
- })
- local bv = Create("BodyVelocity", blast, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = HRoot.CFrame.lookVector * 100
- })
- game:GetService("Debris"):AddItem(blast, 2)
- blast.Touched:connect(function(h)
- if h.Parent == nil then
- return
- end
- if h:IsDescendantOf(Char) then
- return
- end
- if h.Name == "EB" then
- return
- end
- local hum = h.Parent:FindFirstChildOfClass("Humanoid")
- local tor = h.Parent:FindFirstChild("Toros") or h.Parent:FindFirstChild("HumanoidRootPart")
- blast.Anchored = true
- local nb = blast:Clone()
- blast:Destroy()
- nb.Parent = workspace
- TweenService:Create(nb, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(nb.Mesh, TweenInfo.new(1), {
- Scale = Vector3.new(4, 4, 4)
- }):Play()
- game:GetService("Debris"):AddItem(nb, 1)
- if hum and tor then
- for _, v in pairs(h.Parent:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 100)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 90)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 80)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 70)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 60)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 50)
- end
- end
- end)
- SWait()
- end
- end
- TweenService:Create(smesh, TweenInfo.new(1), {
- Scale = Vector3.new(0.001, 0.001, 0.001)
- }):Play()
- TweenService:Create(smesh2, TweenInfo.new(1), {
- Scale = Vector3.new(0.001, 0.001, 0.001)
- }):Play()
- game:GetService("Debris"):AddItem(orb1, 1)
- game:GetService("Debris"):AddItem(orb2, 1)
- Attacking = false
- elseif key == Enum.KeyCode.V then
- Attacking = true
- Walkspeed = 0
- KamehamehaSound:Play()
- do
- local orb = Create("Part", Char, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1)
- })
- newWeld(LArm, orb, LArm, CFrame.new(0, 1, 0))
- local smesh = Create("SpecialMesh", orb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.01, 0.01, 0.01)
- })
- for i = 0, 1, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-65)) * CFrame.new(0, 0.2, 0), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(80), Rad(65)), i)
- wait()
- end
- TweenService:Create(smesh, TweenInfo.new(4.7), {
- Scale = Vector3.new(2, 2, 2)
- }):Play()
- wait(4.7)
- local fire = false
- for i = 0, 1, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(-50), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(40), Rad(90)), i)
- if i >= 0.8 and not fire then
- fire = true
- end
- wait()
- end
- spawn(function()
- repeat
- SWait()
- until fire
- local hitb = Create("Part", workspace, "KameHameHaUltra", {
- Anchored = true,
- CanCollide = false,
- Transparency = 1,
- Size = Vector3.new(20, 20, 200),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -100)
- })
- local beam = Create("Part", workspace, "KameHameHaUltra", {
- Anchored = true,
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -2)
- })
- local mesh = Create("SpecialMesh", beam, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(mesh, TweenInfo.new(0.5), {
- Scale = Vector3.new(24, 24, 200)
- }):Play()
- TweenService:Create(beam, TweenInfo.new(0.5), {
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -100)
- }):Play()
- local done = false
- spawn(function()
- repeat
- local airPart = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -2)
- })
- airPart.CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(90), Rad(90))
- local airMesh = Create("SpecialMesh", airPart, "Mesh", {
- MeshId = "rbxassetid://168892432",
- Scale = Vector3.new(6, 40, 6),
- Offset = Vector3.new(0, -100, 0)
- })
- TweenService:Create(airPart, TweenInfo.new(0.1), {
- Transparency = 1,
- CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0))
- }):Play()
- game:GetService("Debris"):AddItem(airPart, 0.1)
- SWait()
- until done
- end)
- hitb.Touched:connect(function(h)
- if h.Parent == nil then
- return
- end
- if h:IsDescendantOf(Char) then
- return
- end
- local anc
- local a, b = pcall(function()
- anc = findRealAncestor(h)
- end)
- if a then
- local hum = anc:FindFirstChildOfClass("Humanoid")
- if hum then
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 100)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 90)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 80)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 70)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 60)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 50)
- end
- game:GetService("Debris"):AddItem(Create("BodyVelocity", anc:FindFirstChild("HumanoidRootPart") or anc:FindFirstChild("Torso"), "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = HRoot.CFrame.lookVector * 50
- }), 0.5)
- end
- end
- end)
- local kameOn = true
- KamehamehaSound.Ended:connect(function()
- if not kameOn then
- return
- end
- KamehamehaSound.Volume = 4
- kameOn = false
- done = true
- hitb:Destroy()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(0.01, 0.01, 4)
- }):Play()
- TweenService:Create(beam, TweenInfo.new(1), {
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -4)
- }):Play()
- TweenService:Create(smesh, TweenInfo.new(1), {
- Scale = Vector3.new(0.01, 0.01, 0.01)
- }):Play()
- game:GetService("Debris"):AddItem(beam, 1)
- game:GetService("Debris"):AddItem(orb, 1)
- wait(1)
- Walkspeed = 16
- Attacking = false
- end)
- end)
- end
- elseif key == Enum.KeyCode.B and Mode == "SSJG" then
- if Mouse.Target.Parent == nil then
- return
- end
- local targ = Mouse.Target.Parent
- local hum = targ:FindFirstChildOfClass("Humanoid")
- local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
- if not hum or not tor then
- return
- end
- Attacking = true
- local temp = newWeld(tor, HRoot, tor, CFrame.new(0, 0, -2))
- PunchSound.Looped = true
- PunchSound:Play()
- Chat:Chat(Head, "Let's see if you can keep up with a god.", Enum.ChatColor.White)
- for i = 0, 6 do
- for _, v in pairs(targ:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- local ring1 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = tor.CFrame
- })
- local mesh1 = Create("SpecialMesh", ring1, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(4, 4, 1)
- })
- TweenService:Create(ring1, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh1, TweenInfo.new(1), {
- Scale = Vector3.new(20, 20, 1)
- }):Play()
- game:GetService("Debris"):AddItem(ring1, 1)
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf, i)
- SWait()
- end
- hum:TakeDamage(hum.MaxHealth / 20)
- local ring2 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = tor.CFrame
- })
- local mesh2 = Create("SpecialMesh", ring2, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(4, 4, 1)
- })
- TweenService:Create(ring2, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh2, TweenInfo.new(1), {
- Scale = Vector3.new(20, 20, 1)
- }):Play()
- game:GetService("Debris"):AddItem(ring2, 1)
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90)), i)
- SWait()
- end
- hum:TakeDamage(hum.MaxHealth / 20)
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-20), Rad(120), Rad(0)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(90)), i)
- SWait()
- end
- hum:TakeDamage(hum.MaxHealth / 20)
- end
- PunchSound:Stop()
- PunchSound.Looped = false
- PunchSound3:Play()
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf, i)
- SWait()
- end
- hum:TakeDamage(hum.MaxHealth / 20)
- game:GetService("Debris"):AddItem(Create("BodyVelocity", tor, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = HRoot.CFrame.lookVector * 100
- }), 1)
- temp:Destroy()
- Attacking = false
- elseif key == Enum.KeyCode.B and Mode == "SSJB" then
- Attacking = true
- KamehamehaSound:Play()
- do
- local orb = Create("Part", Char, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1)
- })
- newWeld(LArm, orb, LArm, CFrame.new(0, 1, 0))
- local smesh = Create("SpecialMesh", orb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.01, 0.01, 0.01)
- })
- for i = 0, 1, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-65)) * CFrame.new(0, 0.2, 0), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(80), Rad(65)), i)
- wait()
- end
- TweenService:Create(smesh, TweenInfo.new(4.7), {
- Scale = Vector3.new(2, 2, 2)
- }):Play()
- wait(4.5)
- for i = 0, 0.8, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(-50), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(40), Rad(90)), i)
- wait()
- end
- local ignore = {Char}
- local conn = game:GetService("RunService").RenderStepped:connect(function()
- local part, pos, face, material = workspace:FindPartOnRayWithIgnoreList(Ray.new(HRoot.Position, HRoot.CFrame * CFrame.new(0, 0, -200).p - HRoot.Position.unit * 100), ignore, false, false)
- local beam = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -2),
- BrickColor = BrickColor.new("Electric blue"),
- Material = "Neon"
- })
- Create("SpecialMesh", beam, "Mesh", {
- Scale = Vector3.new(12, 12, pos.magnitude + 10),
- MeshType = "Sphere",
- Offset = Vector3.new(0, 1, -(5 + pos.magnitude / 2))
- })
- game:GetService("Debris"):AddItem(beam, 0.1)
- if part then
- local effect = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1),
- CFrame = CFrame.new(pos)
- })
- ignore[#ignore + 1] = effect
- local mesh = Create("SpecialMesh", effect, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(8, 8, 8)
- })
- TweenService:Create(effect, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(32, 32, 32)
- }):Play()
- game:GetService("Debris"):AddItem(effect, 1)
- game:GetService("Debris"):AddItem(Create("BodyVelocity", part, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = beam.CFrame.lookVector * 50
- }), 1)
- if part.Parent == nil then
- return
- end
- local hum = part.Parent:FindFirstChildOfClass("Humanoid")
- if not hum then
- return
- end
- hum:TakeDamage(hum.MaxHealth / 100)
- end
- end)
- local kameOn = true
- KamehamehaSound.Ended:connect(function()
- if not kameOn then
- return
- end
- orb:Destroy()
- kameOn = false
- KamehamehaSound:Stop()
- conn:Disconnect()
- Attacking = false
- Walkspeed = 16
- end)
- end
- elseif key == Enum.KeyCode.N then
- if Mouse.Target.Parent == nil then
- return
- end
- do
- local targ = Mouse.Target.Parent
- local hum = targ:FindFirstChildOfClass("Humanoid")
- local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
- if not hum or not tor then
- return
- end
- Attacking = true
- local orb1 = Create("Part", Char, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Bright blue"),
- Size = Vector3.new(1, 1, 1)
- })
- local smesh = Create("SpecialMesh", orb1, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.001, 0.001, 0.001)
- })
- local orb2 = Create("Part", Char, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Bright blue"),
- Size = Vector3.new(1, 1, 1)
- })
- local smesh2 = Create("SpecialMesh", orb2, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.001, 0.001, 0.001)
- })
- newWeld(orb1, LArm, orb1, CFrame.new(0, -1, 0))
- newWeld(orb2, RArm, orb2, CFrame.new(0, -1, 0))
- for i = 0, 0.28, 0.01 do
- Neck.C0 = Neck.C0:lerp(Ncf, i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf, i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-30), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(30), Rad(90)), i)
- SWait()
- end
- TweenService:Create(smesh, TweenInfo.new(1), {
- Scale = Vector3.new(1, 1, 1)
- }):Play()
- TweenService:Create(smesh2, TweenInfo.new(1), {
- Scale = Vector3.new(1, 1, 1)
- }):Play()
- wait(1)
- for i = 0, 2, 0.1 do
- do
- local blast = Create("Part", workspace, "EB", {
- CanCollide = false,
- BrickColor = BrickColor.new("Bright blue"),
- Material = "Neon",
- Size = Vector3.new(2, 2, 2),
- CFrame = HRoot.CFrame * CFrame.new(Random(-4, 4), Random(0, 2), -2)
- })
- local mesh = Create("SpecialMesh", blast, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.5, 0.5, 2)
- })
- local rp = Create("RocketPropulsion", blast, "BV", {
- MaxTorque = Vector3.new(200000000, 200000000, 200000000),
- MaxSpeed = 100,
- CartoonFactor = 1,
- TargetRadius = 1,
- MaxThrust = 40000,
- Target = tor
- })
- rp:Fire()
- game:GetService("Debris"):AddItem(blast, 20)
- rp.ReachedTarget:connect(function()
- local nb = blast:Clone()
- nb.Parent = workspace
- nb.Anchored = true
- blast:Destroy()
- game:GetService("Debris"):AddItem(nb, 1)
- TweenService:Create(nb, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(nb.Mesh, TweenInfo.new(1), {
- Scale = Vector3.new(10, 10, 10)
- }):Play()
- for _, v in pairs(targ:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 100)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 90)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 80)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 70)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 60)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 50)
- end
- end)
- SWait()
- end
- end
- TweenService:Create(smesh, TweenInfo.new(1), {
- Scale = Vector3.new(0.001, 0.001, 0.001)
- }):Play()
- TweenService:Create(smesh2, TweenInfo.new(1), {
- Scale = Vector3.new(0.001, 0.001, 0.001)
- }):Play()
- game:GetService("Debris"):AddItem(orb1, 1)
- game:GetService("Debris"):AddItem(orb2, 1)
- Attacking = false
- end
- elseif key == Enum.KeyCode.M then
- if Mouse.Target.Parent == nil then
- return
- end
- do
- local targ = Mouse.Target.Parent
- local hum = targ:FindFirstChildOfClass("Humanoid")
- local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
- if not hum or not tor then
- return
- end
- Attacking = true
- local Runnin = true
- local weld = newWeld(Torso, tor, HRoot, CFrame.new(0, 0, 2))
- local function damage()
- local ring = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Institutional white"),
- Size = Vector3.new(1, 1, 1),
- CFrame = CFrame.new(tor.CFrame.p, HRoot.CFrame.p)
- })
- ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(180), Rad(0))
- local mesh = Create("SpecialMesh", ring, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=20329976",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(20, 1, 20)
- }):Play()
- game:GetService("Debris"):AddItem(ring, 1)
- for _, v in pairs(targ:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 350)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 300)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 250)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 200)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 150)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 100)
- end
- end
- SWait()
- PunchSound.Looped = true
- PunchSound:Play()
- for i = 0, 12 do
- Neck.C0 = Ncf
- Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40))
- LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90))
- RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90))
- damage()
- wait(0.1)
- Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40))
- LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90))
- RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90))
- damage()
- wait(0.1)
- end
- PunchSound:Stop()
- PunchSound3:Play()
- local bv = Create("BodyVelocity", HRoot, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = Vector3.new(0, 0, 0)
- })
- weld:Destroy()
- Char:MoveTo(HRoot.CFrame * CFrame.new(0, 20, 0).p)
- PunchSound:Play()
- local weld = newWeld(Torso, tor, HRoot, CFrame.new(0, 0, 2))
- for i = 0, 24 do
- Neck.C0 = Ncf
- Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40))
- LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90))
- RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90))
- damage()
- wait(0.1)
- Hrj.C0 = Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40))
- LShold.C0 = Lscf * CFrame.Angles(Rad(0), Rad(40), Rad(-90))
- RShold.C0 = Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90))
- damage()
- wait(0.1)
- end
- PunchSound:Stop()
- local gyro = Create("BodyGyro", HRoot, "Gyro", {
- MaxTorque = Vector3.new(200000000, 200000000, 200000000),
- P = 30000
- })
- local conn = game:GetService("RunService").RenderStepped:connect(function()
- gyro.CFrame = workspace.CurrentCamera.CFrame
- end)
- weld:Destroy()
- hum.StateChanged:connect(function(old, new)
- if not Runnin then
- return
- end
- if new == Enum.HumanoidStateType.Landed then
- Runnin = false
- for _, v in pairs(targ:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- hum:TakeDamage(hum.MaxHealth / 100)
- ExplosionSound2:Play()
- local ray = Ray.new(HRoot.CFrame.p, HRoot.CFrame * CFrame.new(0, -1000, 0).p.unit * 500)
- local part, pos, face, material = workspace:FindPartOnRay(ray, Char, false, false)
- for i = 0, 360, 36 do
- local debris = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = part.BrickColor or BrickColor.new("Bright green"),
- Material = material or Enum.Material.Grass,
- Size = Vector3.new(15, 20, 10),
- CFrame = tor.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -15)
- })
- debris.CFrame = debris.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0))
- TweenService:Create(debris, TweenInfo.new(10), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(debris, 10)
- end
- end
- end)
- local onTouch = function(part, h)
- if h:IsDescendantOf(Char) then
- return
- end
- if h.Name:lower() == "kib" then
- return
- end
- local nk = part:Clone()
- nk.Parent = workspace
- nk.Anchored = true
- part:Destroy()
- TweenService:Create(nk, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(nk.Mesh, TweenInfo.new(1), {
- Scale = Vector3.new(16, 16, 16)
- }):Play()
- game:GetService("Debris"):AddItem(nk, 1)
- for _, v in pairs(workspace:GetChildren()) do
- if v:FindFirstChildOfClass("Humanoid") and v ~= Char then
- local tor = v:FindFirstChild("Torso") or v:FindFirstChild("HumanoidRootPart")
- local hum = v:FindFirstChildOfClass("Humanoid")
- if tor and (tor.Position - nk.Position).magnitude <= 80 then
- for _, b in pairs(v:GetChildren()) do
- if b:IsA("ForceField") then
- b:Destroy()
- end
- end
- if Mode == "Base" then
- hum:TakeDamage(hum.MaxHealth / 350)
- elseif Mode == "SSJ" then
- hum:TakeDamage(hum.MaxHealth / 300)
- elseif Mode == "SSJ2" then
- hum:TakeDamage(hum.MaxHealth / 250)
- elseif Mode == "SSJ3" then
- hum:TakeDamage(hum.MaxHealth / 200)
- elseif Mode == "SSJG" then
- hum:TakeDamage(hum.MaxHealth / 150)
- elseif Mode == "SSJB" then
- hum:TakeDamage(hum.MaxHealth / 100)
- end
- end
- end
- end
- end
- Flying = true
- for i = 0, 100 do
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i)
- SWait()
- end
- do
- local kib = Create("Part", workspace, "Kib", {
- CanCollide = false,
- BrickColor = BrickColor.new("Electric blue"),
- Material = "Neon",
- Size = Vector3.new(2, 2, 2),
- CFrame = HRoot.CFrame * CFrame.new(-1, 0, -0.5)
- })
- kib.CFrame = kib.CFrame * CFrame.Angles(Rad(Random(-20, 20)), Rad(Random(-45, 45)), Rad(0))
- Create("SpecialMesh", kib, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 2)
- })
- Create("BodyVelocity", kib, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = kib.CFrame.lookVector * 100
- })
- kib.Touched:connect(function(h)
- onTouch(kib, h)
- end)
- game:GetService("Debris"):AddItem(kib, 10)
- SWait()
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(300)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(90)), i)
- SWait()
- end
- local kib = Create("Part", workspace, "Kib", {
- CanCollide = false,
- BrickColor = BrickColor.new("Electric blue"),
- Material = "Neon",
- Size = Vector3.new(2, 2, 2),
- CFrame = HRoot.CFrame * CFrame.new(1, 0, -0.5)
- })
- kib.CFrame = kib.CFrame * CFrame.Angles(Rad(Random(-20, 20)), Rad(Random(-45, 45)), Rad(0))
- Create("SpecialMesh", kib, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 2)
- })
- Create("BodyVelocity", kib, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = kib.CFrame.lookVector * 100
- })
- kib.Touched:connect(function(h)
- onTouch(kib, h)
- end)
- game:GetService("Debris"):AddItem(kib, 10)
- SWait()
- end
- end
- conn:Disconnect()
- bv:Destroy()
- gyro:Destroy()
- Attacking = false
- end
- end
- elseif Mode == "Ultra" then
- if key == Enum.KeyCode.Z then
- if Walkspeed ~= 100 then
- Walkspeed = 100
- Sprint = true
- else
- Walkspeed = 16
- Sprint = false
- end
- elseif key == Enum.KeyCode.X then
- Attacking = true
- Walkspeed = 0
- KamehamehaSound:Play()
- do
- local orb = Create("Part", Char, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1)
- })
- newWeld(LArm, orb, LArm, CFrame.new(0, 1, 0))
- local smesh = Create("SpecialMesh", orb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(0.01, 0.01, 0.01)
- })
- for i = 0, 1, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(60)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-65)) * CFrame.new(0, 0.2, 0), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(80), Rad(65)), i)
- wait()
- end
- TweenService:Create(smesh, TweenInfo.new(4.7), {
- Scale = Vector3.new(2, 2, 2)
- }):Play()
- wait(4.7)
- local fire = false
- for i = 0, 1, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-50), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i)
- if i >= 0.8 and not fire then
- fire = true
- end
- wait()
- end
- spawn(function()
- repeat
- SWait()
- until fire
- local hitb = Create("Part", workspace, "KameHameHaUltra", {
- Anchored = true,
- CanCollide = false,
- Transparency = 1,
- Size = Vector3.new(36, 36, 400),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -200)
- })
- local beam = Create("Part", workspace, "KameHameHaUltra", {
- Anchored = true,
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Electric blue"),
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -2)
- })
- local mesh = Create("SpecialMesh", beam, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(mesh, TweenInfo.new(0.5), {
- Scale = Vector3.new(40, 40, 400)
- }):Play()
- TweenService:Create(beam, TweenInfo.new(0.5), {
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -200)
- }):Play()
- spawn(function()
- for i = 0, 1, 0.1 do
- local airPart = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -2)
- })
- airPart.CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(90), Rad(90))
- local airMesh = Create("SpecialMesh", airPart, "Mesh", {
- MeshId = "rbxassetid://168892432",
- Scale = Vector3.new(4, 4, 4),
- Offset = Vector3.new(0, 20, 0)
- })
- TweenService:Create(airMesh, TweenInfo.new(0.5), {
- Scale = Vector3.new(10, 50, 10),
- Offset = Vector3.new(0, -150, 0)
- }):Play()
- TweenService:Create(airPart, TweenInfo.new(7.3), {
- Transparency = 1,
- CFrame = airPart.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0))
- }):Play()
- game:GetService("Debris"):AddItem(airPart, 7.3)
- SWait()
- end
- end)
- hitb.Touched:connect(function(h)
- if h.Parent == nil then
- return
- end
- if h:IsDescendantOf(Char) then
- return
- end
- local anc
- local a, b = pcall(function()
- anc = findRealAncestor(h)
- end)
- if a then
- local hum = anc:FindFirstChildOfClass("Humanoid")
- if hum then
- hum:TakeDamage(hum.MaxHealth / 50)
- game:GetService("Debris"):AddItem(Create("BodyVelocity", anc:FindFirstChild("HumanoidRootPart") or anc:FindFirstChild("Torso"), "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = HRoot.CFrame.lookVector * 100
- }), 0.5)
- end
- end
- end)
- KamehamehaSound.Ended:connect(function()
- KamehamehaSound.Volume = 4
- hitb:Destroy()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(0.01, 0.01, 4)
- }):Play()
- TweenService:Create(beam, TweenInfo.new(1), {
- CFrame = HRoot.CFrame * CFrame.new(0, 0.5, -4)
- }):Play()
- TweenService:Create(smesh, TweenInfo.new(1), {
- Scale = Vector3.new(0.01, 0.01, 0.01)
- }):Play()
- game:GetService("Debris"):AddItem(beam, 1)
- game:GetService("Debris"):AddItem(orb, 1)
- wait(1)
- Walkspeed = 16
- Attacking = false
- end)
- end)
- end
- elseif key == Enum.KeyCode.C then
- Dodge = not Dodge
- warn("Dodge: " .. tostring(Dodge))
- elseif key == Enum.KeyCode.V then
- Walkspeed = 0
- Attacking = true
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-40), Rad(90)), i)
- wait()
- end
- local hitp = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Transparency = 1,
- Size = Vector3.new(20, 20, 400),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -202)
- })
- hitp.Touched:connect(function(h)
- if h.Parent == nil then
- return
- end
- if h:IsDescendantOf(Char) then
- return
- end
- local anc
- local a, b = pcall(function()
- anc = findRealAncestor(h)
- end)
- if a then
- local hum = anc:FindFirstChildOfClass("Humanoid")
- if hum then
- anc:BreakJoints()
- end
- end
- end)
- for i = 0, 1, 0.1 do
- local bpart = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -2)
- })
- local mesh = Create("SpecialMesh", bpart, "Mesh", {
- MeshId = "rbxassetid://437347603",
- Scale = Vector3.new(1, 1, 1),
- Offset = Vector3.new(0, 0, 0)
- })
- TweenService:Create(bpart, TweenInfo.new(1), {
- Transparency = 1,
- CFrame = bpart.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(Random(-360, 360)))
- }):Play()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(2, 2, 20),
- Offset = Vector3.new(0, 0, -150)
- }):Play()
- game:GetService("Debris"):AddItem(bpart, 1)
- SWait()
- end
- game:GetService("Debris"):AddItem(hitp, 1.5)
- Attacking = false
- Walkspeed = 16
- elseif key == Enum.KeyCode.B then
- Attacking = true
- if Mouse.Target == nil then
- return
- end
- do
- local targ
- local a, b = pcall(function()
- targ = findRealAncestor(Mouse.Target)
- end)
- if not a then
- pcall(function()
- targ = Mouse.Target.Parent
- end)
- end
- if targ ~= nil then
- local hum = targ:FindFirstChildOfClass("Humanoid")
- local tor = targ:FindFirstChild("Torso") or targ:FindFirstChild("HumanoidRootPart")
- if hum and tor then
- Walkspeed = 0
- local weld = newWeld(HRoot, tor, HRoot, CFrame.new(0, 0, 2))
- FloatVel.MaxForce = Vector3.new(200000000, 200000000, 200000000)
- spawn(function()
- tor.Anchored = true
- PunchSound.Looped = true
- for _, v in pairs(targ:GetChildren()) do
- if v:IsA("LocalScript") then
- v.Disabled = true
- end
- end
- Char:MoveTo(tor.Position + Vector3.new(0, 0, -2))
- wait(0.1)
- Torso.CFrame = CFrame.new(Torso.Position, tor.Position)
- PunchSound:Play()
- local punching = true
- spawn(function()
- repeat
- local fist = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(LArm.Size.X, 1, 8),
- BrickColor = LArm.BrickColor
- })
- local fist2 = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(RArm.Size.X, 1, 8),
- BrickColor = RArm.BrickColor
- })
- fist.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(-Random(1, 4), 0.5, 0).p, tor.Position)
- fist2.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(Random(1, 4), 0.5, 0).p, tor.Position)
- TweenService:Create(fist, TweenInfo.new(0.5), {Transparency = 1}):Play()
- TweenService:Create(fist2, TweenInfo.new(0.5), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(fist, 0.5)
- game:GetService("Debris"):AddItem(fist2, 0.5)
- SWait()
- until not punching
- end)
- for i = 0, 12 do
- for _, v in pairs(targ:GetChildren()) do
- if v:IsA("ForceField") then
- v:Destroy()
- end
- end
- SWait()
- local ring1 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = tor.CFrame
- })
- local mesh1 = Create("SpecialMesh", ring1, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(4, 4, 1)
- })
- TweenService:Create(ring1, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh1, TweenInfo.new(1), {
- Scale = Vector3.new(20, 20, 1)
- }):Play()
- game:GetService("Debris"):AddItem(ring1, 1)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(40)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- SWait()
- hum:TakeDamage(hum.MaxHealth / 20)
- local ring2 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = tor.CFrame
- })
- local mesh2 = Create("SpecialMesh", ring2, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(4, 4, 1)
- })
- TweenService:Create(ring2, TweenInfo.new(1), {Transparency = 1}):Play()
- TweenService:Create(mesh2, TweenInfo.new(1), {
- Scale = Vector3.new(20, 20, 1)
- }):Play()
- game:GetService("Debris"):AddItem(ring2, 1)
- SWait()
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(90)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- SWait()
- hum:TakeDamage(hum.MaxHealth / 20)
- end
- punching = false
- PunchSound:Stop()
- PunchSound.Looped = false
- wait()
- for i = 0, 1, 0.1 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(-90)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-90), Rad(0), Rad(0)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(90)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- SWait()
- end
- tor.Anchored = false
- local bv = Create("BodyVelocity", tor, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = HRoot.CFrame.lookVector * 100
- })
- for i = 0, 1, 0.1 do
- local bpart = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -2)
- })
- local mesh = Create("SpecialMesh", bpart, "Mesh", {
- MeshId = "rbxassetid://437347603",
- Scale = Vector3.new(1, 1, 1),
- Offset = Vector3.new(0, 0, 0)
- })
- TweenService:Create(bpart, TweenInfo.new(1), {
- Transparency = 1,
- CFrame = bpart.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(Random(-360, 360)))
- }):Play()
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(2, 2, 20),
- Offset = Vector3.new(0, 0, -150)
- }):Play()
- game:GetService("Debris"):AddItem(bpart, 1)
- SWait()
- end
- targ:BreakJoints()
- bv:Destroy()
- Attacking = false
- Walkspeed = 16
- end)
- else
- Attacking = false
- end
- end
- end
- end
- end
- if key == Enum.KeyCode.Q then
- stopAllSounds()
- SSJSound1:Play()
- toggleEmitters("AllOff")
- HairWeld.C0 = Hcf
- local orb = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Bright yellow"),
- Material = "Neon",
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(30, 30, 30)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- Hair.Mesh.MeshId = "rbxassetid://430344159"
- Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5)
- Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2)
- Hair.BrickColor = BrickColor.new("Bright yellow")
- Aura.ImageColor3 = Color3.fromRGB(255, 227, 10)
- SSJSound2:Play()
- SSJSound3:Play()
- Head.face.Texture = "rbxassetid://765493484"
- SSJContainer.StudsOffset = Vector3.new(0, 0, 0)
- SSJContainer.Size = UDim2.new(20, 0, 20, 0)
- Aura.ImageTransparency = 0
- Mode = "SSJ"
- elseif key == Enum.KeyCode.E then
- Attacking = true
- stopAllSounds()
- toggleEmitters("AllOff")
- SSJContainer.Size = UDim2.new(20, 0, 20, 0)
- SSJScream2:Play()
- for i = 0, 1, 0.1 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(10), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-70), Rad(-140)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(70), Rad(140)), i)
- wait()
- end
- do
- local rtr = true
- spawn(function()
- repeat
- local ring = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("New Yeller"),
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, -3, 0)
- })
- local mesh = Create("SpecialMesh", ring, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(1, 1, 1)
- })
- ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(0), Rad(0))
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(50, 50, 1)
- }):Play()
- TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(ring, 1)
- SWait()
- until not rtr
- end)
- wait(2)
- rtr = false
- local orb = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Bright yellow"),
- Material = "Neon",
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(30, 30, 30)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- for i = 0, 1, 0.1 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-20), Rad(0), Rad(0)), i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(70), Rad(-140)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-70), Rad(140)), i)
- wait()
- end
- SSJ2Sound2:Play()
- SSJ2Sound1:Play()
- HairWeld.C0 = Hcf
- Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5)
- Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2)
- Hair.BrickColor = BrickColor.new("Bright yellow")
- Aura.ImageTransparency = 0
- Hair.Mesh.MeshId = "rbxassetid://560718478"
- Head.face.Texture = "rbxassetid://765493484"
- SSJContainer.StudsOffset = Vector3.new(0, 0, 0)
- Mode = "SSJ2"
- Attacking = false
- end
- elseif key == Enum.KeyCode.R then
- Attacking = true
- stopAllSounds()
- toggleEmitters("AllOff")
- SSJContainer.Size = UDim2.new(20, 0, 20, 0)
- SSJScream1:Play()
- for i = 0, 1, 0.1 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(30), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-30)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(30)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-140)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(40), Rad(140)), i)
- wait()
- end
- do
- local rtr = true
- spawn(function()
- repeat
- local ring = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("New Yeller"),
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, -3, 0)
- })
- local mesh = Create("SpecialMesh", ring, "Mesh", {
- MeshId = "http://www.roblox.com/asset/?id=3270017",
- Scale = Vector3.new(1, 1, 1)
- })
- ring.CFrame = ring.CFrame * CFrame.Angles(Rad(90), Rad(0), Rad(0))
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(50, 50, 1)
- }):Play()
- TweenService:Create(ring, TweenInfo.new(1), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(ring, 1)
- SWait()
- until not rtr
- end)
- wait(7)
- rtr = false
- local orb = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Bright yellow"),
- Material = "Neon",
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 1)
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(30, 30, 30)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- for i = 0, 1, 0.1 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-20), Rad(0), Rad(0)), i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-10)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(70), Rad(-140)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(-70), Rad(140)), i)
- wait()
- end
- SSJSound1:Play()
- SSJ2Sound1:Play()
- SSJ3Sound1:Play()
- HairWeld.C0 = Hcf * CFrame.Angles(Rad(0), Rad(180), Rad(0))
- Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=431511681"
- Hair.Mesh.Scale = Vector3.new(0.005, 0.005, 0.005)
- Hair.Mesh.Offset = Vector3.new(0, -1.5, -1.1)
- Hair.BrickColor = BrickColor.new("Bright yellow")
- Head.face.Texture = "rbxassetid://765493484"
- Aura.ImageTransparency = 0
- SSJContainer.StudsOffset = Vector3.new(0, 0, 0)
- Mode = "SSJ3"
- Attacking = false
- end
- elseif key == Enum.KeyCode.T then
- SSJContainer.Size = UDim2.new(10, 0, 20, 0)
- Aura.ImageTransparency = 0
- toggleEmitters("AllOff")
- Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712"
- HairWeld.C0 = Hcf
- Hair.Mesh.Offset = Vector3.new(0, 0.55, -0.1)
- Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2)
- stopAllSounds()
- SSJSound1:Play()
- local orb = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(8, 8, 8),
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- Scale = Vector3.new(1, 1, 1),
- MeshType = "Sphere"
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(3, 3, 3)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(orb, 1)
- Hair.Color = Color3.fromRGB(212, 2, 114)
- SSJGSound1:Play()
- SSJGSound2:Play()
- wait(1)
- SSJContainer.StudsOffset = Vector3.new(-0.5, 0, 0)
- Torso.Anchored = false
- Attacking = false
- Head.face.Texture = "rbxassetid://900680867"
- Mode = "SSJG"
- elseif key == Enum.KeyCode.Y then
- SSJContainer.Size = UDim2.new(10, 0, 20, 0)
- Aura.ImageTransparency = 0
- toggleEmitters("AllOff")
- Hair.Mesh.MeshId = "rbxassetid://430344159"
- Hair.Mesh.Offset = Vector3.new(0, 0.8, 0.5)
- Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2)
- HairWeld.C0 = Hcf
- stopAllSounds()
- SSJBSound1:Play()
- local orb = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(8, 8, 8),
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- Scale = Vector3.new(1, 1, 1),
- MeshType = "Sphere"
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(3, 3, 3)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(orb, 1)
- Hair.Color = Color3.fromRGB(5, 178, 212)
- SSJBSound2:Play()
- SSJBSound3:Play()
- wait(1)
- Torso.Anchored = false
- Attacking = false
- Head.face.Texture = "rbxassetid://959519291"
- SSJContainer.StudsOffset = Vector3.new(0.5, 0, 0)
- Mode = "SSJB"
- elseif key == Enum.KeyCode.U then
- Walkspeed = 0
- Attacking = true
- Mode = "Ultra"
- toggleEmitters("AllOff")
- stopAllSounds()
- Aura.ImageTransparency = 1
- UltraSound1:Play()
- HairWeld.C0 = Hcf
- spawn(function()
- for i = 0, 1, 0.1 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(40), Rad(0), Rad(0)), i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(20), Rad(0), Rad(-40)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(20), Rad(0), Rad(40)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-20)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), i)
- wait()
- end
- end)
- local beam1 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white"),
- Shape = "Cylinder",
- Size = Vector3.new(8, 8, 8),
- CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(0), Rad(90))
- })
- local effect1 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh1 = Create("SpecialMesh", effect1, "Mesh", {
- MeshId = "rbxassetid://168892432",
- Scale = Vector3.new(1.2, 1.2, 1.2)
- })
- local effect2 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh2 = Create("SpecialMesh", effect2, "Mesh", {
- MeshId = "rbxassetid://168892432",
- Scale = Vector3.new(1.2, 1.2, 1.2)
- })
- local effect3 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh3 = Create("SpecialMesh", effect3, "Mesh", {
- MeshId = "rbxassetid://168892432",
- Scale = Vector3.new(1.2, 1.2, 1.2)
- })
- local orb1 = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- CFrame = HRoot.CFrame,
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white"),
- Size = Vector3.new(8, 8, 8)
- })
- local omesh1 = Create("SpecialMesh", orb1, "Mesh", {
- Scale = Vector3.new(1, 1, 1),
- MeshType = "Sphere"
- })
- spawn(function()
- for i = 0, 360, 36 do
- local cyl = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(i), Rad(0)) * CFrame.new(0, -5, -5),
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white")
- })
- cyl.CFrame = cyl.CFrame * CFrame.Angles(Rad(-45), Rad(0), Rad(0))
- local cylmesh = Create("CylinderMesh", cyl, "Mesh", {
- Scale = Vector3.new(4, 4, 4)
- })
- cyl.CFrame = cyl.CFrame * CFrame.new(0, 2, 0)
- TweenService:Create(cyl, TweenInfo.new(2.8), {
- Transparency = 1,
- CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(i + 114), 0) * CFrame.new(0, -5, -5)
- }):Play()
- TweenService:Create(cylmesh, TweenInfo.new(2.8), {
- Scale = Vector3.new(4, 20, 4)
- }):Play()
- game:GetService("Debris"):AddItem(cyl, 2.8)
- end
- end)
- Hair.BrickColor = BrickColor.new("Black metallic")
- TweenService:Create(orb1, TweenInfo.new(2), {Transparency = 1}):Play()
- TweenService:Create(omesh1, TweenInfo.new(2), {
- Scale = Vector3.new(3, 3, 3)
- }):Play()
- TweenService:Create(mesh1, TweenInfo.new(3), {
- Scale = Vector3.new(4, 4, 4)
- }):Play()
- TweenService:Create(effect1, TweenInfo.new(3), {
- Transparency = 1,
- CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0))
- }):Play()
- TweenService:Create(mesh2, TweenInfo.new(3), {
- Scale = Vector3.new(4, 4, 4)
- }):Play()
- TweenService:Create(effect2, TweenInfo.new(3), {
- Transparency = 1,
- CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0))
- }):Play()
- TweenService:Create(mesh3, TweenInfo.new(3), {
- Scale = Vector3.new(4, 4, 4)
- }):Play()
- TweenService:Create(effect3, TweenInfo.new(3), {
- Transparency = 1,
- CFrame = HRoot.CFrame * CFrame.Angles(Rad(0), Rad(Random(-360, 360)), Rad(0))
- }):Play()
- TweenService:Create(beam1, TweenInfo.new(3), {
- Transparency = 1,
- Size = Vector3.new(100, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 45, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(90))
- }):Play()
- game:GetService("Debris"):AddItem(beam1, 2)
- game:GetService("Debris"):AddItem(effect1, 2)
- game:GetService("Debris"):AddItem(mesh1, 2)
- game:GetService("Debris"):AddItem(mesh2, 2)
- game:GetService("Debris"):AddItem(mesh3, 2)
- game:GetService("Debris"):AddItem(orb1, 2)
- game:GetService("Debris"):AddItem(omesh1, 2)
- Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://986775808"
- Shirt.ShirtTemplate = "rbxassetid://1162887253"
- Pants.PantsTemplate = "rbxassetid://1162887782"
- Hair.Mesh.MeshId = "rbxassetid://1125231485"
- HairWeld.C0 = Hcf * CFrame.Angles(Rad(0), Rad(180), Rad(0))
- Hair.Mesh.Offset = Vector3.new(0, 0.7, 0)
- UltraSound2:Play()
- toggleEmitters("UltAura")
- wait(3)
- for i = 0, 0.5, 0.01 do
- Neck.C0 = Neck.C0:lerp(Ncf, i)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf, i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), i)
- wait()
- end
- Attacking = false
- Walkspeed = 16
- CanMelee = true
- elseif key == Enum.KeyCode.P then
- Mode = "Base"
- Attacking = true
- Aura.ImageTransparency = 1
- toggleEmitters("AllOff")
- Torso.Anchored = true
- Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=247266812"
- Pants.PantsTemplate = "http://www.roblox.com/asset/?id=247266984"
- Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://765423946"
- Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712"
- HairWeld.C0 = Hcf
- Hair.Mesh.Offset = Vector3.new(0, 0.55, -0.1)
- Hair.Mesh.Scale = Vector3.new(6.2, 6.2, 6.2)
- stopAllSounds()
- PowerDown:Play()
- local orb = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- Size = Vector3.new(8, 8, 8),
- Material = "Neon",
- BrickColor = BrickColor.new("Institutional white"),
- CFrame = HRoot.CFrame
- })
- local mesh = Create("SpecialMesh", orb, "Mesh", {
- Scale = Vector3.new(1, 1, 1),
- MeshType = "Sphere"
- })
- TweenService:Create(mesh, TweenInfo.new(1), {
- Scale = Vector3.new(3, 3, 3)
- }):Play()
- TweenService:Create(orb, TweenInfo.new(1), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(orb, 1)
- Hair.BrickColor = BrickColor.new("Black metallic")
- wait(1)
- Torso.Anchored = false
- Attacking = false
- elseif key == Enum.KeyCode.G then
- Attacking = true
- do
- local cf = Mouse.Hit.p
- local hcf = HRoot.CFrame
- for i = 0, 0.28, 0.01 do
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(30), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(-40), Rad(-120)), i)
- wait()
- end
- spawn(function()
- for i = 0, 1, 0.1 do
- local part = Create("Part", Char, "Part", {
- Anchored = true,
- CanCollide = false,
- BrickColor = BrickColor.new("Really black"),
- Material = "Neon",
- Size = Vector3.new(1, 4, 1),
- CFrame = hcf * CFrame.new(Random(-5, 5), -5, Random(-5, 5))
- })
- Create("CylinderMesh", part, "Mesh", {})
- TweenService:Create(part, TweenInfo.new(1), {
- Transparency = 1,
- CFrame = part.CFrame * CFrame.new(0, 10, 0)
- }):Play()
- game:GetService("Debris"):AddItem(part, 1)
- SWait()
- end
- end)
- Char:MoveTo(cf)
- Attacking = false
- end
- elseif key == Enum.KeyCode.H and Mode ~= "Ultra" then
- Attacking = true
- SpiritBombSound:Play()
- do
- local sbomb = Create("Part", workspace, "Part", {
- CanCollide = false,
- BrickColor = BrickColor.new("Electric blue"),
- Material = "Neon",
- Size = Vector3.new(1, 1, 1),
- CFrame = HRoot.CFrame * CFrame.new(0, 50, 0)
- })
- local hitb = Create("Part", sbomb, "Part", {
- CanCollide = false,
- Transparency = 1,
- Size = Vector3.new(20, 20, 20),
- CFrame = sbomb.CFrame
- })
- local mesh = Create("SpecialMesh", sbomb, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(1, 1, 1)
- })
- newWeld(sbomb, hitb, sbomb, CFrame.new(0, -10, 0))
- TweenService:Create(mesh, TweenInfo.new(20), {
- Scale = Vector3.new(25, 25, 25)
- }):Play()
- local bv = Create("BodyVelocity", sbomb, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = Vector3.new(0, 0, 0)
- })
- for i = 0, 0.28, 0.01 do
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(10), Rad(0), Rad(-180)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(10), Rad(0), Rad(180)), i)
- wait()
- end
- game:GetService("Debris"):AddItem(sbomb, 20)
- wait(15)
- for i = 0, 0.2, 0.01 do
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(10), Rad(0), Rad(-45)), i)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(10), Rad(0), Rad(40)), i)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), i)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(-20)), i)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20)), i)
- SWait()
- end
- local trg = Create("Part", workspace, "Part", {
- Anchored = true,
- CanCollide = false,
- Transparency = 1,
- CFrame = HRoot.CFrame * CFrame.new(0, 0, -50)
- })
- sbomb.CFrame = CFrame.new(sbomb.Position, trg.Position)
- bv.Velocity = sbomb.CFrame.lookVector * 50
- trg:Destroy()
- local Explode = false
- hitb.Touched:connect(function(h)
- if Explode then
- return
- end
- if hitb == sbomb then
- return
- end
- Explode = true
- sbomb.Anchored = true
- SpiritBombSound:Stop()
- ExplosionSound:Play()
- local nsbomb = sbomb:Clone()
- sbomb:Destroy()
- nsbomb.Parent = workspace
- TweenService:Create(nsbomb.Mesh, TweenInfo.new(2), {
- Scale = Vector3.new(40, 40, 40)
- }):Play()
- TweenService:Create(nsbomb, TweenInfo.new(2), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(nsbomb, 2)
- spawn(function()
- for i = 0, 1, 0.01 do
- local effect = Create("Part", workspace, "Part", {
- CanCollide = false,
- Material = "Neon",
- BrickColor = Colours.Spirit[Random(1, #Colours.Spirit)],
- Size = Vector3.new(1, 1, 1),
- CFrame = nsbomb.CFrame * CFrame.Angles(Rad(Random(-360, 360)), Rad(Random(-360, 360)), Rad(Random(-360, 360)))
- })
- Create("BodyVelocity", effect, "BV", {
- MaxForce = Vector3.new(200000000, 200000000, 200000000),
- Velocity = effect.CFrame.lookVector * 50
- })
- Create("SpecialMesh", effect, "Mesh", {
- MeshType = "Sphere",
- Scale = Vector3.new(4, 4, 8)
- })
- TweenService:Create(effect, TweenInfo.new(0.5), {Transparency = 1}):Play()
- game:GetService("Debris"):AddItem(effect, 0.5)
- SWait()
- end
- end)
- spawn(function()
- local reg = CreateRegion3(sbomb.Position, Vector3.new(100, 100, 100))
- for _, v in pairs(workspace:FindPartsInRegion3(reg, Char, 100)) do
- if v.Parent ~= nil then
- local hum = v.Parent:FindFirstChildOfClass("Humanoid")
- if hum and v.Parent ~= Char then
- for _, b in pairs(v.Parent:GetChildren()) do
- if b:IsA("ForceField") then
- b:Destroy()
- end
- end
- hum:TakeDamage(hum.MaxHealth / 10)
- end
- end
- end
- end)
- end)
- wait(0.2)
- Attacking = false
- end
- elseif key == Enum.KeyCode.F then
- Flying = not Flying
- end
- end
- function keyUp(key)
- Keys[key] = nil
- end
- UserInputService.TextBoxFocused:connect(function()
- Typing = true
- end)
- UserInputService.TextBoxFocusReleased:connect(function()
- Typing = false
- end)
- if UserInputService.KeyboardEnabled and UserInputService.MouseEnabled then
- UserInputService.InputBegan:connect(function(inpType)
- if inpType.KeyCode ~= Enum.KeyCode.Unknown and not Typing then
- keyDown(inpType.KeyCode)
- end
- end)
- UserInputService.InputEnded:connect(function(inpType)
- if inpType.KeyCode ~= Enum.KeyCode.Unknown and not Typing then
- keyUp(inpType.KeyCode)
- end
- end)
- end
- spawn(function()
- while SWait() do
- if Mode == "SSJ" or Mode == "SSJ2" or Mode == "SSJ3" then
- Aura.ImageColor3 = Color3.fromRGB(255, 227, 10)
- wait(0.05)
- Aura.Image = "rbxassetid://926705964"
- wait(0.05)
- Aura.Image = "rbxassetid://926709486"
- wait(0.05)
- Aura.Image = "rbxassetid://926711720"
- wait(0.05)
- Aura.Image = "rbxassetid://926712235"
- elseif Mode == "SSJG" then
- Aura.ImageColor3 = Color3.fromRGB(255, 227, 10)
- wait(0.05)
- Aura.Image = "rbxassetid://639676034"
- wait(0.05)
- Aura.Image = "rbxassetid://639676268"
- wait(0.05)
- Aura.Image = "rbxassetid://639676527"
- wait(0.05)
- Aura.Image = "rbxassetid://639676855"
- elseif Mode == "SSJB" then
- Aura.ImageColor3 = Color3.fromRGB(255, 255, 255)
- wait(0.05)
- Aura.Image = "http://www.roblox.com/asset/?id=894173257"
- wait(0.05)
- Aura.Image = "http://www.roblox.com/asset/?id=894173392"
- wait(0.05)
- Aura.Image = "http://www.roblox.com/asset/?id=890403068"
- wait(0.05)
- Aura.Image = "http://www.roblox.com/asset/?id=890403512"
- end
- end
- end)
- Human.FreeFalling:connect(function(active)
- if Attacking then
- return
- end
- if not Flying then
- Falling = active
- end
- end)
- game:GetService("RunService").RenderStepped:connect(function()
- Human.WalkSpeed = Walkspeed
- if Flying then
- FloatGyro.Parent = HRoot
- FloatVel.Parent = HRoot
- FloatGyro.MaxTorque = Vector3.new(200000000, 200000000, 200000000)
- FloatVel.MaxForce = Vector3.new(200000000, 200000000, 200000000)
- FloatGyro.CFrame = workspace.CurrentCamera.CFrame
- if Keys[Enum.KeyCode.W] then
- Dir = "Forward"
- elseif Keys[Enum.KeyCode.S] then
- Dir = "Backward"
- elseif Keys[Enum.KeyCode.A] then
- Dir = "Left"
- elseif Keys[Enum.KeyCode.D] then
- Dir = "Right"
- else
- Dir = "None"
- end
- if Dir == "Forward" then
- FloatVel.Velocity = workspace.CurrentCamera.CFrame.lookVector * 100
- elseif Dir == "Backward" then
- FloatVel.Velocity = workspace.CurrentCamera.CFrame.lookVector * -100
- elseif Dir == "Left" then
- FloatVel.Velocity = workspace.CurrentCamera.CFrame * CFrame.new(-60, 0, 0).p - workspace.CurrentCamera.CFrame.p
- elseif Dir == "Right" then
- FloatVel.Velocity = workspace.CurrentCamera.CFrame * CFrame.new(60, 0, 0).p - workspace.CurrentCamera.CFrame.p
- else
- FloatVel.Velocity = Vector3.new(0, 0, 0)
- end
- else
- FloatGyro.MaxTorque = Vector3.new(0, 0, 0)
- FloatVel.MaxForce = Vector3.new(0, 0, 0)
- FloatGyro.Parent = nil
- FloatVel.Parent = nil
- end
- if not Attacking then
- if not Flying then
- if Torso.Velocity.magnitude < 2 then
- Anim = "Idle"
- elseif Torso.Velocity.magnitude < 2000 then
- Anim = "Walk"
- else
- Anim = "Run"
- end
- elseif Torso.Velocity.magnitude < 2000 then
- Anim = "Float"
- elseif Dir == "Forward" then
- Anim = "Fly"
- elseif Dir == "Backward" then
- Anim = "FlyBack"
- elseif Dir == "Left" then
- Anim = "FlyLeft"
- elseif Dir == "Right" then
- Anim = "FlyRight"
- end
- if not Falling then
- if Anim == "Idle" then
- if Mode ~= "Ultra" and Mode ~= "SSJ3" then
- Neck.C0 = Neck.C0:lerp(Ncf, 0.1)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(2 * Sin(tick() / 1.5)), Rad(0), Rad(0)), 0.1)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(2 * Sin(tick() / 1.5))), 0.1)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(2 * Sin(tick() / 1.5))), 0.1)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1)
- elseif Mode == "SSJ3" then
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(0), Rad(0), Rad(-60)), 0.1)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(2 * Sin(tick() / 1.5)), Rad(0), Rad(60)), 0.1)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(2 * Sin(tick() / 1.5))), 0.1)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(2 * Sin(tick() / 1.5))), 0.1)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(-90), Rad(-90)), 0.1)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(90), Rad(90)), 0.1)
- elseif Mode == "Ultra" then
- Neck.C0 = Neck.C0:lerp(Ncf, 0.1)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(Sin(tick() / 1.5)), Rad(0), Rad(0)), 0.1)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), -Rad(Sin(tick() / 1.5))), 0.1)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(Sin(tick() / 1.5))), 0.1)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.1)
- end
- elseif Anim == "Walk" then
- if Mode ~= "Ultra" then
- Neck.C0 = Neck.C0:lerp(Ncf, 0.5)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- elseif Mode == "Ultra" then
- Neck.C0 = Neck.C0:lerp(Ncf, 0.5)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(-15), Rad(10 * Sin(tick() * 4))), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(15), Rad(10 * Sin(tick() * 4))), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(10 * Sin(tick() * 4))), 0.5)
- end
- elseif Anim == "Run" then
- if Mode == "Ultra" then
- Neck.C0 = Neck.C0:lerp(Ncf, 0.5)
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8))), 0.5)
- end
- elseif Anim == "Float" then
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.new(0, 0, Sin(tick()) / 10), 0.2)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.2)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.2)
- LHip.C0 = LHip.C0:lerp(Lhcf, 0.2)
- RHip.C0 = RHip.C0:lerp(Rhcf, 0.2)
- Neck.C0 = Neck.C0:lerp(Ncf, 0.2)
- elseif Anim == "Fly" then
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(80), Rad(0), Rad(0)), 0.5)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(-80), Rad(0), Rad(0)), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5)
- elseif Anim == "FlyBack" then
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(-40), Rad(0), Rad(0)), 0.5)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(40), Rad(0), Rad(0)), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5)
- elseif Anim == "FlyLeft" then
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(20), Rad(-90)), 0.5)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5)
- elseif Anim == "FlyRight" then
- Hrj.C0 = Hrj.C0:lerp(Hrjcf * CFrame.Angles(Rad(0), Rad(-20), Rad(90)), 0.5)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(5), Rad(0), Rad(-40)), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(5), Rad(0), Rad(40)), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(-20)), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(20)), 0.5)
- end
- else
- Hrj.C0 = Hrj.C0:lerp(Hrjcf, 0.5)
- LShold.C0 = LShold.C0:lerp(Lscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5)
- RShold.C0 = RShold.C0:lerp(Rscf * CFrame.Angles(Rad(-10), Rad(0), Rad(0)), 0.5)
- Neck.C0 = Neck.C0:lerp(Ncf * CFrame.Angles(Rad(20), Rad(0), Rad(0)), 0.5)
- LHip.C0 = LHip.C0:lerp(Lhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5)
- RHip.C0 = RHip.C0:lerp(Rhcf * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.5)
- end
- end
- if Mode == "Ultra" and Sprint and Anim == "Run" then
- local c = Clone:Clone()
- c.Torso["Left Shoulder"].C0 = c.Torso["Left Shoulder"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8)))
- c.Torso["Right Shoulder"].C0 = c.Torso["Right Shoulder"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8)))
- c.Torso["Left Hip"].C0 = c.Torso["Left Hip"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8)))
- c.Torso["Right Hip"].C0 = c.Torso["Right Hip"].C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8)))
- c.HumanoidRootPart.RootJoint.C0 = c.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(Rad(0), Rad(0), Rad(20 * Sin(tick() * 8)))
- for _, v in pairs(c:GetChildren()) do
- if v:IsA("BasePart") then
- TweenService:Create(v, TweenInfo.new(0.1), {Transparency = 1}):Play()
- if v.Name == "Head" then
- TweenService:Create(v.face, TweenInfo.new(0.1), {Transparency = 1}):Play()
- end
- end
- end
- c.Parent = Char
- game:GetService("Debris"):AddItem(c, 0.1)
- c.Torso.CFrame = CFrame.new(HRoot.CFrame * CFrame.new(0, 0, 1).p, HRoot.CFrame.p)
- end
- if Dodge and Mode == "Ultra" then
- do
- local reg = CreateRegion3(HRoot.CFrame.p, Vector3.new(100, 100, 100))
- local hcf = HRoot.CFrame
- for _, v in pairs(workspace:FindPartsInRegion3WithIgnoreList(reg, {Char}, 100)) do
- if v:IsA("BasePart") and v.Name ~= "KameHameHaUltra" and v:FindFirstChildOfClass("TouchTransmitter") then
- spawn(function()
- v.Anchored = true
- pcall(function()
- v:FindFirstChildOfClass("TouchTransmitter"):Destroy()
- end)
- spawn(function()
- local c = Clone:Clone()
- c.Parent = workspace
- for _, v in pairs(c:GetChildren()) do
- if v:IsA("BasePart") then
- v.Anchored = true
- TweenService:Create(v, TweenInfo.new(1), {Transparency = 1}):Play()
- end
- end
- c:MoveTo(hcf.p)
- game:GetService("Debris"):AddItem(c, 1)
- end)
- Char:MoveTo(CFrame.new(v.CFrame.X, v.CFrame.Y, v.CFrame.Z) * CFrame.new(0, 0, v.Size.magnitude / 2 + 10).p)
- game:GetService("Debris"):AddItem(v, 0.1)
- end)
- end
- end
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Character and v ~= Plr and 20 >= v:DistanceFromCharacter(Head.CFrame.p) then
- spawn(function()
- local c = Clone:Clone()
- c.Parent = workspace
- for _, v in pairs(c:GetChildren()) do
- if v:IsA("BasePart") then
- v.Anchored = true
- TweenService:Create(v, TweenInfo.new(1), {Transparency = 1}):Play()
- end
- end
- c:MoveTo(hcf.p)
- game:GetService("Debris"):AddItem(c, 1)
- end)
- Char:MoveTo(v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 25).p)
- end
- end
- end
- end
- LArm.BrickColor = BrickColor.new("Pastel brown")
- RArm.BrickColor = BrickColor.new("Pastel brown")
- RLeg.BrickColor = BrickColor.new("Pastel brown")
- LLeg.BrickColor = BrickColor.new("Pastel brown")
- Torso.BrickColor = BrickColor.new("Pastel brown")
- Head.BrickColor = BrickColor.new("Pastel brown")
- if Mode == "Ultra" then
- Nose.Transparency = 1
- Mouth.Transparency = 1
- else
- Nose.Transparency = 0
- Mouth.Transparency = 0
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement