Dark_EccentricYT

Untitled

Sep 20th, 2020
81,778
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.41 KB | None | 0 0
  1.  
  2. HumanDied = false
  3. local CountSCIFIMOVIELOL = 1
  4. function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
  5. local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
  6. AlignPos.ApplyAtCenterOfMass = true;
  7. AlignPos.MaxForce = 5772000--67752;
  8. AlignPos.MaxVelocity = math.huge/9e110;
  9. AlignPos.ReactionForceEnabled = false;
  10. AlignPos.Responsiveness = 200;
  11. AlignPos.RigidityEnabled = false;
  12. local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
  13. AlignOri.MaxAngularVelocity = math.huge/9e110;
  14. AlignOri.MaxTorque = 5772000
  15. AlignOri.PrimaryAxisOnly = false;
  16. AlignOri.ReactionTorqueEnabled = false;
  17. AlignOri.Responsiveness = 200;
  18. AlignOri.RigidityEnabled = false;
  19. local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "Ath_"..CountSCIFIMOVIELOL
  20. local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "Ath_"..CountSCIFIMOVIELOL
  21. AttachmentA.Orientation = Angle or Vector3.new(0,0,0)
  22. AttachmentA.Position = Position or Vector3.new(0,0,0)
  23. AlignPos.Attachment1 = AttachmentA;
  24. AlignPos.Attachment0 = AttachmentB;
  25. AlignOri.Attachment1 = AttachmentA;
  26. AlignOri.Attachment0 = AttachmentB;
  27. CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
  28. return {AlignPos,AlignOri,AttachmentA,AttachmentB}
  29. end
  30.  
  31. if _G.netted ~= true then
  32. _G.netted = true
  33. coroutine.wrap(function()
  34. settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  35. settings().Physics.AllowSleep = false
  36. game:GetService("RunService").RenderStepped:Connect(function()
  37. game:FindFirstChildOfClass("Players").LocalPlayer.MaximumSimulationRadius=math.pow(math.huge,math.huge)
  38. sethiddenproperty(game:FindFirstChildOfClass("Players").LocalPlayer,"SimulationRadius",math.huge*math.huge)
  39. end)
  40. end)()
  41. end
  42.  
  43. game:FindFirstChildOfClass("Players").LocalPlayer["Character"].Archivable = true
  44. local hatnameclone = {}
  45. for _,v in next, game:FindFirstChildOfClass("Players").LocalPlayer["Character"]:GetChildren() do
  46. if v:IsA("Accessory") then
  47. if hatnameclone[v.Name] then
  48. if hatnameclone[v.Name] == "s" then
  49. hatnameclone[v.Name] = {}
  50. end
  51. table.insert(hatnameclone[v.Name],v)
  52. else
  53. hatnameclone[v.Name] = "s"
  54. end
  55. end
  56. end
  57. for _,v in pairs(hatnameclone) do
  58. if type(v) == "table" then
  59. local num = 1
  60. for _,w in pairs(v) do
  61. w.Name = w.Name..num
  62. num = num + 1
  63. end
  64. end
  65. end
  66. hatnameclone = nil
  67.  
  68. local DeadChar = game:FindFirstChildOfClass("Players").LocalPlayer.Character
  69.  
  70. local fldr = Instance.new("Folder",game:FindFirstChildOfClass("Players").LocalPlayer["Character"])
  71. fldr.Name = "DMYF"
  72. local CloneChar = DeadChar:Clone()
  73. local ANIMATIONHERE
  74. if CloneChar:FindFirstChild("Animate") then
  75. ANIMATIONHERE = CloneChar:FindFirstChild("Animate"):Clone()
  76. CloneChar:FindFirstChild("Animate"):Destroy()
  77. end
  78. if CloneChar:FindFirstChildOfClass("Folder") then CloneChar:FindFirstChildOfClass("Folder"):Destroy() end
  79. if CloneChar.Torso:FindFirstChild("Neck") then
  80. local Clonessss = CloneChar.Torso:FindFirstChild("Neck"):Clone()
  81. Clonessss.Part0 = nil
  82. Clonessss.Part1 = DeadChar.Head
  83. Clonessss.Parent = DeadChar.Torso
  84. end
  85. CloneChar.Parent = fldr
  86. CloneChar.HumanoidRootPart.CFrame = DeadChar.HumanoidRootPart.CFrame
  87. CloneChar.Humanoid.BreakJointsOnDeath = false
  88. CloneChar.Name = "non"
  89. CloneChar.Humanoid.DisplayDistanceType = "None"
  90.  
  91. for _,v in next, DeadChar:GetChildren() do
  92. if v:IsA("Accessory") then
  93. local topacc = false
  94. if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
  95. v.Handle.Massless = true
  96. v.Handle.CanCollide = false
  97. if v.Handle:FindFirstChildOfClass("Attachment") then
  98. local ath__ = v.Handle:FindFirstChildOfClass("Attachment")
  99. if ath__.Name == "HatAttachment" or ath__.Name == "HairAttachment" or ath__.Name == "FaceFrontAttachment" or ath__.Name == "FaceCenterAttachment" then
  100. topacc = ath__.Name
  101. end
  102. end
  103. local bv = Instance.new("BodyVelocity",v.Handle)
  104. bv.Velocity = Vector3.new(0,0,0)
  105. coroutine.wrap(function()
  106. if topacc then
  107. local allthings = SCIFIMOVIELOL(v.Handle,DeadChar.Torso,Vector3.new(0,1.5,0)+ (DeadChar.Head[topacc].Position + (v.Handle[topacc].Position*-1)),Vector3.new(0,0,0))
  108. local normaltop = allthings[1].Attachment1
  109. local alipos = allthings[1]
  110. local alirot = allthings[2]
  111. local p0 = v.Handle
  112. local p1 = DeadChar.Head
  113. alipos.Parent = CloneChar:FindFirstChild(v.Name).Handle
  114. alirot.Parent = CloneChar:FindFirstChild(v.Name).Handle
  115. while true do
  116. game:GetService("RunService").RenderStepped:wait()
  117. if HumanDied then break end
  118. coroutine.wrap(function()
  119. if alipos.Attachment1 == normaltop then
  120. p0.CFrame = p0.CFrame:lerp((((DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)) * p1[topacc].CFrame) * p0[topacc].CFrame:inverse()),1)
  121. else
  122. v.Handle.CFrame = v.Handle.CFrame:lerp(alipos.Attachment1.Parent.CFrame * CFrame.new(alipos.Attachment1.Position) * CFrame.Angles(math.rad(alipos.Attachment1.Rotation.X),math.rad(alipos.Attachment1.Rotation.Y),math.rad(alipos.Attachment1.Rotation.Z)),1)
  123. end
  124. end)()
  125. end
  126. else
  127. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  128. end
  129. end)()
  130. end
  131. end
  132.  
  133. local a = DeadChar.Torso
  134. local b = DeadChar.HumanoidRootPart
  135. local c = DeadChar.Humanoid
  136. a.Parent = game:FindFirstChildOfClass("Workspace")
  137. c.Parent = game:FindFirstChildOfClass("Workspace")
  138. local told = a:Clone()
  139. local told1 = c:Clone()
  140. b["RootJoint"].Part0 = told
  141. b["RootJoint"].Part1 = DeadChar.Head
  142. a.Name = "torso"
  143. a.Neck:Destroy()
  144. c.Name = "Mizt Hub Best"
  145. told.Parent = DeadChar
  146. told1.Parent = DeadChar
  147. DeadChar.PrimaryPart = told
  148. told1.Health = 0
  149. b:Destroy()
  150. a.Parent = DeadChar
  151. c.Parent = DeadChar
  152. told:Destroy()
  153. told1:Destroy()
  154. a.Name = "Torso"
  155.  
  156. if CloneChar.Head:FindFirstChildOfClass("Decal") then CloneChar.Head:FindFirstChildOfClass("Decal").Transparency = 1 end
  157. if DeadChar:FindFirstChild("Animate") then DeadChar:FindFirstChild("Animate"):Destroy() end
  158.  
  159. local Collider
  160. function UnCollide()
  161. if HumanDied then Collider:Disconnect(); return end
  162. --[[for _,Parts in next, CloneChar:GetChildren() do
  163. if Parts:IsA("BasePart") then
  164. Parts.CanCollide = false
  165. end
  166. end]]
  167. for _,Parts in next, DeadChar:GetChildren() do
  168. if Parts:IsA("BasePart") then
  169. Parts.CanCollide = false
  170. end
  171. end
  172. end
  173. Collider = game:GetService("RunService").Stepped:Connect(UnCollide)
  174.  
  175. local resetBindable = Instance.new("BindableEvent")
  176. resetBindable.Event:connect(function()
  177. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  178. resetBindable:Destroy()
  179. HumanDied = true
  180. pcall(function()
  181. game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  182. DeadChar.Head:Destroy()
  183. DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  184. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  185. if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  186. end)
  187. end)
  188. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  189.  
  190. coroutine.wrap(function()
  191. while true do
  192. game:GetService("RunService").RenderStepped:wait()
  193. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChildOfClass("Humanoid") or CloneChar:FindFirstChildOfClass("Humanoid").Health <= 0 and not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChildOfClass("Humanoid") or DeadChar:FindFirstChildOfClass("Humanoid").Health <= 0 then
  194. HumanDied = true
  195. pcall(function()
  196. game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  197. DeadChar.Head:Destroy()
  198. DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  199. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  200. if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  201. end)
  202. if resetBindable then
  203. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  204. resetBindable:Destroy()
  205. end
  206. break
  207. end
  208. end
  209. end)()
  210.  
  211.  
  212. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"])
  213. SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"])
  214. SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"])
  215. SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"])
  216. SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"])
  217. SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"])
  218.  
  219. for _,v in pairs(DeadChar:GetChildren()) do
  220. if v:IsA("BasePart") and v.Name ~= "Head" then
  221. --[[local bv = Instance.new("BodyVelocity",v)
  222. bv.Velocity = Vector3.new(0,0,0)
  223. coroutine.wrap(function()
  224. while true do
  225. game:GetService("RunService").RenderStepped:wait()
  226. if HumanDied then break end
  227. v.CFrame = CloneChar[v.Name].CFrame
  228. end
  229. end)()]]
  230. elseif v:IsA("BasePart") and v.Name == "Head" then
  231. local bv = Instance.new("BodyVelocity",v)
  232. bv.Velocity = Vector3.new(0,0,0)
  233. coroutine.wrap(function()
  234. while true do
  235. game:GetService("RunService").RenderStepped:wait()
  236. if HumanDied then break end
  237. v.CFrame = DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)
  238. end
  239. end)()
  240. end
  241. end
  242.  
  243. for _,BodyParts in next, CloneChar:GetDescendants() do
  244. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  245. BodyParts.Transparency = 1 end end
  246. game:GetService("RunService").RenderStepped:wait()
  247. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  248. game:FindFirstChildOfClass("Workspace"):FindFirstChildOfClass("Camera").CameraSubject = CloneChar.Humanoid
  249.  
  250. for _,v in next, DeadChar:GetChildren() do
  251. if v:IsA("Accessory") then
  252. if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
  253. end
  254. end
  255. wait(0.1)
  256.  
  257. IT = Instance.new
  258. CF = CFrame.new
  259. VT = Vector3.new
  260. C3 = Color3.new
  261. UD2 = UDim2.new
  262. BRICKC = BrickColor.new
  263. NS = NumberSequence.new
  264. NSK = NumberSequenceKeypoint.new
  265. RAY = Ray.new
  266. CS = ColorSequence.new
  267. NR = NumberRange.new
  268. TI = TweenInfo.new
  269. RAND = Random.new
  270.  
  271. ANGLES = CFrame.Angles
  272.  
  273. COS = math.cos
  274. ACOS = math.acos
  275. RAD = math.rad
  276. SIN = math.sin
  277. MRANDOM = math.random
  278. MHUGE = math.huge
  279. FLOOR = math.floor
  280. SQRT = math.sqrt
  281. CEIL = math.ceil
  282.  
  283. Character = game.Players.LocalPlayer.Character
  284. Torso = Character.Torso
  285. Root = Character.HumanoidRootPart
  286. Neck = Torso.Neck
  287. RootJoint = Root.RootJoint
  288. RightShoulder = Torso["Right Shoulder"]
  289. LeftShoulder = Torso["Left Shoulder"]
  290. RightHip = Torso["Right Hip"]
  291. LeftHip = Torso["Left Hip"]
  292.  
  293. --values and other stuff
  294.  
  295. NeckOrg = CF(0,-.5,0) * ANGLES(RAD(-90),0,RAD(180))
  296. RootJointOrg = CF(0,0,0) * ANGLES(RAD(-90),0,RAD(180))
  297. LeftShoulderOrg = CF(.5,.5,0) * ANGLES(0,RAD(-90),0)
  298. RightShoulderOrg = CF(-.5,.5,0) * ANGLES(0,RAD(90),0)
  299. LeftHipOrg = CF(-.5,1,0) * ANGLES(0,RAD(-90),0)
  300. RightHipOrg = CF(.5,1,0) * ANGLES(0,RAD(90),0)
  301.  
  302. HB = game["Run Service"].Heartbeat
  303.  
  304. local so = IT("Sound")
  305. so.SoundId = "rbxassetid://5599347184"
  306. so.Looped = true
  307. so.Volume = 4
  308. so.Parent = Root
  309.  
  310. repeat wait() until so.IsLoaded
  311.  
  312. function co(f)
  313. coroutine.resume(coroutine.create(f))
  314. end
  315.  
  316. function Clerp(joint,cf,bool)
  317. local s = .45/1.825
  318. local dir = Enum.EasingDirection.Out
  319. if bool == false then
  320. dir = Enum.EasingDirection.In
  321. s = .35/1.825
  322. end
  323. game.TweenService:Create(joint,TweenInfo.new(s,Enum.EasingStyle.Sine,dir),{C1 = cf}):Play()
  324. if joint == RightHip then
  325. wait(s)
  326. end
  327. end
  328.  
  329. function swait(NUMBER)
  330. if NUMBER == 0 or NUMBER == nil then
  331. HB:Wait()
  332. else
  333. for i=1,NUMBER do
  334. HB:Wait()
  335. end
  336. end
  337. end
  338.  
  339. Clerp(Neck,NeckOrg,false)
  340. Clerp(RootJoint,RootJointOrg * CF(0,0,.5),false)
  341. Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(60),0,RAD(15)),false)
  342. Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(60),0,RAD(-15)),false)
  343. Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0),false)
  344. Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0),false)
  345.  
  346. so:Play()
  347.  
  348. while true do
  349. Clerp(Neck,NeckOrg)
  350. Clerp(RootJoint,RootJointOrg * ANGLES(0,0,RAD(-45)))
  351. Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(105),0,RAD(120)))
  352. Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(105),0,RAD(-120)))
  353. Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0))
  354. Clerp(RightHip,RightHipOrg)
  355.  
  356. Clerp(Neck,NeckOrg,false)
  357. Clerp(RootJoint,RootJointOrg * CF(0,0,.5),false)
  358. Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(-45),0,RAD(120)),false)
  359. Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(-45),0,RAD(-120)),false)
  360. Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0),false)
  361. Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0),false)
  362.  
  363. Clerp(Neck,NeckOrg)
  364. Clerp(RootJoint,RootJointOrg * ANGLES(0,0,RAD(45)))
  365. Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(0,0,RAD(120)))
  366. Clerp(RightShoulder,RightShoulderOrg * ANGLES(0,0,RAD(-120)))
  367. Clerp(LeftHip,LeftHipOrg)
  368. Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0))
  369.  
  370. Clerp(Neck,NeckOrg,false)
  371. Clerp(RootJoint,RootJointOrg * CF(0,0,.5),false)
  372. Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(25),0,0),false)
  373. Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(25),0,0),false)
  374. Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0),false)
  375. Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0),false)
  376.  
  377. Clerp(Neck,NeckOrg)
  378. Clerp(RootJoint,RootJointOrg * ANGLES(0,0,RAD(-45)))
  379. Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(60),0,RAD(15)))
  380. Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(60),0,RAD(-15)))
  381. Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0))
  382. Clerp(RightHip,RightHipOrg)
  383.  
  384. Clerp(Neck,NeckOrg,false)
  385. Clerp(RootJoint,RootJointOrg * CF(0,0,.5),false)
  386. Clerp(LeftShoulder,LeftShoulderOrg * CF(0,-.5,0) * ANGLES(RAD(-45),0,RAD(15)),false)
  387. Clerp(RightShoulder,RightShoulderOrg * CF(0,-.5,0) * ANGLES(RAD(-45),0,RAD(-15)),false)
  388. Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0),false)
  389. Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0),false)
  390.  
  391. Clerp(Neck,NeckOrg)
  392. Clerp(RootJoint,RootJointOrg * ANGLES(0,0,RAD(45)))
  393. Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(-105),0,RAD(20)))
  394. Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(-105),0,RAD(-20)))
  395. Clerp(LeftHip,LeftHipOrg)
  396. Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0))
  397.  
  398. Clerp(Neck,NeckOrg,false)
  399. Clerp(RootJoint,RootJointOrg * CF(0,0,.5),false)
  400. Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(60),0,RAD(15)),false)
  401. Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(60),0,RAD(-15)),false)
  402. Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0),false)
  403. Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0),false)
  404. end
Add Comment
Please, Sign In to add comment