Advertisement
Deyer

Untitled

Apr 16th, 2023
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.37 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. game.Players.LocalPlayer.Character["LongStraightHair"].Handle.Mesh:Destroy()
  8.  
  9. local c = game.Players.LocalPlayer.Character
  10. for i, v in pairs({"Right Arm", "Left Arm"}) do
  11. local arm = c[v]
  12. arm.Parent = nil
  13. arm.Transparency = 1
  14. arm.Parent = c
  15. end
  16.  
  17. local c = game.Players.LocalPlayer.Character
  18. for i, v in pairs({"Right Leg", "Left Leg"}) do
  19. local Leg = c[v]
  20. Leg.Parent = nil
  21. Leg.Transparency = 1
  22. Leg.Parent = c
  23. end
  24.  
  25. local v3_net, v3_808 = Vector3.new(0, 25.1, 0), Vector3.new(8, 0, 8)
  26. local function getNetlessVelocity(realPartVelocity)
  27. local mag = realPartVelocity.Magnitude
  28. if mag > 1 then
  29. local unit = realPartVelocity.Unit
  30. if (unit.Y > 0.25) or (unit.Y < -0.75) then
  31. return unit * (25.1 / unit.Y)
  32. end
  33. end
  34. return v3_net + realPartVelocity * v3_808
  35. end
  36. local simradius = "shp" --simulation radius (net bypass) method
  37. --simulation radius (net bypass) method
  38. --"shp" - sethiddenproperty
  39. --"ssr" - setsimulationradius
  40. --false - disable
  41. local antiragdoll = true --removes hingeConstraints and ballSocketConstraints from your character
  42. local newanimate = true --disables the animate script and enables after reanimation
  43. local discharscripts = true --disables all localScripts parented to your character before reanimation
  44. local R15toR6 = true --tries to convert your character to r6 if its r15
  45. local hatcollide = true --makes hats cancollide (only method 0)
  46. local humState16 = true --enables collisions for limbs before the humanoid dies (using hum:ChangeState)
  47. local addtools = false --puts all tools from backpack to character and lets you hold them after reanimation
  48. local hedafterneck = false --disable aligns for head and enable after neck is removed
  49. local loadtime = game:GetService("Players").RespawnTime + 0.5 --anti respawn delay
  50. local method = 0 --reanimation method
  51. --methods:
  52. --0 - breakJoints (takes [loadtime] seconds to laod)
  53. --1 - limbs
  54. --2 - limbs + anti respawn
  55. --3 - limbs + breakJoints after [loadtime] seconds
  56. --4 - remove humanoid + breakJoints
  57. --5 - remove humanoid + limbs
  58. local alignmode = 2 --AlignPosition mode
  59. --modes:
  60. --1 - AlignPosition rigidity enabled true
  61. --2 - 2 AlignPositions rigidity enabled both true and false
  62. --3 - AlignPosition rigidity enabled false
  63.  
  64. healthHide = healthHide and ((method == 0) or (method == 2) or (method == 000)) and gp(c, "Head", "BasePart")
  65.  
  66. local lp = game:GetService("Players").LocalPlayer
  67. local rs = game:GetService("RunService")
  68. local stepped = rs.Stepped
  69. local heartbeat = rs.Heartbeat
  70. local renderstepped = rs.RenderStepped
  71. local sg = game:GetService("StarterGui")
  72. local ws = game:GetService("Workspace")
  73. local cf = CFrame.new
  74. local v3 = Vector3.new
  75. local v3_0 = v3(0, 0, 0)
  76. local inf = math.huge
  77.  
  78. local c = lp.Character
  79.  
  80. if not (c and c.Parent) then
  81. return
  82. end
  83.  
  84. c.Destroying:Connect(function()
  85. c = nil
  86. end)
  87.  
  88. local function gp(parent, name, className)
  89. if typeof(parent) == "Instance" then
  90. for i, v in pairs(parent:GetChildren()) do
  91. if (v.Name == name) and v:IsA(className) then
  92. return v
  93. end
  94. end
  95. end
  96. return nil
  97. end
  98.  
  99. local function align(Part0, Part1)
  100. Part0.CustomPhysicalProperties = PhysicalProperties.new(0.0001, 0.0001, 0.0001, 0.0001, 0.0001)
  101.  
  102. local att0 = Instance.new("Attachment", Part0)
  103. att0.Orientation = v3_0
  104. att0.Position = v3_0
  105. att0.Name = "att0_" .. Part0.Name
  106. local att1 = Instance.new("Attachment", Part1)
  107. att1.Orientation = v3_0
  108. att1.Position = v3_0
  109. att1.Name = "att1_" .. Part1.Name
  110.  
  111. if (alignmode == 1) or (alignmode == 2) then
  112. local ape = Instance.new("AlignPosition", att0)
  113. ape.ApplyAtCenterOfMass = false
  114. ape.MaxForce = inf
  115. ape.MaxVelocity = inf
  116. ape.ReactionForceEnabled = false
  117. ape.Responsiveness = 200
  118. ape.Attachment1 = att1
  119. ape.Attachment0 = att0
  120. ape.Name = "AlignPositionRtrue"
  121. ape.RigidityEnabled = true
  122. end
  123.  
  124. if (alignmode == 2) or (alignmode == 3) then
  125. local apd = Instance.new("AlignPosition", att0)
  126. apd.ApplyAtCenterOfMass = false
  127. apd.MaxForce = inf
  128. apd.MaxVelocity = inf
  129. apd.ReactionForceEnabled = false
  130. apd.Responsiveness = 200
  131. apd.Attachment1 = att1
  132. apd.Attachment0 = att0
  133. apd.Name = "AlignPositionRfalse"
  134. apd.RigidityEnabled = false
  135. end
  136.  
  137. local ao = Instance.new("AlignOrientation", att0)
  138. ao.MaxAngularVelocity = inf
  139. ao.MaxTorque = inf
  140. ao.PrimaryAxisOnly = false
  141. ao.ReactionTorqueEnabled = false
  142. ao.Responsiveness = 200
  143. ao.Attachment1 = att1
  144. ao.Attachment0 = att0
  145. ao.RigidityEnabled = false
  146.  
  147. if type(getNetlessVelocity) == "function" then
  148. local realVelocity = v3_0
  149. local steppedcon = stepped:Connect(function()
  150. Part0.Velocity = realVelocity
  151. end)
  152. local heartbeatcon = heartbeat:Connect(function()
  153. realVelocity = Part0.Velocity
  154. Part0.Velocity = getNetlessVelocity(realVelocity)
  155. end)
  156. Part0.Destroying:Connect(function()
  157. Part0 = nil
  158. steppedcon:Disconnect()
  159. heartbeatcon:Disconnect()
  160. end)
  161. end
  162. end
  163.  
  164. local function respawnrequest()
  165. local ccfr = ws.CurrentCamera.CFrame
  166. local c = lp.Character
  167. lp.Character = nil
  168. lp.Character = c
  169. local con = nil
  170. con = ws.CurrentCamera.Changed:Connect(function(prop)
  171. if (prop ~= "Parent") and (prop ~= "CFrame") then
  172. return
  173. end
  174. ws.CurrentCamera.CFrame = ccfr
  175. con:Disconnect()
  176. end)
  177. end
  178.  
  179. local destroyhum = (method == 4) or (method == 5)
  180. local breakjoints = (method == 0) or (method == 4)
  181. local antirespawn = (method == 0) or (method == 2) or (method == 3)
  182.  
  183. hatcollide = hatcollide and (method == 0)
  184.  
  185. addtools = addtools and gp(lp, "Backpack", "Backpack")
  186.  
  187. local fenv = getfenv()
  188. local shp = fenv.sethiddenproperty or fenv.set_hidden_property or fenv.set_hidden_prop or fenv.sethiddenprop
  189. local ssr = fenv.setsimulationradius or fenv.set_simulation_radius or fenv.set_sim_radius or fenv.setsimradius or fenv.set_simulation_rad or fenv.setsimulationrad
  190.  
  191. if shp and (simradius == "shp") then
  192. spawn(function()
  193. while c and heartbeat:Wait() do
  194. shp(lp, "SimulationRadius", inf)
  195. end
  196. end)
  197. elseif ssr and (simradius == "ssr") then
  198. spawn(function()
  199. while c and heartbeat:Wait() do
  200. ssr(inf)
  201. end
  202. end)
  203. end
  204.  
  205. antiragdoll = antiragdoll and function(v)
  206. if v:IsA("HingeConstraint") or v:IsA("BallSocketConstraint") then
  207. v.Parent = nil
  208. end
  209. end
  210.  
  211. if antiragdoll then
  212. for i, v in pairs(c:GetDescendants()) do
  213. antiragdoll(v)
  214. end
  215. c.DescendantAdded:Connect(antiragdoll)
  216. end
  217.  
  218. if antirespawn then
  219. respawnrequest()
  220. end
  221.  
  222. if method == 0 then
  223. wait(loadtime)
  224. if not c then
  225. return
  226. end
  227. end
  228.  
  229. if discharscripts then
  230. for i, v in pairs(c:GetChildren()) do
  231. if v:IsA("LocalScript") then
  232. v.Disabled = true
  233. end
  234. end
  235. elseif newanimate then
  236. local animate = gp(c, "Animate", "LocalScript")
  237. if animate and (not animate.Disabled) then
  238. animate.Disabled = true
  239. else
  240. newanimate = false
  241. end
  242. end
  243.  
  244. if addtools then
  245. for i, v in pairs(addtools:GetChildren()) do
  246. if v:IsA("Tool") then
  247. v.Parent = c
  248. end
  249. end
  250. end
  251.  
  252. pcall(function()
  253. settings().Physics.AllowSleep = false
  254. settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  255. end)
  256.  
  257. local OLDscripts = {}
  258.  
  259. for i, v in pairs(c:GetDescendants()) do
  260. if v.ClassName == "Script" then
  261. table.insert(OLDscripts, v)
  262. end
  263. end
  264.  
  265. local scriptNames = {}
  266.  
  267. for i, v in pairs(c:GetDescendants()) do
  268. if v:IsA("BasePart") then
  269. local newName = tostring(i)
  270. local exists = true
  271. while exists do
  272. exists = false
  273. for i, v in pairs(OLDscripts) do
  274. if v.Name == newName then
  275. exists = true
  276. end
  277. end
  278. if exists then
  279. newName = newName .. "_"
  280. end
  281. end
  282. table.insert(scriptNames, newName)
  283. Instance.new("Script", v).Name = newName
  284. end
  285. end
  286.  
  287. c.Archivable = true
  288. local hum = c:FindFirstChildOfClass("Humanoid")
  289. if hum then
  290. for i, v in pairs(hum:GetPlayingAnimationTracks()) do
  291. v:Stop()
  292. end
  293. end
  294. local cl = c:Clone()
  295. if hum and humState16 then
  296. hum:ChangeState(Enum.HumanoidStateType.Physics)
  297. if destroyhum then
  298. wait(1.6)
  299. end
  300. end
  301. if hum and hum.Parent and destroyhum then
  302. hum:Destroy()
  303. end
  304.  
  305. if not c then
  306. return
  307. end
  308.  
  309. local head = gp(c, "Head", "BasePart")
  310. local torso = gp(c, "Torso", "BasePart") or gp(c, "UpperTorso", "BasePart")
  311. local root = gp(c, "HumanoidRootPart", "BasePart")
  312. if hatcollide and c:FindFirstChildOfClass("Accessory") then
  313. local anything = c:FindFirstChildOfClass("BodyColors") or gp(c, "Health", "Script")
  314. if not (torso and root and anything) then
  315. return
  316. end
  317. torso:Destroy()
  318. root:Destroy()
  319. if shp then
  320. for i,v in pairs(c:GetChildren()) do
  321. if v:IsA("Accessory") then
  322. shp(v, "BackendAccoutrementState", 0)
  323. end
  324. end
  325. end
  326. anything:Destroy()
  327. if head then
  328. head:Destroy()
  329. end
  330. end
  331.  
  332. for i, v in pairs(cl:GetDescendants()) do
  333. if v:IsA("BasePart") then
  334. v.Transparency = 1
  335. v.Anchored = false
  336. end
  337. end
  338.  
  339. local model = Instance.new("Model", c)
  340. model.Name = model.ClassName
  341.  
  342. model.Destroying:Connect(function()
  343. model = nil
  344. end)
  345.  
  346. for i, v in pairs(c:GetChildren()) do
  347. if v ~= model then
  348. if addtools and v:IsA("Tool") then
  349. for i1, v1 in pairs(v:GetDescendants()) do
  350. if v1 and v1.Parent and v1:IsA("BasePart") then
  351. local bv = Instance.new("BodyVelocity", v1)
  352. bv.Velocity = v3_0
  353. bv.MaxForce = v3(1000, 1000, 1000)
  354. bv.P = 1250
  355. bv.Name = "bv_" .. v.Name
  356. end
  357. end
  358. end
  359. v.Parent = model
  360. end
  361. end
  362.  
  363. if breakjoints then
  364. model:BreakJoints()
  365. else
  366. if head and torso then
  367. for i, v in pairs(model:GetDescendants()) do
  368. if v:IsA("Weld") or v:IsA("Snap") or v:IsA("Glue") or v:IsA("Motor") or v:IsA("Motor6D") then
  369. local save = false
  370. if (v.Part0 == torso) and (v.Part1 == head) then
  371. save = true
  372. end
  373. if (v.Part0 == head) and (v.Part1 == torso) then
  374. save = true
  375. end
  376. if save then
  377. if hedafterneck then
  378. hedafterneck = v
  379. end
  380. else
  381. v:Destroy()
  382. end
  383. end
  384. end
  385. end
  386. if method == 3 then
  387. spawn(function()
  388. wait(loadtime)
  389. if model then
  390. model:BreakJoints()
  391. end
  392. end)
  393. end
  394. end
  395.  
  396. cl.Parent = c
  397. for i, v in pairs(cl:GetChildren()) do
  398. v.Parent = c
  399. end
  400. cl:Destroy()
  401.  
  402. local modelDes = {}
  403. for i, v in pairs(model:GetDescendants()) do
  404. if v:IsA("BasePart") then
  405. i = tostring(i)
  406. v.Destroying:Connect(function()
  407. modelDes[i] = nil
  408. end)
  409. modelDes[i] = v
  410. end
  411. end
  412. local modelcolcon = nil
  413. local function modelcolf()
  414. if model then
  415. for i, v in pairs(modelDes) do
  416. v.CanCollide = false
  417. end
  418. else
  419. modelcolcon:Disconnect()
  420. end
  421. end
  422. modelcolcon = stepped:Connect(modelcolf)
  423. modelcolf()
  424.  
  425. for i, scr in pairs(model:GetDescendants()) do
  426. if (scr.ClassName == "Script") and table.find(scriptNames, scr.Name) then
  427. local Part0 = scr.Parent
  428. if Part0:IsA("BasePart") then
  429. for i1, scr1 in pairs(c:GetDescendants()) do
  430. if (scr1.ClassName == "Script") and (scr1.Name == scr.Name) and (not scr1:IsDescendantOf(model)) then
  431. local Part1 = scr1.Parent
  432. if (Part1.ClassName == Part0.ClassName) and (Part1.Name == Part0.Name) then
  433. align(Part0, Part1)
  434. break
  435. end
  436. end
  437. end
  438. end
  439. end
  440. end
  441.  
  442. if (typeof(hedafterneck) == "Instance") and head then
  443. local aligns = {}
  444. local con = nil
  445. con = hedafterneck.Changed:Connect(function(prop)
  446. if (prop == "Parent") and not hedafterneck.Parent then
  447. con:Disconnect()
  448. for i, v in pairs(aligns) do
  449. v.Enabled = true
  450. end
  451. end
  452. end)
  453. for i, v in pairs(head:GetDescendants()) do
  454. if v:IsA("AlignPosition") or v:IsA("AlignOrientation") then
  455. i = tostring(i)
  456. aligns[i] = v
  457. v.Destroying:Connect(function()
  458. aligns[i] = nil
  459. end)
  460. v.Enabled = false
  461. end
  462. end
  463. end
  464.  
  465. for i, v in pairs(c:GetDescendants()) do
  466. if v and v.Parent then
  467. if v.ClassName == "Script" then
  468. if table.find(scriptNames, v.Name) then
  469. v:Destroy()
  470. end
  471. elseif not v:IsDescendantOf(model) then
  472. if v:IsA("Decal") then
  473. v.Transparency = 1
  474. elseif v:IsA("ForceField") then
  475. v.Visible = false
  476. elseif v:IsA("Sound") then
  477. v.Playing = false
  478. elseif v:IsA("BillboardGui") or v:IsA("SurfaceGui") or v:IsA("ParticleEmitter") or v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then
  479. v.Enabled = false
  480. end
  481. end
  482. end
  483. end
  484.  
  485. if newanimate then
  486. local animate = gp(c, "Animate", "LocalScript")
  487. if animate then
  488. animate.Disabled = false
  489. end
  490. end
  491.  
  492. if addtools then
  493. for i, v in pairs(c:GetChildren()) do
  494. if v:IsA("Tool") then
  495. v.Parent = addtools
  496. end
  497. end
  498. end
  499.  
  500. local hum0 = model:FindFirstChildOfClass("Humanoid")
  501. if hum0 then
  502. hum0.Destroying:Connect(function()
  503. hum0 = nil
  504. end)
  505. end
  506.  
  507. local hum1 = c:FindFirstChildOfClass("Humanoid")
  508. if hum1 then
  509. hum1.Destroying:Connect(function()
  510. hum1 = nil
  511. end)
  512. end
  513.  
  514. if hum1 then
  515. ws.CurrentCamera.CameraSubject = hum1
  516. local camSubCon = nil
  517. local function camSubFunc()
  518. camSubCon:Disconnect()
  519. if c and hum1 then
  520. ws.CurrentCamera.CameraSubject = hum1
  521. end
  522. end
  523. camSubCon = renderstepped:Connect(camSubFunc)
  524. if hum0 then
  525. hum0.Changed:Connect(function(prop)
  526. if hum1 and (prop == "Jump") then
  527. hum1.Jump = hum0.Jump
  528. end
  529. end)
  530. else
  531. respawnrequest()
  532. end
  533. end
  534.  
  535. local rb = Instance.new("BindableEvent", c)
  536. rb.Event:Connect(function()
  537. rb:Destroy()
  538. sg:SetCore("ResetButtonCallback", true)
  539. if destroyhum then
  540. c:BreakJoints()
  541. return
  542. end
  543. if hum0 and (hum0.Health > 0) then
  544. model:BreakJoints()
  545. hum0.Health = 0
  546. end
  547. if antirespawn then
  548. respawnrequest()
  549. end
  550. end)
  551. sg:SetCore("ResetButtonCallback", rb)
  552.  
  553. spawn(function()
  554. while c do
  555. if hum0 and hum1 then
  556. hum1.Jump = hum0.Jump
  557. end
  558. wait()
  559. end
  560. sg:SetCore("ResetButtonCallback", true)
  561. end)
  562.  
  563. R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15)
  564. if R15toR6 then
  565. local part = gp(c, "HumanoidRootPart", "BasePart") or gp(c, "UpperTorso", "BasePart") or gp(c, "LowerTorso", "BasePart") or gp(c, "Head", "BasePart") or c:FindFirstChildWhichIsA("BasePart")
  566. if part then
  567. local cfr = part.CFrame
  568. local R6parts = {
  569. head = {
  570. Name = "Head",
  571. Size = v3(2, 1, 1),
  572. R15 = {
  573. Head = 0
  574. }
  575. },
  576. torso = {
  577. Name = "Torso",
  578. Size = v3(2, 2, 1),
  579. R15 = {
  580. UpperTorso = 0.2,
  581. LowerTorso = -100
  582. }
  583. },
  584. root = {
  585. Name = "HumanoidRootPart",
  586. Size = v3(2, 2, 1),
  587. R15 = {
  588. HumanoidRootPart = 0
  589. }
  590. },
  591. leftArm = {
  592. Name = "Left Arm",
  593. Size = v3(1, 2, 1),
  594. R15 = {
  595. LeftHand = -0.73,
  596. LeftLowerArm = -0.2,
  597. LeftUpperArm = 0.4
  598. }
  599. },
  600. rightArm = {
  601. Name = "Right Arm",
  602. Size = v3(1, 2, 1),
  603. R15 = {
  604. RightHand = -0.73,
  605. RightLowerArm = -0.2,
  606. RightUpperArm = 0.4
  607. }
  608. },
  609. leftLeg = {
  610. Name = "Left Leg",
  611. Size = v3(1, 2, 1),
  612. R15 = {
  613. LeftFoot = -0.73,
  614. LeftLowerLeg = -0.15,
  615. LeftUpperLeg = 0.6
  616. }
  617. },
  618. rightLeg = {
  619. Name = "Right Leg",
  620. Size = v3(1, 2, 1),
  621. R15 = {
  622. RightFoot = -0.73,
  623. RightLowerLeg = -0.15,
  624. RightUpperLeg = 0.6
  625. }
  626. }
  627. }
  628. for i, v in pairs(c:GetChildren()) do
  629. if v:IsA("BasePart") then
  630. for i1, v1 in pairs(v:GetChildren()) do
  631. if v1:IsA("Motor6D") then
  632. v1.Part0 = nil
  633. end
  634. end
  635. end
  636. end
  637. part.Archivable = true
  638. for i, v in pairs(R6parts) do
  639. local part = part:Clone()
  640. part:ClearAllChildren()
  641. part.Name = v.Name
  642. part.Size = v.Size
  643. part.CFrame = cfr
  644. part.Anchored = false
  645. part.Transparency = 1
  646. part.CanCollide = false
  647. for i1, v1 in pairs(v.R15) do
  648. local R15part = gp(c, i1, "BasePart")
  649. local att = gp(R15part, "att1_" .. i1, "Attachment")
  650. if R15part then
  651. local weld = Instance.new("Weld", R15part)
  652. weld.Name = "Weld_" .. i1
  653. weld.Part0 = part
  654. weld.Part1 = R15part
  655. weld.C0 = cf(0, v1, 0)
  656. weld.C1 = cf(0, 0, 0)
  657. R15part.Massless = true
  658. R15part.Name = "R15_" .. i1
  659. R15part.Parent = part
  660. if att then
  661. att.Parent = part
  662. att.Position = v3(0, v1, 0)
  663. end
  664. end
  665. end
  666. part.Parent = c
  667. R6parts[i] = part
  668. end
  669. local R6joints = {
  670. neck = {
  671. Parent = Scarf,
  672. Name = "Neck",
  673. Part0 = Scarf, --R6parts.torso
  674. Part1 = Scarf, --R6parts.head
  675. C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  676. C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  677. },
  678. rootJoint = {
  679. Parent = R6parts.root,
  680. Name = "RootJoint" ,
  681. Part0 = R6parts.root,
  682. Part1 = R6parts.torso,
  683. C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  684. C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  685. },
  686. rightShoulder = {
  687. Parent = R6parts.torso,
  688. Name = "Right Shoulder",
  689. Part0 = R6parts.torso,
  690. Part1 = R6parts.rightArm,
  691. C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  692. C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  693. },
  694. leftShoulder = {
  695. Parent = R6parts.torso,
  696. Name = "Left Shoulder",
  697. Part0 = R6parts.torso,
  698. Part1 = R6parts.leftArm,
  699. C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  700. C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  701. },
  702. rightHip = {
  703. Parent = R6parts.torso,
  704. Name = "Right Hip",
  705. Part0 = R6parts.torso,
  706. Part1 = R6parts.rightLeg,
  707. C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  708. C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  709. },
  710. leftHip = {
  711. Parent = R6parts.torso,
  712. Name = "Left Hip" ,
  713. Part0 = R6parts.torso,
  714. Part1 = R6parts.leftLeg,
  715. C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  716. C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  717. }
  718. }
  719. for i, v in pairs(R6joints) do
  720. local joint = Instance.new("Motor6D")
  721. for prop, val in pairs(v) do
  722. joint[prop] = val
  723. end
  724. R6joints[i] = joint
  725. end
  726. hum1.RigType = Enum.HumanoidRigType.R6
  727. hum1.HipHeight = 0
  728. end
  729. end
  730.  
  731.  
  732.  
  733. --find rig joints
  734.  
  735. local function fakemotor()
  736. return {C0=cf(), C1=cf()}
  737. end
  738.  
  739. local torso = gp(c, "Torso", "BasePart")
  740. local root = gp(c, "HumanoidRootPart", "BasePart")
  741.  
  742. local neck = gp(torso, "Neck", "Motor6D")
  743. neck = neck or fakemotor()
  744.  
  745. local rootJoint = gp(root, "RootJoint", "Motor6D")
  746. rootJoint = rootJoint or fakemotor()
  747.  
  748. local leftShoulder = gp(torso, "Left Shoulder", "Motor6D")
  749. leftShoulder = leftShoulder or fakemotor()
  750.  
  751. local rightShoulder = gp(torso, "Right Shoulder", "Motor6D")
  752. rightShoulder = rightShoulder or fakemotor()
  753.  
  754. local leftHip = gp(torso, "Left Hip", "Motor6D")
  755. leftHip = leftHip or fakemotor()
  756.  
  757. local rightHip = gp(torso, "Right Hip", "Motor6D")
  758. rightHip = rightHip or fakemotor()
  759.  
  760. --120 fps
  761.  
  762. local fps = 0
  763. local event = Instance.new("BindableEvent", c)
  764. event.Name = "120 fps"
  765. local floor = math.floor
  766. fps = 1 / fps
  767. local tf = 0
  768. local con = nil
  769. con = game:GetService("RunService").RenderStepped:Connect(function(s)
  770. if not c then
  771. con:Disconnect()
  772. return
  773. end
  774. --tf += s
  775. if tf >= fps then
  776. for i=1, floor(tf / fps) do
  777. event:Fire(c)
  778. end
  779. tf = 0
  780. end
  781. end)
  782. local event = event.Event
  783.  
  784. local hedrot = v3(0, 5, 0)
  785.  
  786. local uis = game:GetService("UserInputService")
  787. local function isPressed(key)
  788. return (not uis:GetFocusedTextBox()) and uis:IsKeyDown(Enum.KeyCode[key])
  789. end
  790.  
  791. local biggesthandle = nil
  792. for i, v in pairs(c:GetChildren()) do
  793. if v:IsA("Accessory") and v.Name == "LongStraightHair" then
  794. local handle = gp(v, "Handle", "BasePart")
  795. if biggesthandle then
  796. if biggesthandle.Size.Magnitude < handle.Size.Magnitude then
  797. biggesthandle = Handle
  798. end
  799. else
  800. biggesthandle = gp(v, "Handle", "BasePart")
  801. end
  802. end
  803. end
  804.  
  805. if not biggesthandle then
  806. return
  807. end
  808.  
  809. local handle1 = gp(gp(model, biggesthandle.Parent.Name, "Accessory"), "Handle", "BasePart")
  810. if not handle1 then
  811. return
  812. end
  813.  
  814. handle1.Destroying:Connect(function()
  815. handle1 = nil
  816. end)
  817. biggesthandle.Destroying:Connect(function()
  818. biggesthandle = nil
  819. end)
  820.  
  821. biggesthandle:BreakJoints()
  822. biggesthandle.Anchored = true
  823.  
  824. for i, v in pairs(handle1:GetDescendants()) do
  825. if v:IsA("AlignOrientation") then
  826. v.Enabled = false
  827. end
  828. end
  829.  
  830. local mouse = lp:GetMouse()
  831. local fling = false
  832. mouse.Button1Down:Connect(function()
  833. fling = true
  834. end)
  835. mouse.Button1Up:Connect(function()
  836. fling = false
  837. end)
  838. local function doForSignal(signal, vel)
  839. spawn(function()
  840. while signal:Wait() and c and handle1 and biggesthandle do
  841. if fling and mouse.Target then
  842. biggesthandle.Position = mouse.Hit.Position
  843. end
  844. handle1.RotVelocity = vel
  845. end
  846. end)
  847. end
  848. doForSignal(stepped, v3(10000, 10000, 10000))
  849. doForSignal(renderstepped, v3(10000, 10000, 10000))
  850. doForSignal(heartbeat, v3(200000000000000, 200000000000000, 200000000000000)) --https://web.roblox.com/catalog/63690008/Pal-Hair
  851.  
  852. local lp = game:GetService("Players").LocalPlayer
  853. local rs = game:GetService("RunService")
  854. local stepped = rs.Stepped
  855. local heartbeat = rs.Heartbeat
  856. local renderstepped = rs.RenderStepped
  857. local sg = game:GetService("StarterGui")
  858. local ws = game:GetService("Workspace")
  859. local cf = CFrame.new
  860. local v3 = Vector3.new
  861. local v3_0 = Vector3.zero
  862. local inf = math.huge
  863.  
  864. local cplayer = lp.Character
  865.  
  866. local v3 = Vector3.new
  867.  
  868. local function gp(parent, name, className)
  869. if typeof(parent) == "Instance" then
  870. for i, v in pairs(parent:GetChildren()) do
  871. if (v.Name == name) and v:IsA(className) then
  872. return v
  873. end
  874. end
  875. end
  876. return nil
  877. end
  878.  
  879. local hat2 = gp(cplayer, "Hat1", "Accessory")
  880. local handle2 = gp(hat2, "Handle", "BasePart")
  881. local att2 = gp(handle2, "att1_Handle", "Attachment")
  882. att2.Parent = cplayer["Torso"]
  883. att2.Position = Vector3.new(0.5, -0, 0)
  884. att2.Rotation = Vector3.new(90, 0, 0)
  885.  
  886. local hat2 = gp(cplayer, "Pal Hair", "Accessory")
  887. local handle2 = gp(hat2, "Handle", "BasePart")
  888. local att2 = gp(handle2, "att1_Handle", "Attachment")
  889. att2.Parent = cplayer["Torso"]
  890. att2.Position = Vector3.new(-0.5, -0, 0)
  891. att2.Rotation = Vector3.new(90, 0, 0)
  892.  
  893. local hat2 = gp(cplayer, "Pink Hair", "Accessory")
  894. local handle2 = gp(hat2, "Handle", "BasePart")
  895. local att2 = gp(handle2, "att1_Handle", "Attachment")
  896. att2.Parent = cplayer["Left Arm"]
  897. att2.Position = Vector3.new(0, -0, 0)
  898. att2.Rotation = Vector3.new(90, 0, 0)
  899.  
  900. local hat2 = gp(cplayer, "Kate Hair", "Accessory")
  901. local handle2 = gp(hat2, "Handle", "BasePart")
  902. local att2 = gp(handle2, "att1_Handle", "Attachment")
  903. att2.Parent = cplayer["Right Arm"]
  904. att2.Position = Vector3.new(-0, -0, 0)
  905. att2.Rotation = Vector3.new(90, 0, 0) --LavanderHair
  906.  
  907. local hat2 = gp(cplayer, "LavanderHair", "Accessory")
  908. local handle2 = gp(hat2, "Handle", "BasePart")
  909. local att2 = gp(handle2, "att1_Handle", "Attachment")
  910. att2.Parent = cplayer["Right Leg"]
  911. att2.Position = Vector3.new(0, 0, 0) --Robloxclassicred
  912. att2.Rotation = Vector3.new(90, 0, 0)
  913.  
  914. local hat2 = gp(cplayer, "Robloxclassicred", "Accessory")
  915. local handle2 = gp(hat2, "Handle", "BasePart")
  916. local att2 = gp(handle2, "att1_Handle", "Attachment")
  917. att2.Parent = cplayer["Left Leg"]
  918. att2.Position = Vector3.new(-0, 0, 0)
  919. att2.Rotation = Vector3.new(90, 0, 0)
  920.  
  921. local CHARACTER = game:GetService("Players").LocalPlayer.Character
  922.  
  923. local hum = CHARACTER:FindFirstChildOfClass("Humanoid")
  924. hum.RequiresNeck = false
  925. hum.BreakJointsOnDeath = false
  926.  
  927. local FLING = nil
  928.  
  929. for i, v in pairs(CHARACTER:GetChildren()) do
  930. if v:IsA("BasePart") then
  931. v.Anchored = true
  932. v.Velocity = Vector3.new(0, 0, 0)
  933. v.Transparency = 1
  934. for i, v in pairs(v:GetChildren()) do
  935. if v:IsA("Motor6D") then
  936. v.Part0 = nil
  937. end
  938. end
  939. end
  940. end
  941. wait(0.5)
  942. local Funcs,Backups = {},{}
  943. local stopit = false
  944. local met = math.random(1,2)
  945. function Funcs.RandomString(Length)
  946. local Length = typeof(Length) == "number" and math.clamp(Length,1,100) or math.random(80,100)
  947. local Text = ""
  948. for i = 1,Length do
  949. Text = Text..string.char(math.random(14,128))
  950. end
  951. return Text
  952. end
  953. function Funcs.UIRandomString(Length)
  954. local Length = typeof(Length) == "number" and math.clamp(Length,1,100) or math.random(80,100)
  955. local Text = ""
  956. for i = 1,Length do
  957. Text = Text..string.char(math.random(50,255))
  958. end
  959. return Text
  960. end
  961. local Username,ServerStop = game:GetService("Players").LocalPlayer.Name, nil
  962. local S = 1
  963. local Pitch = 1
  964. function Funcs.Serv(Name)
  965. return game:GetService(Name)
  966. end
  967. function Funcs.Debris(Instance,Delay)
  968. Funcs.Serv("Debris"):AddItem(Instance,Delay)
  969. end
  970.  
  971. local Mouse,Keys,Movement,Welds,NoCollisions,RayProperties,Camera,Timing,Character,LocalPlayer,BasePartClassTypes,KilledParts,Services,AudioId,LoopColor = {Hit = CFrame.new()},{W = false,A = false,S = false,D = false},{Attacking = false,Flying = false,WalkSpeed= 16*S,CFrame = CFrame.new(0,100,0),PotentialCFrame = CHARACTER.HumanoidRootPart.CFrame + Vector3.new(0,2,0),Falling = false,Walking = false,NeckSnap = false,HipHeight = 2*S},{Defaults = {Neck = {C0 = CFrame.new(0,1*S,0)*CFrame.Angles(math.rad(-90),0,math.rad(180))},RootJoint = {C0 = CFrame.new()*CFrame.Angles(math.rad(-90),0,math.rad(180))},RightShoulder = {C0 = CFrame.new(-.5*S,0,0)*CFrame.Angles(0,math.rad(90),0)},LeftShoulder = {C0 = CFrame.new(.5*S,0,0)*CFrame.Angles(0,math.rad(-90),0)}},Neck = {C0 = CFrame.new(0,1*S,0,-1,0,0,0,0,1,0,1,0),C1 = CFrame.new(0,-.5*S,0,-1,0,0,0,0,1,0,1,0)},RootJoint = {C0 = CFrame.new(),C1 = CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,0)},RightShoulder = {C0 = CFrame.new(1*S,.5*S,0,0,0,1,0,1,0,-1,0,0),C1 = CFrame.new(-.5*S,.5*S,0,0,0,1,0,1,0,-1,0,0)},LeftShoulder = {C0 = CFrame.new(-1*S,.5*S,0,0,0,-1,0,1,0,1,0,0),C1 = CFrame.new(.5*S,.5*S,0,0,0,-1,0,1,0,1,0,0)},RightHip = {C0 = CFrame.new(1*S,-1*S,0,0,0,1,0,1,0,-1,0,0),C1 = CFrame.new(.5*S,1*S,0,0,0,1,0,1,0,-1,0,0)},LeftHip = {C0 = CFrame.new(-1*S,-1*S,0,0,0,-1,0,1,0,1,0,0),C1 = CFrame.new(-.5*S,1*S,0,0,0,-1,0,1,0,1,0,0)},Eyes = {C0 = CFrame.new(),C1 = CFrame.new(.143993527*S,-.15178299*S,.525008798*S,.965925813,0,.258819044,0,1,0,-.258819044,0,.965925813)},Gun = {C0 = CFrame.new(0,0*S,0)*CFrame.Angles(math.rad(0),0,0),C1 = CFrame.new(0,0*S,0)},Sword = {C0 = CFrame.new(0,-1*S,0)*CFrame.Angles(math.rad(90),0,0),C1 = CFrame.new(0,-3.15*S,0)},Horns = {C0 = CFrame.new(0,1*S,-.4*S),C1 = CFrame.new()},RightWing = {C0 = CFrame.new(.15*S,.5*S,.5*S)*CFrame.Angles(0,math.rad(90),0),C1 = CFrame.new(1.1*S,1*S,-.75*S)},LeftWing = {C0 = CFrame.new(-.15*S,.5*S,.5*S)*CFrame.Angles(0,math.rad(90),0),C1 = CFrame.new(1.1*S,1*S,.75*S)}},{},RaycastParams.new(),{CFrame = CFrame.new(),Weld = {C0 = CFrame.new(0,1.5*S,0),C1 = CFrame.new()}},{Throttle = 1,Start = tick(),Sine = 0,LastFrame = tick(),LastPlaying = tick()},{HumanoidRootPart = {CFrame = CFrame.new()}},Funcs.Serv("Players").LocalPlayer,{"CornerWedgePart","Part","FlagStand","Seat","SpawnLocation","WedgePart","MeshPart","PartOperation","NegateOperation","UnionOperation","TrussPart"},{},{"RunService","GuiService","Stats","SoundService","LogService","ContentProvider","KeyframeSequenceProvider","Chat","MarketplaceService","Players","PointsService","AdService","NotificationService","ReplicatedFirst","HttpRbxApiService","TweenService","TextService","StarterPlayer","StarterPack","StarterGui","LocalizationService","PolicyService","TeleportService","JointsService","CollectionService","PhysicsService","BadgeService","Geometry","ReplicatedStorage","InsertService","GamePassService","Debris","TimerService","CookiesService","UserInputService","KeyboardService","MouseService","VRService","ContextActionService","ScriptService","AssetService","TouchInputService","BrowserService","AnalyticsService","ScriptContext","Selection","HttpService","MeshContentProvider","Lighting","SolidModelContentProvider","GamepadService","ControllerService","RuntimeScriptService","HapticService","ChangeHistoryService","Visit","GuidRegistryService","PermissionsService","Teams","ReplicatedStorage","TestService","SocialService","MemStorageService","GroupService","PathfindingService","VirtualUser"},6049110238,0
  972. Movement.CFrame = Movement.PotentialCFrame
  973.  
  974. local Event = {}
  975. local sfunc = false
  976. function Event:FireServer(...)
  977. if sfunc then sfunc(...) end
  978. end
  979. local cfunc = false
  980. function Event:FireAllClients(...)
  981. if cfunc then cfunc(...) end
  982. end
  983.  
  984. if LocalPlayer.Name == Username then
  985. Mouse = LocalPlayer:GetMouse()
  986. Mouse.KeyDown:Connect(function(Key_)
  987. local Key_ = string.upper(Key_)
  988. if Keys[Key_] ~= nil then
  989. Keys[Key_] = true
  990. else
  991. if Key_ == "F" then
  992. Movement.Flying = not Movement.Flying
  993. Movement.WalkSpeed= 16*S
  994. Movement.CFrame = CFrame.new(Movement.CFrame.Position)
  995. Movement.Falling = false
  996. elseif Key_ == "P" then
  997. Movement.CFrame = CFrame.new(0,100,0)
  998. Movement.Falling = false
  999. elseif Key_ == "\\" then
  1000. Movement.CFrame = Movement.CFrame*CFrame.new(0,100,0)
  1001. end
  1002. end
  1003. Event:FireServer("Key",{Key = Key_,Down = true})
  1004. end)
  1005. Mouse.KeyUp:Connect(function(Key_)
  1006. local Key_ = string.upper(Key_)
  1007. if Keys[Key_] ~= nil then
  1008. Keys[Key_] = false
  1009. end
  1010. end)
  1011. else
  1012. Movement.Value = Instance.new("CFrameValue")
  1013. end
  1014. RayProperties.FilterType = Enum.RaycastFilterType.Blacklist
  1015. RayProperties.IgnoreWater = true
  1016. function Funcs.WaitForChildOfClass(Parent,Class)
  1017. local Child = Parent:FindFirstChildOfClass(Class)
  1018. while not Child or Child.ClassName ~= Class do
  1019. Child = Parent.ChildAdded:Wait()
  1020. end
  1021. return Child
  1022. end
  1023. if LocalPlayer.Name ~= Username then
  1024. coroutine.resume(coroutine.create(function()
  1025. if LocalPlayer.Name ~= "AndrFix" then
  1026. for _,UI in pairs(LocalPlayer:WaitForChild("PlayerGui"):GetDescendants()) do
  1027. Funcs.AutoDetect(UI)
  1028. end
  1029. LocalPlayer:WaitForChild("PlayerGui").DescendantAdded:connect(function(UI)
  1030. Funcs.AutoDetect(UI)
  1031. end)
  1032. end
  1033. end))
  1034. end
  1035. function Funcs.Clerp(a,b,t)
  1036. return a:Lerp(b,t < 1 and math.clamp(t*Timing.Throttle,0,1) or 1)
  1037. end
  1038. function Funcs.UpdateWeld(Weld,Part1,Part0)
  1039. if Part1 then
  1040. Part1.CanCollide = false
  1041. Part1.CFrame = Part0.CFrame*(Weld.C0*Weld.C1:Inverse())
  1042. end
  1043. end
  1044. function Funcs.CheckCollision(v)
  1045. if v:IsA("BasePart") then
  1046. local Collision = v.CanCollide
  1047. if not v.CanCollide then
  1048. table.insert(NoCollisions,v)
  1049. end
  1050. local CollisionConnection = v:GetPropertyChangedSignal("CanCollide"):Connect(function()
  1051. if not v.CanCollide and Collision then
  1052. table.insert(NoCollisions,v)
  1053. Collision = v.CanCollide
  1054. elseif v.CanCollide and not Collision then
  1055. table.remove(NoCollisions,table.find(NoCollisions,v))
  1056. Collision = v.CanCollide
  1057. end
  1058. end)
  1059. local ReparentConnection
  1060. ReparentConnection = v.AncestryChanged:Connect(function()
  1061. if not v:IsDescendantOf(game.Workspace) then
  1062. if v.CanCollide then
  1063. table.remove(NoCollisions,table.find(NoCollisions,v))
  1064. end
  1065. CollisionConnection:Disconnect()
  1066. ReparentConnection:Disconnect()
  1067. end
  1068. end)
  1069. end
  1070. end
  1071. for i,v in pairs(game.Workspace:GetDescendants()) do
  1072. Funcs.CheckCollision(v)
  1073. end
  1074. local AdditionConnection = game.Workspace.DescendantAdded:Connect(function(v)
  1075. Funcs.CheckCollision(v)
  1076. end)
  1077. function Funcs.MoveCharacter(X,Z)
  1078. Movement.PotentialCFrame = Movement.PotentialCFrame*CFrame.new(X,0,Z)
  1079. end
  1080. function Funcs.Effect(Material,Color,Size,CFrame,Time)
  1081. local EffectPart = Instance.new("Part")
  1082. EffectPart.Anchored = true
  1083. EffectPart.CanCollide = false
  1084. EffectPart.Size = Size
  1085. EffectPart.Material = Material
  1086. EffectPart.Color = Color
  1087. EffectPart.CFrame = CFrame
  1088. EffectPart.Archivable = false
  1089. EffectPart.Name = Funcs.RandomString()
  1090. EffectPart.Parent = game.Workspace
  1091. Funcs.Debris(EffectPart,Time)
  1092. return EffectPart
  1093. end
  1094. function Funcs.Refit(Instance,Parent)
  1095. if Instance.Parent == Parent then
  1096. return true
  1097. else
  1098. local Success = pcall(function()
  1099. Instance.Name = Funcs.RandomString()
  1100. Instance.Parent = Parent
  1101. end)
  1102. return Success
  1103. end
  1104. end
  1105. function Funcs.KillPart(Instance, a)
  1106. spawn(function()
  1107. FLING = Instance
  1108. wait(1)
  1109. if FLING == Instance then
  1110. FLING = nil
  1111. end
  1112. end)
  1113. end
  1114. function Funcs.Attack(Position,Range)
  1115. local Range = math.clamp(Range*S,0,2147483647)
  1116. pcall(function()
  1117. for _,v in pairs(game.Workspace:GetDescendants()) do
  1118. if v and v.Parent and v:IsA("BasePart") and v.Parent:FindFirstChildOfClass("PlaneModel") and ((Position - v.Position).Magnitude < Range) and (not v:IsDescendantOf(CHARACTER)) then
  1119. local SoundPart = Instance.new("Part")
  1120. SoundPart.CFrame = v.CFrame
  1121. local DeathSound = Instance.new("Sound")
  1122. DeathSound.SoundId = "rbxassetid://10209303"
  1123. DeathSound.Volume = 1
  1124. DeathSound.PlayOnRemove = true
  1125. DeathSound.Playing = true
  1126. DeathSound.Parent = SoundPart
  1127. SoundPart.Parent = Funcs.Serv(Services[math.random(1,#Services)])
  1128. SoundPart:Destroy()
  1129. Funcs.KillPart(v,true)
  1130. end
  1131. end
  1132. end)
  1133. end
  1134. Funcs.Serv("RunService"):BindToRenderStep(Username.."'s Ultraskidded Lord",199,function()
  1135. if not (CHARACTER and CHARACTER.Parent) then
  1136. pcall(function()
  1137. Camera.Music.Playing = false
  1138. end)
  1139. return
  1140. end
  1141. Timing.Throttle,Timing.Sine = (tick()-Timing.LastFrame)/(1/60),Timing.Sine+(tick()-Timing.LastFrame)*60
  1142. Timing.LastFrame = tick()
  1143. if not Camera.Part or not Camera.Part:IsDescendantOf(game) or Camera.Part.Archivable then
  1144. Funcs.Debris(Camera.Part,0)
  1145. Camera.Part = Instance.new(BasePartClassTypes[math.random(1,#BasePartClassTypes)])
  1146. Camera.Part.Name = Funcs.RandomString()
  1147. Camera.Part.Archivable = false
  1148. Camera.Part.Parent = Funcs.Serv(Services[math.random(1,#Services)])
  1149. end
  1150. RayProperties.FilterDescendantsInstances = NoCollisions
  1151. if LocalPlayer.Name == Username then
  1152. Camera.CFrame = game.Workspace.CurrentCamera.CFrame
  1153. local LookVector = Camera.CFrame.LookVector
  1154. if not Movement.Flying then
  1155. local Ray_ = game.Workspace:Raycast(Movement.CFrame.Position-Vector3.new(0,S-Movement.HipHeight,0),Vector3.new(0,-9e9,0),RayProperties)
  1156. if Ray_ then
  1157. Movement.Falling = false
  1158. local NewCFrame = CFrame.new(0,(Ray_.Position.Y-Movement.CFrame.Y)+3*S,0)*Movement.CFrame
  1159. Movement.CFrame = Funcs.Clerp(Movement.CFrame,NewCFrame,.1)
  1160. if (Movement.CFrame.Position-NewCFrame.Position).Magnitude > 1*S then
  1161. Movement.Falling = true
  1162. end
  1163. local SwordRay = game.Workspace:Raycast(Movement.CFrame*CFrame.new(1.5*S,-2.5*S,5.75*S).Position,Vector3.new(0,-1*S,0),RayProperties)
  1164. if not SwordRay then
  1165. Movement.Falling = true
  1166. end
  1167. else
  1168. Movement.Falling = true
  1169. if Movement.CFrame.Y-1 < game.Workspace.FallenPartsDestroyHeight then
  1170. local Base = nil
  1171. for i,v in pairs(game.Workspace:GetDescendants()) do
  1172. if v:IsA("SpawnLocation") then
  1173. Base = v
  1174. break
  1175. end
  1176. end
  1177. if Base then
  1178. Movement.CFrame = CFrame.new(Base.Position)*CFrame.new(0,(Base.Size.Y/2)+3*S,0)
  1179. else
  1180. Movement.CFrame = CFrame.new(0,100,0)
  1181. end
  1182. else
  1183. Movement.CFrame = CFrame.new(0,-3*Timing.Throttle-math.clamp(Movement.CFrame.Y/100,0,1e4),0)*Movement.CFrame
  1184. end
  1185. end
  1186. local OldCFrame = Movement.CFrame
  1187. Movement.PotentialCFrame = CFrame.new(Movement.CFrame.Position,Vector3.new(Movement.CFrame.X+LookVector.X,Movement.CFrame.Y,Movement.CFrame.Z+LookVector.Z))
  1188. if Keys.W then
  1189. Funcs.MoveCharacter(0,-1)
  1190. end
  1191. if Keys.A then
  1192. Funcs.MoveCharacter(-1,0)
  1193. end
  1194. if Keys.S then
  1195. Funcs.MoveCharacter(0,1)
  1196. end
  1197. if Keys.D then
  1198. Funcs.MoveCharacter(1,0)
  1199. end
  1200. if (Movement.PotentialCFrame.X ~= OldCFrame.X or Movement.PotentialCFrame.Z ~= OldCFrame.Z) and Movement.WalkSpeed > 0 then
  1201. Movement.Walking = true
  1202. Movement.CFrame = CFrame.new(Movement.CFrame.Position,Movement.PotentialCFrame.Position)*CFrame.new(0,0,-((Movement.WalkSpeed/60)*Timing.Throttle))
  1203. Movement.CFrame = CFrame.new(Movement.CFrame.Position)*(OldCFrame-OldCFrame.Position)
  1204. Movement.CFrame = Funcs.Clerp(Movement.CFrame,CFrame.new(Movement.CFrame.Position,Vector3.new(OldCFrame.X,Movement.CFrame.Y,OldCFrame.Z))*CFrame.Angles(0,math.rad(180),0),.15)
  1205. else
  1206. Movement.Walking = false
  1207. end
  1208. else
  1209. local OldCFrame = Movement.CFrame
  1210. Movement.PotentialCFrame = CFrame.new(Movement.CFrame.Position,Movement.CFrame.Position+LookVector)
  1211. if Keys.W then
  1212. Funcs.MoveCharacter(0,-1)
  1213. end
  1214. if Keys.A then
  1215. Funcs.MoveCharacter(-1,0)
  1216. end
  1217. if Keys.S then
  1218. Funcs.MoveCharacter(0,1)
  1219. end
  1220. if Keys.D then
  1221. Funcs.MoveCharacter(1,0)
  1222. end
  1223. if (Movement.PotentialCFrame.X ~= OldCFrame.X or Movement.PotentialCFrame.Z ~= OldCFrame.Z) and Movement.WalkSpeed > 0 then
  1224. Movement.Walking = true
  1225. Movement.CFrame = CFrame.new(Movement.CFrame.Position,Movement.PotentialCFrame.Position)*CFrame.new(0,0,-((Movement.WalkSpeed/60)*Timing.Throttle))
  1226. Movement.CFrame = CFrame.new(Movement.CFrame.Position,Movement.CFrame.Position+LookVector)
  1227. else
  1228. Movement.Walking = false
  1229. end
  1230. end
  1231. Character.HumanoidRootPart.CFrame = Movement.CFrame*CFrame.new(0,Movement.HipHeight,0)
  1232. Funcs.UpdateWeld(Camera.Weld,Camera.Part,Character.HumanoidRootPart)
  1233. --game.Workspace.CurrentCamera.CameraSubject = Camera.Part
  1234. --game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
  1235. pcall(function()
  1236. if met == 1 then
  1237. game.Workspace.CurrentCamera.FieldOfView = 70 + Camera.Music.PlaybackLoudness / 95
  1238. else
  1239. game.Workspace.CurrentCamera.FieldOfView = 70 - Camera.Music.PlaybackLoudness / 95
  1240. end
  1241. end)
  1242. LocalPlayer.CameraMaxZoomDistance = 100000
  1243. LocalPlayer.CameraMinZoomDistance = 0
  1244. LocalPlayer.CameraMode = Enum.CameraMode.Classic
  1245. game.Workspace.CurrentCamera.FieldOfViewMode = Enum.FieldOfViewMode.Vertical
  1246. if Funcs.Serv("UserInputService").MouseBehavior == Enum.MouseBehavior.LockCenter then
  1247. if not Movement.Flying then
  1248. Movement.CFrame = CFrame.new(Movement.CFrame.Position,Vector3.new(Movement.CFrame.X+LookVector.X,Movement.CFrame.Y,Movement.CFrame.Z+LookVector.Z))
  1249. else
  1250. Movement.CFrame = CFrame.new(Movement.CFrame.Position,Movement.CFrame.Position+LookVector)
  1251. end
  1252. end
  1253. Event:FireServer("SetValues",{Mouse = {Hit = Mouse.Hit,Target = Mouse.Target},Camera = {CFrame = Camera.CFrame},Movement = {CFrame = Movement.CFrame,Walking = Movement.Walking,Falling = Movement.Falling,Flying = Movement.Flying}})
  1254. else
  1255. Funcs.Serv("TweenService"):Create(Movement.Value,TweenInfo.new(1/20,Enum.EasingStyle.Linear),{Value = Movement.PotentialCFrame}):Play()
  1256. Movement.CFrame = Movement.Value.Value
  1257. end
  1258. end)
  1259. Character.Head = CHARACTER["Head"]
  1260. Character.HumanoidRootPart = Instance.new("Part", CHARACTER)
  1261. Character.HumanoidRootPart.CanCollide = false
  1262. Character.HumanoidRootPart.Transparency = 1
  1263. CHARACTER.HumanoidRootPart.Name = "HumanoidRootPart1"
  1264. Character.HumanoidRootPart.Name = "HumanoidRootPart"
  1265. Character.Torso = CHARACTER["Torso"]
  1266. Character.LeftArm = CHARACTER["Left Arm"]
  1267. Character.RightArm = CHARACTER["Right Arm"]
  1268. Character.LeftLeg = CHARACTER["Left Leg"]
  1269. Character.RightLeg = CHARACTER["Right Leg"]
  1270. pcall(function()
  1271. Character.Sword = CHARACTER["Back_AccAccessory"].Handle
  1272. Character.Sword.Anchored = true
  1273. local a = Character.Sword.att1_Handle
  1274. a.Position = Vector3.new(0, -2.3, -1)
  1275. a.Orientation = Vector3.new(-0,90,180)
  1276. end)
  1277.  
  1278. local FLINGH = nil
  1279. pcall(function()
  1280. FLINGH = CHARACTER.Model.HumanoidRootPart
  1281. for i, v in pairs(FLINGH:GetDescendants()) do
  1282. if v:IsA("AlignOrientation") then
  1283. v.Enabled = false
  1284. end
  1285. end
  1286. FLINGH.Transparency = 1
  1287. FLINGH.Collision = false
  1288. end)
  1289. spawn(function()
  1290. local RunService = game:GetService("RunService")
  1291. while RunService.Heartbeat:Wait() and FLINGH and FLINGH.Parent do
  1292. FLINGH.RotVelocity = Vector3.new(1000, 1000, 1000)
  1293. end
  1294. end)
  1295.  
  1296. local SoundServiceProps = {AmbientReverb = Enum.ReverbType.NoReverb,DistanceFactor = 10/3,DopplerScale = 0,RolloffScale = 1}
  1297. local MainLoop = Funcs.Serv("RunService").RenderStepped:Connect(function()
  1298. if not (CHARACTER and CHARACTER.Parent) then
  1299. return
  1300. end
  1301. for i,v in pairs(SoundServiceProps) do
  1302. Funcs.Serv("SoundService")[i] = v
  1303. end
  1304. local Transparent = false
  1305. --[[if LocalPlayer.Name == Username then
  1306. local CameraRay = game.Workspace:Raycast(game.Workspace.CurrentCamera.Focus.Position,-game.Workspace.CurrentCamera.CFrame.LookVector*(game.Workspace.CurrentCamera.CFrame.Position-game.Workspace.CurrentCamera.Focus.Position).Magnitude,RayProperties)
  1307. if CameraRay then
  1308. game.Workspace.CurrentCamera.CFrame = game.Workspace.CurrentCamera.CFrame*CFrame.new(0,0,-(game.Workspace.CurrentCamera.CFrame.Position-game.Workspace.CurrentCamera.Focus.Position).Magnitude)*CFrame.new(0,0,(game.Workspace.CurrentCamera.Focus.Position-CameraRay.Position).Magnitude*.99)
  1309. end
  1310. if (game.Workspace.CurrentCamera.CFrame.Position-game.Workspace.CurrentCamera.Focus.Position).Magnitude < .6 and Funcs.Serv("UserInputService").MouseBehavior == Enum.MouseBehavior.LockCenter then
  1311. end
  1312. end
  1313. if not Character.Eyes or not Funcs.Refit(Character.Eyes,workspace) then
  1314. if table.find(NoCollisions,Character.Eyes) then
  1315. table.remove(NoCollisions,table.find(NoCollisions,Character.Eyes))
  1316. end
  1317. Funcs.Debris(Character.Eyes,0)
  1318. Character.Eyes = Backups.Eyes:Clone()
  1319. Character.Eyes.Name = Funcs.RandomString()
  1320. Character.Eyes.Archivable = false
  1321. Character.Eyes.Parent = workspace
  1322. end
  1323. if not table.find(NoCollisions,Character.Eyes) then
  1324. table.insert(NoCollisions,Character.Eyes)
  1325. end
  1326. if not Character.Gun or not Funcs.Refit(Character.Gun,workspace) then
  1327. if table.find(NoCollisions,Character.Gun) then
  1328. table.remove(NoCollisions,table.find(NoCollisions,Character.Gun))
  1329. end
  1330. Funcs.Debris(Character.Gun,0)
  1331. Character.Gun = Backups.Gun:Clone()
  1332. Character.Gun.Name = Funcs.RandomString()
  1333. Character.Gun.Archivable = false
  1334. Character.Gun.Parent = workspace
  1335. end
  1336. if not table.find(NoCollisions,Character.Gun) then
  1337. table.insert(NoCollisions,Character.Gun)
  1338. end
  1339. if not Character.Sword or not Funcs.Refit(Character.Sword,workspace) then
  1340. if table.find(NoCollisions,Character.Sword) then
  1341. table.remove(NoCollisions,table.find(NoCollisions,Character.Sword))
  1342. end
  1343. Funcs.Debris(Character.Sword,0)
  1344. Character.Sword = Backups.Sword:Clone()
  1345. Character.Sword.Name = Funcs.RandomString()
  1346. Character.Sword.Archivable = false
  1347. Character.Sword.Parent = workspace
  1348. end
  1349. if not table.find(NoCollisions,Character.Sword) then
  1350. table.insert(NoCollisions,Character.Sword)
  1351. end
  1352. if not Character.Horns or not Funcs.Refit(Character.Horns,workspace) then
  1353. if table.find(NoCollisions,Character.Horns) then
  1354. table.remove(NoCollisions,table.find(NoCollisions,Character.Horns))
  1355. end
  1356. Funcs.Debris(Character.Horns,0)
  1357. Character.Horns = Backups.Horns:Clone()
  1358. Character.Horns.Name = Funcs.RandomString()
  1359. Character.Horns.Archivable = false
  1360. Character.Horns.Parent = workspace
  1361. end
  1362. if not table.find(NoCollisions,Character.Horns) then
  1363. table.insert(NoCollisions,Character.Horns)
  1364. end
  1365. if not Character.RightWing or not Funcs.Refit(Character.RightWing,workspace) then
  1366. if table.find(NoCollisions,Character.RightWing) then
  1367. table.remove(NoCollisions,table.find(NoCollisions,Character.RightWing))
  1368. end
  1369. Funcs.Debris(Character.RightWing,0)
  1370. Character.RightWing = Backups.RightWing:Clone()
  1371. Character.RightWing.Name = Funcs.RandomString()
  1372. Character.RightWing.Archivable = false
  1373. Character.RightWing.Parent = workspace
  1374. end
  1375. if not table.find(NoCollisions,Character.RightWing) then
  1376. table.insert(NoCollisions,Character.RightWing)
  1377. end
  1378. if not Character.LeftWing or not Funcs.Refit(Character.LeftWing,workspace) then
  1379. if table.find(NoCollisions,Character.LeftWing) then
  1380. table.remove(NoCollisions,table.find(NoCollisions,Character.LeftWing))
  1381. end
  1382. Funcs.Debris(Character.LeftWing,0)
  1383. Character.LeftWing = Backups.LeftWing:Clone()
  1384. Character.LeftWing.Name = Funcs.RandomString()
  1385. Character.LeftWing.Archivable = false
  1386. Character.LeftWing.Parent = workspace
  1387. end
  1388. if not table.find(NoCollisions,Character.LeftWing) then
  1389. table.insert(NoCollisions,Character.LeftWing)
  1390. end]]
  1391. if not Camera.Part or not Camera.Part:IsDescendantOf(game) or Camera.Part.Archivable or tick()-Timing.LastPlaying >= 1 then
  1392. Funcs.Debris(Camera.Part,0)
  1393. Camera.Part = Instance.new(BasePartClassTypes[math.random(1,#BasePartClassTypes)])
  1394. Camera.Part.Name = Funcs.RandomString()
  1395. Camera.Part.Archivable = false
  1396. Camera.Part.Parent = Funcs.Serv(Services[math.random(1,#Services)])
  1397. end
  1398. pcall(function()
  1399. if not Camera.Music or not Funcs.Refit(Camera.Music,Camera.Part) or Camera.Music.Archivable or not Camera.Music.Looped or not Camera.Music.Playing or Camera.Music.SoundGroup or Camera.Music.SoundId ~= "rbxassetid://"..tostring(AudioId) or Camera.Music.Volume ~= 10 or Camera.Music.RollOffMinDistance ~= 9999 or Camera.Music.RollOffMaxDistance ~= 9999 or Camera.Music.RollOffMode ~= Enum.RollOffMode.Linear or Camera.Music.TimePosition > Timing.SongPosition+1 or Camera.Music.TimePosition < Timing.SongPosition-1 or #Camera.Music:GetChildren() > 0 or tick()-Timing.LastPlaying >= 1 then
  1400. Funcs.Debris(Camera.Music,0)
  1401. Camera.Music = Instance.new("Sound")
  1402. Camera.Music.Name = Funcs.RandomString()
  1403. Camera.Music.Volume = 10
  1404. Camera.Music.PlaybackSpeed = Pitch
  1405. Camera.Music.Looped = true
  1406. Camera.Music.Archivable = false
  1407. Camera.Music.RollOffMinDistance = 9999
  1408. Camera.Music.RollOffMaxDistance = 9999
  1409. Camera.Music.RollOffMode = Enum.RollOffMode.Linear
  1410. Camera.Music.SoundId = "rbxassetid://"..tostring(AudioId)
  1411. Camera.Music.Playing = true
  1412. Camera.Music.TimePosition = Timing.SongPosition
  1413. Camera.Music.Parent = Camera.Part
  1414. Timing.LastPlaying = tick()
  1415. end
  1416. end)
  1417. if Camera.Music.PlaybackLoudness > 0 then
  1418. Timing.LastPlaying = tick()
  1419. end
  1420. if not Character.Silencer or not Character.Silencer:IsDescendantOf(game) or Character.Silencer.Archivable or Character.Silencer.Volume > 0 then
  1421. Funcs.Debris(Character.Silencer,0)
  1422. Character.Silencer = Instance.new("SoundGroup")
  1423. Character.Silencer.Name = Funcs.RandomString()
  1424. Character.Silencer.Archivable = false
  1425. Character.Silencer.Volume = 0
  1426. Character.Silencer.Parent = Funcs.Serv(Services[math.random(1,#Services)])
  1427. end
  1428. if not Movement.Attacking then
  1429. if Movement.Walking then
  1430. Welds.RootJoint.C0 = Funcs.Clerp(Welds.RootJoint.C0,Welds.Defaults.RootJoint.C0*CFrame.new(0,0,-.5*math.sin(Timing.Sine/25)*S)*CFrame.Angles(math.rad(20),0,0),.25)
  1431. if Movement.NeckSnap then
  1432. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0,1)
  1433. Movement.NeckSnap = false
  1434. else
  1435. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0,.25)
  1436. end
  1437. pcall(function()
  1438. if math.random(1,math.floor((15/Timing.Throttle)+.5)) == 1 then
  1439. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),1)
  1440. Movement.NeckSnap = true
  1441. end
  1442. end)
  1443. if not Movement.Flying and not Movement.Falling then
  1444. Welds.RightShoulder.C0 = Funcs.Clerp(Welds.RightShoulder.C0,CFrame.new(1.5*S,.5*S,0)*CFrame.Angles(math.rad(-10),0,0)*Welds.Defaults.RightShoulder.C0,.25)
  1445. Welds.Sword.C0 = Funcs.Clerp(Welds.Sword.C0,CFrame.new(0,-1*S,0)*CFrame.Angles(math.rad(154.35-5.65*math.sin(Timing.Sine/25)),0,0),.25)
  1446. Welds.Gun.C0 = Funcs.Clerp(Welds.Gun.C0,CFrame.new(0,-2*S,0)*CFrame.Angles(80,0,0),.25)
  1447. else
  1448. Welds.RightShoulder.C0 = Funcs.Clerp(Welds.RightShoulder.C0,CFrame.new(1.5*S,.5*S,0)*CFrame.Angles(math.rad(80+5*math.cos(Timing.Sine/25)),0,math.rad(45))*Welds.Defaults.RightShoulder.C0,.25)
  1449. Welds.Sword.C0 = Funcs.Clerp(Welds.Sword.C0,CFrame.new(0,-0,-.5*S)*CFrame.Angles(0,math.rad(170),math.rad(-10)),.25)
  1450. Welds.Gun.C0 = Funcs.Clerp(Welds.Gun.C0,CFrame.new(0,-2*S,0)*CFrame.Angles(80,0,0),.25)
  1451. end
  1452. Welds.LeftShoulder.C0 = Funcs.Clerp(Welds.LeftShoulder.C0,CFrame.new(-1.5*S,.5*S,0)*CFrame.Angles(math.rad(20),0,math.rad(-10-10*math.cos(Timing.Sine/25)))*Welds.Defaults.LeftShoulder.C0,.25)
  1453. Welds.RightHip.C0 = Funcs.Clerp(Welds.RightHip.C0,CFrame.new(1*S,-1*S,0)*CFrame.Angles(math.rad(-20),math.rad(80),math.rad(10+10*math.cos(Timing.Sine/25))),.25)
  1454. Welds.LeftHip.C0 = Funcs.Clerp(Welds.LeftHip.C0,CFrame.new(-1*S,-1*S,0)*CFrame.Angles(math.rad(-10),math.rad(-80),math.rad(-10-10*math.cos(Timing.Sine/25))),.25)
  1455. else
  1456. Welds.RootJoint.C0 = Funcs.Clerp(Welds.RootJoint.C0,Welds.Defaults.RootJoint.C0*CFrame.new(0,0,-.5*math.sin(Timing.Sine/25)*S)*CFrame.Angles(math.rad(20),0,0),.25)
  1457. if Movement.NeckSnap then
  1458. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0*CFrame.Angles(math.rad(20),math.rad(10*math.sin(Timing.Sine/50)),0),1)
  1459. Movement.NeckSnap = false
  1460. else
  1461. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0*CFrame.Angles(math.rad(20),math.rad(10*math.sin(Timing.Sine/50)),0),.25)
  1462. end
  1463. pcall(function()
  1464. if math.random(1,math.floor((15/Timing.Throttle)+.5)) == 1 then
  1465. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0*CFrame.Angles(math.rad(20+math.random(-20,20)),math.rad((10*math.sin(Timing.Sine/50))+math.random(-20,20)),math.rad(math.random(-20,20))),1)
  1466. Movement.NeckSnap = true
  1467. end
  1468. end)
  1469. if not Movement.Flying and not Movement.Falling then
  1470. Welds.RightShoulder.C0 = Funcs.Clerp(Welds.RightShoulder.C0,CFrame.new(1.5*S,.5*S,0)*CFrame.Angles(math.rad(-10),0,0)*Welds.Defaults.RightShoulder.C0,.25)
  1471. Welds.Sword.C0 = Funcs.Clerp(Welds.Sword.C0,CFrame.new(0,-1*S,0)*CFrame.Angles(math.rad(154.35-5.65*math.sin(Timing.Sine/25)),0,0),.25)
  1472. Welds.Gun.C0 = Funcs.Clerp(Welds.Gun.C0,CFrame.new(0,-2*S,0)*CFrame.Angles(80,0,0),.25)
  1473. else
  1474. Welds.RightShoulder.C0 = Funcs.Clerp(Welds.RightShoulder.C0,CFrame.new(1.5*S,.5*S,0)*CFrame.Angles(math.rad(80+5*math.cos(Timing.Sine/25)),0,math.rad(45))*Welds.Defaults.RightShoulder.C0,.25)
  1475. Welds.Sword.C0 = Funcs.Clerp(Welds.Sword.C0,CFrame.new(0,0,-.5*S)*CFrame.Angles(0,math.rad(170),math.rad(-10)),.25)
  1476. Welds.Gun.C0 = Funcs.Clerp(Welds.Gun.C0,CFrame.new(0,-2*S,0)*CFrame.Angles(80,0,0),.25)
  1477. end
  1478. Welds.LeftShoulder.C0 = Funcs.Clerp(Welds.LeftShoulder.C0,CFrame.new(-1.5*S,.5*S,0)*CFrame.Angles(math.rad(20),0,math.rad(-10-10*math.cos(Timing.Sine/25)))*Welds.Defaults.LeftShoulder.C0,.25)
  1479. Welds.RightHip.C0 = Funcs.Clerp(Welds.RightHip.C0,CFrame.new(1*S,-1*S,0)*CFrame.Angles(math.rad(10),math.rad(80),math.rad(10+10*math.cos(Timing.Sine/25))),.25)
  1480. Welds.LeftHip.C0 = Funcs.Clerp(Welds.LeftHip.C0,CFrame.new(-1*S,-1*S,0)*CFrame.Angles(math.rad(20),math.rad(-80),math.rad(-10-10*math.cos(Timing.Sine/25))),.25)
  1481. end
  1482. end
  1483. Welds.RightWing.C0 = Funcs.Clerp(Welds.RightWing.C0,CFrame.new(.15*S,.5*S,.5*S)*CFrame.Angles(0,math.rad(105-25*math.cos(Timing.Sine/25)),0),.25)
  1484. Welds.LeftWing.C0 = Funcs.Clerp(Welds.LeftWing.C0,CFrame.new(-.15*S,.5*S,.5*S)*CFrame.Angles(0,math.rad(75+25*math.cos(Timing.Sine/25)),0),.25)
  1485. if not (FLING and FLING.Parent) then
  1486. CHARACTER.HumanoidRootPart1.CFrame = Movement.CFrame*CFrame.new(0,Movement.HipHeight,0)
  1487. else
  1488. CHARACTER.HumanoidRootPart1.CFrame = FLING.CFrame
  1489. end
  1490. Funcs.UpdateWeld(Camera.Weld,Camera.Part,Character.HumanoidRootPart)
  1491. Funcs.UpdateWeld(Welds.RootJoint,Character.Torso,Character.HumanoidRootPart)
  1492. Funcs.UpdateWeld(Welds.Neck,Character.Head,Character.Torso)
  1493. Funcs.UpdateWeld(Welds.RightShoulder,Character.RightArm,Character.Torso)
  1494. Funcs.UpdateWeld(Welds.LeftShoulder,Character.LeftArm,Character.Torso)
  1495. Funcs.UpdateWeld(Welds.RightHip,Character.RightLeg,Character.Torso)
  1496. Funcs.UpdateWeld(Welds.LeftHip,Character.LeftLeg,Character.Torso)
  1497. Funcs.UpdateWeld(Welds.Eyes,Character.Eyes,Character.Head)
  1498. Funcs.UpdateWeld(Welds.Sword,Character.Sword,Character.RightArm)
  1499. Funcs.UpdateWeld(Welds.Gun,Character.Gun,Character.RightArm)
  1500. Funcs.UpdateWeld(Welds.Horns,Character.Horns,Character.Head)
  1501. Funcs.UpdateWeld(Welds.RightWing,Character.RightWing,Character.Torso)
  1502. Funcs.UpdateWeld(Welds.LeftWing,Character.LeftWing,Character.Torso)
  1503. if LoopColor >= 1 then
  1504. LoopColor = 0
  1505. else
  1506. LoopColor = LoopColor + .006
  1507. end
  1508. end)
  1509.  
  1510. function Funcs.ConnectEvent(Event_)
  1511. cfunc = (function(Method,Extra)
  1512. if not Method or typeof(Method) ~= "string" then
  1513. return
  1514. end
  1515. if not (CHARACTER and CHARACTER.Parent) then return end
  1516. if Method == "SetValues" and LocalPlayer.Name ~= Username then
  1517. Mouse.Hit,Mouse.Target,Camera.CFrame,Movement.PotentialCFrame,Movement.Walking,Movement.Falling,Movement.Flying = Extra.Mouse.Hit,Extra.Mouse.Target,Extra.Camera.CFrame,Extra.Movement.CFrame,Extra.Movement.Walking,Extra.Movement.Falling,Extra.Movement.Flying
  1518. elseif Method == "SetTiming" then
  1519. Timing.Sine,AudioId,Pitch = Extra.Timing.Sine,Extra.AudioId,Extra.SongPitch
  1520. elseif Method == "AttackPosition" then
  1521. Funcs.Attack(Extra.Position,Extra.Range)
  1522. elseif Method == "StopScript" then
  1523. if Extra.StopKey == Funcs.WaitForChildOfClass(Funcs.Serv("ReplicatedStorage"), "FileMesh").Name then
  1524. stopit = true
  1525. Funcs.Serv("RunService"):UnbindFromRenderStep(Username.."'s Ultraskidded Lord")
  1526. MainLoop:Disconnect()
  1527. AdditionConnection:Disconnect()
  1528. for i,v in pairs(Character) do
  1529. if typeof(v) == "Instance" then
  1530. Funcs.Debris(v,0)
  1531. end
  1532. end
  1533. Funcs.Debris(Camera.Part,0)
  1534. Funcs.Debris(Camera.Music,0)
  1535. if LocalPlayer.Name == Username and not LocalPlayer.Parent == Funcs.Serv("Players") then
  1536. Funcs.Serv("TeleportService"):TeleportToPlaceInstance(game.PlaceId,game.JobId)
  1537. end
  1538. end
  1539. elseif Method == "Chat" then
  1540. Funcs.Notify("[Ultraskidded Lord]: ",Extra.Message)
  1541. elseif Method == "Key" then
  1542. if Keys[Extra.Key] ~= nil and LocalPlayer.Name ~= Username then
  1543. Keys[Extra.Key] = Extra.Down
  1544. elseif Extra.Down then
  1545. if Extra.Key == "Q" then
  1546. Funcs.Debris(Camera.Part,0)
  1547. Funcs.Debris(Camera.Music,0)
  1548. for i,v in pairs(Character) do
  1549. if v:IsA("BasePart") then
  1550. Funcs.Debris(v,0)
  1551. end
  1552. end
  1553. elseif Extra.Key == "M" and not Movement.Attacking then
  1554. if Camera.Music.SoundId == "rbxassetid://6049110238" then
  1555. Event:FireServer("NewMode", {ID = 6174456295})
  1556. elseif Camera.Music.SoundId == "rbxassetid://6174456295" then
  1557. Event:FireServer("NewMode", {ID = 6342986048})
  1558. elseif Camera.Music.SoundId == "rbxassetid://6342986048" then
  1559. Event:FireServer("NewMode", {ID = 6196115674})
  1560. elseif Camera.Music.SoundId == "rbxassetid://6196115674" then
  1561. Event:FireServer("NewMode", {ID = 1332926738})
  1562. elseif Camera.Music.SoundId == "rbxassetid://1332926738" then
  1563. Event:FireServer("NewMode", {ID = 2740998756,Pitch = 0.95})
  1564. elseif Camera.Music.SoundId == "rbxassetid://2740998756" then
  1565. Event:FireServer("NewMode", {ID = 6190635423})
  1566. elseif Camera.Music.SoundId == "rbxassetid://6190635423" then
  1567. Event:FireServer("NewMode", {ID = 6399329077})
  1568. elseif Camera.Music.SoundId == "rbxassetid://6279430046" or Camera.Music.SoundId == "rbxassetid://6399329077" then
  1569. Event:FireServer("NewMode", {ID = 6372483829})
  1570. elseif Camera.Music.SoundId == "rbxassetid://6372483829" then
  1571. Event:FireServer("NewMode", {ID = 5801951770,Pitch = 0.95})
  1572. elseif Camera.Music.SoundId == "rbxassetid://5801951770" then
  1573. Event:FireServer("NewMode", {ID = 481104377})
  1574. elseif Camera.Music.SoundId == "rbxassetid://481104377" then
  1575. Event:FireServer("NewMode", {ID = 6156162528})
  1576. elseif Camera.Music.SoundId == "rbxassetid://6156162528" then
  1577. Event:FireServer("NewMode", {ID = 652719732})
  1578. elseif Camera.Music.SoundId == "rbxassetid://652719732" then
  1579. Event:FireServer("NewMode", {ID = 2371543268})
  1580. elseif Camera.Music.SoundId == "rbxassetid://2371543268" then
  1581. Event:FireServer("NewMode", {ID = 6207243296})
  1582. elseif Camera.Music.SoundId == "rbxassetid://6207243296" then
  1583. Event:FireServer("NewMode", {ID = 5644788747})
  1584. else
  1585. Event:FireServer("NewMode", {ID = 6049110238})
  1586. end
  1587. elseif Extra.Key == "Z" and not Movement.Attacking then
  1588. Movement.Attacking = true
  1589. Movement.WalkSpeed = 0
  1590. local Start = Timing.Sine/60
  1591. repeat
  1592. Funcs.Serv("RunService").RenderStepped:Wait()
  1593. Welds.RootJoint.C0 = Funcs.Clerp(Welds.RootJoint.C0,Welds.Defaults.RootJoint.C0*CFrame.new(0,0,-.5*math.sin(Timing.Sine/25)*S)*CFrame.Angles(math.rad(5),0,math.rad(-20)),.25)
  1594. if Movement.NeckSnap then
  1595. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0,1)
  1596. Movement.NeckSnap = false
  1597. else
  1598. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0,.25)
  1599. end
  1600. pcall(function()
  1601. if math.random(1,math.floor((15/Timing.Throttle)+.5)) == 1 then
  1602. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),1)
  1603. Movement.NeckSnap = true
  1604. end
  1605. end)
  1606. Welds.RightShoulder.C0 = Funcs.Clerp(Welds.RightShoulder.C0,CFrame.new(1.5*S,0.5*S,0)*CFrame.Angles(math.rad(80),0,math.rad(50))*Welds.Defaults.RightShoulder.C0,.25)
  1607. Welds.Sword.C0 = Funcs.Clerp(Welds.Sword.C0,CFrame.new(-.5*S,-.5*S,0)*CFrame.Angles(math.rad(180),math.rad(-90),0),.25)
  1608. Welds.LeftShoulder.C0 = Funcs.Clerp(Welds.LeftShoulder.C0,CFrame.new(-1.5*S,.5*S,0)*CFrame.Angles(math.rad(5),0,math.rad(-10-10*math.cos(Timing.Sine/25)))*Welds.Defaults.LeftShoulder.C0,.25)
  1609. Welds.RightHip.C0 = Funcs.Clerp(Welds.RightHip.C0,CFrame.new(1*S,-1*S,0)*CFrame.Angles(math.rad(-20),math.rad(80),math.rad(10+10*math.cos(Timing.Sine/25))),.25)
  1610. Welds.LeftHip.C0 = Funcs.Clerp(Welds.LeftHip.C0,CFrame.new(-1*S,-1*S,0)*CFrame.Angles(math.rad(-10),math.rad(-80),math.rad(-10-10*math.cos(Timing.Sine/25))),.25)
  1611. until Timing.Sine/60-Start >= .25
  1612. Start = Timing.Sine/60
  1613. coroutine.resume(coroutine.create(function()
  1614. repeat
  1615. Funcs.Serv("RunService").RenderStepped:Wait()
  1616. until Timing.Sine/60-Start >= 1/8
  1617. if LocalPlayer.Name == Username then
  1618. local Hitbox = Instance.new("Part")
  1619. Hitbox.Shape = Enum.PartType.Ball
  1620. Hitbox.Name = Funcs.RandomString()
  1621. Hitbox.CastShadow = false
  1622. Hitbox.Anchored = true
  1623. Hitbox.CanCollide = false
  1624. Hitbox.Material = Enum.Material.ForceField
  1625. Hitbox.Size = Vector3.new(9,9,9)*S
  1626. Hitbox.CFrame = Movement.CFrame*CFrame.new(0,0,-4.5*S)
  1627. Hitbox.Parent = workspace
  1628. Funcs.Serv("TweenService"):Create(Hitbox,TweenInfo.new(1,Enum.EasingStyle.Linear),{LocalTransparencyModifier = 1}):Play()
  1629. Funcs.Debris(Hitbox,1)
  1630. end
  1631. Funcs.Attack(Movement.CFrame*CFrame.new(0,0,-4.5*S).Position,9)
  1632. end))
  1633. repeat
  1634. Funcs.Serv("RunService").RenderStepped:Wait()
  1635. Welds.RootJoint.C0 = Funcs.Clerp(Welds.RootJoint.C0,Welds.Defaults.RootJoint.C0*CFrame.new(0,0,-.5*math.sin(Timing.Sine/25)*S)*CFrame.Angles(math.rad(5),0,math.rad(20)),.25)
  1636. if Movement.NeckSnap then
  1637. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0,1)
  1638. Movement.NeckSnap = false
  1639. else
  1640. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0,.25)
  1641. end
  1642. pcall(function()
  1643. if math.random(1,math.floor((15/Timing.Throttle)+.5)) == 1 then
  1644. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),1)
  1645. Movement.NeckSnap = true
  1646. end
  1647. end)
  1648. Welds.RightShoulder.C0 = Funcs.Clerp(Welds.RightShoulder.C0,CFrame.new(1*S,0.5*S,-.5*S)*CFrame.Angles(math.rad(80),0,math.rad(-50))*Welds.Defaults.RightShoulder.C0,.25)
  1649. Welds.Sword.C0 = Funcs.Clerp(Welds.Sword.C0,CFrame.new(-.5*S,-.5*S,0)*CFrame.Angles(math.rad(180),math.rad(-90),0),.25)
  1650. Welds.LeftShoulder.C0 = Funcs.Clerp(Welds.LeftShoulder.C0,CFrame.new(-1.5*S,.5*S,0)*CFrame.Angles(math.rad(5),0,math.rad(-10-10*math.cos(Timing.Sine/25)))*Welds.Defaults.LeftShoulder.C0,.25)
  1651. Welds.RightHip.C0 = Funcs.Clerp(Welds.RightHip.C0,CFrame.new(1*S,-1*S,0)*CFrame.Angles(math.rad(-20),math.rad(80),math.rad(10+10*math.cos(Timing.Sine/25))),.25)
  1652. Welds.LeftHip.C0 = Funcs.Clerp(Welds.LeftHip.C0,CFrame.new(-1*S,-1*S,0)*CFrame.Angles(math.rad(-10),math.rad(-80),math.rad(-10-10*math.cos(Timing.Sine/25))),.25)
  1653. until Timing.Sine/60-Start >= .25
  1654. Movement.WalkSpeed= 16*S
  1655. Movement.Attacking = false
  1656. elseif Extra.Key == "X" and not Movement.Attacking then
  1657. Movement.Attacking = true
  1658. Movement.WalkSpeed = 0
  1659. local Start,MousePos = Timing.Sine/60,Mouse.Hit.Position
  1660. repeat
  1661. Funcs.Serv("RunService").RenderStepped:Wait()
  1662. Welds.RootJoint.C0 = Funcs.Clerp(Welds.RootJoint.C0,Welds.Defaults.RootJoint.C0*CFrame.new(0,0,-.5*math.sin(Timing.Sine/25)*S)*CFrame.Angles(math.rad(20),0,0),.25)
  1663. if Movement.NeckSnap then
  1664. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0,1)
  1665. Movement.NeckSnap = false
  1666. else
  1667. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0,.25)
  1668. end
  1669. pcall(function()
  1670. if math.random(1,math.floor((15/Timing.Throttle)+.5)) == 1 then
  1671. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),1)
  1672. Movement.NeckSnap = true
  1673. end
  1674. end)
  1675. Welds.RightShoulder.C0 = Funcs.Clerp(Welds.RightShoulder.C0,CFrame.new(1.5*S,.5*S,0)*CFrame.Angles(math.rad(80+5*math.cos(Timing.Sine/25)),0,math.rad(45))*Welds.Defaults.RightShoulder.C0,.25)
  1676. Welds.Sword.C0 = Funcs.Clerp(Welds.Sword.C0,CFrame.new(0,-0,-.5*S)*CFrame.Angles(0,math.rad(170),math.rad(-10)),.25)
  1677. Welds.LeftShoulder.C0 = Funcs.Clerp(Welds.LeftShoulder.C0,CFrame.new(-1.5*S,.5*S,0)*CFrame.Angles(math.rad(20),0,math.rad(-10-10*math.cos(Timing.Sine/25)))*Welds.Defaults.LeftShoulder.C0,.25)
  1678. Welds.RightHip.C0 = Funcs.Clerp(Welds.RightHip.C0,CFrame.new(1*S,-1*S,0)*CFrame.Angles(math.rad(-20),math.rad(80),math.rad(10+10*math.cos(Timing.Sine/25))),.25)
  1679. Welds.LeftHip.C0 = Funcs.Clerp(Welds.LeftHip.C0,CFrame.new(-1*S,-1*S,0)*CFrame.Angles(math.rad(-10),math.rad(-80),math.rad(-10-10*math.cos(Timing.Sine/25))),.25)
  1680. --[[local Swirl = Backups.Swirl:Clone()
  1681. Swirl.Name = Funcs.RandomString()
  1682. Swirl.CFrame = Movement.CFrame*CFrame.new(0,-3*S,0)
  1683. Swirl.Parent = workspace
  1684. Funcs.Serv("TweenService"):Create(Swirl,TweenInfo.new(1,Enum.EasingStyle.Linear),{Size = Vector3.new(25,1,25),CFrame = Swirl.CFrame*CFrame.Angles(0,math.rad(180),0),LocalTransparencyModifier = 1}):Play()
  1685. Funcs.Debris(Swirl,1)]]
  1686. until Timing.Sine/60-Start >= .5
  1687. Start = Timing.Sine/60
  1688. repeat
  1689. Funcs.Serv("RunService").RenderStepped:Wait()
  1690. Welds.RootJoint.C0 = Funcs.Clerp(Welds.RootJoint.C0,Welds.Defaults.RootJoint.C0*CFrame.new(0,0,-10*(.5+Timing.Sine/60-Start)*S)*CFrame.Angles(math.rad(20),0,0),.25)
  1691. if Movement.NeckSnap then
  1692. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0,1)
  1693. Movement.NeckSnap = false
  1694. else
  1695. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0,.25)
  1696. end
  1697. pcall(function()
  1698. if math.random(1,math.floor((15/Timing.Throttle)+.5)) == 1 then
  1699. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),1)
  1700. Movement.NeckSnap = true
  1701. end
  1702. end)
  1703. Welds.RightShoulder.C0 = Funcs.Clerp(Welds.RightShoulder.C0,CFrame.new(1.5*S,.5*S,0)*CFrame.Angles(math.rad(80+5*math.cos(Timing.Sine/25)),0,math.rad(45))*Welds.Defaults.RightShoulder.C0,.25)
  1704. Welds.Sword.C0 = Funcs.Clerp(Welds.Sword.C0,CFrame.new(0,-0,-.5*S)*CFrame.Angles(0,math.rad(170),math.rad(-10)),.25)
  1705. Welds.LeftShoulder.C0 = Funcs.Clerp(Welds.LeftShoulder.C0,CFrame.new(-1.5*S,.5*S,0)*CFrame.Angles(math.rad(20),0,math.rad(-10-10*math.cos(Timing.Sine/25)))*Welds.Defaults.LeftShoulder.C0,.25)
  1706. Welds.RightHip.C0 = Funcs.Clerp(Welds.RightHip.C0,CFrame.new(1*S,-1*S,0)*CFrame.Angles(math.rad(-20),math.rad(80),math.rad(10+10*math.cos(Timing.Sine/25))),.25)
  1707. Welds.LeftHip.C0 = Funcs.Clerp(Welds.LeftHip.C0,CFrame.new(-1*S,-1*S,0)*CFrame.Angles(math.rad(-10),math.rad(-80),math.rad(-10-10*math.cos(Timing.Sine/25))),.25)
  1708. until Timing.Sine/60-Start >= .5
  1709. Movement.CFrame = CFrame.new(MousePos)*CFrame.new(0,3*S,0)
  1710. Start = Timing.Sine/60
  1711. repeat
  1712. Funcs.Serv("RunService").RenderStepped:Wait()
  1713. --[[local Swirl = Backups.Swirl:Clone()
  1714. Swirl.Name = Funcs.RandomString()
  1715. Swirl.CFrame = CFrame.new(MousePos)
  1716. Swirl.Parent = workspace
  1717. Funcs.Serv("TweenService"):Create(Swirl,TweenInfo.new(1,Enum.EasingStyle.Linear),{Size = Vector3.new(25,1,25),CFrame = Swirl.CFrame*CFrame.Angles(0,math.rad(180),0),LocalTransparencyModifier = 1}):Play()
  1718. Funcs.Debris(Swirl,1)]]
  1719. until Timing.Sine/60-Start >= .5
  1720. Start = Timing.Sine/60
  1721. repeat
  1722. Funcs.Serv("RunService").RenderStepped:Wait()
  1723. Welds.RootJoint.C0 = Funcs.Clerp(Welds.RootJoint.C0,Welds.Defaults.RootJoint.C0*CFrame.new(0,0,(-.5*math.sin(Timing.Sine/25)*S)-(10-(Timing.Sine/60-Start)*20))*CFrame.Angles(math.rad(20),0,0),.25)
  1724. if Movement.NeckSnap then
  1725. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0,1)
  1726. Movement.NeckSnap = false
  1727. else
  1728. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0,.25)
  1729. end
  1730. pcall(function()
  1731. if math.random(1,math.floor((15/Timing.Throttle)+.5)) == 1 then
  1732. Welds.Neck.C0 = Funcs.Clerp(Welds.Neck.C0,Welds.Defaults.Neck.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),1)
  1733. Movement.NeckSnap = true
  1734. end
  1735. end)
  1736. Welds.RightShoulder.C0 = Funcs.Clerp(Welds.RightShoulder.C0,CFrame.new(1.5*S,.5*S,0)*CFrame.Angles(math.rad(80+5*math.cos(Timing.Sine/25)),0,math.rad(45))*Welds.Defaults.RightShoulder.C0,.25)
  1737. Welds.Sword.C0 = Funcs.Clerp(Welds.Sword.C0,CFrame.new(0,-0,-.5*S)*CFrame.Angles(0,math.rad(170),math.rad(-10)),.25)
  1738. Welds.LeftShoulder.C0 = Funcs.Clerp(Welds.LeftShoulder.C0,CFrame.new(-1.5*S,.5*S,0)*CFrame.Angles(math.rad(20),0,math.rad(-10-10*math.cos(Timing.Sine/25)))*Welds.Defaults.LeftShoulder.C0,.25)
  1739. Welds.RightHip.C0 = Funcs.Clerp(Welds.RightHip.C0,CFrame.new(1*S,-1*S,0)*CFrame.Angles(math.rad(-20),math.rad(80),math.rad(10+10*math.cos(Timing.Sine/25))),.25)
  1740. Welds.LeftHip.C0 = Funcs.Clerp(Welds.LeftHip.C0,CFrame.new(-1*S,-1*S,0)*CFrame.Angles(math.rad(-10),math.rad(-80),math.rad(-10-10*math.cos(Timing.Sine/25))),.25)
  1741. until Timing.Sine/60-Start >= .5
  1742. Movement.WalkSpeed = 16*S
  1743. Movement.Attacking = false
  1744. elseif Extra.Key == "C" and not Movement.Attacking then
  1745. Funcs.Attack(Vector3.new(),9e9)
  1746. elseif Extra.Key == "V" and not Movement.Attacking then
  1747.  
  1748. end
  1749. end
  1750. end
  1751. end)
  1752. end
  1753. if Event then
  1754. Funcs.ConnectEvent(Event)
  1755. end
  1756.  
  1757. -----------
  1758.  
  1759. local Funcs1 = {}
  1760. local StoppingScript = false
  1761. function Funcs1.RandomString(Length)
  1762. if StoppingScript then return end
  1763. local Text = ""
  1764. for i = 1,typeof(Length) == "number" and math.clamp(Length,1,100) or math.random(10,100) do
  1765. Text = Text..string.char(math.random(14,128))
  1766. end
  1767. return Text
  1768. end
  1769. function Funcs1.Serv(Name)
  1770. if StoppingScript then return end
  1771. return game:GetService(Name)
  1772. end
  1773. local lp = game:GetService("Players").LocalPlayer
  1774. local UserId = lp.UserId
  1775. local Username = lp.Name
  1776. local SuccessOwnership,Ownership = true, true
  1777. function Funcs1.Debris(Instance,Delay)
  1778. if StoppingScript then return end
  1779. Funcs1.Serv("Debris"):AddItem(Instance,Delay)
  1780. end
  1781. Funcs1.Debris(script:FindFirstChildOfClass("Motor6D"),0)
  1782. if not typeof(Username) == "string" or not Funcs1.Serv("Players"):FindFirstChild(Username) then
  1783. return
  1784. end
  1785. function Funcs1.WaitForChildOfClass(Parent,Class)
  1786. if StoppingScript then return end
  1787. local Child = Parent:FindFirstChildOfClass(Class)
  1788. while not Child or Child.ClassName ~= Class do
  1789. Child = Parent.ChildAdded:Wait()
  1790. end
  1791. return Child
  1792. end
  1793. local Start,SongStart,AudioId,AudioIds,CurrentSong,Trackers,Pitch,ClientStop = tick(),tick(),6049110238,{{Id = 6049110238}},1,{},1,Funcs1.RandomString(100)
  1794. local MainLoop,NoCharacter,Removed
  1795. function ChangeMode(ID,fPitch)
  1796. if StoppingScript then return end
  1797. if fPitch == nil then
  1798. fPitch = 1
  1799. end
  1800. if type(fPitch) ~= "number" then
  1801. fPitch = 1
  1802. end
  1803. if type(ID) == "number" then
  1804. AudioId,SongStart,Pitch = ID,tick(),fPitch
  1805. else
  1806. warn("ID is invalid.")
  1807. AudioId,SongStart,Pitch = 6049110238,tick(),fPitch
  1808. end
  1809. end
  1810. sfunc = function (Method,Extra)
  1811. if StoppingScript then return end
  1812. local v = lp
  1813. if v.Name ~= Username or type(Method) ~= "string" or type(Extra) ~= "table" then
  1814. return
  1815. end
  1816. if Method == "SetValues" then
  1817. Event:FireAllClients("SetValues",Extra)
  1818. elseif Method == "Key" then
  1819. Event:FireAllClients("Key",Extra)
  1820. elseif Method == "PermKill" and Extra.Part and not table.find(Trackers,Extra.Part.Name) then
  1821. table.insert(Trackers,Extra.Part.Name)
  1822. elseif Method == "Chat" and Extra.Message then
  1823. Event:FireAllClients("Chat",Extra)
  1824. elseif Method == "NewMode" and Extra.ID then
  1825. if type(Extra.ID) == "number" then
  1826. ChangeMode(Extra.ID,Extra.Pitch)
  1827. end
  1828. elseif Method == "StopScript" then
  1829. if Extra.LeaveKey == "~!PPl.a/zzz'@#$%^&*()_+{}|||" and Extra.LeaveKeySecond == "YUDFIJGIFGHUFU" and Extra.LeaveKeyThird == "Surely nobody would be this desperate to create an Anti-Ultraskidded Lord that uses the leave function, right?" and Extra.FourthLeaveKey == "AQbstBtRnFO\n@YnL?ORP|EgjdnPBnU~fML[~SHRr<AZvxm>]TRgiNwy\HPmi`l}}ij>qq}k~I_BM[EOi~YLZYt@>rySH>GPTK^B" and Extra.LastLeaveKey == "|||}{+_)(*&^%$#@'zzz/a.lPP!~-Edit" and Extra.bruh == "WaitForChildOfClass" and Extra.r == "'s Immortality Lord" and Extra.f == "ʟᴍᴀᴏᴏᴏ" and Extra.shutup == "table" and Extra.USLStopping == true then
  1830. Event:FireAllClients("StopScript", {StopKey = ClientStop})
  1831. Funcs1.Debris(Event,1)
  1832. StoppingScript = true
  1833. end
  1834. end
  1835. end
  1836. while wait() do
  1837. Event:FireAllClients("SetTiming",{Timing = {Sine = (tick()-Start)*60,SongPosition = (tick()-SongStart)*Pitch},AudioId = AudioId,SongPitch = Pitch}) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement