Void_KingYT

Fe BookRide script

Jun 19th, 2022
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.07 KB | None | 0 0
  1. --Made by Armut 7#8860 , Discord link :https://discord.gg/q9e6W3NRSU --
  2.  
  3.  
  4.  
  5. function rmesh(a)
  6. if not (workspace[game.Players.LocalPlayer.Name][a].Handle:FindFirstChild('Mesh') or workspace[game.Players.LocalPlayer.Name][a].Handle:FindFirstChild('SpecialMesh')) then return end
  7. old=game.Players.LocalPlayer.Character
  8. game.Players.LocalPlayer.Character=workspace[game.Players.LocalPlayer.Name]
  9. for i,v in next, workspace[game.Players.LocalPlayer.Name]:FindFirstChild(a).Handle:GetDescendants() do
  10. if v:IsA('Mesh') or v:IsA('SpecialMesh') then
  11. v:Remove()
  12. end
  13. end
  14. for i = 1 , 2 do
  15. game.Players.LocalPlayer.Character=old
  16. end
  17. end
  18.  
  19. HumanDied = false for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do if v:IsA("BasePart") then _G.netless=game:GetService("RunService").Heartbeat:connect(function() v.AssemblyLinearVelocity = Vector3.new(-30,0,0) sethiddenproperty(game.Players.LocalPlayer,"MaximumSimulationRadius",math.huge) sethiddenproperty(game.Players.LocalPlayer,"SimulationRadius",999999999) end) end end local plr = game.Players.LocalPlayer local char = plr.Character local srv = game:GetService('RunService') local ct = {} char.Archivable = true local reanim = char:Clone() reanim.Name = 'Nexo '..plr.Name..'' fl=Instance.new('Folder',char) fl.Name ='Nexo' reanim.Animate.Disabled=true char.HumanoidRootPart:Destroy() char.Humanoid:ChangeState(16) for i,v in next, char.Humanoid:GetPlayingAnimationTracks() do v:Stop() end char.Animate:Remove() function create(part, parent, p, r) Instance.new("Attachment",part) Instance.new("AlignPosition",part) Instance.new("AlignOrientation",part) Instance.new("Attachment",parent) part.Attachment.Name = part.Name parent.Attachment.Name = part.Name part.AlignPosition.Attachment0 = part[part.Name] part.AlignOrientation.Attachment0 = part[part.Name] part.AlignPosition.Attachment1 = parent[part.Name] part.AlignOrientation.Attachment1 = parent[part.Name] parent[part.Name].Position = p or Vector3.new() part[part.Name].Orientation = r or Vector3.new() part.AlignPosition.MaxForce = 999999999 part.AlignPosition.MaxVelocity = math.huge part.AlignPosition.ReactionForceEnabled = false part.AlignPosition.Responsiveness = math.huge part.AlignOrientation.Responsiveness = math.huge part.AlignPosition.RigidityEnabled = false part.AlignOrientation.MaxTorque = 999999999 end for i,v in next, char:GetDescendants() do if v:IsA('Accessory') then v.Handle:BreakJoints() create(v.Handle,reanim[v.Name].Handle) end end char.Torso['Left Shoulder']:Destroy() char.Torso['Right Shoulder']:Destroy() char.Torso['Left Hip']:Destroy() char.Torso['Right Hip']:Destroy() create(char['Torso'],reanim['Torso']) create(char['Left Arm'],reanim['Left Arm']) create(char['Right Arm'],reanim['Right Arm']) create(char['Left Leg'],reanim['Left Leg']) create(char['Right Leg'],reanim['Right Leg']) for i,v in next, reanim:GetDescendants() do if v:IsA('BasePart') or v:IsA('Decal') then v.Transparency = 1 end end reanim.Parent = fl for i,v in next, reanim:GetDescendants() do if v:IsA('BasePart') then table.insert(ct,srv.RenderStepped:Connect(function() v.CanCollide = false end)) end end for i,v in next, char:GetDescendants() do if v:IsA('BasePart') then table.insert(ct,srv.RenderStepped:Connect(function() v.CanCollide = false end)) end end for i,v in next, reanim:GetDescendants() do if v:IsA('BasePart') then table.insert(ct,srv.Stepped:Connect(function() v.CanCollide = false end)) end end for i,v in next, char:GetDescendants() do if v:IsA('BasePart') then table.insert(ct,srv.Stepped:Connect(function() v.CanCollide = false end)) end end table.insert(ct,reanim.Humanoid.Died:Connect(function() plr.Character = char char:BreakJoints() reanim:Destroy() game.Players:Chat('-gr') _G.netless:Disconnect() HumanDied = true for _,v in pairs(ct) do v:Disconnect() end end)) plr.Character = reanim workspace.CurrentCamera.CameraSubject = reanim.Humanoid
  20.  
  21. IT = Instance.new
  22. CF = CFrame.new
  23. VT = Vector3.new
  24. RAD = math.rad
  25. C3 = Color3.new
  26. UD2 = UDim2.new
  27. BRICKC = BrickColor.new
  28. ANGLES = CFrame.Angles
  29. EULER = CFrame.fromEulerAnglesXYZ
  30. COS = math.cos
  31. ACOS = math.acos
  32. SIN = math.sin
  33. ASIN = math.asin
  34. ABS = math.abs
  35. MRANDOM = math.random
  36. FLOOR = math.floor
  37.  
  38. speed = 1
  39. sine = 1
  40. srv = game:GetService('RunService')
  41.  
  42. reanim = game.Players.LocalPlayer.Character
  43.  
  44. function hat(h,p,c1,c0,m)
  45. reanim[h].Handle.AccessoryWeld.Part1=reanim[p]
  46. reanim[h].Handle.AccessoryWeld.C1=c1 or CFrame.new()
  47. reanim[h].Handle.AccessoryWeld.C0=reanim[h].Handle.AccessoryWeld.C0:Lerp(c0 or CFrame.new(),1)
  48. if m == true then
  49. rmesh(h)
  50. end
  51. end
  52.  
  53. m=game.Players.LocalPlayer:GetMouse()
  54. RJ = reanim.HumanoidRootPart.RootJoint
  55. RS = reanim.Torso['Right Shoulder']
  56. LS = reanim.Torso['Left Shoulder']
  57. RH = reanim.Torso['Right Hip']
  58. LH = reanim.Torso['Left Hip']
  59. Root = reanim.HumanoidRootPart
  60. NECK = reanim.Torso.Neck
  61. NECK.C0 = CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  62. NECK.C1 = CF(0,-0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  63. RJ.C1 = CF(0,-1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  64. RJ.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  65. RS.C1 = CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  66. LS.C1 = CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  67. RH.C1 = CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  68. LH.C1 = CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  69. RH.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  70. LH.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  71. RS.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  72. LS.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  73.  
  74. -- for modes u can go in this link : https://Nexo.notxeneon15.repl.co/nexo/modes.lua
  75.  
  76. coroutine.wrap(function()
  77. while true do -- anim changer
  78. if HumanDied then break end
  79. sine = sine + speed
  80. local rlegray = Ray.new(reanim["Right Leg"].Position + Vector3.new(0, 0.5, 0), Vector3.new(0, -2, 0))
  81. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
  82. local llegray = Ray.new(reanim["Left Leg"].Position + Vector3.new(0, 0.5, 0), Vector3.new(0, -2, 0))
  83. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
  84. local rightvector = (Root.Velocity * Root.CFrame.rightVector).X + (Root.Velocity * Root.CFrame.rightVector).Z
  85. local lookvector = (Root.Velocity * Root.CFrame.lookVector).X + (Root.Velocity * Root.CFrame.lookVector).Z
  86. if lookvector > reanim.Humanoid.WalkSpeed then
  87. lookvector = reanim.Humanoid.WalkSpeed
  88. end
  89. if lookvector < -reanim.Humanoid.WalkSpeed then
  90. lookvector = -reanim.Humanoid.WalkSpeed
  91. end
  92. if rightvector > reanim.Humanoid.WalkSpeed then
  93. rightvector = reanim.Humanoid.WalkSpeed
  94. end
  95. if rightvector < -reanim.Humanoid.WalkSpeed then
  96. rightvector = -reanim.Humanoid.WalkSpeed
  97. end
  98. local lookvel = lookvector / reanim.Humanoid.WalkSpeed
  99. local rightvel = rightvector / reanim.Humanoid.WalkSpeed
  100. if reanim.Humanoid.Jump then -- jump
  101. NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  102. RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),2+-1*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  103. RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),0.5+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+-10*math.cos(sine/10)),math.rad(0+-10*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  104. LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),0.5+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(-10+10*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+5*math.cos(sine/10))),.2)
  105. RH.C0=RH.C0:Lerp(CFrame.new(0.5+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(10+0*math.cos(sine/10)),math.rad(10+0*math.cos(sine/10)),math.rad(10+0*math.cos(sine/10))),.2)
  106. LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(-10+0*math.cos(sine/10)),math.rad(-10+0*math.cos(sine/10)),math.rad(-10+0*math.cos(sine/10))),.2)
  107. elseif Root.Velocity.y < -1 and reanim.Humanoid.Jump then -- fall
  108. NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  109. RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),2+-1*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  110. RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),0.5+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+-10*math.cos(sine/10)),math.rad(0+-10*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  111. LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),0.5+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(-10+10*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+5*math.cos(sine/10))),.2)
  112. RH.C0=RH.C0:Lerp(CFrame.new(0.5+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(10+0*math.cos(sine/10)),math.rad(10+0*math.cos(sine/10)),math.rad(10+0*math.cos(sine/10))),.2)
  113. LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(-10+0*math.cos(sine/10)),math.rad(-10+0*math.cos(sine/10)),math.rad(-10+0*math.cos(sine/10))),.2)
  114. elseif Root.Velocity.Magnitude < 2 then -- idle
  115. hat('BookWings','Head',CFrame.new(0,0,0),CFrame.new(0+0*math["cos"](sine/10),0+0*math["cos"](sine/10),-4+-0.3*math["cos"](sine/10))*CFrame.Angles(math.rad(270+0*math["cos"](sine/10)),math.rad(0+0*math["cos"](sine/10)),math.rad(0+0*math["cos"](sine/10))),false)
  116. NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  117. RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),2+-1*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  118. RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),0.5+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+-10*math.cos(sine/10)),math.rad(0+-10*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  119. LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),0.5+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(-10+10*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+5*math.cos(sine/10))),.2)
  120. RH.C0=RH.C0:Lerp(CFrame.new(0.5+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(10+0*math.cos(sine/10)),math.rad(10+0*math.cos(sine/10)),math.rad(10+0*math.cos(sine/10))),.2)
  121. LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(-10+0*math.cos(sine/10)),math.rad(-10+0*math.cos(sine/10)),math.rad(-10+0*math.cos(sine/10))),.2)
  122. elseif Root.Velocity.Magnitude < 20 then -- walk
  123. hat('BookWings','Head',CFrame.new(0,0,0),CFrame.new(0+0*math["cos"](sine/10),0+0*math["cos"](sine/10),-4+-0.3*math["cos"](sine/10))*CFrame.Angles(math.rad(270+0*math["cos"](sine/10)),math.rad(0+0*math["cos"](sine/10)),math.rad(0+0*math["cos"](sine/10))),false)
  124. NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  125. RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),2+-1*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  126. RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),0.5+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(90+-10*math.cos(sine/10)),math.rad(0+-10*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  127. LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),0.5+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(-10+10*math.cos(sine/10)),math.rad(20+0*math.cos(sine/10)),math.rad(0+5*math.cos(sine/10))),.2)
  128. RH.C0=RH.C0:Lerp(CFrame.new(0.5+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(10+0*math.cos(sine/10)),math.rad(10+0*math.cos(sine/10)),math.rad(10+0*math.cos(sine/10))),.2)
  129. LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(-10+0*math.cos(sine/10)),math.rad(-10+0*math.cos(sine/10)),math.rad(-10+0*math.cos(sine/10))),.2)
  130. elseif Root.Velocity.Magnitude > 20 then -- run
  131. hat('BookWings','Head',CFrame.new(0,0,0),CFrame.new(0+0*math["cos"](sine/10),0+0*math["cos"](sine/10),-4+-0.3*math["cos"](sine/10))*CFrame.Angles(math.rad(270+0*math["cos"](sine/10)),math.rad(0+0*math["cos"](sine/10)),math.rad(0+0*math["cos"](sine/10))),false)
  132. NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  133. RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),2+-1*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  134. RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),0.5+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(90+-10*math.cos(sine/10)),math.rad(0+-10*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  135. LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),0.5+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(-10+10*math.cos(sine/10)),math.rad(20+0*math.cos(sine/10)),math.rad(0+5*math.cos(sine/10))),.2)
  136. RH.C0=RH.C0:Lerp(CFrame.new(0.5+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(10+0*math.cos(sine/10)),math.rad(10+0*math.cos(sine/10)),math.rad(10+0*math.cos(sine/10))),.2)
  137. LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(-10+0*math.cos(sine/10)),math.rad(-10+0*math.cos(sine/10)),math.rad(-10+0*math.cos(sine/10))),.2)
  138. end
  139. srv.RenderStepped:Wait()
  140. end
  141. end)()
  142. --Created using Nexo Animator V4
Advertisement
Add Comment
Please, Sign In to add comment