Advertisement
sneakydodge123

flyin

Jul 3rd, 2019
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. 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
  6.  
  7. Nells = game.Players.LocalPlayer
  8. New = function(Object, Parent, Name, Data)
  9.     local Object = Instance.new(Object)
  10.     for Index, Value in pairs(Data or {}) do
  11.         Object[Index] = Value
  12.     end
  13.     Object.Parent = Parent
  14.     Object.Name = Name
  15.     return Object
  16. end
  17.  
  18. local plr = game.Players.LocalPlayer.Character
  19.  
  20. Player = game:service'Players'.localPlayer
  21. chara = Player.Character
  22. Head = chara.Head
  23. Bonniee = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  24. Bonniee.Visible = false
  25. local nel = game.Players.LocalPlayer.Character.Humanoid
  26. nel.MaxHealth = math.huge
  27.  
  28. sndid = "rbxassetid://306209229"
  29. saun = Instance.new("Sound",Head)
  30. saun.Volume = 10
  31. saun.Pitch = 1
  32. saun.SoundId = sndid
  33. saun.Name = "Neo"
  34. saun.Looped = true
  35. saun:Play()
  36.  
  37. For_ClassName=string.reverse"ihS-ihS yB tidE "
  38. Cho_Neos=string.reverse"s1GunKeinnoB"
  39. Then_Mare=string.reverse")drocsiD("
  40. Osakaru=string.reverse")xolboR("
  41.  
  42. local Player = game:GetService("Players").LocalPlayer
  43. repeat wait(1) until Player.Character
  44. local Character = Player.Character
  45. Character.Animate.Disabled = true
  46. local la = Character:FindFirstChild("Left Arm")
  47. local ra = Character:FindFirstChild("Right Arm")
  48. local ll = Character:FindFirstChild("Left Leg")
  49. local rl = Character:FindFirstChild("Right Leg")
  50. local Torso = Character:FindFirstChild("Torso")
  51. local Humanoid = Character:findFirstChild("Humanoid")
  52. local Mouse = Player:GetMouse()
  53. Character.Animate.Disabled = true
  54. Character.Sound:Destroy()
  55. Humanoid.Animator:Destroy()
  56.  
  57. Staff = New("Model",Character,"Staff",{})
  58. Handle = New("Part",Staff,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Cylinder,Size = Vector3.new(4.69999981, 0.200000003, 0.300000042),CFrame = CFrame.new(0.57149899, 1.88927495, -0.898910999, -0.944701791, 0.319970548, -0.0718207732, -0.327606022, -0.930582702, 0.163368165, -0.0145623889, 0.177864254, 0.983946562),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.454902, 0.52549, 0.615686),})
  59. Part1 = New("Part",Staff,"Part1",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.38, 0.200000003, 0.300000042),CFrame = CFrame.new(2.87910843, 2.26322985, -0.792562008, -0.952355325, -0.29641813, -0.0718205795, 0.281945944, -0.945417762, 0.163367048, -0.116327964, 0.135336339, 0.983944893),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.454902, 0.52549, 0.615686),})
  60. mot = New("Motor",Part1,"mot",{Part0 = Part1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.952353716, 0.281943917, -0.116327204, -0.296420157, -0.945419192, 0.135335654, -0.0718207732, 0.163368165, 0.983946562),C1 = CFrame.new(-2.30406189, 0.409280896, -1.1920929e-007, -0.944701791, -0.327606022, -0.0145623889, 0.319970548, -0.930582702, 0.177864254, -0.0718207732, 0.163368165, 0.983946562),})
  61. Part2 = New("Part",Staff,"Part2",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.699999809, 0.200000003, 0.300000042),CFrame = CFrame.new(3.80125666, 2.18647099, -0.712507248, -0.94470191, 0.319973052, -0.0718205795, -0.327603519, -0.930582702, 0.163367048, -0.014562604, 0.177865237, 0.983944893),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.454902, 0.52549, 0.615686),})
  62. mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.944701791, -0.327606022, -0.0145623889, 0.319970548, -0.930582702, 0.177864254, -0.0718207732, 0.163368165, 0.983946562),C1 = CFrame.new(-3.15123606, 0.790008068, 0, -0.944701791, -0.327606022, -0.0145623889, 0.319970548, -0.930582702, 0.177864254, -0.0718207732, 0.163368165, 0.983946562),})
  63. Part3 = New("Part",Staff,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.899999797, 0.200000003, 0.300000042),CFrame = CFrame.new(4.27721882, 2.67641687, -0.759113848, -0.426075667, 0.901833594, -0.0718205795, -0.896977842, -0.41077888, 0.163367048, 0.117829539, 0.134031072, 0.983944893),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.454902, 0.52549, 0.615686),})
  64. mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.426077485, -0.896979511, 0.117828958, 0.901831865, -0.410777032, 0.134030208, -0.0718207732, 0.163368165, 0.983946562),C1 = CFrame.new(-3.76071024, 0.4780761, -4.17232513e-007, -0.944701791, -0.327606022, -0.0145623889, 0.319970548, -0.930582702, 0.177864254, -0.0718207732, 0.163368165, 0.983946562),})
  65. Part4 = New("Part",Staff,"Part4",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.899999797, 0.200000003, 0.300000042),CFrame = CFrame.new(4.18060207, 3.31991601, -0.873009622, 0.663661063, 0.744579256, -0.0718205795, -0.728600919, 0.665168226, 0.163367048, 0.169415876, -0.0560925454, 0.983944893),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.454902, 0.52549, 0.615686),})
  66. mot = New("Motor",Part4,"mot",{Part0 = Part4,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.663658738, -0.728599966, 0.169414878, 0.74458015, 0.665170491, -0.0560923368, -0.0718207732, 0.163368165, 0.983946562),C1 = CFrame.new(-3.87859344, -0.171925187, -8.94069672e-007, -0.944701791, -0.327606022, -0.0145623889, 0.319970548, -0.930582702, 0.177864254, -0.0718207732, 0.163368165, 0.983946562),})
  67. Snowball = New("Part",Staff,"Snowball",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Ball,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(3.51262951, 2.90919495, -0.85357672, 0.319973052, 0.94470191, -0.0718205795, -0.930582702, 0.327603519, 0.163367048, 0.177865237, 0.014562604, 0.983944893),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.686275, 0.866667, 1),})
  68. PointLight = New("PointLight",Snowball,"PointLight",{Color = Color3.new(0.741176, 1, 1),Brightness = 6,Range = 7,Shadows = true,})
  69. mot = New("Motor",Snowball,"mot",{Part0 = Snowball,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.319970548, -0.930582702, 0.177864254, 0.944701791, 0.327606022, 0.0145623889, -0.0718207732, 0.163368165, 0.983946562),C1 = CFrame.new(-3.11328602, 1.10864639e-005, -4.64916229e-006, -0.944701791, -0.327606022, -0.0145623889, 0.319970548, -0.930582702, 0.177864254, -0.0718207732, 0.163368165, 0.983946562),})
  70.  
  71. local LimbAccess = {LA=true,RA=true,LL=true,RL=true,RJ=true,NJ=true,Weapon=true}
  72. local State = "Lounge"
  73. local Active = true
  74. local Mode = "Staff"
  75. function Lerp(a,b,i)  -- A = First pos, B = Second Pos, i = Speed
  76.     return a:lerp(b,i)
  77. end
  78. Left_Arm = Instance.new("Weld",Torso)
  79. Left_Arm.Part0 = Torso
  80. Left_Arm.Part1 = la
  81. Left_Arm.Name = "LeftArmJ"
  82. Left_Arm.C0 = CFrame.new(-1.5,0.5,0)
  83. Left_Arm.C1 = CFrame.new(0,0.5,0)
  84. Right_Arm = Instance.new("Weld",Torso)
  85. Right_Arm.Part0 = Torso
  86. Right_Arm.Part1 = ra
  87. Right_Arm.Name = "RightArmJ"
  88. Right_Arm.C0 = CFrame.new(1.5,0.5,0)
  89. Right_Arm.C1 = CFrame.new(0,0.5,0)
  90. Left_Leg = Instance.new("Weld",Torso)
  91. Left_Leg.Part0 = Torso
  92. Left_Leg.Part1 = ll
  93. Left_Leg.Name = "LeftLegJ"
  94. Left_Leg.C0 = CFrame.new(-0.5,-1,0)
  95. Left_Leg.C1 = CFrame.new(0,1,0)
  96. Right_Leg = Instance.new("Weld",Torso)
  97. Right_Leg.Name = "RightLegJ"
  98. Right_Leg.Part0 = Torso
  99. Right_Leg.Part1 = rl
  100. Right_Leg.C0 = CFrame.new(0.5,-1,0)
  101. Right_Leg.C1 = CFrame.new(0,1,0)
  102. Staffw = Instance.new("Weld",Torso)
  103. Staffw.Part0 = Torso
  104. Staffw.Part1 = Handle
  105. Staffw.Name = "StaffJoint"
  106.  
  107. local RootJoint = Instance.new("Weld",Character["HumanoidRootPart"])
  108. RootJoint.Name = "RootJ"
  109. RootJoint.Part0 = Character["HumanoidRootPart"]
  110. RootJoint.Part1 = Torso
  111.  
  112. local NeckJ = Instance.new("Weld",Torso)
  113. NeckJ.Name = "NeckJ"
  114. NeckJ.Part0 = Torso
  115. NeckJ.Part1 = Character.Head
  116. NeckJ.C1 = CFrame.new(0,-1.5,0)
  117.  
  118. function Change()
  119.    
  120. end
  121. _G.MoveCheck1 = false
  122. _G.SatanState = false
  123.  
  124. function SpellBinder(SpellID)
  125. if _G.MoveCheck1 == false then
  126. _G.MoveCheck1 = true
  127. if _G.SatanState == false then
  128. _G.SatanState = true
  129. warn(For_ClassName.." #4817 "..Then_Mare)
  130. warn(Cho_Neos.."  "..Osakaru)
  131. ID = 357442018
  132. _G.SpellBindStuff = 0
  133. _G.SpellBind = game:GetObjects("rbxassetid://437368177")[1]
  134. _G.SpellBind.Decal.Texture = "rbxassetid://" .. SpellID
  135. _G.SpellBind.Decal1.Texture = "rbxassetid://" .. SpellID
  136. _G.SpellBind.Parent = game.Players.LocalPlayer.Character
  137. _G.SpellBind.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame - game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 35
  138. _G.SpellBind.CFrame = CFrame.new(_G.SpellBind.Position, game.Players.LocalPlayer.Character.Torso.Position)* CFrame.Angles(1.6,0,0)
  139. _G.SpellBind.ParticleEmitter.Color = ColorSequence.new(Color3.new(255,0,0))
  140. _G.SpellBind.ParticleEmitter.Size = NumberSequence.new(5)
  141.  
  142. _G.UnsealEnforca = game:GetService("RunService").RenderStepped:connect(function()
  143.     _G.SpellBind.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 35
  144.     _G.SpellBind.CFrame = CFrame.new(_G.SpellBind.Position, game.Players.LocalPlayer.Character.Torso.Position)* CFrame.Angles(1.6,_G.SpellBindStuff,0)
  145.     _G.SpellBindStuff = _G.SpellBindStuff + 0.012
  146. end)
  147.  
  148. function dmg(hit)
  149.     local h = hit.Parent:FindFirstChild("Humanoid")
  150.     if h ~= nil then
  151.         h.Health = h.Health - math.huge
  152.     end
  153. end
  154. function infect(hit)
  155.     local h = hit.Parent:FindFirstChild("Humanoid")
  156.     if h ~= nil and hit.Parent ~= script.Parent then
  157.         local infection = script:Clone()
  158.         infection.Parent = hit.Parent
  159.     end
  160. end
  161. script.Parent.Torso.Touched:connect(infect)
  162. script.Parent["Left Arm"].Touched:connect(dmg)
  163. script.Parent["Right Arm"].Touched:connect(dmg)
  164. while true do
  165.     wait(.1)
  166.     script.Parent.Humanoid.MaxHealth = math.huge
  167.     script.Parent.Humanoid.WalkSpeed = 35
  168. end
  169.  
  170. for i = 1, 117 do
  171. _G.SpellBind.Size = _G.SpellBind.Size + Vector3.new(0.50,0,0.50)
  172. wait(0.07)
  173. end
  174.  
  175.  
  176. wait(0.1)
  177.  
  178. _G.chatcustom("You shall not pass!", "Really red", game.Players.LocalPlayer)
  179. _G.MoveCheck1 = false
  180. else
  181. _G.MoveCheck1 = true
  182. wait(0.6)
  183.  
  184. for i = 1, 117 do
  185. _G.SpellBind.Size = _G.SpellBind.Size - Vector3.new(0.50,0,0.50)
  186. wait(0.07)
  187. end
  188.  
  189.  
  190. _G.UnsealEnforca:disconnect()
  191. _G.SpellBind.Parent = _G.newParent
  192. wait(0.1)
  193. _G.SatanState = false
  194. _G.MoveCheck1 = false
  195. end
  196. end
  197. end
  198.  
  199.  
  200. _G.ConnectionAgent = Mouse.KeyDown:connect(function(key)
  201.     if key == "q" and State == "Flying" and Active == true then
  202.         State = "Lounge"
  203.         Humanoid.WalkSpeed = 30
  204.     elseif key == "q" and State == "Lounge" and Active == true then
  205.         State = "Battle"
  206.         Humanoid.WalkSpeed = 20
  207.     elseif key == "q" and State == "Battle" and Active == true then
  208.         State = "Flying"
  209.         Humanoid.WalkSpeed = 50
  210.     elseif key == "e" and State == "Battle" and Active == true then
  211.         SpellBinder(375165574)
  212.     elseif key == "e" and Active == true then
  213.     --[[
  214.         Humanoid.WalkSpeed = 0
  215.         State = "Changing"
  216.         Mode = "Changing"
  217.         Active = false
  218.         Change()
  219.     --]]
  220.     end
  221. end)
  222.  
  223. Player.Character.Humanoid.Died:connect(function()
  224. _G.ConnectionAgent:disconnect()
  225. end)
  226.  
  227. angle = 0
  228. angle2 = 0
  229. angle3 = 0
  230. anglespeed = 2
  231. anglespeed2 = 1
  232. anglespeed3 = .4
  233. game:GetService("RunService").Stepped:connect(function()
  234.     angle = ((angle % 100) + anglespeed/10)
  235.     angle2 = ((angle2 % 100) + anglespeed2/10)
  236.     angle3 = ((angle3 % 100) + anglespeed3/10) --it'll go from 0 to 100 and repeat in a loop. basically it will get to its destination and back --ok
  237.     if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Flying" then -- idle
  238.         if not Humanoid.WalkSpeed == 50 then
  239.             Humanoid.WalkSpeed = 50
  240.         end
  241.         if LimbAccess.RJ then
  242.             RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(90),0),.2)
  243.         end
  244.         if LimbAccess.LA then
  245.             Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.2,0.35,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(0)+math.sin(angle3)*.06),.1)
  246.         end
  247.         if LimbAccess.NJ then
  248.             NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(-45)+(math.sin(-angle3)*.04),0),.25)
  249.         end
  250.         if LimbAccess.RA then
  251.             Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-5)+math.sin(angle3)*.06),.1)
  252.         end        
  253.         if LimbAccess.LL then
  254.             Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(35)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
  255.         end
  256.         if LimbAccess.RL then
  257.             Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(45)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
  258.         end
  259.         if LimbAccess.Weapon then
  260.             Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-1,0),.2)
  261.             Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,-.4)*CFrame.Angles(math.rad(180),math.rad(180),0),.2)
  262.         end
  263.     elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Flying" then -- walk
  264.         if LimbAccess.RJ then
  265.             RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(90),0),.2)
  266.         end
  267.         if LimbAccess.LA then
  268.             Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.2,0.35,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(7)+math.sin(angle3)*.06),.1)
  269.         end
  270.         if LimbAccess.NJ then
  271.             NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(-45)+(math.sin(-angle3)*.04),0),.25)
  272.         end
  273.         if LimbAccess.RA then
  274.             Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-5)+math.sin(angle3)*.06),.1)
  275.         end        
  276.         if LimbAccess.LL then
  277.             Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(35)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
  278.         end
  279.         if LimbAccess.RL then
  280.             Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(45)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
  281.         end
  282.         if LimbAccess.Weapon then
  283.             Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-1,0),.2)
  284.             Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,-.4)*CFrame.Angles(math.rad(180),math.rad(180),0),.2)
  285.         end
  286.     end
  287.     if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Lounge" then -- idle
  288.         if not Humanoid.WalkSpeed == 30 then
  289.             Humanoid.WalkSpeed = 30
  290.         end
  291.         if LimbAccess.RJ then
  292.             RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
  293.         end
  294.         if LimbAccess.LA then
  295.             Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-3)+math.sin(angle3)*.06),.1)
  296.         end
  297.         if LimbAccess.NJ then
  298.             NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  299.         end
  300.         if LimbAccess.RA then
  301.             Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(5)+(math.sin(angle3)*.1),math.rad(0),math.rad(3)),.1)
  302.         end
  303.         if LimbAccess.LL then
  304.             Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,-1,0)*CFrame.Angles(0,0,math.rad(-5)+math.sin(angle3)*.02),.1)
  305.         end
  306.         if LimbAccess.RL then
  307.             Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,-1,0)*CFrame.Angles(0,0,math.rad(15)+math.sin(angle3)*-.02),.1)
  308.         end
  309.         if LimbAccess.Weapon then
  310.             Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,0,.5),.2)
  311.             Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(180),math.rad(-45)),.2)
  312.         end
  313.     elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Lounge" then -- walk
  314.         if LimbAccess.RJ then
  315.             RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.2,math.sin(angle2)*.1,0)*CFrame.Angles(0,math.rad(0),0),.2)
  316.         end
  317.         if LimbAccess.LA then
  318.             Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-23)+math.sin(angle3)*.06),.1)
  319.         end
  320.         if LimbAccess.NJ then
  321.             NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  322.         end
  323.         if LimbAccess.RA then
  324.             Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(5)+(math.sin(angle3)*.1),math.rad(0),math.rad(23)),.1)
  325.         end        
  326.         if LimbAccess.LL then
  327.             Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
  328.         end
  329.         if LimbAccess.RL then
  330.             Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
  331.         end
  332.         if LimbAccess.Weapon then
  333.             Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,0,.5),.2)
  334.             Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(180),math.rad(-45)),.2)
  335.         end            
  336.     end
  337.     if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Battle" then -- idle
  338.         if not Humanoid.WalkSpeed == 20 then
  339.             Humanoid.WalkSpeed = 20
  340.         end
  341.         if LimbAccess.RJ then
  342.             RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
  343.         end
  344.         if LimbAccess.LA then
  345.             Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.1,0.5,-.7)*CFrame.Angles(math.rad(5),math.rad(-135),math.rad(-90)),.1)
  346.         end
  347.         if LimbAccess.NJ then
  348.             NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  349.         end
  350.         if LimbAccess.RA then
  351.             Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.1,0.5,-.7)*CFrame.Angles(math.rad(5),math.rad(135),math.rad(90)),.1)
  352.         end
  353.         if LimbAccess.LL then
  354.             Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,-1,0)*CFrame.Angles(0,0,math.rad(-5)+math.sin(angle3)*.02),.1)
  355.         end
  356.         if LimbAccess.RL then
  357.             Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,-1,0)*CFrame.Angles(0,0,math.rad(5)+math.sin(angle3)*-.02),.1)
  358.         end
  359.         if LimbAccess.Weapon then
  360.             Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-.5,-1),.2)
  361.             Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,.6,0)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(-90)),.2)
  362.         end
  363.     elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Battle" then -- walk
  364.         if LimbAccess.RJ then
  365.             RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.2,.5+math.sin(angle2)*.1,0)*CFrame.Angles(0,math.rad(0),0),.2)
  366.         end
  367.         if LimbAccess.LA then
  368.             Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-.9,0.6,-.8)*CFrame.Angles(math.rad(5),math.rad(-135),math.rad(-90)),.1)
  369.         end
  370.         if LimbAccess.NJ then
  371.             NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  372.         end
  373.         if LimbAccess.RA then
  374.             Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.1,0.4,-.3)*CFrame.Angles(math.rad(5),math.rad(135),math.rad(90)),.1)
  375.         end        
  376.         if LimbAccess.LL then
  377.             Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.7,-.2)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
  378.         end
  379.         if LimbAccess.RL then
  380.             Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
  381.         end
  382.         if LimbAccess.Weapon then
  383.             Staffw.C0 = Lerp(Staffw.C0,CFrame.new(.4,.5,-1),.2)
  384.             Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,.1,0)*CFrame.Angles(math.rad(135),math.rad(120),math.rad(-135)),.2)
  385.         end
  386.     end
  387.     if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Changing" then -- idle
  388.         if LimbAccess.RJ then
  389.             RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
  390.         end
  391.         if LimbAccess.LA then
  392.             Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.3,0.51,-.7)*CFrame.Angles(math.rad(5),math.rad(-165),math.rad(-90)),.1)
  393.         end
  394.         if LimbAccess.NJ then
  395.             NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(-10),math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  396.         end
  397.         if LimbAccess.RA then
  398.             Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.3,0.49,-.7)*CFrame.Angles(math.rad(5),math.rad(165),math.rad(90)),.1)
  399.         end
  400.         if LimbAccess.LL then
  401.             Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-1,-1,-.4)*CFrame.Angles(0,math.rad(25),math.rad(75)),.1)
  402.         end
  403.         if LimbAccess.RL then
  404.             Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(1,-1,-.4)*CFrame.Angles(0,math.rad(-25),math.rad(-75)),.1)
  405.         end            
  406.     end
  407. end)
  408.  
  409. Bonniee = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  410. Bonniee.Visible = false
  411. local nel = game.Players.LocalPlayer.Character.Humanoid
  412. nel.MaxHealth = math.huge
  413.  
  414. function dmg(hit)
  415.     local h = hit.Parent:FindFirstChild("Humanoid")
  416.     if h ~= nil then
  417.         h.MaxHealth = 100
  418.         h.Health = h.Health - 1000000
  419.     end
  420. end
  421. function infect(hit)
  422.     local h = hit.Parent:FindFirstChild("Humanoid")
  423.     if h ~= nil and hit.Parent ~= script.Parent then
  424.         local infection = script:Clone()
  425.         infection.Parent = hit.Parent
  426.     end
  427. end
  428. script.Parent.Torso.Touched:connect(infect)
  429. script.Parent["Left Arm"].Touched:connect(dmg)
  430. script.Parent["Right Arm"].Touched:connect(dmg)
  431. while wait() do
  432.   if Head:FindFirstChild("Neo")==nil then
  433. saun = Instance.new("Sound",Head)
  434. saun.Volume = 10
  435. saun.Pitch = 1
  436. saun.SoundId = sndid
  437. saun.Name = "Neo"
  438. saun.Looped = true
  439. saun:Play()
  440.   end
  441. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement