Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- 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("FE Compatibility code by Mokiros")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
- ----Made by tyefoodmania
- ----Credits go to moneypro123 aka speedoflightpro123
- ----Noobs
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Mouse = Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local Pause = false
- local attack = false
- local LOL = false
- local Anim = 'Idle'
- local attacktype = 1
- local delays = false
- local play = true
- local targetted = nil
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local doe = 0
- local Create = LoadLibrary("RbxUtility").Create
- for i,v in pairs(Character:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Clothing") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Accoutrement") then
- v:Destroy()
- end
- end
- local Shirt = Instance.new("Shirt",Character)
- local Pants = Instance.new("Pants",Character)
- Head.face.Texture = "rbxassetid://403828505"
- local Hat = Instance.new("Part",Character)
- Hat.Size = Vector3.new(1,1,1)
- Hat.CanCollide = false
- Hat.BrickColor = BrickColor.new("Really black")
- local Hat2 = Instance.new("SpecialMesh",Hat)
- Hat2.MeshId = "rbxassetid://922015392"
- Hat2.TextureId = "rbxassetid://922016290"
- Hat2.Scale = Vector3.new(0.08,0.08,0.08)
- local Hat3 = Instance.new("Weld",Hat)
- Hat3.Part0 = Head
- Hat3.Part1 = Hat
- Hat3.C0 = CFrame.new(-0.1,1,0)*CFrame.Angles(0,0,0.4)
- Shirt.ShirtTemplate = "rbxassetid://578666808"
- Pants.PantsTemplate = "rbxassetid://578667800"
- local M = Instance.new("Sound",Torso)
- M.SoundId = "rbxassetid://538732827"
- M.Looped = true
- M.Volume = 0.5
- M.Pitch = 1
- M:play()
- Humanoid.WalkSpeed = 25
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- ArtificialHB = Create("BindableEvent", script){
- Parent = script,
- Name = "Heartbeat",
- }
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function Hit1()
- if not D then D = true
- Pause = true
- for i = 0,0.5,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0.2) * CFrame.Angles(0, -0.3, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.9,0.5,0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,1),
- CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
- CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
- CFrame.new(-0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.1),
- }, .5, false)
- end
- local Grab = Instance.new("Part",RightArm)
- Grab.Size = Vector3.new(1,1,1)
- Grab.CanCollide = false
- Grab.BrickColor = BrickColor.new("Deep orange")
- Grab.Transparency = math.huge
- local Grabo = Instance.new("Weld",Grab)
- Grabo.Part0 = RightArm
- Grabo.Part1 = Grab
- Grabo.C0 = CFrame.new(0,-1.1,0)
- local RA = Instance.new("Part",RightArm)
- RA.Size = Vector3.new(1.1,2.1,1.1)
- RA.BrickColor = BrickColor.new("New Yeller")
- RA.Material = "Neon"
- RA.Transparency = 0
- local RA2 = Instance.new("Weld",RA)
- RA2.Part0 = RightArm
- RA2.Part1 = RA
- RA2.C0 = CFrame.new(0,0,0)
- local Sou = Instance.new("Sound",Torso)
- Sou.SoundId = "rbxassetid://727821717"
- Sou.Pitch = 1
- Sou.Looped = false
- Sou.Volume = 1
- Sou:play()
- coroutine.resume(coroutine.create(function()
- for i = 1,2 do
- for i = 1,5 do
- RA.Transparency = RA.Transparency + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(0.1)
- for i = 1,5 do
- RA.Transparency = RA.Transparency - 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- game:GetService("RunService").RenderStepped:wait()
- end
- for i = 1,10 do
- RA.Transparency = RA.Transparency + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- RA:remove()
- end))
- local SFXZ = Instance.new("Sound",Torso)
- SFXZ.SoundId = "rbxassetid://169259383"
- SFXZ.Volume = 1
- SFXZ.Pitch = 1.5
- SFXZ.Looped = false
- wait(0.01)
- SFXZ:Play()
- Grab.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
- Grab:remove()
- hit.Parent.Humanoid:TakeDamage(13)
- local SFXZ = Instance.new("Sound",Torso)
- SFXZ.SoundId = "rbxassetid://743886825"
- SFXZ.Volume = 1
- SFXZ.Pitch = 1
- SFXZ.Looped = false
- wait(0.01)
- SFXZ:Play()
- local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
- Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- Fl.velocity = Torso.CFrame.lookVector*33
- wait(0.05)
- Fl:remove()
- end
- end)
- for i = 0,1,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, 0.6, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.2, 0),
- CFrame.new(1.7,0.5,-0.6) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.4),
- CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1.2, 0, 0),
- CFrame.new(0.6,-1.8,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1),
- CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,-0.1),
- }, .5, false)
- end
- Grab:remove()
- Pause = false
- wait(0.2)
- D = false
- end
- end
- function Hit2()
- if not D then D = true
- Pause = true
- for i = 0,0.5,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0.2) * CFrame.Angles(0, 0.3, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0),
- CFrame.new(-1.9,0.5,0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -1),
- CFrame.new(0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1),
- CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
- }, .5, false)
- end
- local Grab = Instance.new("Part",RightArm)
- Grab.Size = Vector3.new(1,1,1)
- Grab.CanCollide = false
- Grab.BrickColor = BrickColor.new("Deep orange")
- Grab.Transparency = math.huge
- local Grabo = Instance.new("Weld",Grab)
- Grabo.Part0 = LeftArm
- Grabo.Part1 = Grab
- Grabo.C0 = CFrame.new(0,-1.1,0)
- local LA = Instance.new("Part",LeftArm)
- LA.Size = Vector3.new(1.1,2.1,1.1)
- LA.BrickColor = BrickColor.new("New Yeller")
- LA.Material = "Neon"
- LA.Transparency = 0
- local LA2 = Instance.new("Weld",LA)
- LA2.Part0 = LeftArm
- LA2.Part1 = LA
- LA2.C0 = CFrame.new(0,0,0)
- local Sou = Instance.new("Sound",Torso)
- Sou.SoundId = "rbxassetid://727821717"
- Sou.Pitch = 1
- Sou.Looped = false
- Sou.Volume = 1
- Sou:play()
- coroutine.resume(coroutine.create(function()
- for i = 1,2 do
- for i = 1,5 do
- LA.Transparency = LA.Transparency + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(0.1)
- for i = 1,5 do
- LA.Transparency = LA.Transparency - 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- game:GetService("RunService").RenderStepped:wait()
- end
- for i = 1,10 do
- LA.Transparency = LA.Transparency + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- LA:remove()
- end))
- local SFXZ = Instance.new("Sound",Torso)
- SFXZ.SoundId = "rbxassetid://169259383"
- SFXZ.Volume = 1
- SFXZ.Pitch = 1.5
- SFXZ.Looped = false
- wait(0.01)
- SFXZ:Play()
- Grab.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
- Grab:remove()
- hit.Parent.Humanoid:TakeDamage(13)
- local SFXZ = Instance.new("Sound",Torso)
- SFXZ.SoundId = "rbxassetid://743886825"
- SFXZ.Volume = 1
- SFXZ.Pitch = 1
- SFXZ.Looped = false
- wait(0.01)
- SFXZ:Play()
- local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
- Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- Fl.velocity = Torso.CFrame.lookVector*33
- wait(0.05)
- Fl:remove()
- end
- end)
- for i = 0,1,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, -0.6, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.2, 0),
- CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2,0,0.4),
- CFrame.new(-1.7,0.5,-0.6) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -0.4),
- CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
- CFrame.new(-0.6,-1.8,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,-0.1),
- }, .5, false)
- end
- Grab:remove()
- Pause = false
- wait(0.2)
- D = false
- end
- end
- function Torn()
- if not D then D = true
- Pause = true
- for i = 0,1.2,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
- CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
- CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .5, false)
- end
- for i = 0,3,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, -0.7, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
- CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
- CFrame.new(0.5,-1.8,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.9, 0, 0),
- CFrame.new(-0.5,-1.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0),
- }, .1, false)
- end
- local RA = Instance.new("Part",RightArm)
- RA.Size = Vector3.new(1.1,2.1,1.1)
- RA.BrickColor = BrickColor.new("New Yeller")
- RA.Material = "Neon"
- RA.Transparency = 0
- local RA2 = Instance.new("Weld",RA)
- RA2.Part0 = RightLeg
- RA2.Part1 = RA
- RA2.C0 = CFrame.new(0,0,0)
- local E = Instance.new("Sound",Torso)
- E.SoundId = "rbxassetid://727821717"
- E.Volume = 112
- E.Pitch = 1
- E.Looped = false
- E:play()
- for i = 1,2 do ----15
- for i = 1,5 do
- RA.Transparency = RA.Transparency + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(0.1)
- for i = 1,5 do
- RA.Transparency = RA.Transparency - 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- for i = 1,10 do
- RA.Transparency = RA.Transparency + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- for i = 0,1.1,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
- CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
- CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .5, false)
- end
- ---
- local To = Instance.new("Part",Torso)
- To.Size = Vector3.new(10,10,10)
- To.BrickColor = BrickColor.new("New Yeller")
- To.Transparency = 0
- To.CanCollide = false
- To.CFrame = Torso.CFrame*CFrame.new(0,0,0)
- coroutine.resume(coroutine.create(function()
- for i = 1,26 do
- local Ef = Instance.new("Part",Torso)
- Ef.Size = Vector3.new(1,1,1)
- Ef.Anchored = true
- Ef.CanCollide = false
- Ef.BrickColor = BrickColor.new("New Yeller")
- Ef.CFrame = To.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
- local Ef2 = Instance.new("SpecialMesh",Ef)
- Ef2.MeshId = "rbxassetid://3270017"
- Ef2.Scale = Vector3.new(1,1,0.01)
- coroutine.resume(coroutine.create(function()
- for i = 1,300 do
- Ef2.Scale = Ef2.Scale + Vector3.new(1,1,0.1)
- Ef.Transparency = Ef.Transparency + 0.005
- game:GetService("RunService").RenderStepped:wait()
- end
- Ef:remove()
- end))
- wait(0.3)
- end
- end))
- To.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
- if not ZC then ZC = true
- hit.Parent.Humanoid:TakeDamage(20)
- local FlyIn = Instance.new("BodyPosition",hit.Parent.Torso)
- FlyIn.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- FlyIn.Position = Torso.Position
- wait(0.3)
- FlyIn:remove()
- ZC = false
- end
- end
- end)
- local To2 = Instance.new("SpecialMesh",To)
- To2.MeshId = "http://www.roblox.com/asset/?id=1051557"
- To2.Scale = Vector3.new(6,6,6)
- local Spa = Instance.new("ParticleEmitter",To)
- Spa.Texture = "rbxassetid://569507414"
- Spa.Size = NumberSequence.new(0.8,0.2)
- Spa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0))
- Spa.Lifetime = NumberRange.new(1,2)
- Spa.Rate = 99
- Spa.Transparency = NumberSequence.new(0.5,0.6)
- Spa.LightEmission = 0.75
- Spa.Speed = NumberRange.new(2)
- Spa.Acceleration = Vector3.new(0, 0, 0)
- Spa.VelocitySpread = 1212
- coroutine.resume(coroutine.create(function()
- for i = 1,300 do
- To.CFrame = Torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1,0)
- To.Transparency = To.Transparency + 0.00009
- To2.Scale = To2.Scale + Vector3.new(0.05,0.05,0.05)
- game:GetService("RunService").RenderStepped:wait()
- end
- To:remove()
- end))
- for i = 1,28 do
- for i = 0,0.1,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
- CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
- CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .5, false)
- end
- for i = 0,0.1,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -3, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
- CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
- CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .5, false)
- end
- for i = 0,0.1,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -4, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
- CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
- CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .5, false)
- end
- for i = 0,0.1,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -5, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
- CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
- CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .5, false)
- end
- game:GetService("RunService").RenderStepped:wait()
- end
- Pause = false
- To:remove()
- ---
- wait(1)
- D = false
- end
- end
- function Zoom()
- if not D then D = true
- Pause = true
- Character.Humanoid.WalkSpeed = 0
- for i = 0,1.2,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.55, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.15, 0),
- CFrame.new(0.45,0.5,-1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(0,-0.5,-1.55),
- CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0),
- CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
- CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
- }, .5, false)
- end
- local RA = Instance.new("Part",RightArm)
- RA.Size = Vector3.new(1.1,2.1,1.1)
- RA.BrickColor = BrickColor.new("New Yeller")
- RA.Material = "Neon"
- RA.Transparency = 0
- local RA2 = Instance.new("Weld",RA)
- RA2.Part0 = RightArm
- RA2.Part1 = RA
- RA2.C0 = CFrame.new(0,0,0)
- local E = Instance.new("Sound",Torso)
- E.SoundId = "rbxassetid://727821717"
- E.Volume = 112
- E.Pitch = 1
- E.Looped = false
- E:play()
- for i = 1,2 do ----15
- for i = 1,5 do
- RA.Transparency = RA.Transparency + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(0.1)
- for i = 1,5 do
- RA.Transparency = RA.Transparency - 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- for i = 1,10 do
- RA.Transparency = RA.Transparency + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- RightArm.Transparency = 1
- local owo = Instance.new("Model",Torso)
- Instance.new("Humanoid",owo)
- Shirt:Clone().Parent = owo
- local R = Instance.new("Part",owo)
- R.Size = Vector3.new(1,2,1)
- R.TopSurface = 0
- R.BottomSurface = 0
- R.Name = 'Right Arm'
- R.BrickColor = RightArm.BrickColor
- R.CanCollide = false
- R.Anchored = true
- R.CFrame = RightArm.CFrame*CFrame.new(0,0,0)
- R.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
- if not ZZ then ZZ = true
- hit.Parent.Humanoid:TakeDamage(40)
- hit.Parent.Humanoid.Sit = true
- local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
- Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- Fl.velocity = RootPart.CFrame.lookVector*130
- wait(0.1)
- Fl:remove()
- wait(0.00001)
- ZZ = false
- end
- end
- end)
- coroutine.resume(coroutine.create(function()
- for i = 1,20 do
- R.Size = R.Size + Vector3.new(0,0.8,0)
- R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.5,0)
- game:GetService("RunService").RenderStepped:wait()
- end
- end))
- for i = 0,1,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.5, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.2, 0),
- CFrame.new(1.95,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
- CFrame.new(-1.5,0,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.7, 0, 0),
- CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
- CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1)
- }, .5, false)
- end
- wait(1)
- for i = 1,20 do
- R.Size = R.Size - Vector3.new(0,0.8,0)
- R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.75,0)
- game:GetService("RunService").RenderStepped:wait()
- end
- RightArm.Transparency = 0
- R:remove()
- Pause = false
- Character.Humanoid.WalkSpeed = 25
- wait(1)
- D = false
- end
- end
- function Baby()
- if not D then D = true
- Pause = true
- for i = 0,1.2,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.5,1,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(2.8,0,0),
- CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
- CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
- CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
- }, .5, false)
- end
- wait(0.5)
- local Ba = Instance.new("Sound",Torso)
- Ba.SoundId = "rbxassetid://1037853116"
- Ba.Volume = math.huge
- Ba.Pitch = 1
- Ba.Looped = false
- Ba:play()
- for i = 0,1.2,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.5,1,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(2.4,0,0),
- CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
- CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
- CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
- }, .5, false)
- end
- wait(0.8)
- Pause = false
- wait(0.5)
- D = false
- end
- end
- function Breathe()
- if not DZ then DZ = true
- Pause = true
- Character.Humanoid.WalkSpeed = 0
- for i = 0,3,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0.01,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.1, 0, 0),
- CFrame.new(1.5,0,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,0),
- CFrame.new(-1.5,0,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0),
- CFrame.new(0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1),
- CFrame.new(-0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.1),
- }, .5, false)
- end
- local P = Instance.new("Part",Character)
- P.Size = Vector3.new(0.1,0.1,0.1)
- P.Anchored = true
- P.Transparency = math.huge
- P.CanCollide = false
- P.CFrame = Head.CFrame*CFrame.new(0,-0.1,-1.9)
- local FlA = Instance.new("ParticleEmitter",P)
- FlA.Texture = "rbxassetid://833874434"
- FlA.Size = NumberSequence.new(0.7,0.1)
- FlA.EmissionDirection = "Back"
- FlA.Rotation = NumberRange.new(-100, 100)
- FlA.RotSpeed = NumberRange.new(-100, 100)
- FlA.Transparency = NumberSequence.new(0,1)
- FlA.Drag = 4
- FlA.Lifetime = NumberRange.new(0.5)
- FlA.Rate = 1111
- wait(2)
- FlA.Enabled = false
- wait(1)
- P:remove()
- for i = 0,3,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0.01,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0),
- CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3,0,0),
- CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0),
- CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
- CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
- }, .5, false)
- end
- local RA = Instance.new("Part",RightArm)
- RA.Size = Vector3.new(1.1,2.1,1.1)
- RA.BrickColor = BrickColor.new("New Yeller")
- RA.Material = "Neon"
- RA.Transparency = 0
- local RA2 = Instance.new("Weld",RA)
- RA2.Part0 = RightArm
- RA2.Part1 = RA
- RA2.C0 = CFrame.new(0,0,0)
- local LA = Instance.new("Part",LeftArm)
- LA.Size = Vector3.new(1.1,2.1,1.1)
- LA.BrickColor = BrickColor.new("New Yeller")
- LA.Material = "Neon"
- LA.Transparency = 0
- local LA2 = Instance.new("Weld",LA)
- LA2.Part0 = LeftArm
- LA2.Part1 = LA
- LA2.C0 = CFrame.new(0,0,0)
- local AZZ = Instance.new("ParticleEmitter",LA)
- AZZ.Texture = "rbxassetid://998225956"
- AZZ.EmissionDirection = "Top"
- AZZ.Rotation = NumberRange.new(-100, 100)
- AZZ.Size = NumberSequence.new(1)
- AZZ.Lifetime = NumberRange.new(0.8,1)
- AZZ.Rate = 50
- AZZ.Speed = NumberRange.new(0.3)
- AZZ.LightEmission = 1
- AZZ.VelocitySpread = 100
- local LAZZ = Instance.new("ParticleEmitter",RA)
- LAZZ.Texture = "rbxassetid://998225956"
- LAZZ.EmissionDirection = "Top"
- LAZZ.Rotation = NumberRange.new(-100, 100)
- LAZZ.Size = NumberSequence.new(1)
- LAZZ.Lifetime = NumberRange.new(0.8,1)
- LAZZ.Rate = 50
- LAZZ.Speed = NumberRange.new(0.3)
- LAZZ.LightEmission = 1
- LAZZ.VelocitySpread = 100
- local Spa = Instance.new("ParticleEmitter",RA)
- Spa.Texture = "rbxassetid://569507414"
- Spa.Size = NumberSequence.new(0.8,0.2)
- Spa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0))
- Spa.Lifetime = NumberRange.new(1,2)
- Spa.Rate = 99
- Spa.Transparency = NumberSequence.new(0.5,0.6)
- Spa.LightEmission = 0.75
- Spa.Speed = NumberRange.new(2)
- Spa.Acceleration = Vector3.new(0, 0, 0)
- Spa.VelocitySpread = 1212
- local Rpa = Instance.new("ParticleEmitter",LA)
- Rpa.Texture = "rbxassetid://569507414"
- Rpa.Size = NumberSequence.new(0.8,0.2)
- Rpa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0))
- Rpa.EmissionDirection = "Top"
- Rpa.Lifetime = NumberRange.new(1,2)
- Rpa.Rate = 99
- Rpa.Transparency = NumberSequence.new(0.5,0.6)
- Rpa.LightEmission = 0.75
- Rpa.Speed = NumberRange.new(2)
- Rpa.Acceleration = Vector3.new(0, 0, 0)
- Rpa.VelocitySpread = 1212
- for i = 1,5 do ----15
- local E = Instance.new("Sound",Torso)
- E.SoundId = "rbxassetid://186130717"
- E.Volume = 1
- E.Pitch = 1
- E.Looped = false
- local E1 = Instance.new("Sound",Torso)
- E1.SoundId = "rbxassetid://727821717"
- E1.Volume = 0.1
- E1.Pitch = 1
- E1.Looped = false
- E1:play()
- E:play()
- for i = 1,5 do
- RA.Transparency = RA.Transparency + 0.1
- LA.Transparency = LA.Transparency + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(0.1)
- for i = 1,5 do
- RA.Transparency = RA.Transparency - 0.1
- LA.Transparency = LA.Transparency - 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(0.1)
- for i = 1,9 do
- RA.Transparency = RA.Transparency + 0.1
- LA.Transparency = LA.Transparency + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- wait(0.1)
- for i = 1,9 do
- RA.Transparency = RA.Transparency - 0.1
- LA.Transparency = LA.Transparency - 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- game:GetService("RunService").RenderStepped:wait()
- end
- Rpa.Enabled = false
- Spa.Enabled = false
- LAZZ.Enabled = false
- AZZ.Enabled = false
- local FlA = Instance.new("ParticleEmitter",LeftArm)
- FlA.Texture = "rbxassetid://313742348"
- FlA.Size = NumberSequence.new(0.7)
- FlA.Transparency = NumberSequence.new(0)
- FlA.Lifetime = NumberRange.new(0.4)
- FlA.Rate = 20
- FlA.Rotation = NumberRange.new(-100, 100)
- FlA.Speed = NumberRange.new(0)
- FlA.LockedToPart = true
- local LP = Instance.new("ParticleEmitter",LeftArm)
- LP.Texture = "rbxassetid://1298571523"
- LP.Transparency = NumberSequence.new(0,1)
- LP.Size = NumberSequence.new(0.06)
- LP.Color = ColorSequence.new(Color3.fromRGB(255,255,0))
- LP.Lifetime = NumberRange.new(1.5)
- LP.Rate = 4000
- LP.ZOffset = 1
- LP.VelocitySpread = 35
- LP.Speed = NumberRange.new(0.3)
- LP.LightEmission = 1
- LP.LightInfluence = 1
- LP.LockedToPart = true
- local ZXA = Instance.new("ParticleEmitter",RightArm)
- ZXA.Texture = "rbxassetid://313742348"
- ZXA.Size = NumberSequence.new(0.7)
- ZXA.Transparency = NumberSequence.new(0)
- ZXA.Lifetime = NumberRange.new(0.4)
- ZXA.Rate = 20
- ZXA.Rotation = NumberRange.new(-100, 100)
- ZXA.Speed = NumberRange.new(0)
- ZXA.LockedToPart = true
- local LLP = Instance.new("ParticleEmitter",RightArm)
- LLP.Texture = "rbxassetid://1298571523"
- LLP.Transparency = NumberSequence.new(0,1)
- LLP.Size = NumberSequence.new(0.06)
- LLP.Color = ColorSequence.new(Color3.fromRGB(255,255,0))
- LLP.Lifetime = NumberRange.new(1.5)
- LLP.Rate = 4000
- LLP.ZOffset = 1
- LLP.VelocitySpread = 35
- LLP.Speed = NumberRange.new(0.3)
- LLP.LightEmission = 1
- LLP.LightInfluence = 1
- LLP.LockedToPart = true
- Character.Humanoid.WalkSpeed = 25
- wait(1)
- Pause = false
- for i = 1,11 do
- RA.Transparency = RA.Transparency + 0.1
- LA.Transparency = LA.Transparency + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- LA:remove()
- RA:remove()
- Humanoid.MaxHealth = 400
- wait(0.01)
- Humanoid.Health = 500
- Mouse.KeyDown:connect(function(key)
- if key == "e" then
- Zoom()
- end
- if key == "r" then
- Torn()
- end
- end)
- Mouse.Button1Down:connect(function()
- if attack == false and attacktype == 1 then
- Hit1()
- attacktype = 2
- elseif attack == false and attacktype == 2 then
- Hit2()
- attacktype = 1
- end
- end)
- wait(12412412)
- DZ = false
- end
- end
- Mouse.KeyDown:connect(function(key)
- if key == "m" then
- Baby()
- end
- if key == "z" then
- Breathe()
- end
- end)
- New = function(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
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- coroutine.wrap(function()
- while 1 do
- swait()
- if doe <= 360 then
- doe = doe + 2
- else
- doe = 0
- end
- end
- end)()
- while true do
- swait()
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "SmoothPlastic"
- elseif v:IsA("Accessory") then
- v:WaitForChild("Handle").Material = "SmoothPlastic"
- end
- end
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if Pause == false then
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if Pause == false then
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if Pause == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0-.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0-.08*math.sin(tick()*2),0,0)*CFrame.Angles(-0.2, 0, 0),
- CFrame.new(1.1,1,-0.8) * CFrame.new(0, 0-.08*math.sin(tick()*2), 0) * CFrame.Angles(3.1,0,-0.4),
- CFrame.new(-1.5,0,0) * CFrame.new(0, 0-.08*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.6,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0.1),
- CFrame.new(-0.6,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, -0.1),
- }, .3, false)
- end
- elseif Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if Pause == false then
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0,0,0)*CFrame.Angles(-0.3,0-.1*math.sin(tick()*9),0+RootPart.RotVelocity.Y/29),
- CFrame.new(0,1.5,0) * CFrame.new(0,0,0) * CFrame.Angles(0,0,0)*CFrame.Angles(-0.3, 0, 0),
- CFrame.new(1.1,1,-0.8) * CFrame.new(0,0,0) * CFrame.Angles(3.1,0,-0.4),
- CFrame.new(-1.5,0,0) * CFrame.new(0,0,0+.5 * math.cos((sine) / 3.5))*CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 3.5)),0,0),
- CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 3.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 3.5)), 0, 0-RootPart.RotVelocity.Y/33),
- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 3.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 3.5)), 0, 0-RootPart.RotVelocity.Y/33),
- }, .3, false)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement