Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------- Saiyan ---------------------------------
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- PlayerGui = Player.PlayerGui
- Backpack = Player.Backpack
- Torso = Character.Torso
- Head = Character.Head
- Humanoid = Character.Humanoid
- LeftArm = Character["Left Arm"]
- LeftLeg = Character["Left Leg"]
- RightArm = Character["Right Arm"]
- RightLeg = Character["Right Leg"]
- LS = Torso["Left Shoulder"]
- LH = Torso["Left Hip"]
- RS = Torso["Right Shoulder"]
- RH = Torso["Right Hip"]
- Neck = Torso.Neck
- it = Instance.new
- vt = Vector3.new
- cf = CFrame.new
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RootPart = Character.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- RootCF = euler(-1.57, 0, 3.14)
- attack = false
- attackdebounce = false
- MMouse = nil
- combo = 0
- local hitfloor, posfloor = nil, nil
- local idle = 0
- local Anim = "Idle"
- local Effects = {}
- local Weapon = {}
- local Welds = {}
- local arcorb = false
- local decreaseatk = 0
- local decreasedef = 0
- local decreasemvmt = 0
- local Obelisks = {}
- local maxobelisks = 1
- local manaregain = 8
- local passivenum = 30
- local p = game.Players.LocalPlayer
- --if p.Name~='UniversalDespair' and p.Name~='hasang1' then p.Character:Destroy() script:Destroy() return end
- local char = p.Character
- local mouse = p:GetMouse()
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- local deb = false
- local shot = 0
- local debris=game:service"Debris"
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").RenderStepped
- ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
- math.randomseed(os.time())
- local eColors={'New Yeller','Mulberry'}
- hum.WalkSpeed = 5
- CV="Really black"
- local txt = Instance.new("BillboardGui", Character)
- txt.Adornee = Character .Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "SciFi"
- text.TextStrokeColor3 = Color3.new(eColors[math.random(1,#eColors)])
- B=Instance.new("Part")
- B.Name = "ColorBrick"
- B.Parent=Player.Character
- B.FormFactor="Symmetric"
- B.Anchored=true
- B.CanCollide=false
- B.BottomSurface="Smooth"
- B.TopSurface="Smooth"
- B.Size=Vector3.new(10,5,3)
- B.Transparency=1
- B.CFrame=Character.Torso.CFrame
- B.BrickColor=BrickColor.new(CV)
- B.Transparency=1
- text.TextColor3 = Color3.new(0,0,0)
- B.Shape="Block"
- text.Text = "Saiyan"
- USSJG = Instance.new("Sound", char)
- USSJG.SoundId = "rbxassetid://180348469"
- USSJG.Looped = true
- USSJG.Pitch = 1
- USSJG.Volume = 1
- USSJG.Looped=true
- -------------------
- GDSSGJ = Instance.new("Sound", char)
- GDSSGJ.SoundId = "rbxassetid://170825871"
- GDSSGJ.Looped = true
- GDSSGJ.Pitch = .9
- GDSSGJ.Volume = 1
- GDSSGJ.Looped=true
- -------------------
- FSSJ = Instance.new("Sound", char)
- FSSJ.SoundId = "rbxassetid://389735710"
- FSSJ.Looped = true
- FSSJ.Pitch = .9
- FSSJ.Volume = 1
- FSSJ.Looped=true
- -----------
- LSSJ3 = Instance.new("Sound", char)
- LSSJ3.SoundId = "rbxassetid://318618562"
- LSSJ3.Looped = true
- LSSJ3.Pitch = 1
- LSSJ3.Volume = 1
- LSSJ3.Looped=true
- -----------
- SSJP = Instance.new("Sound", char)
- SSJP.SoundId = "rbxassetid://167569694"
- SSJP.Looped = true
- SSJP.Pitch = .9
- SSJP.Volume = 1
- SSJP.Looped=true
- -----------
- ssj100 = Instance.new("Sound", char)
- ssj100.SoundId = "rbxassetid://407426418"
- ssj100.Looped = true
- ssj100.Pitch = .9
- ssj100.Volume = 1
- ssj100.Looped=true
- -----------
- ssj15 = Instance.new("Sound", char)
- ssj15.SoundId = "rbxassetid://566504907"
- ssj15.Looped = true
- ssj15.Pitch = .9
- ssj15.Volume = 1 --155166013
- ssj15.Looped=true
- -------------------
- ssj10 = Instance.new("Sound", char)
- ssj10.SoundId = "rbxassetid://411368002"
- ssj10.Looped = true
- ssj10.Pitch = .55
- ssj10.Volume = 1
- ssj10.Looped=true
- -----------
- ssj8 = Instance.new("Sound", char)
- ssj8.SoundId = "rbxassetid://363150145"
- ssj8.Looped = true
- ssj8.Pitch = .9
- ssj8.Volume = 1
- ssj8.Looped=true
- -------------
- starter = Instance.new("Sound", char)
- starter.SoundId = "rbxassetid://318618562"
- starter.Looped = false
- starter.Pitch = 1
- starter.Volume = 1
- starter.Looped=true
- local forms={
- normie={
- Face=Head:FindFirstChild'face'.Texture,
- HairCol='Mulberry',
- AttacksCol={'New Yeller','Mulberry'},
- DamageMultiplier=.05
- },
- ssj={
- Shirt = "http://www.roblox.com/asset/?id=384893377",
- Pants = "http://www.roblox.com/asset/?id=385699645",
- Music = starter ,
- Face = "rbxassetid://105701482",
- HairCol = 'Gold',
- AttacksCol = {'Really blue','Really black'},
- DamageMultiplier=.5,
- skincol='Pastel brown'
- },
- ssj8={
- Shirt = "http://www.roblox.com/asset/?id=343093063",
- Pants = "http://www.roblox.com/asset/?id=343093096",
- Music = ssj8,
- Face = "rbxassetid://471767295",
- HairCol = 'Mid gray',
- AttacksCol = {'Really red','Really black'},
- DamageMultiplier=8,
- skincol='Pastel brown'
- },
- ssj10={
- Shirt = "http://www.roblox.com/asset/?id=324383273",
- Pants = "http://www.roblox.com/asset/?id=324580114",
- Music = ssj10,
- Face = "rbxassetid://439123648",
- HairCol = 'Dark stone gray',
- AttacksCol = {'Mid gray'},
- DamageMultiplier=10,
- skincol='Sand blue'
- },
- ssj15={
- Shirt = "http://www.roblox.com/asset/?id=321673204",
- Pants = "http://www.roblox.com/asset/?id=321975908",
- Music = ssj15,
- Face= 'rbxassetid://471767258',
- HairCol = 'Cyan',
- AttacksCol = {'Cyan'},
- skincol='Pastel brown',
- DamageMultiplier=25,
- skincol='Pastel brown'
- },
- ssj100={
- Shirt = "http://www.roblox.com/asset/?id=365942224",
- Pants = "http://www.roblox.com/asset/?id=365942308",
- Music = ssj100,
- Face= 'rbxassetid://105702096',
- HairCol = 'Really black',
- AttacksCol = {'Earth green','Black'},
- DamageMultiplier=100,
- skincol='Pastel brown'
- },
- ssjp={
- Shirt = "http://www.roblox.com/asset/?id=410058249",
- Pants = "http://www.roblox.com/asset/?id=410058287",
- Music = SSJP,
- Face= 'rbxassetid://105701707',
- HairCol = 'Hot pink',
- AttacksCol = {'Hot pink','Teal'},
- DamageMultiplier=125,
- skincol='Pastel brown'
- },
- lssj3={
- Shirt = "http://www.roblox.com/asset/?id=281168326",
- Pants = "http://www.roblox.com/asset/?id=281836003",
- Music = LSSJ3,
- Face= 'rbxassetid://365335647',
- HairCol = 'Lime green',
- AttacksCol = {'Lime green','Really black'},
- DamageMultiplier=125,
- skincol='Pastel yellow'
- },
- fssj={
- Shirt = "http://www.roblox.com/asset/?id=446353886",
- Pants = "http://www.roblox.com/asset/?id=445832561",
- Music = FSSJ,
- Face= 'rbxassetid://105701828',
- HairCol = 'Maroon',
- AttacksCol = {'Buttermilk','Maroon'},
- DamageMultiplier=150,
- skincol='Pastel brown'
- },
- gdssgj={
- Shirt = "http://www.roblox.com/asset/?id=309379549", --363749654
- Pants = "http://www.roblox.com/asset/?id=309379744", --343069229
- Music = GDSSGJ,
- Face= 'rbxassetid://471907208',
- HairCol = 'Pastel yellow',
- AttacksCol = {'Institutional white','Really black'},
- DamageMultiplier=200,
- skincol='Pastel brown'
- },
- ussjg={
- Shirt = "http://www.roblox.com/asset/?id=317264886", --363749654
- Pants = "http://www.roblox.com/asset/?id=317265125", --343069229
- Music = USSJG,
- Face= 'rbxassetid://434456664',
- HairCol = 'Bright violet',
- AttacksCol = {'Royal purple','Alder'},
- DamageMultiplier=math.huge,
- skincol='Light orange'
- },
- }
- mode='normie'
- local bc=char:WaitForChild'Body Colors'
- local morph=function(mo)
- local to=forms[mo]
- local shirt=char:FindFirstChild'Shirt'
- local pants=char:FindFirstChild'Pants'
- local face=hed:FindFirstChild'face'
- if not shirt then shirt=Instance.new('Shirt',char) end
- if not pants then pants=Instance.new('Pants',char) end
- if not face then face=Instance.new('Decal',hed) end
- if to.Shirt and to.Pants and to.Face then
- shirt.ShirtTemplate=to.Shirt
- pants.PantsTemplate=to.Pants
- face.Texture = to.Face
- end
- if to.skincol then
- bc.HeadColor = BrickColor.new(to.skincol)
- bc.TorsoColor = BrickColor.new(to.skincol)
- bc.LeftArmColor = BrickColor.new(to.skincol)
- bc.RightArmColor = BrickColor.new(to.skincol)
- bc.LeftLegColor = BrickColor.new(to.skincol)
- bc.RightLegColor = BrickColor.new(to.skincol)
- end
- if char:FindFirstChild'Hair' then
- if to.HairCol~='nil' then
- for _,v in pairs(char.Hair:GetChildren()) do
- if v:IsA'BasePart' and v.Name=='Part' then
- v.Transparency=0
- v.BrickColor=BrickColor.new(to.HairCol)
- end
- end
- else
- for _,v in pairs(char.Hair:GetChildren()) do
- if v:IsA'BasePart' and v.Name=='Part' then
- v.Transparency=1
- end
- end
- end
- end
- for _,v in pairs(char:GetChildren()) do
- if v:IsA'Sound' then
- v:Stop()
- end
- end
- if to.Music then
- to.Music:Play()
- end
- end
- spawn(function()
- while true do
- wait()
- eColors=forms[mode].AttacksCol
- end
- end)
- morph(mode)
- Debounces = {
- CanAttack = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- RPunch = false;
- RPunched = false;
- LPunch = false;
- LPunched = false;
- }
- local Touche = {char.Name, }
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- function lerp(a, b, t) -- Linear interpolation
- return a + (b - a)*t
- end
- function slerp(a, b, t) --Spherical interpolation
- dot = a:Dot(b)
- if dot > 0.99999 or dot < -0.99999 then
- return t <= 0.5 and a or b
- else
- r = math.acos(dot)
- return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
- end
- end
- function matrixInterpolate(a, b, t)
- local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
- local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
- local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
- local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
- local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
- local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
- local t = v1:Dot(v2)
- if not (t < 0 or t == 0 or t > 0) then -- Failsafe
- return CFrame.new()
- end
- return CFrame.new(
- v0.x, v0.y, v0.z,
- v1.x, v1.y, v1.z,
- v2.x, v2.y, v2.z,
- v3.x, v3.y, v3.z)
- end
- ----------------------------------------------------
- function genWeld(a,b)
- local w = Instance.new("Weld",a)
- w.Part0 = a
- w.Part1 = b
- return w
- end
- function weld(a, b)
- local weld = Instance.new("Weld")
- weld.Name = "W"
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- weld.Parent = a
- return weld;
- end
- ----------------------------------------------------
- function Lerp(c1,c2,al)
- local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i] = v+(com2[i]-v)*al
- end
- return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
- end
- ----------------------------------------------------
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- ----------------------------------------------------
- function weld5(part0, part1, c0, c1)
- weeld=Instance.new("Weld", part0)
- weeld.Part0=part0
- weeld.Part1=part1
- weeld.C0=c0
- weeld.C1=c1
- return weeld
- end
- ----------------------------------------------------
- function HasntTouched(plrname)
- local ret = true
- for _, v in pairs(Touche) do
- if v == plrname then
- ret = false
- end
- end
- return ret
- end
- ----------------------------------------------------
- newWeld(torso, larm, -1.5, 0.5, 0)
- larm.Weld.C1 = CFrame.new(0, 0.5, 0)
- newWeld(torso, rarm, 1.5, 0.5, 0)
- rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
- newWeld(torso, hed, 0, 1.5, 0)
- newWeld(torso, lleg, -0.5, -1, 0)
- lleg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(torso, rleg, 0.5, -1, 0)
- rleg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(root, torso, 0, -1, 0)
- torso.Weld.C1 = CFrame.new(0, -1, 0)
- ----------------------------------------------------
- Charging = false
- chargewait = false
- holy=false
- so = function(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
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- mouse.KeyDown:connect(function(key)--_RHas
- if key == "h" or key == 'j' then
- if Charging == false and chargewait == false then
- Charging = true
- chargewait = true
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- for i = 1,20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- mode=mode:lower()
- if key=='h' then
- if mode=='normie' then mode='ssj' elseif mode=='ssj' then mode='ssj8' elseif mode=='ssj8' then mode='ssj10' elseif mode=='ssj10' then mode='ssj15' elseif mode=='ssj15' then mode='ssj100' elseif mode=='ssj100' then mode='ssjp' elseif mode=='ssjp' then mode='lssj3' elseif mode=='lssj3' then mode='fssj' elseif mode=='fssj' then mode='gdssgj' elseif mode=='gdssgj' then mode='ussjg' end
- elseif key=='j' then
- if mode=='ussjg' then mode='gdssgj' elseif mode=="gdssgj" then mode='fssj' elseif mode=='fssj' then mode='lssj3' elseif mode=='lssj3' then mode='ssjp' elseif mode=='ssjp' then mode='ssj100' elseif mode=='ssj100' then mode='ssj15' elseif mode=='ssj15' then mode='ssj10' elseif mode=='ssj10' then mode='ssj8' elseif mode=='ssj8' then mode='ssj' elseif mode=='ssj' then mode='normie' end
- end
- print(mode)
- morph(mode)
- wait(0)
- pt=Instance.new('Part',torso)
- pt.Anchored=true
- pt.CanCollide=false
- pt.Locked = true
- pt.Material = "Neon"
- pt.FormFactor='Custom'
- pt.Size=Vector3.new(1,1,1)
- pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
- pt.Transparency=.6
- pt.BrickColor=BrickColor.new(eColors[math.random(1,#eColors)])
- msh=Instance.new('SpecialMesh',pt)
- msh.MeshId='http://www.roblox.com/asset/?id=20329976'
- msh.Scale=Vector3.new(8,4,8)
- pt2=pt:clone()
- pt2.Parent = torso
- pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
- pt2.BrickColor=BrickColor.new(eColors[math.random(1,#eColors)])
- msh2=msh:clone()
- msh2.Parent=pt2
- msh2.Scale=Vector3.new(10,5,10)
- custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
- bl = Instance.new("Part", char)
- bl.Locked = true
- bl.Name = "Shell"
- bl.Anchored = true
- bl.Material = "Neon"
- bl.CanCollide = false
- bl.Transparency = 0
- bl.Reflectance = 0
- bl.BottomSurface = 0
- bl.TopSurface = 0
- bl.Shape = 0
- blm = Instance.new("SpecialMesh",bl)
- blm.MeshType = "Sphere"
- blm.Scale = Vector3.new(1,1,1)
- so("http://www.roblox.com/asset/?id=340722848",hed,2,1.2)
- so("http://www.roblox.com/asset/?id=340722848",torso,0.5,0.8)
- so("http://roblox.com/asset/?id=168586621",torso,1,0.5)
- local shirt=char:FindFirstChild'Shirt'
- local pants=char:FindFirstChild'Pants'
- local face=hed:FindFirstChild'face'
- coroutine.resume(coroutine.create(function()
- for i=1, math.huge, 4 do
- if Charging == true then
- rs:wait()
- bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
- blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5)
- bl.Transparency = bl.Transparency + 0.05
- pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
- pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
- msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
- msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
- elseif Charging == false then break
- end
- end
- end))
- repeat
- local p = Instance.new('Part',torso)
- p.formFactor = 'Custom'
- p.Size = Vector3.new(1,1,1)
- p.BrickColor=BrickColor.new(eColors[math.random(1,#eColors)])
- p.CanCollide = false
- p.Transparency = 0
- p.Anchored = true
- p.Locked=true
- p.Material = "Neon"
- s = math.random(1,40)/10
- local m = Instance.new("BlockMesh",p)
- m.Scale = Vector3.new(s,s,s)
- p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
- --[[coroutine.wrap(function()
- wait(2)
- while Charging == true do
- wait(2)
- GroundWave1()
- wait(2)
- end
- end)()]]--
- Spawn(function()
- while rs:wait() do
- if Charging == true then
- rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
- larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
- hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
- torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
- lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
- rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
- elseif Charging == false then break
- end
- end
- end)
- Spawn(function()
- while rs:wait() do
- if p.Transparency >= 1 then p:Destroy() break end
- p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
- p.Transparency = p.Transparency+0.01
- end
- end)
- wait(.3)
- until Charging == false
- end
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "b" then
- hum.WalkSpeed = 0
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(-5)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(5)), 0.1)
- if Debounces.on == false then
- end
- wait()
- end
- wait(1)
- v = Instance.new("Sound")
- v.SoundId = "http://www.roblox.com/asset/?id=150829983"
- v.Parent = char
- v.Looped = false
- v.Pitch = 0.94
- v.Volume = 5
- v.MaxDistance = 45
- wait(0.01)
- v:Play()
- if Daytime == true then
- Daytime = false
- else
- Daytime = true
- end
- local function Shockwave()
- local rng1 = Instance.new("Part", char)
- rng1.Anchored = true
- rng1.BrickColor = BrickColor.new("Really black")
- rng1.CanCollide = false
- rng1.FormFactor = 3
- rng1.Name = "Ring"
- rng1.Size = Vector3.new(1, 1, 1)
- rng1.Transparency = 0.35
- rng1.TopSurface = 0
- rng1.BottomSurface = 0
- local rngm1 = Instance.new("SpecialMesh", rng)
- rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm1.Scale = Vector3.new(10, 10, 1)
- rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
- local Wave = Instance.new("Part", char)
- Wave.Name = "Shockwave"
- Wave.BrickColor = BrickColor.new("Really black")
- Wave.Size = Vector3.new(1, 1, 1)
- Wave.Shape = "Ball"
- Wave.CanCollide = false
- Wave.Anchored = true
- Wave.TopSurface = 0
- Wave.BottomSurface = 0
- Wave.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") and hit:FindFirstChild("Armed") ~= nil then
- local Occlude = true
- local NotOccludes = {
- char.Name,
- "Wings",
- "Scythe",
- "Thingy",
- "Thingy2"
- }
- for i, v in pairs(NotOccludes) do
- if hit.Parent.Name == v then
- Occlude = false
- end
- end
- if Occlude then
- hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
- hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
- end
- end
- end)
- Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
- coroutine.wrap(function()
- for i = 1, 20, 0.2 do
- rngm1.Scale = Vector3.new(10 + i * 2, 10 + i * 2, 1)
- rng1.Transparency = i / 20
- wait()
- end
- wait()
- rng1:Destroy()
- end)()
- Delay(0, function()
- if Daytime == false then
- for i = 1, 50 do
- Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
- Wave.CFrame = char.Torso.CFrame
- local t = i / 50
- Wave.Transparency = t
- wait()
- end
- else
- for i = 1, 50 do
- Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
- Wave.CFrame = char.Torso.CFrame
- local t = i / 50
- Wave.Transparency = t
- wait()
- end
- end
- Wave:Destroy()
- end)
- Delay(0, function()
- while true do
- if wait() and Wave ~= nil then
- Wave.CFrame = char.Torso.CFrame
- break
- end
- end
- end)
- end
- Shockwave()
- for i = 1, 15 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
- if Debounces.on == false then
- break
- end
- wait()
- end
- for i = 1, 15 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
- if Debounces.on == false then
- break
- end
- wait()
- end
- for i = 1, 15 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
- if Debounces.on == false then
- break
- end
- wait()
- end
- for i = 1, 15 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
- if Debounces.on == false then
- break
- end
- wait()
- end
- for i = 1, 15 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
- if Debounces.on == false then
- break
- end
- wait()
- end
- for i = 1, 10 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
- if Debounces.on == false then
- break
- end
- wait()
- end
- wait(1.4)
- Debounces.NoIdl = false
- hum.WalkSpeed = 5
- Debounces.on = false
- wait()
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- v:Destroy()
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- doingmoves(true)
- resetwelds()
- ER = char.Torso.CFrame
- Humanoid.WalkSpeed = 16
- for i = 1, 10 do
- swait()
- RW.C1 = clerp(RW.C1, cf(0, 0.6, 0) * euler(math.rad(-90), 0, 0), 0.3)
- RootJoint.C0 = RootCF * cf(0, 0, -0.2) * euler(0, 0, math.rad(9 * i))
- Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, math.rad(-90)) * euler(0, 0, 0), 0.7)
- LW.C1 = clerp(LW.C1, cf(0.5, 1.5, 0) * euler(math.rad(-90), math.rad(70), 0), 0.5)
- end
- Torso.Velocity = vt(0, 1, 0) * 150
- Humanoid.Jump = true
- Humanoid.JumpPower = 16
- local spin = coroutine.create(function()
- for i = 1, 4.5 do
- so("203691447", char, 1, 1.1)
- wait(0.2)
- end
- end
- )
- coroutine.resume(spin)
- for i = 1, 30 do
- swait()
- local es = 27
- RootJoint.C0 = RootCF * cf(0, 0, -0.2) * euler(math.rad(es * i), 0, math.rad(90))
- end
- hit = nil
- while hit == nil do
- swait()
- hit = rayCast(LeftLeg.Position, CFrame.new(LeftLeg.Position, LeftLeg.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
- end
- dist = 10
- ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
- ref.Anchored = true
- ref.CFrame = cf(Torso.Position)
- game.Debris:AddItem(ref, 8)
- so("178452217", RightArm, 0.5, 0.4)
- so("168586586", RightArm, 0.5, 0.6)
- so("160740121", RightArm, 1, 0.8)
- so("168586621", RightArm, 1, 0.5)
- so("160867463", RightArm, 1, 0.8)
- er = Instance.new("Part")
- er.Anchored = true
- er.Transparency = 1
- er.CanCollide = false
- er.Position = char.Torso.Position
- er.Parent = EffectMo
- game.Debris:AddItem(er, 3)
- er.CFrame = er.CFrame * CFrame.Angles(0, math.rad(90), 0)
- local p = Instance.new("Part")
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CanCollide = false
- p.Anchored = true
- p.BrickColor = BrickColor.new("White")
- p.formFactor = "Symmetric"
- p.Size = Vector3.new(1, 1, 1)
- p.CFrame = er.CFrame * CFrame.Angles(0, math.rad(90), 0) * CFrame.fromEulerAnglesXYZ(math.rad(50), 0, 0)
- p.Parent = EffectMo
- m = MeshFolder.RingMesh:clone()
- p.Material = "SmoothPlastic"
- m.Scale = Vector3.new(60, 60, 0)
- m.Parent = p
- m.Name = "Triangle"
- coroutine.resume(coroutine.create(function(p)
- for i = 1, 30 do
- p.Transparency = i / 30
- p.Triangle.Scale = p.Triangle.Scale + Vector3.new(0.3, 0.3, 0)
- swait()
- end
- p.Parent = nil
- end
- ), p)
- local p = Instance.new("Part")
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CanCollide = false
- p.Anchored = true
- p.BrickColor = BrickColor.new("White")
- p.formFactor = "Symmetric"
- p.Size = Vector3.new(1, 1, 1)
- p.CFrame = er.CFrame * CFrame.Angles(0, math.rad(90), 0) * CFrame.fromEulerAnglesXYZ(math.rad(-50), 0, 0)
- p.Parent = EffectMo
- m = MeshFolder.RingMesh:clone()
- p.Material = "SmoothPlastic"
- m.Scale = Vector3.new(60, 60, 0)
- m.Parent = p
- m.Name = "Triangle"
- coroutine.resume(coroutine.create(function(p)
- for i = 1, 30 do
- p.Transparency = i / 30
- p.Triangle.Scale = p.Triangle.Scale + Vector3.new(0.3, 0.3, 0)
- swait()
- end
- p.Parent = nil
- end
- ), p)
- for i = 1, 4 do
- MagniDamage(char.Torso, 32, 20, 40, 20, "Normal", RootPart, 2, 2, (math.random(4, 7)), nil, true)
- swait()
- local p = Instance.new("Part", er.Parent)
- p.Name = "Effect"
- p.formFactor = "Symmetric"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.Material = "SmoothPlastic"
- p.BrickColor = BrickColor.new("Black")
- p.Anchored = true
- p.CanCollide = false
- p.Size = Vector3.new(1, 1, 1)
- p.CFrame = er.CFrame * CFrame.Angles(math.pi / 2, 0, 0) * CFrame.new(0, 0, 1.5)
- game:GetService("Debris"):AddItem(p, 8)
- local m = Instance.new("SpecialMesh", p)
- m.MeshId = "http://www.roblox.com/asset/?id=3270017"
- m.Scale = Vector3.new(2, 2, 1)
- coroutine.resume(coroutine.create(function(p, s)
- for i = 1, 30 do
- p.Transparency = i / 30
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(4, 4, -0.05)
- swait()
- end
- end
- ), p, 8)
- xdir = er.CFrame.lookVector
- local p = Instance.new("Part")
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CanCollide = false
- p.Anchored = true
- p.BrickColor = BrickColor.new("Institutional white")
- p.CFrame = er.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.random(-10, 10) / 100, 0)
- p.formFactor = "Symmetric"
- p.Size = Vector3.new(1, 1, 1)
- p.Parent = EffectMo
- m = MeshFolder.BlastMesh:clone()
- p.Material = "SmoothPlastic"
- m.Parent = p
- m.Scale = Vector3.new(1, 3, 1)
- m.Name = "Triangle"
- game:GetService("Debris"):AddItem(p, 5)
- coroutine.resume(coroutine.create(function(p)
- for i = 1, 25 do
- p.Transparency = i / 25
- p.Triangle.Scale = p.Triangle.Scale + Vector3.new(2.3, 0, 2.3)
- p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(15), 0)
- swait()
- end
- p.Parent = nil
- end
- ), p)
- for i = 1, 5 do
- ref.CFrame = cf(RootPart.Position) * cf(math.random(-dist * 300, dist * 200) / 100, 0, math.random(-dist * 300, dist * 300) / 100)
- hitfloor2a, posfloor2a = rayCast(ref.Position, CFrame.new(ref.Position, ref.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
- if hitfloor2a ~= nil then
- local groundpart = part(3, workspace, 0, 0, hitfloor2a.BrickColor, "Ground", vt(math.random(500, 1000) / 100, math.random(500, 1000) / 100, math.random(500, 1000) / 100))
- groundpart.Anchored = true
- groundpart.Material = hitfloor2a.Material
- groundpart.CanCollide = false
- groundpart.CFrame = cf(posfloor2a) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- game:GetService("Debris"):AddItem(groundpart, 10)
- groundpart.Parent = EffectMo
- coroutine.resume(coroutine.create(function(groundpart)
- for i = 1, 300 do
- groundpart.Transparency = i / 300
- swait()
- end
- groundpart:Destroy()
- end
- ), groundpart)
- end
- end
- end
- swait()
- resetwelds()
- doingmoves(false)
- end
- end)
- ----------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if string.byte(key) == 52 then
- char.Humanoid.WalkSpeed = 60
- end
- end)
- mouse.KeyUp:connect(function(key)
- if string.byte(key) == 52 then
- char.Humanoid.WalkSpeed = 8
- elseif key:lower() == 'h' or key:lower() == 'j' then
- if Charging == true and chargewait == true then
- chargewait = false
- wait(1)
- Charging = false
- --[[for i,v in pairs (torso:GetChildren()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end]]
- --so("http://roblox.com/asset/?id=160867463",torso,1,0.7)
- pt:Destroy()
- pt2:Destroy()
- bl:Destroy()
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.NoIdl = false
- Debounces.on = false
- Debounces.grab = false
- end
- end
- end
- end)
- local stanceToggle = "Landed"
- local animpose = "Landed"
- local lastanimpose = "Landed"
- local animpose = "Idle"
- local lastanimpose = "Idle"
- local sine = 0
- local change = 1
- local val = 0
- local ffing = false
- local player = p
- local pchar = player.Character
- local mouse = player:GetMouse()
- local cam = workspace.CurrentCamera
- local rad = math.rad
- local keysDown = {}
- local flySpeed = 0
- local MAX_FLY_SPEED = 50
- local canFly = false
- local flyToggled = false
- local forward, side = 0, 0
- local lastForward, lastSide = 0, 0
- local floatBP = Instance.new("BodyPosition")
- x = Instance.new("Sound", char)
- x.SoundId = "http://www.roblox.com/asset/?id=198360408"
- x.Looped = true
- x.Volume = 9
- local footsteps = false
- game:GetService("RunService").RenderStepped:connect(function()
- if char.Humanoid.Health > 0 then
- if char.Humanoid.Jump == true then
- jumpn = true
- else
- jumpn = false
- end
- char.Humanoid.FreeFalling:connect(function(f)
- if f then
- ffing = true
- else
- ffing = false
- end
- end)
- sine = sine + change
- if jumpn == true then
- animpose = "Jumping"
- elseif ffing == true then
- animpose = "Freefalling"
- elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
- animpose = "Idle"
- elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 20 then
- animpose = "Walking"
- elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude > 20 then
- animpose = "Running"
- end
- if animpose ~= lastanimpose then
- sine = 0
- if Debounces.NoIdl == false then
- if stanceToggle == "Floating" then
- change = 1
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-10)), 0.6)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(30)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-8)), 0.6)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(8)), 0.6)
- end
- elseif stanceToggle == "Landed" then
- change = 1
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
- elseif stanceToggle == "Sitting" then
- change = 1
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
- wait()
- end
- else
- end
- lastanimpose = animpose
- if Debounces.NoIdl == false then
- if animpose == "Idle" then
- if stanceToggle == "Floating" then
- change = 0.5
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0 - 0.16 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-20 - 1 * math.cos(sine / 14)), math.rad(0), 0), 0.05)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(30 + 1 * math.cos(sine / 14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.65 + 0.05 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10 - 1.5 * math.cos(sine / 14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.3) * CFrame.Angles(math.rad(-20 + 2 * math.cos(sine / 14)), math.rad(0), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0 + 2 * math.cos(sine / 14)), math.rad(-8 - 1.5 * math.cos(sine / 14))), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0 + 2 * math.cos(sine / 14)), math.rad(8 + 1.5 * math.cos(sine / 14))), 0.2)
- elseif stanceToggle == "Landed" then
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65 + 0.05 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-30), math.rad(-20), math.rad(22 + 2 * math.cos(sine / 14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 14), -0.5) * CFrame.Angles(math.rad(70), math.rad(-10), math.rad(26 - 2 * math.cos(sine / 14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10 + 2 * math.cos(sine / 14)), math.rad(36), math.rad(0)), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10 + 1 * math.cos(sine / 14)), math.rad(-36), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.7, -1, 0) * CFrame.Angles(math.rad(30 - 1.5 * math.cos(sine / 14)), math.rad(30), math.rad(-30)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10 - 1.5 * math.cos(sine / 14)), math.rad(30), math.rad(20)), 0.2)
- elseif stanceToggle == "Sitting" then
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.3, -0.1) * CFrame.Angles(math.rad(45 - 2 * math.cos(sine / 14)), math.rad(0), math.rad(32)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20 + 1 * math.cos(sine / 14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(14 + 2 * math.cos(sine / 14)), math.rad(-40), math.rad(14)), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-50 + 1 * math.cos(sine / 14)), math.rad(40), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.4, 0.2, -0.8) * CFrame.Angles(math.rad(30 - 1 * math.cos(sine / 14)), 0, math.rad(20)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.8, -1, 0) * CFrame.Angles(math.rad(-10 - 1 * math.cos(sine / 14)), math.rad(-40), math.rad(0)), 0.2)
- end
- elseif animpose == "Walking" then
- if stanceToggle == "Landed" then
- change = 0.5
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 3), -math.sin(sine / 6) / 4) * CFrame.Angles(math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(-10 - 2 * math.cos(sine / 3))), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 3), math.sin(sine / 6) / 4) * CFrame.Angles(-math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(10 + 2 * math.cos(sine / 3))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8 + 2 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.15 * math.cos(sine / 6) / 5, -0.15 + math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + -math.sin(sine / 6) / 2.7, 0, 0), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 + 0.15 * math.cos(sine / 6) / 5, -0.15 + -math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + math.sin(sine / 6) / 2.7, 0, 0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.07 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-4 + 1 * math.cos(sine / 3)), 0, math.rad(0)), 0.2)
- elseif stanceToggle == "Sitting" then
- stanceToggle = "Landed"
- elseif stanceToggle == "Floating" then
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0 - 0.1 * math.cos(sine / 16), 0) * CFrame.Angles(math.rad(-20), 0, 0), 0.6)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(30 + 2 * math.cos(sine / 16))), 0.3)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(15 + 10 * math.cos(sine / 16)), 0, 0), 0.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.3) * CFrame.Angles(math.rad(-18 + 2 * math.cos(sine / 16)), math.rad(0), math.rad(0)), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(13 + 4 * math.cos(sine / 16)), 0, 0), 0.3)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(15 + 10 * math.cos(sine / 16)), 0, 0), 0.3)
- end
- elseif animpose == "Running" then
- change = 1
- if stanceToggle == "Landed" then
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4 - 0.1 * math.cos(sine / 6), 0.5, 0 + 0.8 * math.cos(sine / 6)) * CFrame.Angles(math.rad(20 - 90 * math.cos(sine / 6) / 1.2), math.rad(0), math.rad(20 - 40 * math.cos(sine / 6))), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4 - 0.1 * math.cos(sine / 6), 0.5, 0 - 0.8 * math.cos(sine / 6)) * CFrame.Angles(math.rad(20 + 90 * math.cos(sine / 6) / 1.2), math.rad(0), math.rad(-20 - 40 * math.cos(sine / 6))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-8 + 12 * math.cos(sine / 3) / 1.8), math.rad(0 - 8 * math.cos(sine / 6)), math.rad(0)), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 - 0.1 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-14 + 15 * math.cos(sine / 3) / 2), math.rad(0 + 12 * math.cos(sine / 6)), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 + 0.1 * math.cos(sine / 6) / 3, -0.15 + -math.sin(sine / 6) / 3) * CFrame.Angles(math.rad(-12) + math.sin(sine / 6) / 1.7, math.rad(0 - 12 * math.cos(sine / 6)), 0), 0.8)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 - 0.1 * math.cos(sine / 6) / 3, -0.15 + math.sin(sine / 6) / 3) * CFrame.Angles(math.rad(-12) + -math.sin(sine / 6) / 1.7, math.rad(0 - 12 * math.cos(sine / 6)), 0), 0.8)
- end
- end
- end
- end
- end)
- hum.MaxHealth = math.huge
- wait(3)
- hum.Health = math.huge
- -- LATF2 Lightning, Enjoy...
- LocalPlayer = game:GetService("Players").LocalPlayer
- char = player.Character
- local lastCF=char.Torso.Position
- local x1=Instance.new("Part",game.Workspace)
- x1.Name="Lightning"
- x1.Size=Vector3.new(1,1,1)
- x1.CanCollide=false
- x1.Anchored=true
- x1.Transparency=1
- Spawn(function()
- while true do
- wait(-1)
- x1.CFrame=char.Torso.CFrame*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(50,360)))*CFrame.new(0,0,2.6)
- end
- end)
- for i = 1,math.huge do
- local dist2 = (lastCF-x1.Position).magnitude
- local x2=Instance.new("Part",game.Workspace)
- x2.Name="Lightning2"
- x2.Size=Vector3.new(1,1,1)
- x2.Material="Neon"
- x2.BrickColor=BrickColor.new(eColors[math.random(1,#eColors)])
- x2.CFrame=CFrame.new(lastCF,x1.Position)*CFrame.new(0,0,-dist2/2)
- x2.CanCollide=false
- x2.Anchored=true
- local m = Instance.new("BlockMesh",x2)
- m.Scale = Vector3.new(0.5,0.5,dist2)
- lastCF=x1.Position
- spawn(function()
- for i = 1,20 do
- xx=m.Scale.x/2
- y=m.Scale.x/2
- m.Scale=m.Scale-Vector3.new(xx,y,0)
- wait()
- end
- end)
- game.Debris:AddItem(x2,1.5)
- wait()
- end
- x1:Destroy()
Add Comment
Please, Sign In to add comment