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,game,owner = owner,game
- local RealPlayer = Player
- do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.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