Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Leaked by Mike The Hacker
- local Plr = game:GetService'Players'.LocalPlayer
- local UIS = game:GetService'UserInputService'
- local Chr = Plr.Character or Plr.CharacterAdded:Wait()
- local Hum = Chr:WaitForChild'Humanoid'
- local HRP = Chr:WaitForChild'HumanoidRootPart'
- local RiA = Chr:WaitForChild'Right Arm'
- local LiA = Chr:WaitForChild'Left Arm'
- local Head = Chr:WaitForChild'Head'
- local Torso = Chr:WaitForChild'Torso'
- local attack = false
- local anim = Hum.Animator
- local Form = "None"
- local RS = Torso:FindFirstChild("Right Shoulder")
- local LS = Torso:FindFirstChild("Left Shoulder")
- local RH = Torso:FindFirstChild("Right Hip")
- local LH = Torso:FindFirstChild("Left Hip")
- local RJ = HRP:FindFirstChild("RootJoint")
- local N = Torso:FindFirstChild("Neck")
- local ang = CFrame.Angles
- local rd = math.rad
- local Mouse = Plr:GetMouse()
- local Debris = game:GetService'Debris'
- local cf = CFrame.new
- local necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local vt = Vector3.new
- local euler=CFrame.fromEulerAnglesXYZ
- local RootCF=euler(-1.57,0,3.14)
- local CP = game:GetService'ContentProvider'
- local PL = {743886825,597269159,437432504,186934658,560718478,568141359,858904104,870984991,710665860,533682002,533682286,741623151,738749992,711351773}
- for a,a in pairs(PL)do
- CP:Preload('rbxassetid://'..tostring(a))
- end
- Hum.MaxHealth = math.huge
- Hum.Health = math.huge
- Hum.WalkSpeed = 100
- Hum.JumpPower = 50
- if Head:FindFirstChild'face' then
- Head:WaitForChild'face'.Texture = 'rbxassetid://710665860'
- else
- local a = Instance.new('Decal', Head)
- a.Texture = 'rbxassetid://710665860'
- end
- for a, a in pairs(Chr:GetChildren()) do
- if a:IsA'Shirt' or a:IsA'Pants' or a:IsA'Hat' or a:IsA'Accessory' then
- a:Destroy()
- end
- end
- for a, a in pairs(Head:GetChildren()) do
- if a:IsA'Sound' then
- a:Destroy()
- end
- end
- local S = Instance.new("Shirt", Chr)
- S.Name = "Shirt"
- local Pants = Instance.new("Pants", Chr)
- Pants.Name = "Pants"
- S.ShirtTemplate = 'rbxassetid://533682002'
- Pants.PantsTemplate = 'rbxassetid://533682286'
- local W2 = Instance.new("Weld", Head)
- W2.Part0 = Head
- local train = Instance.new("Part", Head)
- train.Anchored = true
- train.CanCollide = false
- train.Size = vt(3, 2, 6)
- train.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- W2.Part1 = train
- W2.C1 = cf(0.05, -0.9, -0.5) * ang(0, rd(0), 0)
- train.Anchored = false
- local TrainMesh = Instance.new("SpecialMesh", train)
- TrainMesh.MeshType = Enum.MeshType.FileMesh
- TrainMesh.Scale = vt(6.25, 6.25, 6.25)
- TrainMesh.MeshId = "rbxassetid://560718478"
- TrainMesh.TextureId = "rbxassetid://0"
- local function HSLtoRGB(hue, sat, light)
- local c = light > .5 and (2 - 2 * light) * sat or (2 * light) * sat
- local h2 = hue / 60
- local x = c * (1 - math.abs((h2 % 2) - 1))
- local rgbvals = {{c, x, 0}, {x, c, 0}, {0, c, x}, {0, x, c}, {x, 0, c}, {c, 0, x}}
- local rgb = rgbvals[math.floor(h2) + 1]
- for i = 1, 3 do rgb[i] = rgb[i] + (light - .5 * c) end
- return Color3.new(rgb[1], rgb[2], rgb[3])
- end
- local function New(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- local function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s
- return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- local function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- local function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- local function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- local RightArm = New("Model", Chr, "RightArm", {})
- local MainPart = New("Part", RightArm, "MainPart", {
- Transparency = 1,
- Transparency = 1,
- FormFactor = Enum.FormFactor.Symmetric,
- Size = Vector3.new(1, 2, 1),
- CFrame = cf(2.011096, 6.31690788, -3.92582893, 0.00918400101, -0.262283146, 0.964947343, 0.259330034, 0.932596445, 0.251021653, -0.965745091, 0.247934431, 0.0765828639),
- CanCollide = false,
- })
- New("ManualWeld", MainPart, "Weld", {
- Part0 = MainPart,
- Part1 = RiA,
- C0 = cf(0, 0, 0, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),
- C1 = cf(-2.86102295e-006, -9.05990601e-006, -2.38418579e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639)
- })
- Hitbox = New("Part", RightArm, "Hitbox", {
- BrickColor = BrickColor.new("Really black"),
- Transparency = 1,
- Transparency = 1,
- Size = Vector3.new(1, 4, 1),
- CFrame = cf(22.2733669, 5.0842762, -22.1737366, -0.964945257, -0.262290984, 0.00919180829, -0.251027077, 0.93259424, 0.259333313, -0.0765930116, 0.247935042, -0.965744138),
- CanCollide = false,
- BackSurface = Enum.SurfaceType.SmoothNoOutlines,
- BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
- FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
- LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
- RightSurface = Enum.SurfaceType.SmoothNoOutlines,
- TopSurface = Enum.SurfaceType.SmoothNoOutlines,
- Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- })
- New("ManualWeld", Hitbox, "Weld", {
- Part0 = Hitbox,
- Part1 = MainPart,
- C0 = cf(0, 0, 0, -0.964945257, -0.251027077, -0.0765930116, -0.262290984, 0.93259424, 0.247935042, 0.00919180829, 0.259333313, -0.965744138),
- C1 = cf(-1.52587891e-005, -1.00003147, -1.71661377e-005, 0.0091838371, 0.259330064, -0.965745151, -0.262283117, 0.932596445, 0.247934505, 0.964947283, 0.251021653, 0.0765827149)
- })
- CorruptedPart = New("Part", RightArm, "CorruptedPart", {
- BrickColor = BrickColor.new("Bright violet"),
- Material = Enum.Material.Sand,
- Size = Vector3.new(1, 2, 1),
- CFrame = cf(2.011096, 6.3169179, -3.92581391, -0.964945257, -0.262290984, 0.00919180829, -0.251027077, 0.93259424, 0.259333313, -0.0765930116, 0.247935042, -0.965744138),
- CanCollide = false,
- BackSurface = Enum.SurfaceType.SmoothNoOutlines,
- BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
- FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
- LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
- RightSurface = Enum.SurfaceType.SmoothNoOutlines,
- TopSurface = Enum.SurfaceType.SmoothNoOutlines,
- Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- })
- New("BlockMesh", CorruptedPart, "Mesh", {
- Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),
- })
- New("ManualWeld", CorruptedPart, "Weld", {
- Part0 = CorruptedPart,
- Part1 = MainPart,
- C0 = cf(0, 0, 0, -0.964945138, -0.251027018, -0.0765930042, -0.262290984, 0.932594121, 0.247935027, 0.00919180084, 0.259333313, -0.965744197),
- C1 = cf(-1.1920929e-005, 1.28746033e-005, 3.57627869e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639)
- })
- CorruptedPart = New("Part", RightArm, "CorruptedPart", {
- BrickColor = BrickColor.new("Bright violet"),
- Material = Enum.Material.Sand,
- Size = Vector3.new(1, 0.600000024, 0.400000036),
- CFrame = cf(2.14866924, 6.03215551, -4.72580194, -0.964945078, 0.262291819, -0.00918725226, -0.251029015, -0.932593465, -0.259333432, -0.0765890032, -0.247936144, 0.965744317),
- CanCollide = false,
- BackSurface = Enum.SurfaceType.SmoothNoOutlines,
- BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
- FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
- LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
- RightSurface = Enum.SurfaceType.SmoothNoOutlines,
- TopSurface = Enum.SurfaceType.SmoothNoOutlines,
- Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- })
- New("SpecialMesh", CorruptedPart, "Mesh", {
- Scale = Vector3.new(1.75, 3, 4.5),
- MeshType = Enum.MeshType.Sphere,
- })
- New("ManualWeld", CorruptedPart, "Weld", {
- Part0 = CorruptedPart,
- Part1 = MainPart,
- C0 = cf(0, 1, 0, -1., -0.251028955, -0.0765889958, 0.262291819, -0.932593465, -0.247936144, -0.00918724574, -0.259333432, 0.965744257),
- C1 = cf(0, -0.499982834, 7.62939453e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639)
- })
- local swinganim = Hum:LoadAnimation(New("Animation", Chr, "Swing", {
- AnimationId = "rbxassetid://186934658"
- }))
- local function SoulSteal(pos)
- local soul = Instance.new("Part", Chr)
- soul.Size = vt(0, 0, 0)
- soul.CanCollide = false
- soul.Anchored = false
- soul.Position = pos
- soul.CFrame = cf(pos.X, pos.Y, pos.Z)
- soul.Transparency = 1
- local ptc = Instance.new("ParticleEmitter", soul)
- ptc.Texture = "rbxassetid://149468041"
- ptc.Size = NumberSequence.new(.8)
- ptc.LockedToPart = true
- ptc.Speed = NumberRange.new(0)
- ptc.Lifetime = NumberRange.new(9999)
- local bodpos = Instance.new("BodyPosition", soul)
- bodpos.Position = pos
- soul.Touched:Connect(function(hit)
- if hit.Parent == Chr then
- soul:Destroy()
- end
- end)
- spawn(function()
- while soul and wait(.125) do
- bodpos.Position = Torso.Position
- end
- end)
- end
- local function KillMortal(hitdude)
- local torsy = nil
- if hitdude:FindFirstChild'Torso'then
- torsy = hitdude.Torso
- elseif hitdude:FindFirstChild'UpperTorso'then
- torsy = hitdude.UpperTorso
- end
- local val = Instance.new("ObjectValue", hitdude)
- val.Name = "HasBeenHit"
- hitdude:BreakJoints()
- SoulSteal(torsy.Position)
- local chi = hitdude:GetChildren()
- for i = 1, #chi do
- if chi[i]:IsA"Part" or chi[i]:IsA"MeshPart" then
- local bodpos = Instance.new("BodyPosition", chi[i])
- bodpos.Position = chi[i].Position + vt(math.random(0, 0), math.random(0, 0), math.random(0, 0))
- chi[i].BrickColor = BrickColor.new("Bright violet")
- spawn(function()
- wait(1.25)
- chi[i]:Destroy()
- end)
- end
- end
- for i = 1, 4 do
- for i = 1, #chi do
- if chi[i]:IsA"Part" or chi[i]:IsA"MeshPart" then
- chi[i].Transparency = chi[i].Transparency + .25
- wait(.01)
- end
- end
- end
- end
- local bladeactive = false
- MainPart.Touched:Connect(function(hit)
- if bladeactive == true then
- if hit.Parent:FindFirstChild'Humanoid' and not hit.Parent:FindFirstChild'HasBeenHit' and hit.Parent ~= Chr then
- local Sound = Instance.new('Sound', RiA)
- Sound.SoundId = 'rbxassetid://0'
- Sound.Volume = 2
- Sound:Play()
- KillMortal(hit.Parent)
- end
- end
- end)
- local name = Instance.new("BillboardGui", Chr)
- name.Size = UDim2.new(0, 100, 0, 40)
- name.StudsOffset = vt(0, 6, 0)
- name.Adornee = Head
- local txt = Instance.new("TextLabel", name)
- txt.BackgroundTransparency = 1
- txt.BorderSizePixel = 0
- txt.Text = "???"
- txt.Font = "Fantasy"
- txt.FontSize = "Size24"
- txt.TextStrokeTransparency = 0
- txt.TextStrokeColor3 = Color3.new(0, 0, 0)
- txt.TextColor3 = Color3.new(0, 0, 0)
- txt.Size = UDim2.new(1, 0, .5, 0)
- trazx = Instance.new("ParticleEmitter")
- local function swait(num)
- if num == 0 or num == nil then
- game:GetService'RunService'.Heartbeat:wait(0)
- else
- for i = 0, num do
- game:GetService'RunService'.Heartbeat:wait(0)
- end
- end
- end
- local function lerpz(joint, prop, CFramermz, alp)
- joint[prop] = joint[prop]:lerp(CFramermz, alp)
- end
- local RSC0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- local RSC1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- local LSC0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local LSC1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- local RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- local LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local NC0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local NC1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local RJC0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local RJC1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local function resetlerp()
- RJ.C0 = RJC0
- RJ.C1 = RJC1
- N.C0 = NC0
- N.C1 = NC1
- RS.C0 = RSC0
- RS.C1 = RSC1
- LS.C0 = LSC0
- LS.C1 = LSC1
- RH.C0 = RHC0
- RH.C1 = RHC1
- LH.C0 = LHC0
- LH.C1 = LHC1
- end
- local function SSJB()
- if Form == "None"then
- Form = "SSJB"
- anim.Parent = nil
- for i = 1, 35 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(140)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(-140)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- for i = 1, 15 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(45)), 0.5)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-45)), 0.5)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 0.5)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 0.5)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- end
- for i, v in pairs(Chr:GetChildren()) do
- if v:IsA'Part' then
- local tra = trazx:clone()
- tra.Parent = v
- tra.LightEmission = 1
- tra.Color = ColorSequence.new(Color3.new(0, 0, 0))
- tra.Rate = 12
- tra.Rotation = NumberRange.new(-5, 5)
- tra.Lifetime = NumberRange.new(1.5, 2)
- tra.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.1, 0),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- tra.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(0.135, 0, 0),
- NumberSequenceKeypoint.new(0.875, 0, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- tra.Speed = NumberRange.new(0.5)
- tra.VelocitySpread = 360
- tra.VelocityInheritance = 0.5
- tra.ZOffset = 2
- tra.Acceleration = vt(0, 2.5, 0)
- end
- end
- local tra = trazx:clone()
- tra.Parent = HRP
- tra.Texture = "rbxassetid://741623151"
- tra.LightEmission = 0.8
- tra.Color = ColorSequence.new(Color3.new(0, 0, 0))
- tra.Rate = 250
- tra.Rotation = NumberRange.new(-5, 5)
- tra.Lifetime = NumberRange.new(0.75)
- tra.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.81, 0.875),
- NumberSequenceKeypoint.new(1, 2.13, 0.875)
- })
- tra.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(0.0399, 0.85, 0),
- NumberSequenceKeypoint.new(0.394, 0.9, 0),
- NumberSequenceKeypoint.new(0.699, 1, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- tra.Speed = NumberRange.new(15)
- tra.VelocitySpread = 360
- tra.VelocityInheritance = 0.5
- tra.ZOffset = 3.5
- tra.Acceleration = vt(0, 25, 0)
- for i = 1, 25 do
- for i = 1, 3 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.4) * ang(rd(12), rd(0), rd(0)), 0.5)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(50)), 0.5)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-50)), 0.5)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-12), rd(12)), 0.5)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(12), rd(-12)), 0.5)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- end
- for i = 1, 3 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(45)), 0.5)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-45)), 0.5)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 0.5)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 0.5)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- end
- end
- TrainMesh.MeshType = Enum.MeshType.FileMesh
- TrainMesh.Scale = vt(0.05, 0.05, 0.05)
- TrainMesh.MeshId = "rbxassetid://437432504"
- W2.C1 = cf(0, 0.4, -2.1) * ang(0, rd(0), 0)
- local S2 = Instance.new("Sound", HRP)
- S2.SoundId = "rbxassetid://597269159"
- S2.Volume = 1
- S2:Play()
- txt.Text = "I've tapped into an interesting power."
- wait(2)
- txt.Text = "???"
- local SE = Instance.new("ChorusSoundEffect", S2)
- tra.LightEmission = 0.8
- tra.Color = ColorSequence.new(Color3.new(0, 0, 0))
- tra.Rate = 250
- tra.Rotation = NumberRange.new(-5, 5)
- tra.Lifetime = NumberRange.new(0.2, 0.4)
- tra.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.81, 0.875),
- NumberSequenceKeypoint.new(1, 2.13, 0.875)
- })
- tra.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(0.0399, 0.8, 0),
- NumberSequenceKeypoint.new(0.394, 0.8, 0),
- NumberSequenceKeypoint.new(0.699, 1, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- tra.Speed = NumberRange.new(5)
- tra.VelocitySpread = 360
- tra.VelocityInheritance = 0.5
- tra.ZOffset = 3.5
- tra.Acceleration = vt(0, 150, 0)
- local tra = trazx:clone()
- tra.Parent = HRP
- tra.Texture = "rbxassetid://257173628"
- tra.LightEmission = 1
- tra.Rate = 20
- tra.Rotation = NumberRange.new(360, 720)
- tra.Lifetime = NumberRange.new(0.75)
- tra.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 2.5, 0.875),
- NumberSequenceKeypoint.new(1, 2.5, 0.875)
- })
- tra.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0, 0., 0),
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- tra.Speed = NumberRange.new(0)
- tra.VelocitySpread = 360
- tra.VelocityInheritance = 0
- tra.ZOffset = 3.5
- tra.Acceleration = vt(0, 0, 0)
- local tra = trazx:clone()
- tra.Parent = HRP
- tra.Texture = "rbxassetid://380961170"
- tra.LightEmission = 1
- tra.Rate = 25
- tra.RotSpeed = NumberRange.new(5000,10000)
- tra.Rotation = NumberRange.new(0, 0)
- tra.Lifetime = NumberRange.new(1)
- tra.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(1, 10, 0)
- })
- tra.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0, 0., 0),
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- tra.Speed = NumberRange.new(3)
- tra.VelocitySpread = 0
- tra.VelocityInheritance = 0
- tra.ZOffset = 0
- tra.Acceleration = vt(0, 0, 0)
- local s = Instance.new("Sound", Head)
- s.SoundId = "rbxassetid://0"
- s.Volume = 1
- s.Looped = true
- s:Play()
- for i = 1, 50 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-25), rd(0), rd(-25)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-25), rd(0), rd(25)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- resetlerp()
- attack = false
- anim.Parent = Hum
- elseif Form == "SSJB" then
- Form = "Kaioken"
- anim.Parent = nil
- for i = 1, 35 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(140)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(-140)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- local S2 = Instance.new("Sound", HRP)
- S2.SoundId = "rbxassetid://0"
- S2.Volume = 1
- S2:Play()
- for i = 1, 15 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(45)), 0.5)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-45)), 0.5)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 0.5)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 0.5)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- end
- local tra = trazx:clone()
- tra.Parent = HRP
- tra.Texture = "rbxassetid://0"
- tra.LightEmission = 0.8
- tra.Color = ColorSequence.new(Color3.new(255, 255, 255))
- tra.Rate = 75
- tra.Rotation = NumberRange.new(-5, 5)
- tra.Lifetime = NumberRange.new(0.3)
- tra.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 8, 0.875),
- NumberSequenceKeypoint.new(1, 9, 0.875)
- })
- tra.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(0.0399, 0.531, 0),
- NumberSequenceKeypoint.new(0.394, 0.906, 0),
- NumberSequenceKeypoint.new(0.699, 1, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- tra.Speed = NumberRange.new(75)
- tra.VelocitySpread = 360
- tra.VelocityInheritance = 0.5
- tra.ZOffset = 3
- tra.Acceleration = vt(0, 350, 0)
- local s = Instance.new("Sound", HRP)
- s.SoundId = "rbxassetid://0"
- s.Volume = 5
- s:Play()
- for i = 1, 2 do
- Instance.new("ChorusSoundEffect", s)
- end
- for i = 1, 23 do
- for i = 1, 3 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.4) * ang(rd(12), rd(0), rd(0)), 1)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 1)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(50)), 1)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-50)), 1)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-12), rd(12)), 1)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(12), rd(-12)), 1)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- end
- for i = 1, 3 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 1)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 1)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(45)), 1)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-45)), 1)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 1)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 1)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- end
- end
- tra.LightEmission = 0.8
- tra.Color = ColorSequence.new(Color3.new(255, 255, 255))
- tra.Rate = 100
- tra.Rotation = NumberRange.new(-5, 5)
- tra.Lifetime = NumberRange.new(0.3)
- tra.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 8, 0.875),
- NumberSequenceKeypoint.new(1, 9, 0.875)
- })
- tra.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(0.0399, 0.531, 0),
- NumberSequenceKeypoint.new(0.394, 0.906, 0),
- NumberSequenceKeypoint.new(0.699, 1, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- tra.Speed = NumberRange.new(25)
- tra.VelocitySpread = 360
- tra.VelocityInheritance = 0.5
- tra.ZOffset = 3
- tra.Acceleration = vt(0, 350, 0)
- for i = 1, 50 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-25), rd(0), rd(-25)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-25), rd(0), rd(25)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- resetlerp()
- attack = false
- anim.Parent = Hum
- txt.Text = "A fusion between Rose and Super Saiyan Three!"
- wait(3)
- txt.Text = "???"
- end
- end
- local function computeDirection(vec)
- local lenSquared = vec.magnitude * vec.magnitude
- local invSqrt = 1 / math.sqrt(lenSquared)
- return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
- end
- local function SB()
- resetlerp()
- anim.Parent = nil
- HRP.Anchored = true
- local Sound = Instance.new('Sound', HRP)
- Sound.SoundId = 'rbxassetid://858904104'
- Sound.Volume = 4.5
- Sound:Play()
- local PE = Instance.new("Part", workspace)
- PE.Size = vt(3, 3, 3)
- PE.Material = "Neon"
- PE.BrickColor = BrickColor.new("Really red")
- PE.CanCollide = false
- PE.Anchored = true
- PE.Shape = "Ball"
- PE.CFrame = HRP.CFrame * cf(0, 120, 0)
- PE.Transparency = 0.1
- for i = 1, 50 do
- swait()
- HRP.CFrame = cf(Torso.CFrame:toWorldSpace(cf(0, 0, 0)).p, Mouse.hit.p)
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(10), rd(0), rd(180)), 0.5)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LS, "C0", LSC0 * cf(0, 0.5, 0) * ang(rd(10), rd(0), rd(0)), 0)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0)
- txt.Text = "DIVINE WRATH:PURIFCATION!"
- end
- for i = 1, 95 do
- HRP.CFrame = cf(Torso.CFrame:toWorldSpace(cf(0, 0, 0)).p, Mouse.hit.p)
- PE.Size = PE.Size + vt(2, 2, 2)
- PE.CFrame = HRP.CFrame * cf(0, 120, 0)
- swait()
- end
- local Hit = false
- PE.Touched:Connect(function(H)
- if Hit == false and H.Parent and H.Parent ~= Chr and H.Parent:FindFirstChild'Torso'and H.Parent:FindFirstChild'Humanoid'then
- Hit = true
- KillMortal(H.Parent)
- wait(.75)
- Hit = false
- end
- end)
- Sound:Stop()
- for i = 1, 4 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(10), rd(0)), 0.5)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.5)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.5)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.5)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.5)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- txt.Text = "???"
- end
- W2.C0 = cf(0, 0, 0)
- local Sound4 = Instance.new("Sound", PE)
- Sound4.Volume = 4
- Sound4:Play()
- Sound4.SoundId = "rbxassetid://870984991"
- PE.CFrame = cf(HRP.CFrame:toWorldSpace(cf(0, 0, 0)).p, Mouse.hit.p)
- PE.CFrame = PE.CFrame * cf(0, 0, -100)
- local t = Mouse.Hit.p
- local d = t - PE.Position
- d = computeDirection(d)
- local pos = PE.Position + (d * 10.0)
- PE.Anchored = false
- PE.CFrame = CFrame.new(pos, pos + d) * CFrame.Angles(math.pi/2, 0, 0)
- local ff = Instance.new("BodyForce")
- ff.force = vt(0, PE:GetMass() * 196.1, 0.0)
- ff.Parent = PE
- PE.Velocity = d * -160
- swait()
- PE.CFrame = PE.CFrame * cf(0, 0, -1)
- anim.Parent = Hum
- wait(2.25)
- resetlerp()
- HRP.Anchored = false
- if PE then
- PE:Destroy()
- end
- end
- local function NO(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- local function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
- local fp=Instance.new("Part", parent)
- fp.formFactor=formfactor
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=BrickColor.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Torso.Position
- NO(fp)
- fp.Material=material
- fp:BreakJoints()
- return fp
- end
- local function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
- local fp = Instance.new("Part", parent)
- fp.formFactor = formfactor
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked=true
- fp.BrickColor=BrickColor.new(tostring(brickcolor))
- fp.Name = name
- fp.Size = size
- fp.Position = LiA.Position
- NO(fp)
- fp.Material="Neon"
- fp:BreakJoints()
- return fp
- end
- local function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=Instance.new(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- local function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=ppart(3,workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- Debris:AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- local function CB(parent,t)
- local counter=0
- local size=1
- for i=0,t,1 do
- swait()
- counter=counter+1
- if counter%5==0 then
- if size==1 then
- MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- elseif size==2 then
- MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- elseif size==3 then
- MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
- end
- end
- end
- end
- function so(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound",par or workspace)
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- swait()
- sou:Play()
- Debris:AddItem(sou,6)
- end))
- end
- local function computeDirection(vec)
- local lenSquared = vec.magnitude * vec.magnitude
- local invSqrt = 1 / math.sqrt(lenSquared)
- return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
- end
- local function Blast()
- for i=0,1,.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,RootCF*cf(0,0,0)* ang(math.rad(0),math.rad(0),math.rad(60)),.3)
- Torso.Neck.C0 = clerp(N.C0,necko *ang(math.rad(0),math.rad(0),math.rad(-60)),.3)
- RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * ang(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
- LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * ang(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*ang(math.rad(-3),math.rad(65),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*ang(math.rad(-25),math.rad(-110),math.rad(0))*ang(math.rad(-25),math.rad(0),math.rad(0)),.3)
- end
- so("rbxassetid://199145659",LiA,1,1)
- efprt=part(Enum.FormFactor.Custom,workspace,Enum.Material.Neon,0,0,"Really red","BallEffect",vt(45, 45, 45))
- efprt.Anchored = true
- efprt.Position = Vector3.new(2e5,2e5,2e5)
- mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
- CB(LiA,35)
- for i=0,1,.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,RootCF*cf(0,0,0)* ang(math.rad(0),math.rad(0),math.rad(-60)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *ang(math.rad(0),math.rad(0),math.rad(60)),.3)
- RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * ang(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
- LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * ang(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*ang(math.rad(0),math.rad(110),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*ang(math.rad(0),math.rad(-70),math.rad(0)),.3)
- end
- txt.Text = "Have a ki blast."
- so("rbxassetid://199145534",LiA,1,1.2)
- efprt:BreakJoints()
- local t = Mouse.Hit.p
- local d = t - LiA.Position
- d = computeDirection(d)
- local pos = LiA.Position + (d * 10.0)
- efprt.Anchored = false
- efprt.CFrame = CFrame.new(pos, pos + d) * CFrame.Angles(math.pi/2, 0, 0)
- local ff = Instance.new("BodyForce")
- ff.force = vt(0, efprt:GetMass() * 196.1, 0.0)
- ff.Parent = efprt
- efprt.Velocity = d * 160
- efprt.Touched:Connect(function(hit)
- if not hit:IsDescendantOf(Chr)and not hit.Parent:FindFirstChild'HasBeenHit'and hit.Parent and hit.Parent:FindFirstChild'Humanoid'and hit.Parent:FindFirstChild'Torso'then
- KillMortal(hit.Parent)
- ff:Destroy()
- efprt.Anchored=true
- efprt:Destroy()
- end
- end)
- Debris:AddItem(efprt,6)
- resetlerp()
- end
- local function Blast2()
- for i=0,1,.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,RootCF*cf(0,0,0)* ang(math.rad(0),math.rad(0),math.rad(60)),.3)
- Torso.Neck.C0 = clerp(N.C0,necko *ang(math.rad(0),math.rad(0),math.rad(-60)),.3)
- RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * ang(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
- LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * ang(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*ang(math.rad(-3),math.rad(65),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*ang(math.rad(-25),math.rad(-110),math.rad(0))*ang(math.rad(-25),math.rad(0),math.rad(0)),.3)
- end
- so("rbxassetid://199145659",LiA,1,1)
- efprt=part(Enum.FormFactor.Custom,workspace,Enum.Material.Neon,0,0,"Really red","BallEffect",vt(15, 15, 15))
- efprt.Anchored = true
- efprt.Position = Vector3.new(2e5,2e5,2e5)
- mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
- CB(LiA,35)
- for i=0,1,.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,RootCF*cf(0,0,0)* ang(math.rad(0),math.rad(0),math.rad(-60)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *ang(math.rad(0),math.rad(0),math.rad(60)),.3)
- RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * ang(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
- LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * ang(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*ang(math.rad(0),math.rad(110),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*ang(math.rad(0),math.rad(-70),math.rad(0)),.3)
- end
- so("rbxassetid://199145534",LiA,1,1.2)
- efprt:BreakJoints()
- local t = Mouse.Hit.p
- local d = t - LiA.Position
- d = computeDirection(d)
- local pos = LiA.Position + (d * 10.0)
- efprt.Anchored = false
- efprt.CFrame = CFrame.new(pos, pos + d) * CFrame.Angles(math.pi/2, 0, 0)
- local ff = Instance.new("BodyForce")
- ff.force = vt(0, efprt:GetMass() * 196.1, 0.0)
- ff.Parent = efprt
- efprt.Velocity = d * 160
- efprt.Touched:Connect(function(hit)
- if not hit:IsDescendantOf(Chr)and not hit.Parent:FindFirstChild'HasBeenHit'and hit.Parent and hit.Parent:FindFirstChild'Humanoid'and hit.Parent:FindFirstChild'Torso'then
- KillMortal(hit.Parent)
- ff:Destroy()
- efprt.Anchored=true
- efprt:Destroy()
- end
- end)
- Debris:AddItem(efprt,6)
- resetlerp()
- end
- local function Blast3()
- for i=0,1,.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,RootCF*cf(0,0,0)* ang(math.rad(0),math.rad(0),math.rad(60)),.3)
- Torso.Neck.C0 = clerp(N.C0,necko *ang(math.rad(0),math.rad(0),math.rad(-60)),.3)
- RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * ang(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
- LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * ang(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*ang(math.rad(-3),math.rad(65),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*ang(math.rad(-25),math.rad(-110),math.rad(0))*ang(math.rad(-25),math.rad(0),math.rad(0)),.3)
- end
- so("rbxassetid://199145659",LiA,1,1)
- efprt=part(Enum.FormFactor.Custom,workspace,Enum.Material.Neon,0,0,"Really red","BallEffect",vt(15, 15, 15))
- efprt.Anchored = true
- efprt.Position = Vector3.new(2e5,2e5,2e5)
- mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
- CB(LiA,35)
- for i=0,1,.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,RootCF*cf(0,0,0)* ang(math.rad(0),math.rad(0),math.rad(-60)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *ang(math.rad(0),math.rad(0),math.rad(60)),.3)
- RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * ang(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
- LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * ang(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*ang(math.rad(0),math.rad(110),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*ang(math.rad(0),math.rad(-70),math.rad(0)),.3)
- end
- so("rbxassetid://199145534",LiA,1,1.2)
- efprt:BreakJoints()
- local t = Mouse.Hit.p
- local d = t - LiA.Position
- d = computeDirection(d)
- local pos = LiA.Position + (d * 10.0)
- efprt.Anchored = false
- efprt.CFrame = CFrame.new(pos, pos + d) * CFrame.Angles(math.pi/2, 0, 0)
- local ff = Instance.new("BodyForce")
- ff.force = vt(0, efprt:GetMass() * 196.1, 0.0)
- ff.Parent = efprt
- efprt.Velocity = d * 160
- efprt.Touched:Connect(function(hit)
- if not hit:IsDescendantOf(Chr)and not hit.Parent:FindFirstChild'HasBeenHit'and hit.Parent and hit.Parent:FindFirstChild'Humanoid'and hit.Parent:FindFirstChild'Torso'then
- KillMortal(hit.Parent)
- ff:Destroy()
- efprt.Anchored=true
- efprt:Destroy()
- end
- end)
- Debris:AddItem(efprt,6)
- resetlerp()
- end
- Ev = UIS.InputBegan:Connect(function(Key, Gc)
- if Gc then
- return
- end
- if attack == false and Key.UserInputType == Enum.UserInputType.MouseButton1 then
- attack = true
- swinganim:Play()
- bladeactive = true
- wait(.7)
- bladeactive = false
- attack = false
- swinganim:Stop()
- elseif attack == false and Key.UserInputType == Enum.UserInputType.Keyboard then
- if Key.KeyCode == Enum.KeyCode.Z and attack == false then
- attack = true
- SB()
- wait(.75)
- attack = false
- elseif Key.KeyCode == Enum.KeyCode.X and attack == false then
- attack = true
- SSJB()
- elseif Key.KeyCode == Enum.KeyCode.Q and attack == false then
- attack = true
- Blast()
- wait(3)
- txt.Text = "???"
- CB(efprt, 100)
- wait(.45)
- attack = false
- end
- end
- end)
- spawn(function()
- while wait(.25)do
- for i = 1,150 do
- wait()
- TrainMesh.VertexColor = vt(HSLtoRGB(i*2,1,0.5).r,HSLtoRGB(i*2,1,0.5).g,HSLtoRGB(i*2,1,0.5).b)
- end
- wait()
- local reversei = 150
- for i = 1,150 do
- wait()
- TrainMesh.VertexColor = vt(HSLtoRGB(reversei*2,1,0.5).r,HSLtoRGB(reversei*2,1,0.5).g,HSLtoRGB(reversei*2,1,0.5).b)
- reversei = reversei-1
- end
- end
- end)
- Hum.Died:Connect(function()
- local a = Instance.new("Part", workspace)
- a.Transparency = 1
- a.Anchored = true
- a.CFrame = Torso.CFrame
- name.Parent = a
- name.Adornee = a
- local S = Instance.new('Sky', game:GetService'Lighting')
- S.Name = ' 1341 63469 '
- S.SkyboxBk = "rbxassetid://711351773"
- S.SkyboxDn = "rbxassetid://711351773"
- S.SkyboxUp = "rbxassetid://711351773"
- S.SkyboxRt = "rbxassetid://711351773"
- S.SkyboxLf = "rbxassetid://711351773"
- S.SkyboxFt = "rbxassetid://711351773"
- txt.Text = "I WILL NOT LOSE TO A FILTHY NINGEN!!!"
- txt.FontSize = "Size48"
- wait(1.85)
- for a,a in pairs(game:GetService'Players':GetPlayers())do
- if a.Character and a.Character:FindFirstChild'Head'then
- a.Character:BreakJoints()
- end
- end
- wait(2)
- name:Destroy()
- S:Destroy()
- Ev:Disconnect()
- script:Destroy()
- end)
- warn'Loaded!'
Add Comment
Please, Sign In to add comment