HowAreYu

reanimation

Jul 27th, 2020
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.20 KB | None | 0 0
  1. local TService = game:GetService("TweenService")
  2. spawn(function()
  3. local gui = Instance.new("ScreenGui")
  4. local frame = Instance.new("Frame")
  5. frame.Parent = gui
  6. frame.BorderSizePixel = 0
  7. frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  8. frame.Size = UDim2.new(UDim.new(.15, 0), UDim.new(.1, 0))
  9. frame.Position = UDim2.new(UDim.new(1, 0), UDim.new(.45, 0))
  10. local bar = Instance.new("Frame")
  11. bar.Parent = frame
  12. bar.BorderSizePixel = 0
  13. bar.BackgroundColor3 = Color3.fromRGB(245, 205, 48)
  14. bar.Size = UDim2.new(UDim.new(1, 0), UDim.new(.175, 0))
  15. bar.Position = UDim2.new(UDim.new(0, 0), UDim.new(.83, 0))
  16. local label = Instance.new("TextLabel")
  17. label.Parent = frame
  18. label.BackgroundTransparency = 1
  19. label.Size = UDim2.new(UDim.new(.75, 0), UDim.new(.5, 0))
  20. label.Position = UDim2.new(UDim.new(.125, 0), UDim.new(.247, 0))
  21. label.TextStrokeColor3 = Color3.fromRGB(245, 205, 48)
  22. label.TextStrokeTransparency = 0
  23. label.TextColor3 = Color3.fromRGB(0, 0, 0)
  24. label.Text = "ReAnimation Script by Riptxde / R_ainCloud"
  25. label.TextScaled = true
  26. gui.Parent = game.CoreGui
  27. TService:Create(frame, TweenInfo.new(1, Enum.EasingStyle.Sine), {Position = UDim2.new(UDim.new(.425, 0), UDim.new(.45, 0))}):Play()
  28. wait(3)
  29. TService:Create(frame, TweenInfo.new(1, Enum.EasingStyle.Sine), {Position = UDim2.new(UDim.new(-.151, 0), UDim.new(.45, 0))}):Play()
  30. wait(1)
  31. frame.Position = UDim2.new(UDim.new(1, 0), UDim.new(.45, 0))
  32. label.Text = "Edited by Andy Wirus"
  33. wait(2)
  34. TService:Create(frame, TweenInfo.new(1, Enum.EasingStyle.Sine), {Position = UDim2.new(UDim.new(.425, 0), UDim.new(.45, 0))}):Play()
  35. wait(3)
  36. TService:Create(frame, TweenInfo.new(1, Enum.EasingStyle.Sine), {Position = UDim2.new(UDim.new(-.151, 0), UDim.new(.45, 0))}):Play()
  37. wait(1)
  38. end)
  39.  
  40. local NetworkAccess = coroutine.create(function()
  41. settings().Physics.AllowSleep = false
  42. while true do
  43. game:GetService("RunService").RenderStepped:Wait()
  44. local TBL = game:GetService("Players"):GetChildren()
  45. for _ = 1, #TBL do
  46. local Players = TBL[_]
  47. if Players ~= game:GetService("Players").LocalPlayer then
  48. sethiddenproperty(game.Players.LocalPlayer,"MaximumSimulationRadius",math.pow(math.huge,math.huge)*math.huge)
  49. sethiddenproperty(game.Players.LocalPlayer,"SimulationRadius",math.pow(math.huge,math.huge)*math.huge)
  50. end
  51. end
  52. game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge, math.huge)
  53. game:GetService("Players").LocalPlayer.SimulationRadius = math.huge * math.huge
  54. end
  55. end)
  56. coroutine.resume(NetworkAccess)
  57.  
  58. --workspace.Camera.CameraType = "Fixed"
  59. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  60. local CloneChar = game:GetService("Players").LocalPlayer["Character"]:Clone()
  61. game:GetService("Players").LocalPlayer["Character"].Humanoid.WalkSpeed = 0
  62. game:GetService("Players").LocalPlayer["Character"].Humanoid.JumpPower = 0
  63. game:GetService("Players").LocalPlayer["Character"].Humanoid.AutoRotate = false
  64. game:GetService("RunService").Heartbeat:Wait()
  65. local FalseChar = Instance.new("Model", workspace);
  66. FalseChar.Name = ""
  67. Instance.new("Part", FalseChar).Name = "Head"
  68. Instance.new("Part", FalseChar).Name = "Torso"
  69. Instance.new("Humanoid", FalseChar).Name = "Humanoid"
  70. game:GetService("Players").LocalPlayer["Character"] = FalseChar
  71. game:GetService("Players").LocalPlayer["Character"].Humanoid.Name = "FalseHumanoid"
  72. local Clone = game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Clone()
  73. Clone.Parent = game:GetService("Players").LocalPlayer["Character"]
  74. Clone.Name = "Humanoid"
  75. game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Destroy()
  76. wait(5.65)
  77. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  78. game:GetService("Players").LocalPlayer["Character"] = workspace[game:GetService("Players").LocalPlayer.Name]
  79. local Goal = {}
  80. Goal.Size = 0
  81. wait(5.65)
  82. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  83. local Character = game:GetService("Players").LocalPlayer["Character"]
  84. CloneChar.Parent = workspace
  85. CloneChar.HumanoidRootPart.CFrame = Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -10)
  86. wait()
  87. CloneChar.Humanoid.BreakJointsOnDeath = false
  88. workspace.Camera.CameraSubject = CloneChar.Humanoid
  89. CloneChar.Name = "CloneCharacter"
  90. CloneChar.Humanoid.DisplayDistanceType = "None"
  91. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  92.  
  93. local LVecPart = Instance.new("Part", workspace)
  94. LVecPart.CanCollide = false
  95. LVecPart.Transparency = 1
  96. game:GetService("RunService").Heartbeat:Connect(function()
  97. local lookVec = workspace.Camera.CFrame.lookVector
  98. local Root = CloneChar["HumanoidRootPart"]
  99. LVecPart.Position = Root.Position
  100. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  101. end)
  102.  
  103. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  104. game:GetService("UserInputService").InputBegan:Connect(function(_, Processed)
  105. if Processed ~= true then
  106. local Key = _.KeyCode
  107. if Key == Enum.KeyCode.W then
  108. WDown = true
  109. end
  110. if Key == Enum.KeyCode.A then
  111. ADown = true
  112. end
  113. if Key == Enum.KeyCode.S then
  114. SDown = true
  115. end
  116. if Key == Enum.KeyCode.D then
  117. DDown = true
  118. end
  119. if Key == Enum.KeyCode.Space then
  120. SpaceDown = true
  121. end
  122. end
  123. end)
  124.  
  125. game:GetService("UserInputService").InputEnded:Connect(function(_)
  126. local Key = _.KeyCode
  127. if Key == Enum.KeyCode.W then
  128. WDown = false
  129. end
  130. if Key == Enum.KeyCode.A then
  131. ADown = false
  132. end
  133. if Key == Enum.KeyCode.S then
  134. SDown = false
  135. end
  136. if Key == Enum.KeyCode.D then
  137. DDown = false
  138. end
  139. if Key == Enum.KeyCode.Space then
  140. SpaceDown = false
  141. end
  142. end)
  143.  
  144. local function MoveClone(X, Y, Z)
  145. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X, Y, -Z)
  146. CloneChar.Humanoid.WalkToPoint = LVecPart.Position
  147. end
  148.  
  149. local WalkLoop = coroutine.create(function()
  150. while true do
  151. game:GetService("RunService").RenderStepped:Wait()
  152. if WDown then
  153. MoveClone(0, 0, 1e4)
  154. end
  155. if ADown then
  156. MoveClone(1e4, 0, 0)
  157. end
  158. if SDown then
  159. MoveClone(0, 0, -1e4)
  160. end
  161. if DDown then
  162. MoveClone(-1e4, 0, 0)
  163. end
  164. if SpaceDown then
  165. CloneChar["Humanoid"].Jump = true
  166. end
  167. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  168. CloneChar.Humanoid.WalkToPoint = CloneChar.HumanoidRootPart.Position
  169. end
  170. end
  171. end)
  172. coroutine.resume(WalkLoop)
  173.  
  174. game:GetService("RunService").Stepped:Connect(function()
  175. for _, Parts in next, CloneChar:GetDescendants() do
  176. if Parts:IsA("BasePart") then
  177. Parts.CanCollide = false
  178. end
  179. end
  180. for _, Parts in next, DeadChar:GetDescendants() do
  181. if Parts:IsA("BasePart") then
  182. Parts.CanCollide = false
  183. end
  184. end
  185. end)
  186.  
  187. local Amount = 6 --/* Riptxde's AlignForce Template
  188. local ApplyAtCenterOfMass = true
  189. local Char = CloneChar
  190. local A = Instance.new("Folder", game)
  191. A.Name = "AlignFolder"
  192. local B = Instance.new("Part", A)
  193. B.Name = "SPart"
  194. for _ = 1, Amount do
  195. local AP = Instance.new("AlignPosition", A)
  196. AP.Name = "APos".._
  197. if ApplyAtCenterOfMass then
  198. AP.ApplyAtCenterOfMass = true
  199. end
  200. AP.RigidityEnabled = false
  201. AP.ReactionForceEnabled = false
  202. AP.ApplyAtCenterOfMass = true
  203. AP.MaxForce = 67752
  204. AP.MaxVelocity = math.huge / 9e110
  205. AP.Responsiveness = 200
  206. local Att0Pos = Instance.new("Attachment", B)
  207. AP.Attachment0 = Att0Pos
  208. Att0Pos.Name = "Att0Pos".._
  209. local Att1Pos = Instance.new("Attachment", B)
  210. AP.Attachment1 = Att1Pos
  211. Att1Pos.Name = "Att1Pos".._
  212. local AO = Instance.new("AlignOrientation", A)
  213. AO.Name = "ARot".._
  214. AO.RigidityEnabled = false
  215. AO.ReactionTorqueEnabled = true
  216. AO.PrimaryAxisOnly = false
  217. AO.MaxTorque = 67752
  218. AO.MaxAngularVelocity = math.huge / 9e110
  219. AO.Responsiveness = 200
  220. local Att0Rot = Instance.new("Attachment", B)
  221. AO.Attachment0 = Att0Rot
  222. Att0Rot.Name = "Att0Rot".._
  223. local Att1Rot = Instance.new("Attachment", B)
  224. AO.Attachment1 = Att1Rot
  225. Att1Rot.Name = "Att1Rot".._
  226. end
  227.  
  228. B.Att1Pos1.Parent = CloneChar["Head"]
  229. B.Att1Rot1.Parent = CloneChar["Head"]
  230. B.Att1Pos2.Parent = CloneChar["Torso"]
  231. B.Att1Rot2.Parent = CloneChar["Torso"]
  232. B.Att1Pos3.Parent = CloneChar["Left Arm"]
  233. B.Att1Rot3.Parent = CloneChar["Left Arm"]
  234. B.Att1Pos4.Parent = CloneChar["Right Arm"]
  235. B.Att1Rot4.Parent = CloneChar["Right Arm"]
  236. B.Att1Pos5.Parent = CloneChar["Left Leg"]
  237. B.Att1Rot5.Parent = CloneChar["Left Leg"]
  238. B.Att1Pos6.Parent = CloneChar["Right Leg"]
  239. B.Att1Rot6.Parent = CloneChar["Right Leg"]
  240.  
  241. B.Att0Pos1.Parent = DeadChar["Head"]
  242. B.Att0Rot1.Parent = DeadChar["Head"]
  243. B.Att0Pos2.Parent = DeadChar["Torso"]
  244. B.Att0Rot2.Parent = DeadChar["Torso"]
  245. B.Att0Pos3.Parent = DeadChar["Left Arm"]
  246. B.Att0Rot3.Parent = DeadChar["Left Arm"]
  247. B.Att0Pos4.Parent = DeadChar["Right Arm"]
  248. B.Att0Rot4.Parent = DeadChar["Right Arm"]
  249. B.Att0Pos5.Parent = DeadChar["Left Leg"]
  250. B.Att0Rot5.Parent = DeadChar["Left Leg"]
  251. B.Att0Pos6.Parent = DeadChar["Right Leg"]
  252. B.Att0Rot6.Parent = DeadChar["Right Leg"]
  253.  
  254. if CloneChar:FindFirstChild("ForceField") then
  255. CloneChar.ForceField:Destroy()
  256. end
  257.  
  258. local Num = 1
  259. for _, Hats in next, DeadChar:GetChildren() do
  260. if Hats:IsA("Accessory") then
  261. local AP = Instance.new("AlignPosition", A)
  262. AP.ApplyAtCenterOfMass = true
  263. AP.RigidityEnabled = false
  264. AP.ReactionForceEnabled = false
  265. AP.ApplyAtCenterOfMass = true
  266. AP.MaxForce = 64060 * Hats.Handle.Size.X * Hats.Handle.Size.Y * Hats.Handle.Size.Z
  267. AP.MaxVelocity = math.huge / 9e110
  268. AP.Responsiveness = 200
  269. local Att0Pos = Instance.new("Attachment", Hats.Handle)
  270. AP.Attachment0 = Att0Pos
  271. local Att1Pos = Instance.new("Attachment", CloneChar.Humanoid:GetAccessories()[Num].Handle)
  272. AP.Attachment1 = Att1Pos
  273. local AO = Instance.new("AlignOrientation", A)
  274. AO.RigidityEnabled = false
  275. AO.ReactionTorqueEnabled = false
  276. AO.PrimaryAxisOnly = false
  277. AO.MaxTorque = 42060 * Hats.Handle.Size.X * Hats.Handle.Size.Y * Hats.Handle.Size.Z
  278. AO.MaxAngularVelocity = math.huge / 9e110
  279. AO.Responsiveness = 200
  280. local Att0Rot = Instance.new("Attachment", Hats.Handle)
  281. AO.Attachment0 = Att0Rot
  282. local Att1Rot = Instance.new("Attachment", CloneChar.Humanoid:GetAccessories()[Num].Handle)
  283. AO.Attachment1 = Att1Rot
  284. Num = Num + 1
  285. end
  286. end
  287.  
  288. for _, Aligns in next, A:GetChildren() do
  289. if Aligns:IsA("AlignOrientation") or Aligns:IsA("AlignPosition") then
  290. Aligns.Parent = CloneChar
  291. end
  292. end
  293.  
  294. game:GetService("RunService").RenderStepped:Connect(function()
  295. for _, BodyParts in next, CloneChar:GetDescendants() do
  296. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  297. BodyParts.Transparency = 1
  298. end
  299. end
  300. for _, Effects in next, CloneChar:GetDescendants() do
  301. if Effects:IsA("ParticleEmitter") or Effects:IsA("Sparkles") or Effects:IsA("BillboardGui") or Effects:IsA("Fire") or Effects:IsA("TextLabel") then
  302. Effects:Destroy()
  303. end
  304. end
  305. for _, Decals in next, CloneChar:GetDescendants() do
  306. if Decals:IsA("Decal") then
  307. Decals.Texture = 0
  308. end
  309. end
  310. end)
  311. workspace.Camera.CameraType = "Track"
  312.  
  313. local function invisCam()
  314. game:GetService("Players").LocalPlayer.DevCameraOcclusionMode = "Invisicam"
  315. end
  316. invisCam()
  317. game:GetService("Players").LocalPlayer:GetPropertyChangedSignal("DevCameraOcclusionMode"):Connect(invisCam)
  318.  
  319. return CloneChar
Add Comment
Please, Sign In to add comment