Deyer

Bot Reanimate

Feb 12th, 2023 (edited)
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.39 KB | None | 0 0
  1. function Attachments(P0,P1,POS,ROT)
  2. local AlignPosition = Instance.new("AlignPosition", P0)
  3. local AlignOrientation = Instance.new("AlignOrientation", P0)
  4. local Attachment1 = Instance.new("Attachment", P0)
  5. local Attachment2 = Instance.new("Attachment", P1)
  6. AlignPosition.Attachment0 = Attachment1
  7. AlignOrientation.Attachment0 = Attachment1
  8. AlignPosition.Attachment1 = Attachment2
  9. AlignOrientation.Attachment1 = Attachment2
  10. AlignPosition.Responsiveness = 300
  11. AlignPosition.MaxForce = 5e9
  12. AlignOrientation.MaxTorque = 5e9
  13. AlignOrientation.Responsiveness = 300
  14. AlignOrientation.ReactionTorqueEnabled = false
  15. Attachment1.Position = POS or Vector3.new(0,0,0)
  16. Attachment1.Orientation = ROT or Vector3.new(0,0,0)
  17. end
  18.  
  19. local Character = workspace[game.Players.LocalPlayer.Name]
  20. local OGTorso = Character:FindFirstChild("Torso")
  21. Character.Archivable = true
  22. local CharacterClone = Character:Clone()
  23. CharacterClone.Humanoid.DisplayDistanceType = "None"
  24. CharacterClone.Parent = Character
  25. CharacterClone.Name = "Dummy"
  26. for i, v in pairs(CharacterClone:GetDescendants()) do if v:IsA("BasePart") or v:IsA("Decal") then v.Transparency = 1 end end
  27. _G.Reanimated = true;_G.BotReanimated = true
  28. workspace.Camera.CameraSubject = CharacterClone.Humanoid
  29.  
  30. game.Players.LocalPlayer.Character["Pal Hair"].Handle.Mesh:Destroy()
  31. game.Players.LocalPlayer.Character["Kate Hair"].Handle.Mesh:Destroy()
  32. game.Players.LocalPlayer.Character["Pink Hair"].Handle.Mesh:Destroy()
  33. game.Players.LocalPlayer.Character["LavanderHair"].Handle.Mesh:Destroy()
  34. game.Players.LocalPlayer.Character["Robloxclassicred"].Handle.Mesh:Destroy()
  35. game.Players.LocalPlayer.Character["Hat1"].Handle.Mesh:Destroy()
  36. Character.Archivable = true
  37. local Torso1 = Character["Pal Hair"]
  38. Torso1.Handle.AccessoryWeld:Destroy()
  39. local Torso2 = Character["Robloxclassicred"]
  40. Torso2.Handle.AccessoryWeld:Destroy()
  41. local LeftArm = Character.Hat1
  42. LeftArm.Handle.AccessoryWeld:Destroy()
  43. local RightArm = Character["Kate Hair"]
  44. RightArm.Handle.AccessoryWeld:Destroy()
  45. local LeftLeg = Character["Pink Hair"]
  46. LeftLeg.Handle.AccessoryWeld:Destroy()
  47. local RightLeg = Character.LavanderHair
  48. RightLeg.Handle.AccessoryWeld:Destroy()
  49. local Head = Character.LUAhEAD
  50. Head.Handle.AccessoryWeld:Destroy()
  51.  
  52. Attachments(Torso1.Handle, CharacterClone["Torso"], Vector3.new(0.5, 0, 0), Vector3.new(90, 0, 0))
  53. Attachments(Torso2.Handle, CharacterClone["Torso"], Vector3.new(-0.5, 0, 0), Vector3.new(90, 0, 0))
  54. Attachments(LeftArm.Handle, CharacterClone["Left Arm"], Vector3.new(0, 0, 0), Vector3.new(90, 0, 0))
  55. Attachments(RightArm.Handle, CharacterClone["Right Arm"], Vector3.new(0, 0, 0), Vector3.new(90, 0, 0))
  56. Attachments(LeftLeg.Handle, CharacterClone["Left Leg"], Vector3.new(0, 0, 0), Vector3.new(90, 0, 0))
  57. Attachments(RightLeg.Handle, CharacterClone["Right Leg"], Vector3.new(0, 0, 0), Vector3.new(90, 0, 0))
  58. Attachments(Head.Handle, CharacterClone["Head"], Vector3.new(0, 0, -0.2), Vector3.new(0, 0, 0))
  59. _G.BotReanim = true
  60.  
  61. game:GetService("RunService").RenderStepped:Connect(function()
  62. for i, v in pairs(Character.Humanoid:GetPlayingAnimationTracks()) do
  63. v:Stop()
  64. end
  65. CharacterClone.Humanoid:Move(Character.Humanoid.MoveDirection, false)
  66. end)
  67. game:GetService("UserInputService").JumpRequest:connect(function()
  68. if CharacterClone.Humanoid.FloorMaterial ~= Enum.Material.Air then
  69. CharacterClone.Humanoid.Sit = false
  70. CharacterClone.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  71. end
  72. end)
  73. local Netlessing
  74. local Collision
  75. function NoCollisions()
  76. Character.Humanoid.Died:Connect(function()
  77. _G.Reanimated = false
  78. _G.ScriptRunning = false
  79. workspace:FindFirstChild("Camera").FieldOfView = 70
  80. Netlessing:Disconnect()
  81. _G.BotReanim = false
  82. wait(5.65)
  83. Collision:Disconnect()
  84.  
  85. return end)
  86. for i, v in pairs(Character:GetDescendants()) do
  87. if v:IsA("BasePart") then
  88. v.CanCollide = false
  89. end
  90. end
  91. end
  92. Collision = game:GetService("RunService").Stepped:Connect(NoCollisions)
  93.  
  94. Character.Humanoid.WalkSpeed = 0
  95. Character.Humanoid.JumpPower = 0
  96. Character.HumanoidRootPart:Destroy()
  97. function Netless()
  98. for i,v in next, workspace[game.Players.LocalPlayer.Name]:GetChildren() do
  99. if v:IsA("BasePart") then
  100. v.Velocity = Vector3.new(0,-32.5,0)
  101. elseif v:IsA("Accessory") then
  102. v.Handle.Velocity = Vector3.new(0,-32.5,0)
  103. end
  104. end
  105. end
  106.  
  107. Netlessing = game:GetService("RunService").Heartbeat:Connect(Netless)
Add Comment
Please, Sign In to add comment