Advertisement
ZacBozer

ReAnimation

Apr 21st, 2020
8,584
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.64 KB | None | 0 0
  1. local NetworkAccess = coroutine.create(function()
  2. settings().Physics.AllowSleep = false
  3. while true do game:GetService("RunService").RenderStepped:Wait()
  4. local TBL = game:GetService("Players"):GetChildren()
  5. for _ = 1,#TBL do local Players = TBL[_]
  6. if Players ~= game:GetService("Players").LocalPlayer then
  7. Players.MaximumSimulationRadius = 0.1 Players.SimulationRadius = 0 end end
  8. game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
  9. game:GetService("Players").LocalPlayer.SimulationRadius = math.huge*math.huge end end)
  10. coroutine.resume(NetworkAccess) local TService = game:GetService("TweenService")
  11.  
  12. local IntroBlur = Instance.new("BlurEffect", game.Lighting) IntroBlur.Size = 0
  13. local Goal = {} Goal.Size = 56 local Tween = TService:Create(IntroBlur,TweenInfo.new(3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),Goal) Tween:Play()
  14.  
  15. workspace.Camera.CameraType = "Fixed"
  16. game:GetService("Players").LocalPlayer["Character"].Archivable = true local CloneChar = game:GetService("Players").LocalPlayer["Character"]:Clone()
  17. game:GetService("Players").LocalPlayer["Character"].Humanoid.WalkSpeed = 0 game:GetService("Players").LocalPlayer["Character"].Humanoid.JumpPower = 0 game:GetService("Players").LocalPlayer["Character"].Humanoid.AutoRotate = false
  18. GUI=Instance.new("ScreenGui",game.CoreGui)MainFrame=Instance.new("Frame",GUI)MainFrame.Name="MainFrame"MainFrame.BackgroundColor3=Color3.fromRGB(45,45,45)MainFrame.BorderSizePixel=0;MainFrame.Position=UDim2.new(0.5,-175,0,50)MainFrame.Size=UDim2.new(0,0,0,80)TextLabel=Instance.new("TextLabel",MainFrame)TextLabel.Name="TextLabel"TextLabel.BackgroundTransparency=1;TextLabel.Position=UDim2.new(0,0,0.5,-15)TextLabel.Size=UDim2.new(1,0,0,30)TextLabel.Font=Enum.Font.SourceSansLight;TextLabel.Text=""TextLabel.TextColor3=Color3.fromRGB(236,240,241)TextLabel.TextScaled=true;TextBar=Instance.new("Frame",MainFrame)TextBar.Name="Bar"TextBar.BackgroundColor3=Color3.fromRGB(45,45,45)TextBar.BorderSizePixel=0;TextBar.Position=UDim2.new(0,0,1,0)TextBar.Size=UDim2.new(1,0,0,0)TextBar.BackgroundColor3=Color3.fromRGB(0,255,255)MainFrame:TweenSize(UDim2.new(0,350,0,80),"Out","Sine",0.5)wait(1)TextBar:TweenSizeAndPosition(UDim2.new(1,0,0,5),UDim2.new(0,0,1,-5),"Out","Sine",0.1)local a="  Reanimation Script by Riptxde / R_ainCloud  "local b=string.len(a)for c=1,b do TextLabel.Text=string.sub(a,1,c)wait(0.01)end;game:GetService("RunService").Heartbeat:Wait()
  19. local FalseChar = Instance.new("Model", workspace); FalseChar.Name = ""
  20. Instance.new("Part",FalseChar).Name = "Head" Instance.new("Part",FalseChar).Name = "Torso" Instance.new("Humanoid",FalseChar).Name = "Humanoid"
  21. game:GetService("Players").LocalPlayer["Character"] = FalseChar
  22. game:GetService("Players").LocalPlayer["Character"].Humanoid.Name = "FalseHumanoid"
  23. local Clone = game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Clone()
  24. Clone.Parent = game:GetService("Players").LocalPlayer["Character"]
  25. Clone.Name = "Humanoid"
  26. game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Destroy() wait(5.65)
  27. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0 game:GetService("Players").LocalPlayer["Character"] = workspace[game:GetService("Players").LocalPlayer.Name] local Goal = {} Goal.Size = 0 local Tween = TService:Create(IntroBlur,TweenInfo.new(7,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),Goal) Tween:Play() wait(5.65) game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  28. local Character = game:GetService("Players").LocalPlayer["Character"]
  29. CloneChar.Parent = workspace CloneChar.HumanoidRootPart.CFrame = Character.HumanoidRootPart.CFrame * CFrame.new(0,0,-10)
  30. wait() CloneChar.Humanoid.BreakJointsOnDeath = false
  31. workspace.Camera.CameraSubject = CloneChar.Humanoid CloneChar.Name = "CloneCharacter" CloneChar.Humanoid.DisplayDistanceType = "None"
  32. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  33.  
  34. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  35. game:GetService("RunService").Heartbeat:Connect(function()
  36. local lookVec = workspace.Camera.CFrame.lookVector
  37. local Root = CloneChar["HumanoidRootPart"]
  38. LVecPart.Position = Root.Position
  39. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  40. end)
  41.  
  42. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  43. game:GetService("UserInputService").InputBegan:Connect(function(_,Processed) if Processed ~= true then
  44. local Key = _.KeyCode
  45. if Key == Enum.KeyCode.W then
  46. WDown = true end
  47. if Key == Enum.KeyCode.A then
  48. ADown = true end
  49. if Key == Enum.KeyCode.S then
  50. SDown = true end
  51. if Key == Enum.KeyCode.D then
  52. DDown = true end
  53. if Key == Enum.KeyCode.Space then
  54. SpaceDown = true end end end)
  55.  
  56. game:GetService("UserInputService").InputEnded:Connect(function(_)
  57. local Key = _.KeyCode
  58. if Key == Enum.KeyCode.W then
  59. WDown = false end
  60. if Key == Enum.KeyCode.A then
  61. ADown = false end
  62. if Key == Enum.KeyCode.S then
  63. SDown = false end
  64. if Key == Enum.KeyCode.D then
  65. DDown = false end
  66. if Key == Enum.KeyCode.Space then
  67. SpaceDown = false end end)
  68.  
  69. local function MoveClone(X,Y,Z)
  70. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  71. workspace["CloneCharacter"].Humanoid.WalkToPoint = LVecPart.Position
  72. end
  73.  
  74. local WalkLoop = coroutine.create(function() while true do game:GetService("RunService").RenderStepped:Wait()
  75. if WDown then MoveClone(0,0,1e4) end
  76. if ADown then MoveClone(1e4,0,0) end
  77. if SDown then MoveClone(0,0,-1e4) end
  78. if DDown then MoveClone(-1e4,0,0) end
  79. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  80. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  81. workspace["CloneCharacter"].Humanoid.WalkToPoint = workspace["CloneCharacter"].HumanoidRootPart.Position end
  82. end end)
  83. coroutine.resume(WalkLoop)
  84.  
  85. game:GetService("RunService").Stepped:Connect(function()
  86. for _,Parts in next, CloneChar:GetDescendants() do
  87. if Parts:IsA("BasePart") then
  88. Parts.CanCollide = false end end
  89. for _,Parts in next, DeadChar:GetDescendants() do
  90. if Parts:IsA("BasePart") then
  91. Parts.CanCollide = false
  92. end end end)
  93.  
  94. local Amount = 6 --/* Riptxde's AlignForce Template
  95. local ApplyAtCenterOfMass = true
  96. local Char = CloneChar
  97. local A = Instance.new("Folder", game) A.Name = "AlignFolder"
  98. local B = Instance.new("Part", A) B.Name = "SPart"
  99. for _ = 1,Amount do
  100. local AP = Instance.new("AlignPosition", A) AP.Name = "APos".._
  101. if ApplyAtCenterOfMass then AP.ApplyAtCenterOfMass = true end
  102. AP.RigidityEnabled = false
  103. AP.ReactionForceEnabled = false
  104. AP.ApplyAtCenterOfMass = true
  105. AP.MaxForce = 67752
  106. AP.MaxVelocity = math.huge/9e110
  107. AP.Responsiveness = 200
  108. local Att0Pos = Instance.new("Attachment", B)
  109. AP.Attachment0 = Att0Pos Att0Pos.Name = "Att0Pos".._
  110. local Att1Pos = Instance.new("Attachment", B)
  111. AP.Attachment1 = Att1Pos Att1Pos.Name = "Att1Pos".._
  112. local AO = Instance.new("AlignOrientation", A) AO.Name = "ARot".._
  113. AO.RigidityEnabled = false
  114. AO.ReactionTorqueEnabled = true
  115. AO.PrimaryAxisOnly = false
  116. AO.MaxTorque = 67752
  117. AO.MaxAngularVelocity = math.huge/9e110
  118. AO.Responsiveness = 200
  119. local Att0Rot = Instance.new("Attachment", B)
  120. AO.Attachment0 = Att0Rot Att0Rot.Name = "Att0Rot".._
  121. local Att1Rot = Instance.new("Attachment", B)
  122. AO.Attachment1 = Att1Rot Att1Rot.Name = "Att1Rot".._ end
  123.  
  124. B.Att1Pos1.Parent = CloneChar["Head"] B.Att1Rot1.Parent = CloneChar["Head"]
  125. B.Att1Pos2.Parent = CloneChar["Torso"] B.Att1Rot2.Parent = CloneChar["Torso"]
  126. B.Att1Pos3.Parent = CloneChar["Left Arm"] B.Att1Rot3.Parent = CloneChar["Left Arm"]
  127. B.Att1Pos4.Parent = CloneChar["Right Arm"] B.Att1Rot4.Parent = CloneChar["Right Arm"]
  128. B.Att1Pos5.Parent = CloneChar["Left Leg"] B.Att1Rot5.Parent = CloneChar["Left Leg"]
  129. B.Att1Pos6.Parent = CloneChar["Right Leg"] B.Att1Rot6.Parent = CloneChar["Right Leg"]
  130.  
  131. B.Att0Pos1.Parent = DeadChar["Head"] B.Att0Rot1.Parent = DeadChar["Head"]
  132. B.Att0Pos2.Parent = DeadChar["Torso"] B.Att0Rot2.Parent = DeadChar["Torso"]
  133. B.Att0Pos3.Parent = DeadChar["Left Arm"] B.Att0Rot3.Parent = DeadChar["Left Arm"]
  134. B.Att0Pos4.Parent = DeadChar["Right Arm"] B.Att0Rot4.Parent = DeadChar["Right Arm"]
  135. B.Att0Pos5.Parent = DeadChar["Left Leg"] B.Att0Rot5.Parent = DeadChar["Left Leg"]
  136. B.Att0Pos6.Parent = DeadChar["Right Leg"] B.Att0Rot6.Parent = DeadChar["Right Leg"]
  137.  
  138. local Num = 1
  139. for _,Hats in next, DeadChar:GetChildren() do
  140. if Hats:IsA("Accessory") then
  141. local AP = Instance.new("AlignPosition", A)
  142. AP.ApplyAtCenterOfMass = true
  143. AP.RigidityEnabled = false
  144. AP.ReactionForceEnabled = false
  145. AP.ApplyAtCenterOfMass = true
  146. AP.MaxForce = 64060*Hats.Handle.Size.X*Hats.Handle.Size.Y*Hats.Handle.Size.Z
  147. AP.MaxVelocity = math.huge/9e110
  148. AP.Responsiveness = 200
  149. local Att0Pos = Instance.new("Attachment", Hats.Handle)
  150. AP.Attachment0 = Att0Pos
  151. local Att1Pos = Instance.new("Attachment", CloneChar.Humanoid:GetAccessories()[Num].Handle)
  152. AP.Attachment1 = Att1Pos
  153. local AO = Instance.new("AlignOrientation", A)
  154. AO.RigidityEnabled = false
  155. AO.ReactionTorqueEnabled = false
  156. AO.PrimaryAxisOnly = false
  157. AO.MaxTorque = 42060*Hats.Handle.Size.X*Hats.Handle.Size.Y*Hats.Handle.Size.Z
  158. AO.MaxAngularVelocity = math.huge/9e110
  159. AO.Responsiveness = 200
  160. local Att0Rot = Instance.new("Attachment", Hats.Handle)
  161. AO.Attachment0 = Att0Rot
  162. local Att1Rot = Instance.new("Attachment", CloneChar.Humanoid:GetAccessories()[Num].Handle)
  163. AO.Attachment1 = Att1Rot
  164. Num = Num + 1
  165. end end
  166.  
  167. for _,Aligns in next, A:GetChildren() do
  168. if Aligns:IsA("AlignOrientation") or Aligns:IsA("AlignPosition") then
  169. Aligns.Parent = CloneChar end end
  170.  
  171. game:GetService("RunService").RenderStepped:Connect(function()
  172. for _,BodyParts in next, workspace["CloneCharacter"]:GetDescendants() do
  173. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  174. BodyParts.Transparency = 1 end end
  175. for _,Effects in next, workspace["CloneCharacter"]:GetDescendants() do
  176. if Effects:IsA("ParticleEmitter") or Effects:IsA("Sparkles") or Effects:IsA("BillboardGui") or Effects:IsA("Fire") or Effects:IsA("TextLabel") then
  177. Effects:Destroy() end end
  178. for _,Decals in next, workspace["CloneCharacter"]:GetDescendants() do
  179. if Decals:IsA("Decal") then
  180. Decals.Texture = 0 end end end) workspace.Camera.CameraType = "Track"
  181.  
  182. local function invisCam() game:GetService("Players").LocalPlayer.DevCameraOcclusionMode = "Invisicam" end invisCam()
  183. game:GetService("Players").LocalPlayer:GetPropertyChangedSignal("DevCameraOcclusionMode"):Connect(invisCam)
  184.  
  185. MainFrame:TweenPosition(UDim2.new(0.5,-175,-1,0),"Out","Sine",0.5)TextBar.BackgroundColor3=Color3.fromRGB(0,0,255)MainFrame:TweenSize(UDim2.new(0,350,0,80),"Out","Sine",0.5)wait()TextBar:TweenSizeAndPosition(UDim2.new(1,0,0,5),UDim2.new(0,0,1,-5),"Out","Sine",0.1)GUI:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement