Advertisement
ForkFullFight

Untitled

Oct 6th, 2023 (edited)
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if workspace[game.Players.LocalPlayer.Name]:FindFirstChild("Raw") then
  2. game:GetService("StarterGui"):SetCore("SendNotification", {
  3. Title = "already reanimated",
  4. Text = ""
  5. })
  6. return
  7. end
  8. game.Players.LocalPlayer["Character"]:FindFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
  9. spawn(function()
  10. game.Players.LocalPlayer["Character"] = nil
  11. game.Players.LocalPlayer["Character"] = workspace[game.Players.LocalPlayer.Name]
  12. end)
  13. wait(game.Players.RespawnTime + 0.7)
  14. game.Players.LocalPlayer["Character"]:FindFirstChildOfClass("Humanoid").Health = 0
  15. game.Players.LocalPlayer["Character"]:FindFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
  16.  
  17. workspace[game.Players.LocalPlayer.Name].Archivable = true
  18. local cln = workspace[game.Players.LocalPlayer.Name]:Clone()
  19. cln.Name = "Raw"; cln.Parent = workspace[game.Players.LocalPlayer.Name]
  20. workspace[game.Players.LocalPlayer.Name].Animate.Disabled = true
  21. for i,v in pairs(cln:GetDescendants()) do
  22. if v:IsA("BasePart") then v.Transparency = 1 end
  23. end
  24. cln.Head.face.Transparency = 1
  25. _G.reanim = game:GetService("RunService").Stepped:Connect(function()
  26. if workspace[game.Players.LocalPlayer.Name]:FindFirstChildOfClass("Humanoid").Jump == true then
  27. cln:FindFirstChildOfClass("Humanoid").Jump = true
  28. cln:FindFirstChildOfClass("Humanoid").Sit = false
  29. end
  30. for i,v in pairs(workspace[game.Players.LocalPlayer.Name]:FindFirstChildOfClass("Humanoid"):GetPlayingAnimationTracks()) do
  31. v:Stop()
  32. end
  33. for i,v in pairs(workspace[game.Players.LocalPlayer.Name]:GetDescendants()) do
  34. if v:IsA("BasePart") then v.CanCollide = false end
  35. end
  36. cln:FindFirstChildOfClass("Humanoid"):Move(workspace[game.Players.LocalPlayer.Name]:FindFirstChildOfClass("Humanoid").MoveDirection,false)
  37. end)
  38. for i,v in pairs(workspace[game.Players.LocalPlayer.Name].Torso:GetChildren()) do
  39. if v:IsA("Motor6D") then v:Destroy() end
  40. end
  41. for i,v in pairs(workspace[game.Players.LocalPlayer.Name]:GetChildren()) do
  42. if v:IsA("Accessory") then v.Handle:BreakJoints() end
  43. end
  44. _G.reanim2 = game:GetService("RunService").Heartbeat:Connect(function()
  45. for i,v in pairs(workspace[game.Players.LocalPlayer.Name]:GetChildren()) do
  46. if v:IsA("BasePart") then v.Velocity = Vector3.new(0,30,0) + cln:FindFirstChild("Torso").CFrame.LookVector * 10
  47. elseif v:IsA("Accessory") then v.Handle.Velocity = Vector3.new(0,30,0) + cln:FindFirstChild("Torso").CFrame.LookVector * 10 end
  48.  
  49. if v:IsA("Accessory") then
  50. v.Handle.CFrame = cln[v.Name].Handle.CFrame
  51. end
  52. end
  53. workspace[game.Players.LocalPlayer.Name].Torso.CFrame = cln.Torso.CFrame
  54. workspace[game.Players.LocalPlayer.Name].Head.CFrame = cln.Head.CFrame
  55. workspace[game.Players.LocalPlayer.Name]["Right Arm"].CFrame = cln["Right Arm"].CFrame
  56. workspace[game.Players.LocalPlayer.Name]["Left Arm"].CFrame = cln["Left Arm"].CFrame
  57. workspace[game.Players.LocalPlayer.Name]["Right Leg"].CFrame = cln["Right Leg"].CFrame
  58. workspace[game.Players.LocalPlayer.Name]["Left Leg"].CFrame = cln["Left Leg"].CFrame
  59. end)
  60. local resetbind = Instance.new("BindableEvent", workspace[game.Players.LocalPlayer.Name])
  61. resetbind.Event:Connect(function()
  62. game.Players.LocalPlayer.Character = cln
  63. game.Players.LocalPlayer.Character:Destroy()
  64. game.Players.LocalPlayer.Character = workspace[game.Players.LocalPlayer.Name]
  65. _G.reanim2:Disconnect()
  66. _G.reanim:Disconnect()
  67. resetbind:Destroy()
  68. task.wait()
  69. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  70. end)
  71. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetbind)
  72. workspace:FindFirstChildOfClass("Camera").CameraSubject = cln:FindFirstChildOfClass("Humanoid")
  73. game:GetService("StarterGui"):SetCore("SendNotification", {
  74. Title = "Reanimated",
  75. Text = "ok"
  76. })
  77.  
  78. if not getgenv()["Animator"] then
  79. loadstring(game:HttpGet("https://raw.githubusercontent.com/xhayper/Animator/main/Source/Main.lua"))()
  80. end
  81.  
  82. local Player = game:GetService("Players").LocalPlayer
  83.  
  84. local Anim = Animator.new(Player.Character, 7254061817)
  85. Anim:Play()
  86. Anim.Stopped:Wait()
  87. print("Done!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement