Deyer

Untitled

Apr 7th, 2023
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.78 KB | None | 0 0
  1. game.Players.LocalPlayer.Character["Hat1"].Handle.Mesh:Destroy()
  2. game.Players.LocalPlayer.Character["Pal Hair"].Handle.Mesh:Destroy() --Pink Hair
  3. game.Players.LocalPlayer.Character["Pink Hair"].Handle.Mesh:Destroy()
  4. game.Players.LocalPlayer.Character["Kate Hair"].Handle.Mesh:Destroy() --LavanderHair
  5. game.Players.LocalPlayer.Character["LavanderHair"].Handle.Mesh:Destroy()
  6. game.Players.LocalPlayer.Character["Robloxclassicred"].Handle.Mesh:Destroy()
  7.  
  8. plr = game.Players.LocalPlayer
  9. char=game.Players.LocalPlayer.Character
  10. ct={}
  11. te=table.insert
  12.  
  13. HumanDied=false
  14.  
  15. for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
  16. if v:IsA("BasePart") then
  17. te(ct,game:GetService("RunService").Heartbeat:connect(function()
  18. pcall(function()
  19. v.Velocity = Vector3.new(0,-30,0)
  20. sethiddenproperty(game.Players.LocalPlayer,"MaximumSimulationRadius",math.huge)
  21. sethiddenproperty(game.Players.LocalPlayer,"SimulationRadius",999999999)
  22. game.Players.LocalPlayer.ReplicationFocus = workspace
  23. end)
  24. end))
  25. end
  26. end
  27.  
  28. function notify(t,tex,dur)
  29. game.StarterGui:SetCore("SendNotification", {
  30. Title = t;
  31. Text = tex;
  32. Duration = dur or 5;
  33. })
  34. end
  35.  
  36. local srv= game:GetService("RunService")
  37.  
  38. fl=Instance.new('Folder',char);fl.Name='CWExtra'
  39.  
  40. char.Archivable = true
  41. local reanim = char:Clone()
  42. reanim.Name='NexoPD'
  43.  
  44. for i,v in next, reanim:GetDescendants() do
  45. if v:IsA('BasePart') or v:IsA('Decal') then
  46. v.Transparency = 1
  47. end
  48. end
  49.  
  50. --flinge = false
  51.  
  52. penis=5.65
  53. plr.Character=nil
  54. plr.Character=char
  55. char.Humanoid.AutoRotate=false
  56. char.Humanoid.WalkSpeed=0
  57. char.Humanoid.JumpPower=0
  58. char.Torso.Anchored = true
  59. notify('Nexo','Reanimating...\nPlease wait '..penis..' seconds.')
  60. wait(penis)
  61. char.Torso.Anchored=false
  62. notify('Nexo','Reanimated..')
  63. char.Humanoid.Health=0
  64. --reanim.Humanoid.AutoRotate=false
  65. reanim.Animate.Disabled = true
  66. reanim.Parent = fl
  67. reanim.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,5,0)
  68.  
  69. function create(part, parent, p, r)
  70. Instance.new("Attachment",part)
  71. Instance.new("AlignPosition",part)
  72. Instance.new("AlignOrientation",part)
  73. Instance.new("Attachment",parent)
  74. part.Attachment.Name = part.Name
  75. parent.Attachment.Name = part.Name
  76. part.AlignPosition.Attachment0 = part[part.Name]
  77. part.AlignOrientation.Attachment0 = part[part.Name]
  78. part.AlignPosition.Attachment1 = parent[part.Name]
  79. part.AlignOrientation.Attachment1 = parent[part.Name]
  80. parent[part.Name].Position = p or Vector3.new()
  81. part[part.Name].Orientation = r or Vector3.new()
  82. part.AlignPosition.MaxForce = 999999999
  83. part.AlignPosition.MaxVelocity = math.huge
  84. part.AlignPosition.ReactionForceEnabled = false
  85. part.AlignPosition.Responsiveness = math.huge
  86. part.AlignOrientation.Responsiveness = math.huge
  87. part.AlignPosition.RigidityEnabled = false
  88. part.AlignOrientation.MaxTorque = 999999999
  89. part.Massless=true
  90. end
  91.  
  92. function Pos(part, parent, p)
  93. Instance.new("Attachment",part)
  94. Instance.new("AlignPosition",part)
  95. Instance.new("Attachment",parent)
  96. part.Attachment.Name = part.Name
  97. parent.Attachment.Name = part.Name
  98. part.AlignPosition.Attachment0 = part[part.Name]
  99. --part.AlignOrientation.Attachment0 = part[part.Name]
  100. part.AlignPosition.Attachment1 = parent[part.Name]
  101. --part.AlignOrientation.Attachment1 = parent[part.Name]
  102. parent[part.Name].Position = p or Vector3.new()
  103. part.AlignPosition.MaxForce = 999999999
  104. part.AlignPosition.MaxVelocity = math.huge
  105. part.AlignPosition.ReactionForceEnabled = false
  106. part.AlignPosition.Responsiveness = math.huge
  107. --part.AlignOrientation.Responsiveness = math.huge
  108. --part.AlignPosition.RigidityEnabled = false
  109. --part.AlignOrientation.MaxTorque = 999999999
  110. part.Massless=true
  111. end
  112.  
  113. for i,part in next, char:GetDescendants() do
  114. if part:IsA('BasePart') then
  115. te(ct,srv.RenderStepped:Connect(function()
  116. part.CanCollide=false
  117. end))
  118. end
  119. end
  120.  
  121. for i,part in next, char:GetDescendants() do
  122. if part:IsA('BasePart') then
  123. te(ct,srv.Stepped:Connect(function()
  124. part.CanCollide=false
  125. end))
  126. end
  127. end
  128.  
  129. for i,part in next, reanim:GetDescendants() do
  130. if part:IsA('BasePart') then
  131. te(ct,srv.RenderStepped:Connect(function()
  132. part.CanCollide=false
  133. end))
  134. end
  135. end
  136.  
  137. for i,part in next, reanim:GetDescendants() do
  138. if part:IsA('BasePart') then
  139. te(ct,srv.Stepped:Connect(function()
  140. part.CanCollide=false
  141. end))
  142. end
  143. end
  144.  
  145. for i,v in next, char:GetDescendants() do
  146. if v:IsA('Accessory') then
  147. create(v.Handle,reanim[v.Name].Handle)
  148. end
  149. end
  150.  
  151. --Pos(fhrp,reanim['Torso'])
  152. create(char['Head'],reanim['Head'])
  153. create(char['Torso'],reanim['Torso'])
  154. Pos(char['HumanoidRootPart'],reanim['Torso'],Vector3.new(0,0,0))
  155. create(char['Right Arm'],reanim['Right Arm'])
  156. create(char['Left Arm'],reanim['Left Arm'])
  157. create(char['Right Leg'],reanim['Right Leg'])
  158. create(char['Left Leg'],reanim['Left Leg'])
  159.  
  160. m = plr:GetMouse()
  161.  
  162. local LVecPart = Instance.new("Part", fl) LVecPart.CanCollide = false LVecPart.Transparency = 1
  163.  
  164. te(ct,srv.RenderStepped:Connect(function()
  165. local lookVec = workspace.CurrentCamera.CFrame.lookVector
  166. local Root = reanim["HumanoidRootPart"]
  167. LVecPart.Position = Root.Position
  168. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 10000, lookVec.Y, lookVec.Z * 10000))
  169. end))
  170.  
  171. wdown=false
  172. sdown=false
  173. adown=false
  174. ddown=false
  175. spacedown=false
  176.  
  177. --reanim.HumanoidRootPart.RootJoint.Part0=nil
  178.  
  179. function flinger(p)
  180. f=Instance.new('BodyAngularVelocity',p)
  181. f.AngularVelocity = Vector3.new(9e9,9e9,9e9)
  182. f.MaxTorque=Vector3.new(9e9,9e9,9e9)
  183. end
  184.  
  185. flinger(char.HumanoidRootPart)
  186.  
  187. m=plr:GetMouse()
  188.  
  189. --char.HumanoidRootPart.Transparency = 0
  190.  
  191. bp=Instance.new('BodyPosition',char.HumanoidRootPart)
  192. bp.P = 9e9
  193. bp.D = 9e9
  194. bp.MaxForce=Vector3.new(99999,99999,99999)
  195.  
  196. local click
  197.  
  198. te(ct,srv.Heartbeat:Connect(function()
  199. if click == true then
  200. bp.Position=m.Hit.p
  201. char.HumanoidRootPart.Position=m.Hit.p
  202. else
  203. bp.Position=reanim.Torso.Position
  204. char.HumanoidRootPart.Position=reanim.Torso.Position
  205. end
  206. end))
  207.  
  208. local Highlight = Instance.new("SelectionBox")
  209. Highlight.Adornee = char.HumanoidRootPart
  210. Highlight.LineThickness=0.05
  211. Highlight.Color3 = Color3.fromRGB(30,255,30)
  212. Highlight.Parent = char.HumanoidRootPart
  213. Highlight.Name = "RAINBOW"
  214.  
  215. hrp = Highlight
  216.  
  217. spawn(function()
  218. while true do
  219. srv.Stepped:Wait()
  220. if ded then break end
  221. hrp.Color3 = Color3.new(255/255,0/255,0/255)
  222. for i = 0,255,10 do
  223. wait()
  224. hrp.Color3 = Color3.new(255/255,i/255,0/255)
  225. end
  226. for i = 255,0,-10 do
  227. wait()
  228. hrp.Color3 = Color3.new(i/255,255/255,0/255)
  229. end
  230. for i = 0,255,10 do
  231. wait()
  232. hrp.Color3 = Color3.new(0/255,255/255,i/255)
  233. end
  234. for i = 255,0,-10 do
  235. wait()
  236. hrp.Color3 = Color3.new(0/255,i/255,255/255)
  237. end
  238. for i = 0,255,10 do
  239. wait()
  240. hrp.Color3 = Color3.new(i/255,0/255,255/255)
  241. end
  242. for i = 255,0,-10 do
  243. wait()
  244. hrp.Color3 = Color3.new(255/255,0/255,i/255)
  245. end
  246. end
  247. end)
  248.  
  249. te(ct,m.Button1Down:Connect(function()
  250. click=true
  251. end))
  252.  
  253. te(ct,m.Button1Up:Connect(function()
  254. click=false
  255. end))
  256.  
  257. te(ct,m.KeyDown:Connect(function(e)
  258. if e ==' ' then
  259. spacedown=true end
  260. if e =='w' then
  261. wdown=true end
  262. if e =='s' then
  263. sdown=true end
  264. if e =='a' then
  265. adown=true end
  266. if e =='d' then
  267. ddown=true
  268. end
  269. end))
  270.  
  271. te(ct,m.KeyUp:Connect(function(e)
  272. if e ==' ' then
  273. spacedown=false end
  274. if e =='w' then
  275. wdown=false end
  276. if e =='s' then
  277. sdown=false end
  278. if e =='a' then
  279. adown=false end
  280. if e =='d' then
  281. ddown=false
  282. end
  283. end))
  284.  
  285. local function MoveClone(X,Y,Z)
  286. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  287. reanim.Humanoid.WalkToPoint = LVecPart.Position
  288. end
  289.  
  290. te(ct,srv.RenderStepped:Connect(function()
  291. if wdown==true then
  292. MoveClone(0,0,1e4) end
  293. if sdown==true then
  294. MoveClone(0,0,-1e4) end
  295. if adown==true then
  296. MoveClone(1e4,0,0) end
  297. if ddown==true then
  298. MoveClone(-1e4,0,0)
  299. end
  300. if spacedown==true then
  301. reanim.Humanoid.Jump=true end
  302. if wdown ~= true and adown ~= true and sdown ~= true and ddown ~= true then
  303. reanim.Humanoid.WalkToPoint = reanim.HumanoidRootPart.Position end
  304. end))
  305.  
  306. --reanim.HumanoidRootPart.RootJoint.Part1=nil
  307.  
  308. workspace.CurrentCamera.CameraSubject = reanim.Humanoid
  309.  
  310. reset=Instance.new('BindableEvent')
  311. te(ct,reset.Event:Connect(function()
  312. reanim:Destroy()
  313. HumanDied=true
  314. reanimated=false
  315. for i,v in next, char:GetDescendants() do if v:IsA('BasePart') then v.Anchored=true end end
  316. hc=char.Humanoid:Clone()
  317. char.Humanoid:Destroy()
  318. hc.Parent=char
  319. game.Players:Chat('-re')
  320. for i,v in pairs(ct) do v:Disconnect() end
  321. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  322. reset:Remove()
  323. end))
  324.  
  325. game:GetService("StarterGui"):SetCore("ResetButtonCallback", reset)
  326.  
  327. local lp = game:GetService("Players").LocalPlayer
  328. local rs = game:GetService("RunService")
  329. local stepped = rs.Stepped
  330. local heartbeat = rs.Heartbeat
  331. local renderstepped = rs.RenderStepped
  332. local sg = game:GetService("StarterGui")
  333. local ws = game:GetService("Workspace")
  334. local cf = CFrame.new
  335. local v3 = Vector3.new
  336. local v3_0 = Vector3.zero
  337. local inf = math.huge
  338.  
  339. local cplayer = lp.Character
  340.  
  341. local v3 = Vector3.new
  342.  
  343. local function gp(parent, name, className)
  344. if typeof(parent) == "Instance" then
  345. for i, v in pairs(parent:GetChildren()) do
  346. if (v.Name == name) and v:IsA(className) then
  347. return v
  348. end
  349. end
  350. end
  351. return nil
  352. end
  353.  
  354. local hat2 = gp(cplayer, "Hat1", "Accessory")
  355. local handle2 = gp(hat2, "Handle", "BasePart")
  356. local att2 = gp(handle2, "att1_Handle", "Attachment")
  357. att2.Parent = cplayer["Torso"]
  358. att2.Position = Vector3.new(0.5, -0, 0)
  359. att2.Rotation = Vector3.new(90, 0, 0)
  360.  
  361. local hat2 = gp(cplayer, "Pal Hair", "Accessory")
  362. local handle2 = gp(hat2, "Handle", "BasePart")
  363. local att2 = gp(handle2, "att1_Handle", "Attachment")
  364. att2.Parent = cplayer["Torso"]
  365. att2.Position = Vector3.new(-0.5, -0, 0)
  366. att2.Rotation = Vector3.new(90, 0, 0)
  367.  
  368. local hat2 = gp(cplayer, "Pink Hair", "Accessory")
  369. local handle2 = gp(hat2, "Handle", "BasePart")
  370. local att2 = gp(handle2, "att1_Handle", "Attachment")
  371. att2.Parent = cplayer["Left Arm"]
  372. att2.Position = Vector3.new(0, -0, 0)
  373. att2.Rotation = Vector3.new(90, 0, 0)
  374.  
  375. local hat2 = gp(cplayer, "Kate Hair", "Accessory")
  376. local handle2 = gp(hat2, "Handle", "BasePart")
  377. local att2 = gp(handle2, "att1_Handle", "Attachment")
  378. att2.Parent = cplayer["Right Arm"]
  379. att2.Position = Vector3.new(-0, -0, 0)
  380. att2.Rotation = Vector3.new(90, 0, 0) --LavanderHair
  381.  
  382. local hat2 = gp(cplayer, "LavanderHair", "Accessory")
  383. local handle2 = gp(hat2, "Handle", "BasePart")
  384. local att2 = gp(handle2, "att1_Handle", "Attachment")
  385. att2.Parent = cplayer["Right Leg"]
  386. att2.Position = Vector3.new(0, 0, 0) --Robloxclassicred
  387. att2.Rotation = Vector3.new(90, 0, 0)
  388.  
  389. local hat2 = gp(cplayer, "Robloxclassicred", "Accessory")
  390. local handle2 = gp(hat2, "Handle", "BasePart")
  391. local att2 = gp(handle2, "att1_Handle", "Attachment")
  392. att2.Parent = cplayer["Left Leg"]
  393. att2.Position = Vector3.new(-0, 0, 0)
  394. att2.Rotation = Vector3.new(90, 0, 0)
Add Comment
Please, Sign In to add comment