Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("hi")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
- plr = owner
- char = plr.Character
- ra = char["Right Arm"]
- la = char["Left Arm"]
- hed = char.Head
- root = char.HumanoidRootPart
- hum = char.Humanoid
- dancin = false
- clerp = function(toclerp, cf, number)
- local joint = toclerp
- joint.C0 = joint.C0:Lerp(cf, number)
- end
- clerp2 = function(toclerp, cf)
- local joint = toclerp
- joint.C0 = cf
- end
- clerp3 = function(toclerp, cf, number)
- local joint = toclerp
- joint.C1 = joint.C1:Lerp(cf, number)
- end
- Swait,swait = function(number)
- if number == 0 or number == nil then
- game:GetService("RunService").Heartbeat:Wait()
- else
- for i = 1,number do
- game:GetService("RunService").Heartbeat:Wait()
- end
- end
- end
- ezweld = function(p, a, b, cf)
- local weld = Instance.new("Weld",p)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = cf
- return weld
- end
- NewSound = function(p, id, pit, vol, loop)
- local Sound = Instance.new("Sound",p)
- Sound.Pitch = pit
- Sound.Volume = vol
- Sound.SoundId = "rbxassetid://" ..id
- Sound.Looped = loop
- Sound:Play()
- return Sound
- end
- IT = Instance.new
- Rad = math.rad
- Cos = math.cos
- Sin = math.sin
- BrickC = BrickColor.new
- C3 = Color3.new
- VT = Vector3.new
- anim = "Idle"
- attack = false
- local RS = char.Torso["Right Shoulder"]
- local LS = char.Torso["Left Shoulder"]
- local RH = char.Torso["Right Hip"]
- local LH = char.Torso["Left Hip"]
- local neck = char.Torso["Neck"]
- local anim = "Idle"
- local animate = char.Animate
- local root = char.HumanoidRootPart
- local rootj = root.RootJoint
- local timepos = 0
- local sine = 0
- local RSnor = RS.C0
- local LSnor = LS.C0
- local RHnor = RH.C0
- local LHnor = LH.C0
- local RSnor2 = RS.C1
- local LSnor2 = LS.C1
- local RHnor2 = RH.C1
- local LHnor2 = LH.C1
- local rootjnor = rootj.C0
- local necknor = neck.C0
- local tors = char.Torso
- hum.Animator:remove()
- mouse = plr:GetMouse()
- hold = false
- Debris = game:GetService("Debris")
- local dustp = Instance.new("Part",char)
- dustp.Transparency = 1
- dustp.Size = Vector3.new(0.1, 0.1, 0.1)
- dustp.CanCollide = false
- dustp.Locked = true
- local dustj = ezweld(char, root, dustp, CFrame.new(0, -tors.Size.y - 0.5, 0))
- local dust = Instance.new("ParticleEmitter",dustp)
- dust.Rate = 3
- dust.Lifetime = NumberRange.new(0.35)
- dust.Texture = "rbxassetid://420061161"
- dust.Speed = NumberRange.new(2)
- dust.EmissionDirection = "Back"
- dust.Rotation = NumberRange.new(155)
- dust.RotSpeed = NumberRange.new(15)
- dust.Enabled = false
- dust.Size = NumberSequence.new(tors.Size.y - 1.5, tors.Size.y - 0.75)
- dust.Transparency = NumberSequence.new(0.25, 1)
- sped = 16
- hee = 15
- ae = false
- emrad = 0
- orbtype = "fire"
- function BODYPOSITION(PARENT, POSITION)
- local BODYPOS = Instance.new("BodyPosition",PARENT)
- BODYPOS.Position = POSITION
- return BODYPOS
- end
- local aimpart = Instance.new("Part",char)
- aimpart.Size = Vector3.new(0.1, 0.1, 0.1)
- aimpart.Transparency = 1
- aimpart.CanCollide = false
- local joint = Instance.new("Weld",char)
- joint.Part0 = aimpart
- joint.Part1 = root
- joint.C0 = CFrame.new(-5, 0, 0)
- a = 8000
- spino = 0
- local orb = Instance.new("Part",char)
- orb.Shape = "Ball"
- orb.TopSurface = "Smooth"
- orb.BottomSurface = "Smooth"
- orb.Size = Vector3.new(1, 1, 1)
- orb.Reflectance = 0.25
- orb.BrickColor = BrickColor.new("Really red")
- orb.CanCollide = false
- orb.CFrame = aimpart.CFrame
- local ofollow = BODYPOSITION(orb, aimpart.Position)
- local gyro = Instance.new("BodyGyro",orb)
- gyro.CFrame = root.CFrame
- gyro.D = 20
- gyro.P = 100
- gyro.MaxTorque = Vector3.new(0, 4000000, 0)
- function RayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function triburst()
- if orbtype == "fire" then
- attack = true
- local fp1 = Instance.new("Part", char)
- fp1.Size = Vector3.new(1.15, 0.1, 0.1)
- fp1.Transparency = 1
- fp1.CanCollide = false
- fp1.CFrame = ra.CFrame
- local wld1 = ezweld(char, fp1, ra, CFrame.new(0, 0.51, 0))
- local fire = Instance.new("Fire", fp1)
- local fp2 = Instance.new("Part", char)
- fp2.Size = Vector3.new(1.15, 0.1, 0.1)
- fp2.Transparency = 1
- fp2.CanCollide = false
- fp2.CFrame = la.CFrame
- local wld2 = ezweld(char, fp2, la, CFrame.new(0, 0.51, 0))
- local fire = Instance.new("Fire", fp2)
- fire.Size = 6
- Debris:AddItem(fp1, 15)
- Debris:AddItem(fp2, 15)
- for i = 1,11 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 1.25 + 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, 0), 0.15)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, -0.25, 0.35) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.25, 0.35) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- end
- wld1:remove()
- fp1.Anchored = false
- fp1.CFrame = CFrame.new(ra.Position, mouse.Hit.p)
- local hitbox = fp1.Touched:connect(function(hit)
- local dud = hit.Parent
- local torso = dud:FindFirstChild("Torso") or dud:FindFirstChild("UpperTorso")
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") and v.Parent ~= char and not dud:FindFirstChild("cool") then
- v.Health = v.Health - 20
- local cool = Instance.new("NumberValue", dud) cool.Name = "cool" Debris:AddItem(cool, 0.2)
- if torso and dud ~= char then
- local fiya = Instance.new("Fire", torso)
- fiya.Size = 3.5
- Debris:AddItem(fiya, 5)
- coroutine.resume(coroutine.create(function()
- while fiya.Parent == torso do
- wait()
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 0.05
- end
- end
- end
- end))
- end
- end
- end
- end)
- local bv = Instance.new("BodyVelocity",fp1)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = fp1.CFrame.lookVector * 50
- for i = 1,9 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 1.25 + 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, 0), 0.15)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(25), Rad(90)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.25, 0.5) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- end
- for i = 1,11 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 1.25 + 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, 0), 0.15)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, -0.25, 0.35) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.25, 0.35) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- end
- wld2:remove()
- fp2.Anchored = false
- fp2.CFrame = CFrame.new(la.Position, mouse.Hit.p)
- local hitbox = fp2.Touched:connect(function(hit)
- local dud = hit.Parent
- local torso = dud:FindFirstChild("Torso") or dud:FindFirstChild("UpperTorso")
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") and v.Parent ~= char and not dud:FindFirstChild("cool") then
- v.Health = v.Health - 20
- local cool = Instance.new("NumberValue", dud) cool.Name = "cool" Debris:AddItem(cool, 0.2)
- if torso and dud ~= char then
- local fiya = Instance.new("Fire", torso)
- fiya.Size = 3.5
- Debris:AddItem(fiya, 5)
- coroutine.resume(coroutine.create(function()
- while fiya.Parent == torso do
- wait()
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 0.05
- end
- end
- end
- end))
- end
- end
- end
- end)
- local bv = Instance.new("BodyVelocity",fp2)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = fp2.CFrame.lookVector * 50
- for i = 1,9 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 1.25 + 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, 0), 0.15)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, -0.25, 0.5) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(25), Rad(-90)), 0.3)
- end
- --fp2:remove()
- wld2:remove()
- --fp1:remove()
- wld1:remove()
- attack = false
- end
- end
- function firebreath()
- if orbtype == "fire" then
- attack = true
- for i = 1,35 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(-35), 0, 0), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(35), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(-35)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(35)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, -0.25, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(180)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.25, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(180)), 0.3)
- end
- local fp1 = Instance.new("Part", char)
- fp1.Size = Vector3.new(1.15, 1.75, 1.15)
- fp1.Transparency = 1
- fp1.CanCollide = false
- fp1.CFrame = hed.CFrame
- local fire = Instance.new("Fire", fp1)
- fire.Size = 15
- local hitbox = fp1.Touched:connect(function(hit)
- local dud = hit.Parent
- local torso = dud:FindFirstChild("Torso") or dud:FindFirstChild("UpperTorso")
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") and v.Parent ~= char and not dud:FindFirstChild("cool") then
- v.Health = v.Health - 20
- local cool = Instance.new("NumberValue", dud) cool.Name = "cool" Debris:AddItem(cool, 0.2)
- if torso and dud ~= char then
- local fiya = Instance.new("Fire", torso)
- fiya.Size = 3.5
- Debris:AddItem(fiya, 5)
- coroutine.resume(coroutine.create(function()
- while fiya.Parent == torso do
- wait()
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 0.05
- end
- end
- end
- end))
- end
- end
- end
- end)
- local bv = Instance.new("BodyVelocity", fp1)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = fp1.CFrame.lookVector * 5
- for i = 1,35 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(35), 0, 0), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(-15), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(35)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(-35)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-35)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(35)), 0.3)
- end
- fp1:remove()
- attack = false
- end
- end
- function fireuppercut()
- if orbtype == "fire" then
- attack = true
- local fire = Instance.new("Fire", la)
- fire.Enabled = false
- fire.Color = Color3.new(0.445, 0.05785, 0.05785)
- fire.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- fire.Size = 10
- local hitbox = la.Touched:connect(function(hit)
- local dud = hit.Parent
- local torso = dud:FindFirstChild("Torso") or dud:FindFirstChild("UpperTorso")
- if torso then
- torso.CFrame = CFrame.new(la.CFrame.x, la.CFrame.y, la.CFrame.z)
- end
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") and v.Parent ~= char and not dud:FindFirstChild("cool") then
- v.Health = v.Health - 15
- local cool = Instance.new("NumberValue", dud) cool.Name = "cool" Debris:AddItem(cool, 0.2)
- if torso and dud ~= char then
- local fiya = Instance.new("Fire", torso)
- fiya.Enabled = true
- fiya.Color = Color3.new(0.445, 0.05785, 0.05785)
- fiya.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- fiya.Size = 7
- Debris:AddItem(fiya, 5)
- coroutine.resume(coroutine.create(function()
- while fiya.Parent == torso do
- wait()
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 0.05
- end
- end
- end
- end))
- end
- end
- end
- --[[
- if torso and dud ~= char then
- local fiya = Instance.new("Fire", torso)
- fiya.Enabled = true
- fiya.Color = Color3.new(0.445, 0.05785, 0.05785)
- fiya.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
- fiya.Size = 7
- Debris:AddItem(fiya, 5)
- coroutine.resume(coroutine.create(function()
- while fiya.Parent == torso do
- wait()
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 0.05
- end
- end
- end
- end))
- end
- ]]--
- end)
- for i = 1,11 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(76)), 0.15)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, Rad(-76)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-5), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-5), Rad(0), Rad(45)), 0.3)
- end
- fire.Enabled = true
- local bv = Instance.new("BodyVelocity", root)
- bv.MaxForce = Vector3.new(0, math.huge, 0)
- bv.Velocity = Vector3.new(0, 25, 0)
- for i = 1,22 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(-65)), 0.15)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, Rad(65)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(-25)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(35)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-15), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-130)), 0.3)
- end
- bv:remove()
- hitbox:disconnect()
- fire:remove()
- attack = false
- end
- end
- function splashslap()
- if orbtype == "water" then
- attack = true
- local part = Instance.new("Part", char)
- part.CanCollide = false
- part.Reflectance = 1
- part.Size = Vector3.new(2.5, 2.5, 2.5)
- local mesh = Instance.new("SpecialMesh", part)
- mesh.MeshType = "Sphere"
- local weld = ezweld(char, part, ra, CFrame.new(0, ra.Size.y / 2, 0))
- for i = 1,11 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(-5), 0, Rad(-45)), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(5), 0, Rad(45)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(-5)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(6.5)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), Rad(0), Rad(180)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-15)), 0.3)
- end
- part.Touched:connect(function(hit)
- local dud = hit.Parent
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 3.5
- end
- end
- end
- end)
- part.Size = Vector3.new(2.5, 2.5, 1)
- for i = 1,11 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(2), 0, Rad(45)), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(-2), 0, Rad(-45)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(2)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(-3.5)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), Rad(0), Rad(25)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(15)), 0.3)
- end
- Debris:AddItem(part, 0.15)
- attack = false
- end
- end
- function tidalwaves()
- if orbtype == "water" then
- attack = true
- for i = 1,11 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(-25), 0, Rad(0)), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, -0.35 + 0.1 * Cos(sine / 12), -0.35) * CFrame.Angles(Rad(0), Rad(74), Rad(84)), 0.3)
- clerp(LS, LSnor * CFrame.new(-0.5, 0.1 + 0.1 * Cos(sine / 12), -0.5) * CFrame.Angles(Rad(0), Rad(-84), Rad(-84)), 0.3)
- end
- local p1 = Instance.new("Part", char)
- p1.CanCollide = false
- p1.CFrame = root.CFrame * CFrame.new(0, -1.9, 0)
- p1.BrickColor = BrickColor.new("Bright bluish green")
- p1.Material = "SmoothPlastic"
- p1.Touched:connect(function(hit)
- local dud = hit.Parent
- local torso = dud:FindFirstChild("Torso") or dud:FindFirstChild("UpperTorso")
- if torso and torso.Parent ~= char then
- torso.CFrame = CFrame.new(p1.CFrame.x, p1.CFrame.y, p1.CFrame.z) * CFrame.new(0, 1, 0)
- Debris:AddItem(p1, 0.25)
- end
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 0.5
- end
- end
- end
- end)
- local bv = Instance.new("BodyVelocity", p1)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = p1.CFrame.lookVector * 50
- local p2 = Instance.new("Part", char)
- p2.CanCollide = false
- p2.CFrame = root.CFrame * CFrame.new(0, -1.9, 0) * CFrame.Angles(0, Rad(15), 0)
- p2.BrickColor = BrickColor.new("Bright bluish green")
- p2.Material = "SmoothPlastic"
- p2.Touched:connect(function(hit)
- local dud = hit.Parent
- local torso = dud:FindFirstChild("Torso") or dud:FindFirstChild("UpperTorso")
- if torso and torso.Parent ~= char then
- torso.CFrame = CFrame.new(p2.CFrame.x, p2.CFrame.y, p2.CFrame.z) * CFrame.new(0, 1, 0)
- Debris:AddItem(p2, 0.25)
- end
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 0.5
- end
- end
- end
- end)
- local bv = Instance.new("BodyVelocity", p2)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = p2.CFrame.lookVector * 50
- local p3 = Instance.new("Part", char)
- p3.CanCollide = false
- p3.CFrame = root.CFrame * CFrame.new(0, -1.9, 0) * CFrame.Angles(0, Rad(-15), 0)
- p3.BrickColor = BrickColor.new("Bright bluish green")
- p3.Material = "SmoothPlastic"
- p3.Touched:connect(function(hit)
- local dud = hit.Parent
- local torso = dud:FindFirstChild("Torso") or dud:FindFirstChild("UpperTorso")
- if torso and torso.Parent ~= char then
- torso.CFrame = CFrame.new(p3.CFrame.x, p3.CFrame.y, p3.CFrame.z) * CFrame.new(0, 1, 0)
- Debris:AddItem(p3, 0.25)
- end
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 0.5
- end
- end
- end
- end)
- local bv = Instance.new("BodyVelocity", p3)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = p3.CFrame.lookVector * 50
- for i = 1,35 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(25), 0, Rad(0)), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-30), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-30), Rad(0), Rad(0)), 0.3)
- end
- Debris:AddItem(p1, 15)
- Debris:AddItem(p2, 15)
- Debris:AddItem(p3, 15)
- attack = false
- end
- end
- function growthtrap()
- if orbtype == "grass" then
- attack = true
- local part = Instance.new("Part", char)
- part.CanCollide = false
- part.Anchored = true
- part.Position = mouse.Hit.p
- part.Size = Vector3.new(6, 2, 6)
- part.BrickColor = BrickColor.new("Camo")
- part.Material = "SmoothPlastic"
- for i = 1,11 do
- Swait()
- part.Position = mouse.Hit.p
- part.Size = Vector3.new(6, 2, 6)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(35), 0, Rad(0)), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(15), 0, Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(-55)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, -0.35 + 0.1 * Cos(sine / 12), 0) * CFrame.Angles(Rad(0), Rad(0), Rad(30)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0.1 + 0.1 * Cos(sine / 12), 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-30)), 0.3)
- end
- part.Touched:connect(function(hit)
- local dud = hit.Parent
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") and not dud:FindFirstChild("cool") then
- v.Health = v.Health - 40
- local cool = Instance.new("NumberValue", dud)
- cool.Name = "cool"
- Debris:AddItem(cool, 0.6)
- end
- end
- end
- end)
- local apos = part.Position
- for i = 1,35 do
- Swait()
- part.Position = part.Position:Lerp(apos + Vector3.new(0, 3.5, 0), 0.15)
- part.Size = part.Size:Lerp(Vector3.new(6, 7, 6), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(-20), 0, Rad(0)), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(-35), 0, Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(20)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(15)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, -0.35 + 0.1 * Cos(sine / 12), 0) * CFrame.Angles(Rad(0), Rad(0), Rad(160)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0.1 + 0.1 * Cos(sine / 12), 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-160)), 0.3)
- end
- part:remove()
- attack = false
- end
- end
- function needleslash()
- if orbtype == "grass" then
- attack = true
- local part = Instance.new("Part", char)
- part.CanCollide = false
- part.CFrame = ra.CFrame
- part.Reflectance = 0
- part.Size = Vector3.new(4, 1, 4)
- local mesh = Instance.new("SpecialMesh", part)
- mesh.MeshId = "rbxassetid://40302270"
- mesh.TextureId = "rbxassetid://132539639"
- mesh.Scale = Vector3.new(10, 10, 10)
- mesh.Offset = Vector3.new(0, 0, -0.85)
- local weld = ezweld(char, part, ra, CFrame.Angles(Rad(0), Rad(0), Rad(90)) * CFrame.new(0, 0.65, -7))
- for i = 1,11 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(0), 0, Rad(0)), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(35), Rad(0), Rad(180)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.3)
- end
- part.Touched:connect(function(hit)
- local dud = hit.Parent
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 3.5
- end
- end
- end
- end)
- for i = 1,11 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(0), 0, Rad(-35)), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, Rad(35)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(35), Rad(35), Rad(180)), 0.3)
- clerp(LS, LSnor * CFrame.new(-0.5, 0.1 + 0.1 * Cos(sine / 12), -0.5) * CFrame.Angles(Rad(0), Rad(-84), Rad(-84)), 0.3)
- end
- for i = 1,30 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(-25), 0, spino / 2), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(66), Rad(0), Rad(90 + 25)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-66), Rad(0), Rad(90 + 25)), 0.3)
- end
- Debris:AddItem(part, 0.15)
- attack = false
- end
- end
- function dirttoss()
- if orbtype == "grass" then
- attack = true
- for i = 1,19 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, -1.5 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(45), 0, Rad(0)), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(45)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.3)
- end
- local part = Instance.new("Part", char)
- part.CanCollide = false
- part.CFrame = ra.CFrame
- part.Reflectance = 0
- part.Material = "Grass"
- part.BrickColor = BrickColor.new("Brown")
- part.Size = Vector3.new(4, 4, 4)
- local weld = ezweld(char, part, ra, CFrame.new(1.25, part.Size.y / 2, 0))
- part.Touched:connect(function(hit)
- local dud = hit.Parent
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 25
- part:remove()
- end
- end
- end
- end)
- for i = 1,11 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(0), 0, Rad(0)), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(180)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-180)), 0.3)
- end
- for i = 1,11 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(35), 0, Rad(0)), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(-35), 0, Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(35)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(-35)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(140)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-140)), 0.3)
- end
- weld:remove()
- part.CFrame = CFrame.new(ra.Position, mouse.Hit.p)
- local bv = Instance.new("BodyVelocity", part)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = part.CFrame.lookVector * 100
- Debris:AddItem(bv, 0.1)
- Debris:AddItem(part, 20)
- for i = 1,19 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.025 * Cos(sine / 24)) * CFrame.Angles(Rad(35), 0, Rad(0)), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(-35), 0, Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, Rad(35)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, Rad(-35)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(140)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-140)), 0.3)
- end
- attack = false
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- orbtype = "fire"
- end
- if key == "r" then
- orbtype = "water"
- end
- if key == "t" then
- orbtype = "grass"
- end
- if key == "y" then
- orbtype = "earth"
- end
- if key == "v" then
- if orbtype == "fire" then
- fireuppercut()
- elseif orbtype == "water" then
- splashslap()
- elseif orbtype == "grass" then
- growthtrap()
- end
- end
- if key == "b" then
- if orbtype == "fire" then
- triburst()
- elseif orbtype == "water" then
- tidalwaves()
- elseif orbtype == "grass" then
- needleslash()
- end
- end
- if key == "n" then
- if orbtype == "fire" then
- firebreath()
- elseif orbtype == "grass" then
- dirttoss()
- end
- end
- end)
- while true do
- Swait()
- if orbtype == "fire" then
- orb.BrickColor = BrickColor.new("Really red")
- elseif orbtype == "water" then
- orb.BrickColor = BrickColor.new("Bright bluish green")
- elseif orbtype == "grass" then
- orb.BrickColor = BrickColor.new("Lime green")
- elseif orbtype == "earth" then
- orb.BrickColor = BrickColor.new("CGA brown")
- end
- if attack == false then
- clerp(joint, CFrame.new(-2.5, -2 - 0.6 * math.sin(sine / 18), -2), 0.3)
- end
- ofollow.Parent = orb
- ofollow.Position = aimpart.Position
- ofollow.MaxForce = Vector3.new(a, a, a)
- sine = sine + 1
- spino = spino + Rad(45)
- hum.JumpPower = 56
- hum.WalkSpeed = sped
- local TiltVelocity = CFrame.new(root.CFrame:vectorToObjectSpace(root.Velocity/1.6))
- local TORSOVELOCITY = (root.Velocity * VT(1, 0, 1)).magnitude
- local WALKSPEEDVALUE = 7 / (hum.WalkSpeed / 17)
- torsverticalvel = root.Velocity.y
- hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
- if TORSOVELOCITY < 1 and hitfloor ~= nil then
- anim = "Idle"
- if attack == false then
- sped = 10
- dust.Enabled = false
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(-25)), 0.3)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(25)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(0, 0, 0) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(0, 0, 0) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, -0.35 + 0.1 * Cos(sine / 12), -0.35) * CFrame.Angles(Rad(0), Rad(74), Rad(84)), 0.3)
- clerp(LS, LSnor * CFrame.new(-0.5, 0.1 + 0.1 * Cos(sine / 12), -0.5) * CFrame.Angles(Rad(0), Rad(-84), Rad(-84)), 0.3)
- end
- elseif TORSOVELOCITY > 1 and hitfloor ~= nil then
- anim = "Walk"
- if attack == false then
- sped = 32
- dust.Enabled = false
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.05 * Cos(sine / (WALKSPEEDVALUE + 15))) * CFrame.Angles(Rad(15), 0, 0), 0.7)
- clerp(neck, necknor * CFrame.Angles(Rad(-15), 0, 0), 0.7)
- clerp(RH, RHnor * CFrame.new(0.15 * Cos(sine / 6), 0, 0) * CFrame.Angles(0, 0, Rad(75 * Cos(sine / 4))), 0.3)
- clerp(LH, LHnor * CFrame.new(0.15 * Cos(sine / 6), 0, 0) * CFrame.Angles(0, 0, Rad(75 * Cos(sine / 4))), 0.3)
- clerp(RS, RSnor * CFrame.Angles(0, 0, Rad(75 * Cos(sine / 4))), 0.3)
- clerp(LS, LSnor * CFrame.Angles(0, 0, Rad(75 * Cos(sine / 4))), 0.3)
- end
- elseif torsverticalvel > 0.2 and hitfloor == nil then
- anim = "Jump"
- if attack == false then
- sped = 36
- dust.Enabled = false
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.1 * Cos(sine / (WALKSPEEDVALUE + 15))) * CFrame.Angles(Rad(-5), 0, 0), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(-22.5), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(0), Rad(0), Rad(-25)) * CFrame.new(0, -0.1 * Cos(sine / (WALKSPEEDVALUE + 15)), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(0), Rad(0), Rad(0)) * CFrame.new(0, -0.1 * Cos(sine / (WALKSPEEDVALUE + 15)), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-25), 0, Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-25), 0, Rad(0)), 0.3)
- end
- elseif torsverticalvel < 0.2 and hitfloor == nil then
- anim = "Fall"
- if attack == false then
- sped = 36
- dust.Enabled = false
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.1 * Cos(sine / (WALKSPEEDVALUE + 15))) * CFrame.Angles(Rad(10), 0, 0), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(0), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(0), Rad(0), Rad(90)) * CFrame.new(0, -0.1 * Cos(sine / (WALKSPEEDVALUE + 15)), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(0), Rad(0), Rad(-85)) * CFrame.new(0, -0.1 * Cos(sine / (WALKSPEEDVALUE + 15)), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-110), 0, Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-110), 0, Rad(0)), 0.3)
- end
- end
- end
Add Comment
Please, Sign In to add comment