DonateArt

Spider Bot

Jan 19th, 2023
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 86.46 KB | None | 0 0
  1. --reanimate by MyWorld#4430 discord.gg/pYVHtSJmEY GO LINE 1596 AND REPLACE INSULT_BALL WITH YOUR NAME OR NO WORK
  2. game.Players.LocalPlayer.Character["CityLifeWoman_HairAccessory"].Handle.SpecialMesh:Destroy() --remove specialmesh if the hat is only mesh
  3. game.Players.LocalPlayer.Character["RockabillyZombie_HairnGlassesAccessory"].Handle.SpecialMesh:Destroy() --remove specialmesh if the hat is only mesh
  4. game.Players.LocalPlayer.Character["HairAccessory"].Handle.SpecialMesh:Destroy() --remove specialmesh if the hat is only mesh
  5. game.Players.LocalPlayer.Character["RedcliffKnight_HelmetAccessory"].Handle.SpecialMesh:Destroy() --remove specialmesh if the hat is only mesh
  6. game.Players.LocalPlayer.Character["Lipstick_Bag_3.0"].Handle.Mesh:Destroy() --remove specialmesh if the hat is only mesh
  7. game.Players.LocalPlayer.Character["Lipstick_Bag_1.0"].Handle.Mesh:Destroy() --remove specialmesh if the hat is only mesh
  8. game.Players.LocalPlayer.Character["PirateCaptain_HatAccessory"].Handle.SpecialMesh:Destroy() --remove specialmesh if the hat is only mesh
  9. game.Players.LocalPlayer.Character["HatAccessory"].Handle.SpecialMesh:Destroy() --remove specialmesh if the hat is only mesh
  10. game.Players.LocalPlayer.Character["LUAhEAD"].Handle.Mesh:Destroy() --remove specialmesh if the hat is only mesh
  11. game.Players.LocalPlayer.Character["VANS_Umbrella"].Handle.Mesh:Destroy() --remove specialmesh if the hat is only mesh
  12.  
  13.  
  14. for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
  15. if v:IsA("BasePart") and v.Name ~="HumanoidRootPart" then
  16. game:GetService("RunService").Heartbeat:connect(function()
  17. v.Velocity = Vector3.new(-30,0,0)
  18. end)
  19. end
  20. end
  21.  
  22. game:GetService("StarterGui"):SetCore("SendNotification", {
  23. Title = "Notification";
  24. Text = "Netless Ran";
  25. Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150"})
  26. Duration = 16;
  27. --simulation radius (net bypass) method
  28. --"shp" - sethiddenproperty
  29. --"ssr" - setsimulationradius
  30. --false - disable
  31. local antiragdoll = true --removes hingeConstraints and ballSocketConstraints from your character
  32. local newanimate = false --disables the animate script and enables after reanimation
  33. local discharscripts = true --disables all localScripts parented to your character before reanimation
  34. local R15toR6 = false --tries to convert your character to r6 if its r15
  35. local hatcollide = true --makes hats cancollide (only method 0)
  36. local humState16 = true --enables collisions for limbs before the humanoid dies (using hum:ChangeState)
  37. local addtools = false --puts all tools from backpack to character and lets you hold them after reanimation
  38. local hedafterneck = false --disable aligns for head and enable after neck is removed
  39. local loadtime = game:GetService("Players").RespawnTime + 0.5 --anti respawn delay
  40. local method = 0 --reanimation method
  41. --methods:
  42. --0 - breakJoints (takes [loadtime] seconds to laod)
  43. --1 - limbs
  44. --2 - limbs + anti respawn
  45. --3 - limbs + breakJoints after [loadtime] seconds
  46. --4 - remove humanoid + breakJoints
  47. --5 - remove humanoid + limbs
  48. local alignmode = 2 --AlignPosition mode
  49. --modes:
  50. --1 - AlignPosition rigidity enabled true
  51. --2 - 2 AlignPositions rigidity enabled both true and false
  52. --3 - AlignPosition rigidity enabled false
  53.  
  54. local lp = game:GetService("Players").LocalPlayer
  55. local rs = game:GetService("RunService")
  56. local stepped = rs.Stepped
  57. local heartbeat = rs.Heartbeat
  58. local renderstepped = rs.RenderStepped
  59. local sg = game:GetService("StarterGui")
  60. local ws = game:GetService("Workspace")
  61. local cf = CFrame.new
  62. local v3 = Vector3.new
  63. local v3_0 = v3(0, 0, 0)
  64. local inf = math.huge
  65.  
  66. local c = lp.Character
  67.  
  68. if not (c and c.Parent) then
  69. return
  70. end
  71.  
  72. c.Destroying:Connect(function()
  73. c = nil
  74. end)
  75.  
  76. local function gp(parent, name, className)
  77. if typeof(parent) == "Instance" then
  78. for i, v in pairs(parent:GetChildren()) do
  79. if (v.Name == name) and v:IsA(className) then
  80. return v
  81. end
  82. end
  83. end
  84. return nil
  85. end
  86.  
  87. local function align(Part0, Part1)
  88. Part0.CustomPhysicalProperties = PhysicalProperties.new(0.0001, 0.0001, 0.0001, 0.0001, 0.0001)
  89.  
  90. local att0 = Instance.new("Attachment", Part0)
  91. att0.Orientation = v3_0
  92. att0.Position = v3_0
  93. att0.Name = "att0_" .. Part0.Name
  94. local att1 = Instance.new("Attachment", Part1)
  95. att1.Orientation = v3_0
  96. att1.Position = v3_0
  97. att1.Name = "att1_" .. Part1.Name
  98.  
  99. if (alignmode == 1) or (alignmode == 2) then
  100. local ape = Instance.new("AlignPosition", att0)
  101. ape.ApplyAtCenterOfMass = false
  102. ape.MaxForce = inf
  103. ape.MaxVelocity = inf
  104. ape.ReactionForceEnabled = false
  105. ape.Responsiveness = 200
  106. ape.Attachment1 = att1
  107. ape.Attachment0 = att0
  108. ape.Name = "AlignPositionRtrue"
  109. ape.RigidityEnabled = true
  110. end
  111.  
  112. if (alignmode == 2) or (alignmode == 3) then
  113. local apd = Instance.new("AlignPosition", att0)
  114. apd.ApplyAtCenterOfMass = false
  115. apd.MaxForce = inf
  116. apd.MaxVelocity = inf
  117. apd.ReactionForceEnabled = false
  118. apd.Responsiveness = 200
  119. apd.Attachment1 = att1
  120. apd.Attachment0 = att0
  121. apd.Name = "AlignPositionRfalse"
  122. apd.RigidityEnabled = false
  123. end
  124.  
  125. local ao = Instance.new("AlignOrientation", att0)
  126. ao.MaxAngularVelocity = inf
  127. ao.MaxTorque = inf
  128. ao.PrimaryAxisOnly = false
  129. ao.ReactionTorqueEnabled = false
  130. ao.Responsiveness = 200
  131. ao.Attachment1 = att1
  132. ao.Attachment0 = att0
  133. ao.RigidityEnabled = false
  134.  
  135. if type(getNetlessVelocity) == "function" then
  136. local realVelocity = v3_0
  137. local steppedcon = stepped:Connect(function()
  138. Part0.Velocity = realVelocity
  139. end)
  140. local heartbeatcon = heartbeat:Connect(function()
  141. realVelocity = Part0.Velocity
  142. Part0.Velocity = getNetlessVelocity(realVelocity)
  143. end)
  144. Part0.Destroying:Connect(function()
  145. Part0 = nil
  146. steppedcon:Disconnect()
  147. heartbeatcon:Disconnect()
  148. end)
  149. end
  150. end
  151.  
  152. local function respawnrequest()
  153. local ccfr = ws.CurrentCamera.CFrame
  154. local c = lp.Character
  155. lp.Character = nil
  156. lp.Character = c
  157. local con = nil
  158. con = ws.CurrentCamera.Changed:Connect(function(prop)
  159. if (prop ~= "Parent") and (prop ~= "CFrame") then
  160. return
  161. end
  162. ws.CurrentCamera.CFrame = ccfr
  163. con:Disconnect()
  164. end)
  165. end
  166.  
  167. local destroyhum = (method == 4) or (method == 5)
  168. local breakjoints = (method == 0) or (method == 4)
  169. local antirespawn = (method == 0) or (method == 2) or (method == 3)
  170.  
  171. hatcollide = hatcollide and (method == 0)
  172.  
  173. addtools = addtools and gp(lp, "Backpack", "Backpack")
  174.  
  175. local fenv = getfenv()
  176. local shp = fenv.sethiddenproperty or fenv.set_hidden_property or fenv.set_hidden_prop or fenv.sethiddenprop
  177. 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
  178.  
  179. if shp and (simradius == "shp") then
  180. spawn(function()
  181. while c and heartbeat:Wait() do
  182. shp(lp, "SimulationRadius", inf)
  183. end
  184. end)
  185. elseif ssr and (simradius == "ssr") then
  186. spawn(function()
  187. while c and heartbeat:Wait() do
  188. ssr(inf)
  189. end
  190. end)
  191. end
  192.  
  193. antiragdoll = antiragdoll and function(v)
  194. if v:IsA("HingeConstraint") or v:IsA("BallSocketConstraint") then
  195. v.Parent = nil
  196. end
  197. end
  198.  
  199. if antiragdoll then
  200. for i, v in pairs(c:GetDescendants()) do
  201. antiragdoll(v)
  202. end
  203. c.DescendantAdded:Connect(antiragdoll)
  204. end
  205.  
  206. if antirespawn then
  207. respawnrequest()
  208. end
  209.  
  210. if method == 0 then
  211. wait(loadtime)
  212. if not c then
  213. return
  214. end
  215. end
  216.  
  217. if discharscripts then
  218. for i, v in pairs(c:GetChildren()) do
  219. if v:IsA("LocalScript") then
  220. v.Disabled = true
  221. end
  222. end
  223. elseif newanimate then
  224. local animate = gp(c, "Animate", "LocalScript")
  225. if animate and (not animate.Disabled) then
  226. animate.Disabled = true
  227. else
  228. newanimate = false
  229. end
  230. end
  231.  
  232. if addtools then
  233. for i, v in pairs(addtools:GetChildren()) do
  234. if v:IsA("Tool") then
  235. v.Parent = c
  236. end
  237. end
  238. end
  239.  
  240. pcall(function()
  241. settings().Physics.AllowSleep = false
  242. settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  243. end)
  244.  
  245. local OLDscripts = {}
  246.  
  247. for i, v in pairs(c:GetDescendants()) do
  248. if v.ClassName == "Script" then
  249. table.insert(OLDscripts, v)
  250. end
  251. end
  252.  
  253. local scriptNames = {}
  254.  
  255. for i, v in pairs(c:GetDescendants()) do
  256. if v:IsA("BasePart") then
  257. local newName = tostring(i)
  258. local exists = true
  259. while exists do
  260. exists = false
  261. for i, v in pairs(OLDscripts) do
  262. if v.Name == newName then
  263. exists = true
  264. end
  265. end
  266. if exists then
  267. newName = newName .. "_"
  268. end
  269. end
  270. table.insert(scriptNames, newName)
  271. Instance.new("Script", v).Name = newName
  272. end
  273. end
  274.  
  275. c.Archivable = true
  276. local hum = c:FindFirstChildOfClass("Humanoid")
  277. if hum then
  278. for i, v in pairs(hum:GetPlayingAnimationTracks()) do
  279. v:Stop()
  280. end
  281. end
  282. local cl = c:Clone()
  283. if hum and humState16 then
  284. hum:ChangeState(Enum.HumanoidStateType.Physics)
  285. if destroyhum then
  286. wait(1.6)
  287. end
  288. end
  289. if hum and hum.Parent and destroyhum then
  290. hum:Destroy()
  291. end
  292.  
  293. if not c then
  294. return
  295. end
  296.  
  297. local head = gp(c, "Head", "BasePart")
  298. local torso = gp(c, "Torso", "BasePart") or gp(c, "UpperTorso", "BasePart")
  299. local root = gp(c, "HumanoidRootPart", "BasePart")
  300. if hatcollide and c:FindFirstChildOfClass("Accessory") then
  301. local anything = c:FindFirstChildOfClass("BodyColors") or gp(c, "Health", "Script")
  302. if not (torso and root and anything) then
  303. return
  304. end
  305. torso:Destroy()
  306. root:Destroy()
  307. if shp then
  308. for i,v in pairs(c:GetChildren()) do
  309. if v:IsA("Accessory") then
  310. shp(v, "BackendAccoutrementState", 0)
  311. end
  312. end
  313. end
  314. anything:Destroy()
  315. if head then
  316. head:Destroy()
  317. end
  318. end
  319.  
  320. for i, v in pairs(cl:GetDescendants()) do
  321. if v:IsA("BasePart") then
  322. v.Transparency = 1
  323. v.Anchored = false
  324. end
  325. end
  326.  
  327. local model = Instance.new("Model", c)
  328. model.Name = model.ClassName
  329.  
  330. model.Destroying:Connect(function()
  331. model = nil
  332. end)
  333.  
  334. for i, v in pairs(c:GetChildren()) do
  335. if v ~= model then
  336. if addtools and v:IsA("Tool") then
  337. for i1, v1 in pairs(v:GetDescendants()) do
  338. if v1 and v1.Parent and v1:IsA("BasePart") then
  339. local bv = Instance.new("BodyVelocity", v1)
  340. bv.Velocity = v3_0
  341. bv.MaxForce = v3(1000, 1000, 1000)
  342. bv.P = 1250
  343. bv.Name = "bv_" .. v.Name
  344. end
  345. end
  346. end
  347. v.Parent = model
  348. end
  349. end
  350.  
  351. if breakjoints then
  352. model:BreakJoints()
  353. else
  354. if head and torso then
  355. for i, v in pairs(model:GetDescendants()) do
  356. if v:IsA("Weld") or v:IsA("Snap") or v:IsA("Glue") or v:IsA("Motor") or v:IsA("Motor6D") then
  357. local save = false
  358. if (v.Part0 == torso) and (v.Part1 == head) then
  359. save = true
  360. end
  361. if (v.Part0 == head) and (v.Part1 == torso) then
  362. save = true
  363. end
  364. if save then
  365. if hedafterneck then
  366. hedafterneck = v
  367. end
  368. else
  369. v:Destroy()
  370. end
  371. end
  372. end
  373. end
  374. if method == 3 then
  375. spawn(function()
  376. wait(loadtime)
  377. if model then
  378. model:BreakJoints()
  379. end
  380. end)
  381. end
  382. end
  383.  
  384. cl.Parent = c
  385. for i, v in pairs(cl:GetChildren()) do
  386. v.Parent = c
  387. end
  388. cl:Destroy()
  389.  
  390. local modelDes = {}
  391. for i, v in pairs(model:GetDescendants()) do
  392. if v:IsA("BasePart") then
  393. i = tostring(i)
  394. v.Destroying:Connect(function()
  395. modelDes[i] = nil
  396. end)
  397. modelDes[i] = v
  398. end
  399. end
  400. local modelcolcon = nil
  401. local function modelcolf()
  402. if model then
  403. for i, v in pairs(modelDes) do
  404. v.CanCollide = false
  405. end
  406. else
  407. modelcolcon:Disconnect()
  408. end
  409. end
  410. modelcolcon = stepped:Connect(modelcolf)
  411. modelcolf()
  412.  
  413. for i, scr in pairs(model:GetDescendants()) do
  414. if (scr.ClassName == "Script") and table.find(scriptNames, scr.Name) then
  415. local Part0 = scr.Parent
  416. if Part0:IsA("BasePart") then
  417. for i1, scr1 in pairs(c:GetDescendants()) do
  418. if (scr1.ClassName == "Script") and (scr1.Name == scr.Name) and (not scr1:IsDescendantOf(model)) then
  419. local Part1 = scr1.Parent
  420. if (Part1.ClassName == Part0.ClassName) and (Part1.Name == Part0.Name) then
  421. align(Part0, Part1)
  422. break
  423. end
  424. end
  425. end
  426. end
  427. end
  428. end
  429.  
  430. if (typeof(hedafterneck) == "Instance") and head then
  431. local aligns = {}
  432. local con = nil
  433. con = hedafterneck.Changed:Connect(function(prop)
  434. if (prop == "Parent") and not hedafterneck.Parent then
  435. con:Disconnect()
  436. for i, v in pairs(aligns) do
  437. v.Enabled = true
  438. end
  439. end
  440. end)
  441. for i, v in pairs(head:GetDescendants()) do
  442. if v:IsA("AlignPosition") or v:IsA("AlignOrientation") then
  443. i = tostring(i)
  444. aligns[i] = v
  445. v.Destroying:Connect(function()
  446. aligns[i] = nil
  447. end)
  448. v.Enabled = false
  449. end
  450. end
  451. end
  452.  
  453. for i, v in pairs(c:GetDescendants()) do
  454. if v and v.Parent then
  455. if v.ClassName == "Script" then
  456. if table.find(scriptNames, v.Name) then
  457. v:Destroy()
  458. end
  459. elseif not v:IsDescendantOf(model) then
  460. if v:IsA("Decal") then
  461. v.Transparency = 1
  462. elseif v:IsA("ForceField") then
  463. v.Visible = false
  464. elseif v:IsA("Sound") then
  465. v.Playing = false
  466. 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
  467. v.Enabled = false
  468. end
  469. end
  470. end
  471. end
  472.  
  473. if newanimate then
  474. local animate = gp(c, "Animate", "LocalScript")
  475. if animate then
  476. animate.Disabled = false
  477. end
  478. end
  479.  
  480. if addtools then
  481. for i, v in pairs(c:GetChildren()) do
  482. if v:IsA("Tool") then
  483. v.Parent = addtools
  484. end
  485. end
  486. end
  487.  
  488. local hum0 = model:FindFirstChildOfClass("Humanoid")
  489. if hum0 then
  490. hum0.Destroying:Connect(function()
  491. hum0 = nil
  492. end)
  493. end
  494.  
  495. local hum1 = c:FindFirstChildOfClass("Humanoid")
  496. if hum1 then
  497. hum1.Destroying:Connect(function()
  498. hum1 = nil
  499. end)
  500. end
  501.  
  502. if hum1 then
  503. ws.CurrentCamera.CameraSubject = hum1
  504. local camSubCon = nil
  505. local function camSubFunc()
  506. camSubCon:Disconnect()
  507. if c and hum1 then
  508. ws.CurrentCamera.CameraSubject = hum1
  509. end
  510. end
  511. camSubCon = renderstepped:Connect(camSubFunc)
  512. if hum0 then
  513. hum0.Changed:Connect(function(prop)
  514. if hum1 and (prop == "Jump") then
  515. hum1.Jump = hum0.Jump
  516. end
  517. end)
  518. else
  519. respawnrequest()
  520. end
  521. end
  522.  
  523. local rb = Instance.new("BindableEvent", c)
  524. rb.Event:Connect(function()
  525. rb:Destroy()
  526. sg:SetCore("ResetButtonCallback", true)
  527. if destroyhum then
  528. c:BreakJoints()
  529. return
  530. end
  531. if hum0 and (hum0.Health > 0) then
  532. model:BreakJoints()
  533. hum0.Health = 0
  534. end
  535. if antirespawn then
  536. respawnrequest()
  537. end
  538. end)
  539. sg:SetCore("ResetButtonCallback", rb)
  540.  
  541. spawn(function()
  542. while c do
  543. if hum0 and hum1 then
  544. hum1.Jump = hum0.Jump
  545. end
  546. wait()
  547. end
  548. sg:SetCore("ResetButtonCallback", true)
  549. end)
  550.  
  551. R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15)
  552. if R15toR6 then
  553. 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")
  554. if part then
  555. local cfr = part.CFrame
  556. local R6parts = {
  557. head = {
  558. Name = "Head",
  559. Size = v3(2, 1, 1),
  560. R15 = {
  561. Head = 0
  562. }
  563. },
  564. torso = {
  565. Name = "Torso",
  566. Size = v3(2, 2, 1),
  567. R15 = {
  568. UpperTorso = 0.2,
  569. LowerTorso = -0.8
  570. }
  571. },
  572. root = {
  573. Name = "HumanoidRootPart",
  574. Size = v3(2, 2, 1),
  575. R15 = {
  576. HumanoidRootPart = 0
  577. }
  578. },
  579. leftArm = {
  580. Name = "Left Arm",
  581. Size = v3(1, 2, 1),
  582. R15 = {
  583. LeftHand = -0.85,
  584. LeftLowerArm = -0.2,
  585. LeftUpperArm = 0.4
  586. }
  587. },
  588. rightArm = {
  589. Name = "Right Arm",
  590. Size = v3(1, 2, 1),
  591. R15 = {
  592. RightHand = -0.85,
  593. RightLowerArm = -0.2,
  594. RightUpperArm = 0.4
  595. }
  596. },
  597. leftLeg = {
  598. Name = "Left Leg",
  599. Size = v3(1, 2, 1),
  600. R15 = {
  601. LeftFoot = -0.85,
  602. LeftLowerLeg = -0.15,
  603. LeftUpperLeg = 0.6
  604. }
  605. },
  606. rightLeg = {
  607. Name = "Right Leg",
  608. Size = v3(1, 2, 1),
  609. R15 = {
  610. RightFoot = -0.85,
  611. RightLowerLeg = -0.15,
  612. RightUpperLeg = 0.6
  613. }
  614. }
  615. }
  616. for i, v in pairs(c:GetChildren()) do
  617. if v:IsA("BasePart") then
  618. for i1, v1 in pairs(v:GetChildren()) do
  619. if v1:IsA("Motor6D") then
  620. v1.Part0 = nil
  621. end
  622. end
  623. end
  624. end
  625. part.Archivable = true
  626. for i, v in pairs(R6parts) do
  627. local part = part:Clone()
  628. part:ClearAllChildren()
  629. part.Name = v.Name
  630. part.Size = v.Size
  631. part.CFrame = cfr
  632. part.Anchored = false
  633. part.Transparency = 1
  634. part.CanCollide = false
  635. for i1, v1 in pairs(v.R15) do
  636. local R15part = gp(c, i1, "BasePart")
  637. local att = gp(R15part, "att1_" .. i1, "Attachment")
  638. if R15part then
  639. local weld = Instance.new("Weld", R15part)
  640. weld.Name = "Weld_" .. i1
  641. weld.Part0 = part
  642. weld.Part1 = R15part
  643. weld.C0 = cf(0, v1, 0)
  644. weld.C1 = cf(0, 0, 0)
  645. R15part.Massless = true
  646. R15part.Name = "R15_" .. i1
  647. R15part.Parent = part
  648. if att then
  649. att.Parent = part
  650. att.Position = v3(0, v1, 0)
  651. end
  652. end
  653. end
  654. part.Parent = c
  655. R6parts[i] = part
  656. end
  657. local R6joints = {
  658. neck = {
  659. Parent = R6parts.torso,
  660. Name = "Neck",
  661. Part0 = R6parts.torso,
  662. Part1 = R6parts.head,
  663. C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  664. C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  665. },
  666. rootJoint = {
  667. Parent = R6parts.root,
  668. Name = "RootJoint" ,
  669. Part0 = R6parts.root,
  670. Part1 = R6parts.torso,
  671. C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  672. C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  673. },
  674. rightShoulder = {
  675. Parent = R6parts.torso,
  676. Name = "Right Shoulder",
  677. Part0 = R6parts.torso,
  678. Part1 = R6parts.rightArm,
  679. C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  680. C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  681. },
  682. leftShoulder = {
  683. Parent = R6parts.torso,
  684. Name = "Left Shoulder",
  685. Part0 = R6parts.torso,
  686. Part1 = R6parts.leftArm,
  687. C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  688. C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  689. },
  690. rightHip = {
  691. Parent = R6parts.torso,
  692. Name = "Right Hip",
  693. Part0 = R6parts.torso,
  694. Part1 = R6parts.rightLeg,
  695. C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  696. C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  697. },
  698. leftHip = {
  699. Parent = R6parts.torso,
  700. Name = "Left Hip" ,
  701. Part0 = R6parts.torso,
  702. Part1 = R6parts.leftLeg,
  703. C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  704. C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  705. }
  706. }
  707. for i, v in pairs(R6joints) do
  708. local joint = Instance.new("Motor6D")
  709. for prop, val in pairs(v) do
  710. joint[prop] = val
  711. end
  712. R6joints[i] = joint
  713. end
  714. hum1.RigType = Enum.HumanoidRigType.R6
  715. hum1.HipHeight = 0
  716. end
  717. end
  718.  
  719.  
  720.  
  721. --find rig joints
  722.  
  723. local function fakemotor()
  724. return {C0=cf(), C1=cf()}
  725. end
  726.  
  727. local torso = gp(c, "Torso", "BasePart")
  728. local root = gp(c, "HumanoidRootPart", "BasePart")
  729.  
  730. local neck = gp(torso, "Neck", "Motor6D")
  731. neck = neck or fakemotor()
  732.  
  733. local rootJoint = gp(root, "RootJoint", "Motor6D")
  734. rootJoint = rootJoint or fakemotor()
  735.  
  736. local leftShoulder = gp(torso, "Left Shoulder", "Motor6D")
  737. leftShoulder = leftShoulder or fakemotor()
  738.  
  739. local rightShoulder = gp(torso, "Right Shoulder", "Motor6D")
  740. rightShoulder = rightShoulder or fakemotor()
  741.  
  742. local leftHip = gp(torso, "Left Hip", "Motor6D")
  743. leftHip = leftHip or fakemotor()
  744.  
  745. local rightHip = gp(torso, "Right Hip", "Motor6D")
  746. rightHip = rightHip or fakemotor()
  747.  
  748. --120 fps
  749.  
  750. local fps = 100
  751. local event = Instance.new("BindableEvent", c)
  752. event.Name = "120 fps"
  753. local floor = math.floor
  754. fps = 1 / fps
  755. local tf = 0
  756. local con = nil
  757. con = game:GetService("RunService").RenderStepped:Connect(function(s)
  758. if not c then
  759. con:Disconnect()
  760. return
  761. end
  762. tf += s
  763. if tf >= fps then
  764. for i=1, floor(tf / fps) do
  765. event:Fire(c)
  766. end
  767. tf = 0
  768. end
  769. end)
  770. local event = event.Event
  771.  
  772. local hedrot = v3(0, 5, 0)
  773.  
  774. local uis = game:GetService("UserInputService")
  775. local function isPressed(key)
  776. return (not uis:GetFocusedTextBox()) and uis:IsKeyDown(Enum.KeyCode[key])
  777. end
  778.  
  779. local biggesthandle = nil
  780. for i, v in pairs(c:GetChildren()) do
  781. if v:IsA("Accessory") then
  782. local handle = gp(v, "Handle", "BasePart")
  783. if biggesthandle then
  784. if biggesthandle.Size.Magnitude < handle.Size.Magnitude then
  785. biggesthandle = handle
  786. end
  787. else
  788. biggesthandle = gp(v, "Handle", "BasePart")
  789. end
  790. end
  791. end
  792.  
  793. if not biggesthandle then
  794. return
  795. end
  796.  
  797. local handle1 = gp(gp(model, biggesthandle.Parent.Name, "Accessory"), "Handle", "BasePart")
  798. if not handle1 then
  799. return
  800. end
  801.  
  802. handle1.Destroying:Connect(function()
  803. handle1 = nil
  804. end)
  805. biggesthandle.Destroying:Connect(function()
  806. biggesthandle = nil
  807. end)
  808.  
  809. biggesthandle:BreakJoints()
  810. biggesthandle.Anchored = true
  811.  
  812. for i, v in pairs(handle1:GetDescendants()) do
  813. if v:IsA("AlignOrientation") then
  814. v.Enabled = false
  815. end
  816. end
  817.  
  818. local mouse = lp:GetMouse()
  819. local fling = false
  820. mouse.Button1Down:Connect(function()
  821. fling = true
  822. end)
  823. mouse.Button1Up:Connect(function()
  824. fling = false
  825. end)
  826. local function doForSignal(signal, vel)
  827. spawn(function()
  828. while signal:Wait() and c and handle1 and biggesthandle do
  829. if fling and mouse.Target then
  830. biggesthandle.Position = mouse.Hit.Position
  831. end
  832. handle1.RotVelocity = vel
  833. end
  834. end)
  835. end
  836. doForSignal(stepped, v3(1, 1, 1))
  837. doForSignal(renderstepped, v3(1, 1, 1))
  838. doForSignal(heartbeat, v3(20000, 20000, 20000))
  839.  
  840.  
  841.  
  842.  
  843.  
  844. _G.loop = true
  845. local player = game.Players.LocalPlayer
  846. local char = player.Character
  847. local Align = function(Part0, Part1,Mesh)
  848. local Aligns = {
  849. AlignOrientation = Instance.new("AlignOrientation", Part0),
  850. AlignPosition = Instance.new("AlignPosition", Part0)
  851. }
  852.  
  853. local Attachments = {
  854. Attach0 = Instance.new("Attachment", Part0),
  855. Attach1 = Instance.new("Attachment", Part1)
  856. }
  857. local m = Part0:FindFirstChildOfClass('SpecialMesh')--This will get the first "SpecialMesh" it finds if it does not find any, then it will return nil
  858. if Mesh and m then --If Mesh is set to true and it finds a mesh it will destroy it
  859. m:Destroy()
  860. end
  861. Part0:BreakJoints()
  862. Aligns.AlignOrientation.Attachment0 = Attachments.Attach0
  863. Aligns.AlignOrientation.Attachment1 = Attachments.Attach1
  864. Aligns.AlignOrientation.Responsiveness = math.huge
  865. Aligns.AlignOrientation.RigidityEnabled = true
  866.  
  867. Aligns.AlignPosition.Attachment0 = Attachments.Attach0
  868. Aligns.AlignPosition.Attachment1 = Attachments.Attach1
  869. Aligns.AlignPosition.Responsiveness = math.huge
  870. Aligns.AlignPosition.RigidityEnabled = true
  871. Aligns.AlignPosition.MaxForce = 999999999
  872. spawn(function()
  873. while _G.loop do
  874. local mag = (Part0.Position - (Part1.CFrame*Attachments.Attach0.CFrame:Inverse()).p).magnitude--magnitude can get the distance between two cframe or position
  875. if mag >= 5 then
  876. Part0.CFrame = Part1.CFrame*Attachments.Attach0.CFrame:Inverse()
  877. end
  878. Part0.Velocity = Vector3.new(0,35,0)
  879. game['Run Service'].Heartbeat:wait()
  880. end
  881. end)
  882. return {Attachments.Attach0, Attachments, Aligns}
  883.  
  884. end
  885. local hat = Align(char['LUAhEAD'].Handle,char['Torso'],false)
  886. local cf = char['Torso'].CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(0),0)
  887. hat[1].CFrame = cf:Inverse() * char['Torso'].CFrame
  888. spawn(function()
  889. char.AncestryChanged:wait()--if you respawn, it will stop the loop to avoid lag of using it over and over
  890. _G.loop = false
  891. end)
  892. for i,v in pairs (char:GetChildren()) do
  893. if v:IsA("Accessory") then
  894. v.Handle.Massless = true
  895. v.Handle.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  896. end
  897. end
  898.  
  899.  
  900. _G.loop = true
  901. local player = game.Players.LocalPlayer
  902. local char = player.Character
  903. local Align = function(Part0, Part1,Mesh)
  904. local Aligns = {
  905. AlignOrientation = Instance.new("AlignOrientation", Part0),
  906. AlignPosition = Instance.new("AlignPosition", Part0)
  907. }
  908.  
  909. local Attachments = {
  910. Attach0 = Instance.new("Attachment", Part0),
  911. Attach1 = Instance.new("Attachment", Part1)
  912. }
  913. local m = Part0:FindFirstChildOfClass('SpecialMesh')--This will get the first "SpecialMesh" it finds if it does not find any, then it will return nil
  914. if Mesh and m then --If Mesh is set to true and it finds a mesh it will destroy it
  915. m:Destroy()
  916. end
  917. Part0:BreakJoints()
  918. Aligns.AlignOrientation.Attachment0 = Attachments.Attach0
  919. Aligns.AlignOrientation.Attachment1 = Attachments.Attach1
  920. Aligns.AlignOrientation.Responsiveness = math.huge
  921. Aligns.AlignOrientation.RigidityEnabled = true
  922.  
  923. Aligns.AlignPosition.Attachment0 = Attachments.Attach0
  924. Aligns.AlignPosition.Attachment1 = Attachments.Attach1
  925. Aligns.AlignPosition.Responsiveness = math.huge
  926. Aligns.AlignPosition.RigidityEnabled = true
  927. Aligns.AlignPosition.MaxForce = 999999999
  928. spawn(function()
  929. while _G.loop do
  930. local mag = (Part0.Position - (Part1.CFrame*Attachments.Attach0.CFrame:Inverse()).p).magnitude--magnitude can get the distance between two cframe or position
  931. if mag >= 5 then
  932. Part0.CFrame = Part1.CFrame*Attachments.Attach0.CFrame:Inverse()
  933. end
  934. Part0.Velocity = Vector3.new(0,35,0)
  935. game['Run Service'].Heartbeat:wait()
  936. end
  937. end)
  938. return {Attachments.Attach0, Attachments, Aligns}
  939.  
  940. end
  941. local hat = Align(char['VANS_Umbrella'].Handle,char['HumanoidRootPart'],false)
  942. local cf = char['HumanoidRootPart'].CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(0),0)
  943. hat[1].CFrame = cf:Inverse() * char['HumanoidRootPart'].CFrame
  944. spawn(function()
  945. char.AncestryChanged:wait()--if you respawn, it will stop the loop to avoid lag of using it over and over
  946. _G.loop = false
  947. end)
  948. for i,v in pairs (char:GetChildren()) do
  949. if v:IsA("Accessory") then
  950. v.Handle.Massless = true
  951. v.Handle.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  952. end
  953. end
  954.  
  955.  
  956. wait()
  957. c3 = {}
  958. function c3.new(r,g,b)
  959. return Color3.new(r/255,g/255,b/255)
  960. end
  961.  
  962. primary = c3.new(0,0,0)
  963. secondary = c3.new(255,0,0)
  964.  
  965.  
  966. local player = game.Players.LocalPlayer
  967. repeat wait() until player.Character
  968. char = player.Character
  969.  
  970. basesound = Instance.new("Sound")
  971. basepart = Instance.new("Part")
  972. baseexplosion = Instance.new("Explosion")
  973.  
  974. spawn(function()
  975. while wait() do
  976. if not basesound then
  977. print'basesound nil'
  978. basesound = Instance.new("Sound")
  979. end
  980. if not baseexplosion then
  981. baseexplosion = Instance.new("Explosion")
  982. end
  983. if not basepart then
  984. basepart = Instance.new("Part")
  985. end
  986. end
  987. end)
  988. CreateInstance = function()
  989. cors = {}
  990. mas = Instance.new("Model",game:GetService("Lighting"))
  991. Model0 = Instance.new("Model")
  992. Model1 = Instance.new("Model")
  993. Part2 = Instance.new("Part")
  994. Part3 = Instance.new("Part")
  995. Motor6D4 = Instance.new("Motor6D")
  996. Motor6D5 = Instance.new("Motor6D")
  997. Part6 = Instance.new("Part")
  998. Motor6D7 = Instance.new("Motor6D")
  999. Part8 = Instance.new("Part")
  1000. Motor6D9 = Instance.new("Motor6D")
  1001. Model10 = Instance.new("Model")
  1002. Part11 = Instance.new("Part")
  1003. Part12 = Instance.new("Part")
  1004. Motor6D13 = Instance.new("Motor6D")
  1005. Motor6D14 = Instance.new("Motor6D")
  1006. Part15 = Instance.new("Part")
  1007. Motor6D16 = Instance.new("Motor6D")
  1008. Part17 = Instance.new("Part")
  1009. Motor6D18 = Instance.new("Motor6D")
  1010. Model19 = Instance.new("Model")
  1011. Part20 = Instance.new("Part")
  1012. Part21 = Instance.new("Part")
  1013. Motor6D22 = Instance.new("Motor6D")
  1014. Motor6D23 = Instance.new("Motor6D")
  1015. Part24 = Instance.new("Part")
  1016. Motor6D25 = Instance.new("Motor6D")
  1017. Part26 = Instance.new("Part")
  1018. Motor6D27 = Instance.new("Motor6D")
  1019. Model28 = Instance.new("Model")
  1020. Part29 = Instance.new("Part")
  1021. Part30 = Instance.new("Part")
  1022. Motor6D31 = Instance.new("Motor6D")
  1023. Motor6D32 = Instance.new("Motor6D")
  1024. Part33 = Instance.new("Part")
  1025. Motor6D34 = Instance.new("Motor6D")
  1026. Part35 = Instance.new("Part")
  1027. Motor6D36 = Instance.new("Motor6D")
  1028. Part37 = Instance.new("Part")
  1029. Motor6D38 = Instance.new("Motor6D")
  1030. Model0.Name = "Bot"
  1031. Model0.Parent = mas
  1032. Model1.Name = "LeftLowerLeg"
  1033. Model1.Parent = Model0
  1034. Part2.Name = "Leg"
  1035. Part2.Parent = Model1
  1036. Part2.Material = Enum.Material.Metal
  1037. Part2.BrickColor = BrickColor.new("Really black")
  1038. Part2.Rotation = Vector3.new(0, 45, -111.299995)
  1039. Part2.CanCollide = false
  1040. Part2.Size = Vector3.new(6, 1, 1)
  1041. Part2.CFrame = CFrame.new(32.2574959, 2.97668099, 10.4622593, -0.2568883, 0.65879637, 0.707109034, -0.931675911, -0.363295883, 2.88365015e-07, 0.256890744, -0.65879631, 0.707109392)
  1042. Part2.BottomSurface = Enum.SurfaceType.Smooth
  1043. Part2.TopSurface = Enum.SurfaceType.Smooth
  1044. Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1045. Part2.Position = Vector3.new(32.2574959, 2.97668099, 10.4622593)
  1046. Part2.Orientation = Vector3.new(0, 45, -111.299995)
  1047. Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1048. Part3.Name = "Base"
  1049. Part3.Parent = Model1
  1050. Part3.Material = Enum.Material.Neon
  1051. Part3.BrickColor = BrickColor.new("Really red")
  1052. Part3.Transparency = 1
  1053. Part3.Rotation = Vector3.new(0, 45, -21.2999992)
  1054. Part3.CanCollide = false
  1055. Part3.Shape = Enum.PartType.Ball
  1056. Part3.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  1057. Part3.CFrame = CFrame.new(36.3001213, 3.82847285, 6.41962528, 0.65879637, 0.2568883, 0.707109034, -0.363295883, 0.931675911, 2.88365015e-07, -0.65879631, -0.256890744, 0.707109392)
  1058. Part3.BottomSurface = Enum.SurfaceType.Smooth
  1059. Part3.TopSurface = Enum.SurfaceType.Smooth
  1060. Part3.Color = Color3.new(1, 0, 0)
  1061. Part3.Position = Vector3.new(36.3001213, 3.82847285, 6.41962528)
  1062. Part3.Orientation = Vector3.new(0, 45, -21.2999992)
  1063. Part3.Color = Color3.new(1, 0, 0)
  1064. Motor6D4.Name = "Joint"
  1065. Motor6D4.Parent = Part3
  1066. Motor6D4.C0 = CFrame.new(-5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1067. Motor6D4.C1 = CFrame.new(-2.49999809, 1.43051147e-06, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1068. Motor6D4.Part0 = Part3
  1069. Motor6D4.Part1 = Part6
  1070. Motor6D5.Parent = Part3
  1071. Motor6D5.C1 = CFrame.new(-1.19987869, -0.671523809, 0.419622421, 0.658794224, 0.256887913, 0.707107604, -0.363295287, 0.931674659, 7.94126493e-07, -0.658793986, -0.256889552, 0.707107425)
  1072. Motor6D5.Part0 = Part3
  1073. Motor6D5.Part1 = Part37
  1074. Part6.Name = "Leg"
  1075. Part6.Parent = Model1
  1076. Part6.Material = Enum.Material.Metal
  1077. Part6.BrickColor = BrickColor.new("Really black")
  1078. Part6.Rotation = Vector3.new(0, 45, -21.2999992)
  1079. Part6.CanCollide = false
  1080. Part6.Size = Vector3.new(5, 1, 1)
  1081. Part6.CFrame = CFrame.new(34.6531296, 4.73671198, 8.06661797, 0.65879637, 0.2568883, 0.707109034, -0.363295883, 0.931675911, 2.88365015e-07, -0.65879631, -0.256890744, 0.707109392)
  1082. Part6.BottomSurface = Enum.SurfaceType.Smooth
  1083. Part6.TopSurface = Enum.SurfaceType.Smooth
  1084. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1085. Part6.Position = Vector3.new(34.6531296, 4.73671198, 8.06661797)
  1086. Part6.Orientation = Vector3.new(0, 45, -21.2999992)
  1087. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1088. Motor6D7.Parent = Part6
  1089. Motor6D7.C0 = CFrame.new(2.5999999, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1090. Motor6D7.C1 = CFrame.new(5.10000038, -2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1091. Motor6D7.Part0 = Part6
  1092. Motor6D7.Part1 = Part8
  1093. Part8.Name = "Knee"
  1094. Part8.Parent = Model1
  1095. Part8.Material = Enum.Material.Neon
  1096. Part8.BrickColor = BrickColor.new("Really red")
  1097. Part8.Rotation = Vector3.new(0, 45, -21.2999992)
  1098. Part8.CanCollide = false
  1099. Part8.Shape = Enum.PartType.Ball
  1100. Part8.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  1101. Part8.CFrame = CFrame.new(33.0061378, 5.6449523, 9.71360874, 0.65879637, 0.2568883, 0.707109034, -0.363295883, 0.931675911, 2.88365015e-07, -0.65879631, -0.256890744, 0.707109392)
  1102. Part8.BottomSurface = Enum.SurfaceType.Smooth
  1103. Part8.TopSurface = Enum.SurfaceType.Smooth
  1104. Part8.Color = Color3.new(1, 0, 0)
  1105. Part8.Position = Vector3.new(33.0061378, 5.6449523, 9.71360874)
  1106. Part8.Orientation = Vector3.new(0, 45, -21.2999992)
  1107. Part8.Color = Color3.new(1, 0, 0)
  1108. Motor6D9.Name = "Joint"
  1109. Motor6D9.Parent = Part8
  1110. Motor6D9.C1 = CFrame.new(-2.87059045, 0.0170345306, 0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  1111. Motor6D9.Part0 = Part8
  1112. Motor6D9.Part1 = Part2
  1113. Model10.Name = "RightLowerLeg"
  1114. Model10.Parent = Model0
  1115. Part11.Name = "Leg"
  1116. Part11.Parent = Model10
  1117. Part11.Material = Enum.Material.Metal
  1118. Part11.BrickColor = BrickColor.new("Really black")
  1119. Part11.Rotation = Vector3.new(-180, 45, 68.6999969)
  1120. Part11.CanCollide = false
  1121. Part11.Size = Vector3.new(6, 1, 1)
  1122. Part11.CFrame = CFrame.new(42.8043213, 2.97667575, 10.493145, 0.256888568, -0.658794105, 0.707109451, -0.93167609, -0.363294035, 1.54012838e-07, 0.256888628, -0.658795714, -0.707108974)
  1123. Part11.BottomSurface = Enum.SurfaceType.Smooth
  1124. Part11.TopSurface = Enum.SurfaceType.Smooth
  1125. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1126. Part11.Position = Vector3.new(42.8043213, 2.97667575, 10.493145)
  1127. Part11.Orientation = Vector3.new(0, 135, -111.299995)
  1128. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1129. Part12.Name = "Base"
  1130. Part12.Parent = Model10
  1131. Part12.Material = Enum.Material.Neon
  1132. Part12.BrickColor = BrickColor.new("Really red")
  1133. Part12.Transparency = 1
  1134. Part12.Rotation = Vector3.new(-180, 45, 158.699997)
  1135. Part12.CanCollide = false
  1136. Part12.Shape = Enum.PartType.Ball
  1137. Part12.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  1138. Part12.CFrame = CFrame.new(38.7617035, 3.82847738, 6.45052004, -0.658794105, -0.256888568, 0.707109451, -0.363294035, 0.93167609, 1.54012838e-07, -0.658795714, -0.256888628, -0.707108974)
  1139. Part12.BottomSurface = Enum.SurfaceType.Smooth
  1140. Part12.TopSurface = Enum.SurfaceType.Smooth
  1141. Part12.Color = Color3.new(1, 0, 0)
  1142. Part12.Position = Vector3.new(38.7617035, 3.82847738, 6.45052004)
  1143. Part12.Orientation = Vector3.new(0, 135, -21.2999992)
  1144. Part12.Color = Color3.new(1, 0, 0)
  1145. Motor6D13.Name = "Joint"
  1146. Motor6D13.Parent = Part12
  1147. Motor6D13.C0 = CFrame.new(-5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1148. Motor6D13.C1 = CFrame.new(-2.49999809, 1.43051147e-06, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1149. Motor6D13.Part0 = Part12
  1150. Motor6D13.Part1 = Part15
  1151. Motor6D14.Parent = Part12
  1152. Motor6D14.C1 = CFrame.new(1.26169586, -0.671518087, 0.450518131, -0.658792913, -0.256887645, 0.707107306, -0.363293976, 0.9316746, 2.46838681e-07, -0.658793926, -0.256887645, -0.707106411)
  1153. Motor6D14.Part0 = Part12
  1154. Motor6D14.Part1 = Part37
  1155. Part15.Name = "Leg"
  1156. Part15.Parent = Model10
  1157. Part15.Material = Enum.Material.Metal
  1158. Part15.BrickColor = BrickColor.new("Really black")
  1159. Part15.Rotation = Vector3.new(-180, 45, 158.699997)
  1160. Part15.CanCollide = false
  1161. Part15.Size = Vector3.new(5, 1, 1)
  1162. Part15.CFrame = CFrame.new(40.4086914, 4.73671198, 8.09751129, -0.658794105, -0.256888568, 0.707109451, -0.363294035, 0.93167609, 1.54012838e-07, -0.658795714, -0.256888628, -0.707108974)
  1163. Part15.BottomSurface = Enum.SurfaceType.Smooth
  1164. Part15.TopSurface = Enum.SurfaceType.Smooth
  1165. Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1166. Part15.Position = Vector3.new(40.4086914, 4.73671198, 8.09751129)
  1167. Part15.Orientation = Vector3.new(0, 135, -21.2999992)
  1168. Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1169. Motor6D16.Parent = Part15
  1170. Motor6D16.C0 = CFrame.new(2.5999999, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1171. Motor6D16.C1 = CFrame.new(5.10000038, -2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1172. Motor6D16.Part0 = Part15
  1173. Motor6D16.Part1 = Part17
  1174. Part17.Name = "Knee"
  1175. Part17.Parent = Model10
  1176. Part17.Material = Enum.Material.Neon
  1177. Part17.BrickColor = BrickColor.new("Really red")
  1178. Part17.Rotation = Vector3.new(-180, 45, 158.699997)
  1179. Part17.CanCollide = false
  1180. Part17.Shape = Enum.PartType.Ball
  1181. Part17.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  1182. Part17.CFrame = CFrame.new(42.0556755, 5.64494753, 9.74450111, -0.658794105, -0.256888568, 0.707109451, -0.363294035, 0.93167609, 1.54012838e-07, -0.658795714, -0.256888628, -0.707108974)
  1183. Part17.BottomSurface = Enum.SurfaceType.Smooth
  1184. Part17.TopSurface = Enum.SurfaceType.Smooth
  1185. Part17.Color = Color3.new(1, 0, 0)
  1186. Part17.Position = Vector3.new(42.0556755, 5.64494753, 9.74450111)
  1187. Part17.Orientation = Vector3.new(0, 135, -21.2999992)
  1188. Part17.Color = Color3.new(1, 0, 0)
  1189. Motor6D18.Name = "Joint"
  1190. Motor6D18.Parent = Part17
  1191. Motor6D18.C1 = CFrame.new(-2.87059045, 0.0170345306, 0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  1192. Motor6D18.Part0 = Part17
  1193. Motor6D18.Part1 = Part11
  1194. Model19.Name = "RightUpperLeg"
  1195. Model19.Parent = Model0
  1196. Part20.Name = "Leg"
  1197. Part20.Parent = Model19
  1198. Part20.Material = Enum.Material.Metal
  1199. Part20.BrickColor = BrickColor.new("Really black")
  1200. Part20.Rotation = Vector3.new(-180, -45, 68.6999969)
  1201. Part20.CanCollide = false
  1202. Part20.Size = Vector3.new(6, 1, 1)
  1203. Part20.CFrame = CFrame.new(42.8043251, 2.97667956, 1.56864583, 0.256889135, -0.658794999, -0.707108319, -0.931675553, -0.363295496, 1.16880165e-06, -0.256889671, 0.658795893, -0.707108676)
  1204. Part20.BottomSurface = Enum.SurfaceType.Smooth
  1205. Part20.TopSurface = Enum.SurfaceType.Smooth
  1206. Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1207. Part20.Position = Vector3.new(42.8043251, 2.97667956, 1.56864583)
  1208. Part20.Orientation = Vector3.new(0, -135, -111.299995)
  1209. Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1210. Part21.Name = "Base"
  1211. Part21.Parent = Model19
  1212. Part21.Material = Enum.Material.Neon
  1213. Part21.BrickColor = BrickColor.new("Really red")
  1214. Part21.Transparency = 1
  1215. Part21.Rotation = Vector3.new(-180, -45, 158.699997)
  1216. Part21.CanCollide = false
  1217. Part21.Shape = Enum.PartType.Ball
  1218. Part21.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  1219. Part21.CFrame = CFrame.new(38.7617035, 3.82847285, 5.61127424, -0.658794999, -0.256889135, -0.707108319, -0.363295496, 0.931675553, 1.16880165e-06, 0.658795893, 0.256889671, -0.707108676)
  1220. Part21.BottomSurface = Enum.SurfaceType.Smooth
  1221. Part21.TopSurface = Enum.SurfaceType.Smooth
  1222. Part21.Color = Color3.new(1, 0, 0)
  1223. Part21.Position = Vector3.new(38.7617035, 3.82847285, 5.61127424)
  1224. Part21.Orientation = Vector3.new(0, -135, -21.2999992)
  1225. Part21.Color = Color3.new(1, 0, 0)
  1226. Motor6D22.Name = "Joint"
  1227. Motor6D22.Parent = Part21
  1228. Motor6D22.C0 = CFrame.new(-5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1229. Motor6D22.C1 = CFrame.new(-2.49999809, 1.43051147e-06, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1230. Motor6D22.Part0 = Part21
  1231. Motor6D22.Part1 = Part24
  1232. Motor6D23.Parent = Part21
  1233. Motor6D23.C1 = CFrame.new(1.26169586, -0.671522856, -0.388725281, -0.658793211, -0.256887972, -0.707106888, -0.363295078, 0.931674182, 6.63038577e-07, 0.65879339, 0.256888986, -0.707106709)
  1234. Motor6D23.Part0 = Part21
  1235. Motor6D23.Part1 = Part37
  1236. Part24.Name = "Leg"
  1237. Part24.Parent = Model19
  1238. Part24.Material = Enum.Material.Metal
  1239. Part24.BrickColor = BrickColor.new("Really black")
  1240. Part24.Rotation = Vector3.new(-180, -45, 158.699997)
  1241. Part24.CanCollide = false
  1242. Part24.Size = Vector3.new(5, 1, 1)
  1243. Part24.CFrame = CFrame.new(40.4086914, 4.73671103, 3.96428299, -0.658794999, -0.256889135, -0.707108319, -0.363295496, 0.931675553, 1.16880165e-06, 0.658795893, 0.256889671, -0.707108676)
  1244. Part24.BottomSurface = Enum.SurfaceType.Smooth
  1245. Part24.TopSurface = Enum.SurfaceType.Smooth
  1246. Part24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1247. Part24.Position = Vector3.new(40.4086914, 4.73671103, 3.96428299)
  1248. Part24.Orientation = Vector3.new(0, -135, -21.2999992)
  1249. Part24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1250. Motor6D25.Parent = Part24
  1251. Motor6D25.C0 = CFrame.new(2.5999999, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1252. Motor6D25.C1 = CFrame.new(5.10000038, -2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1253. Motor6D25.Part0 = Part24
  1254. Motor6D25.Part1 = Part26
  1255. Part26.Name = "Knee"
  1256. Part26.Parent = Model19
  1257. Part26.Material = Enum.Material.Neon
  1258. Part26.BrickColor = BrickColor.new("Really red")
  1259. Part26.Rotation = Vector3.new(-180, -45, 158.699997)
  1260. Part26.CanCollide = false
  1261. Part26.Shape = Enum.PartType.Ball
  1262. Part26.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  1263. Part26.CFrame = CFrame.new(42.0556793, 5.64494991, 2.31729317, -0.658794999, -0.256889135, -0.707108319, -0.363295496, 0.931675553, 1.16880165e-06, 0.658795893, 0.256889671, -0.707108676)
  1264. Part26.BottomSurface = Enum.SurfaceType.Smooth
  1265. Part26.TopSurface = Enum.SurfaceType.Smooth
  1266. Part26.Color = Color3.new(1, 0, 0)
  1267. Part26.Position = Vector3.new(42.0556793, 5.64494991, 2.31729317)
  1268. Part26.Orientation = Vector3.new(0, -135, -21.2999992)
  1269. Part26.Color = Color3.new(1, 0, 0)
  1270. Motor6D27.Name = "Joint"
  1271. Motor6D27.Parent = Part26
  1272. Motor6D27.C1 = CFrame.new(-2.87059045, 0.0170345306, 0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  1273. Motor6D27.Part0 = Part26
  1274. Motor6D27.Part1 = Part20
  1275. Model28.Name = "LeftUpperLeg"
  1276. Model28.Parent = Model0
  1277. Part29.Name = "Leg"
  1278. Part29.Parent = Model28
  1279. Part29.Material = Enum.Material.Metal
  1280. Part29.BrickColor = BrickColor.new("Really black")
  1281. Part29.Rotation = Vector3.new(0, -45, -111.299995)
  1282. Part29.CanCollide = false
  1283. Part29.Size = Vector3.new(6, 1, 1)
  1284. Part29.CFrame = CFrame.new(32.2575073, 2.97668052, 1.53776193, -0.256887734, 0.658793867, -0.70710808, -0.931674898, -0.363295287, -5.81522841e-07, -0.256888896, 0.658794224, 0.707108021)
  1285. Part29.BottomSurface = Enum.SurfaceType.Smooth
  1286. Part29.TopSurface = Enum.SurfaceType.Smooth
  1287. Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1288. Part29.Position = Vector3.new(32.2575073, 2.97668052, 1.53776193)
  1289. Part29.Orientation = Vector3.new(0, -45, -111.299995)
  1290. Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1291. Part30.Name = "Base"
  1292. Part30.Parent = Model28
  1293. Part30.Material = Enum.Material.Neon
  1294. Part30.BrickColor = BrickColor.new("Really red")
  1295. Part30.Transparency = 1
  1296. Part30.Rotation = Vector3.new(0, -45, -21.2999992)
  1297. Part30.CanCollide = false
  1298. Part30.Shape = Enum.PartType.Ball
  1299. Part30.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  1300. Part30.CFrame = CFrame.new(36.3001213, 3.82847309, 5.58037996, 0.658793867, 0.256887734, -0.70710808, -0.363295287, 0.931674898, -5.81522841e-07, 0.658794224, 0.256888896, 0.707108021)
  1301. Part30.BottomSurface = Enum.SurfaceType.Smooth
  1302. Part30.TopSurface = Enum.SurfaceType.Smooth
  1303. Part30.Color = Color3.new(1, 0, 0)
  1304. Part30.Position = Vector3.new(36.3001213, 3.82847309, 5.58037996)
  1305. Part30.Orientation = Vector3.new(0, -45, -21.2999992)
  1306. Part30.Color = Color3.new(1, 0, 0)
  1307. Motor6D31.Name = "Joint"
  1308. Motor6D31.Parent = Part30
  1309. Motor6D31.C0 = CFrame.new(-5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1310. Motor6D31.C1 = CFrame.new(-2.49999809, 1.43051147e-06, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1311. Motor6D31.Part0 = Part30
  1312. Motor6D31.Part1 = Part33
  1313. Motor6D32.Parent = Part30
  1314. Motor6D32.C1 = CFrame.new(-1.19987869, -0.671523809, -0.419620514, 0.658793986, 0.256887794, -0.707107961, -0.363295197, 0.931674778, -5.81522897e-07, 0.658794165, 0.256888896, 0.707107723)
  1315. Motor6D32.Part0 = Part30
  1316. Motor6D32.Part1 = Part37
  1317. Part33.Name = "Leg"
  1318. Part33.Parent = Model28
  1319. Part33.Material = Enum.Material.Metal
  1320. Part33.BrickColor = BrickColor.new("Really black")
  1321. Part33.Rotation = Vector3.new(0, -45, -21.2999992)
  1322. Part33.CanCollide = false
  1323. Part33.Size = Vector3.new(5, 1, 1)
  1324. Part33.CFrame = CFrame.new(34.6531334, 4.73671055, 3.93339276, 0.658793867, 0.256887734, -0.70710808, -0.363295287, 0.931674898, -5.81522841e-07, 0.658794224, 0.256888896, 0.707108021)
  1325. Part33.BottomSurface = Enum.SurfaceType.Smooth
  1326. Part33.TopSurface = Enum.SurfaceType.Smooth
  1327. Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1328. Part33.Position = Vector3.new(34.6531334, 4.73671055, 3.93339276)
  1329. Part33.Orientation = Vector3.new(0, -45, -21.2999992)
  1330. Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1331. Motor6D34.Parent = Part33
  1332. Motor6D34.C0 = CFrame.new(2.5999999, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1333. Motor6D34.C1 = CFrame.new(5.10000038, -2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1334. Motor6D34.Part0 = Part33
  1335. Motor6D34.Part1 = Part35
  1336. Part35.Name = "Knee"
  1337. Part35.Parent = Model28
  1338. Part35.Material = Enum.Material.Neon
  1339. Part35.BrickColor = BrickColor.new("Really red")
  1340. Part35.Rotation = Vector3.new(0, -45, -21.2999992)
  1341. Part35.CanCollide = false
  1342. Part35.Shape = Enum.PartType.Ball
  1343. Part35.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  1344. Part35.CFrame = CFrame.new(33.0061493, 5.64494896, 2.28640699, 0.658793867, 0.256887734, -0.70710808, -0.363295287, 0.931674898, -5.81522841e-07, 0.658794224, 0.256888896, 0.707108021)
  1345. Part35.BottomSurface = Enum.SurfaceType.Smooth
  1346. Part35.TopSurface = Enum.SurfaceType.Smooth
  1347. Part35.Color = Color3.new(1, 0, 0)
  1348. Part35.Position = Vector3.new(33.0061493, 5.64494896, 2.28640699)
  1349. Part35.Orientation = Vector3.new(0, -45, -21.2999992)
  1350. Part35.Color = Color3.new(1, 0, 0)
  1351. Motor6D36.Name = "Joint"
  1352. Motor6D36.Parent = Part35
  1353. Motor6D36.C1 = CFrame.new(-2.87059045, 0.0170345306, 0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  1354. Motor6D36.Part0 = Part35
  1355. Motor6D36.Part1 = Part29
  1356. Part37.Name = "FakeTorso"
  1357. Part37.Parent = Model0
  1358. Part37.Transparency = 1
  1359. Part37.Size = Vector3.new(2, 2, 1)
  1360. Part37.CFrame = CFrame.new(37.5000038, 4.49999714, 6.00000095, 1.0000025, -4.23265476e-07, -4.76837158e-07, -4.2326559e-07, 1.00000143, -2.91990006e-07, -4.17232513e-07, -2.77089043e-07, 1.00000322)
  1361. Part37.BottomSurface = Enum.SurfaceType.Smooth
  1362. Part37.TopSurface = Enum.SurfaceType.Smooth
  1363. Part37.Position = Vector3.new(37.5000038, 4.49999714, 6.00000095)
  1364. Motor6D38.Name = "Motor"
  1365. Motor6D38.Parent = Part37
  1366. Motor6D38.Part0 = Part37
  1367. for i,v in pairs(mas:GetChildren()) do
  1368. v.Parent = workspace
  1369. pcall(function() v:MakeJoints() end)
  1370. end
  1371. mas:Destroy()
  1372. for i,v in pairs(cors) do
  1373. spawn(function()
  1374. pcall(v)
  1375. end)
  1376. end
  1377. return Model0
  1378. end
  1379.  
  1380. local spiderbot = CreateInstance()
  1381. spiderbot.Parent = char
  1382.  
  1383. for i,v in pairs (spiderbot:GetDescendants()) do
  1384. if v:IsA("BasePart") then
  1385. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0)
  1386. end
  1387. end
  1388.  
  1389. for i,v in pairs (char:GetDescendants()) do
  1390. if v:IsA("Sound") then
  1391. v.Volume = 0
  1392. end
  1393. end
  1394.  
  1395. for i,v in pairs (spiderbot:GetDescendants()) do
  1396. if v:IsA("BasePart") then
  1397. if v.BrickColor == BrickColor.new("Really black") then
  1398. v.Color = primary
  1399. else
  1400. v.Color = secondary
  1401. end
  1402. end
  1403. end
  1404.  
  1405. function tween(object,style,direction,t,goal)
  1406. local tweenservice = game:GetService("TweenService")
  1407. local tweenInfo = TweenInfo.new(t,Enum.EasingStyle[style],Enum.EasingDirection[direction])
  1408. local tween = tweenservice:Create(object,tweenInfo,goal)
  1409. tween:Play()
  1410. return tween
  1411. end
  1412.  
  1413. local char = player.Character
  1414. torso = char.Torso
  1415. head = char.Head
  1416. hrp = char.HumanoidRootPart
  1417. hum = char.Humanoid
  1418. hum.WalkSpeed = 20
  1419. s = 0
  1420. rstep = game:GetService("RunService").RenderStepped
  1421.  
  1422. if char:FindFirstChild("Animate") then
  1423. char.Animate:Destroy()
  1424. end
  1425. for i,v in pairs (hum:GetPlayingAnimationTracks()) do
  1426. v:Stop()
  1427. end
  1428.  
  1429. local rl = torso['Right Hip']
  1430. local ll = torso['Left Hip']
  1431. local rs = torso['Right Shoulder']
  1432. local ls = torso['Left Shoulder']
  1433. local neck = torso.Neck
  1434. local rs0 = rs.C0
  1435. local ls0 = ls.C0
  1436. local rl0 = rl.C0
  1437. local ll0 = ll.C0
  1438. local n0 = neck.C0
  1439.  
  1440. function newSound(id,extrasettings)
  1441. local soundy = basesound:Clone()
  1442. if not soundy then soundy = Instance.new("Sound") end
  1443. soundy.Parent = hrp
  1444. soundy.Volume = 1
  1445. soundy.SoundId = id
  1446. if extrasettings then
  1447. for i=1,#extrasettings do
  1448. local sets = extrasettings[i]:gmatch("[%w%.]+")
  1449. local set = {}
  1450. for v in (sets) do
  1451. table.insert(set,v)
  1452. end
  1453.  
  1454. soundy[set[1]] = set[2]
  1455. end
  1456. end
  1457. soundy.Playing = true
  1458. game.Debris:AddItem(soundy,5)
  1459. return soundy
  1460. end
  1461.  
  1462. function woosh()
  1463. local wooshes = {'rbxassetid://541909867','rbxassetid://541909814'}
  1464. return newSound(wooshes[math.random(1,#wooshes)],{
  1465. [1] = "PlaybackSpeed, "..tostring(1+math.random(-200,200)/1000);
  1466. [2] = "Volume, 1";
  1467. [3] = "PlaybackSpeed, 0.9";
  1468. })
  1469. end
  1470.  
  1471. function hardhit()
  1472. local wooshes = {'rbxassetid://565207203','rbxassetid://541909983','rbxassetid://541909913'}
  1473. newSound(wooshes[math.random(1,#wooshes)],{
  1474. [1] = "PlaybackSpeed, "..tostring(1+math.random(-100,100)/1000);
  1475. [2] = "Volume, 2";
  1476. })
  1477. end
  1478.  
  1479. function explosion()
  1480. local wooshes = {'rbxassetid://262562442','rbxassetid://919941001','rbxassetid://539294959'}
  1481. newSound(wooshes[math.random(1,#wooshes)],{
  1482. [1] = "PlaybackSpeed, "..tostring(1+math.random(-100,100)/1000);
  1483. [2] = "Volume, 2";
  1484. })
  1485. end
  1486.  
  1487. function hit()
  1488. local hitsounds = {"rbxassetid://220025741",
  1489. "rbxassetid://220025689",
  1490. "rbxassetid://220025689"
  1491. }
  1492. return newSound(hitsounds[math.random(1,#hitsounds)],{
  1493. [1] = "PlaybackSpeed, "..tostring(1+math.random(-200,200)/1000);
  1494. [2] = "Volume, 0.5";
  1495. })
  1496. end
  1497.  
  1498. local csine = 0
  1499. rstep:connect(function()
  1500. if not flying then
  1501. csine = csine + 0.025
  1502. local csin = math.sin(csine)
  1503. rl.C0 = rl.C0:lerp(rl0 * CFrame.Angles(csin/25 + math.rad(-2),0,0), 0.2)
  1504. ll.C0 = ll.C0:lerp(ll0 * CFrame.Angles(csin/25 + math.rad(-2),0,0), 0.2)
  1505. rs.C0 = rs.C0:lerp(rs0 * CFrame.Angles(-csin/15 + math.rad(-6),0,0), 0.2)
  1506. ls.C0 = ls.C0:lerp(ls0 * CFrame.Angles(-csin/15 + math.rad(-6),0,0), 0.2)
  1507. neck.C0 = neck.C0:lerp(n0 * CFrame.Angles(csin/15 + math.rad(15),0,0), 0.2)
  1508. else
  1509. csine = csine + 0.025
  1510. local csin = math.sin(csine)
  1511. rl.C0 = rl.C0:lerp(rl0 * CFrame.Angles(csin/25 + math.rad(-2),0,0), 0.2)
  1512. ll.C0 = ll.C0:lerp(ll0 * CFrame.Angles(csin/25 + math.rad(-2),0,0), 0.2)
  1513. rs.C0 = rs.C0:lerp(rs0 * CFrame.Angles(-csin/10 + math.rad(-90),0,0) * CFrame.new(0,-0.5,-0.5), 0.2)
  1514. ls.C0 = ls.C0:lerp(ls0 * CFrame.Angles(-csin/10 + math.rad(-90),0,0) * CFrame.new(0,-0.5,-0.5), 0.2)
  1515. neck.C0 = neck.C0:lerp(n0 * CFrame.Angles(csin/15 + math.rad(5),0,0), 0.2)
  1516. end
  1517. end)
  1518.  
  1519. hum.HipHeight = 1.25
  1520.  
  1521. center = spiderbot.FakeTorso
  1522. cmotor = center.Motor
  1523. cmotor.Part1 = torso
  1524.  
  1525. LLL = spiderbot.LeftLowerLeg
  1526. LUL = spiderbot.LeftUpperLeg
  1527. RLL = spiderbot.RightLowerLeg
  1528. RUL = spiderbot.RightUpperLeg
  1529.  
  1530. lll = LLL.Base.Motor6D
  1531. lul = LUL.Base.Motor6D
  1532. rll = RLL.Base.Motor6D
  1533. rul = RUL.Base.Motor6D
  1534.  
  1535. lll2 = LLL.Knee.Joint
  1536. lul2 = LUL.Knee.Joint
  1537. rll2 = RLL.Knee.Joint
  1538. rul2 = RUL.Knee.Joint
  1539.  
  1540. olll = lll.C0 * CFrame.new(-0.5,0,-1) * CFrame.new(-0.3,-0.75,0.3)
  1541. olul = lul.C0 * CFrame.new(-0.5,0,1) * CFrame.new(-0.3,-0.75,-0.3)
  1542. orll = rll.C0 * CFrame.new(-0.5,0,1) * CFrame.new(-0.3,-0.75,-0.3)
  1543. orul = rul.C0 * CFrame.new(-0.5,0,-1) * CFrame.new(-0.3,-0.75,0.3)
  1544.  
  1545. lll2.C0 = lll2.C0
  1546. lul2.C0 = lul2.C0
  1547. rll2.C0 = rll2.C0
  1548. rul2.C0 = rul2.C0
  1549.  
  1550. olll2 = lll2.C0
  1551. olul2 = lul2.C0
  1552. orll2 = rll2.C0
  1553. orul2 = rul2.C0
  1554.  
  1555. _G.loop = true
  1556. local player = game.Players.LocalPlayer
  1557. local char = player.Character
  1558. local Align = function(Part0, Part1,Mesh)
  1559. local Aligns = {
  1560. AlignOrientation = Instance.new("AlignOrientation", Part0),
  1561. AlignPosition = Instance.new("AlignPosition", Part0)
  1562. }
  1563.  
  1564. local Attachments = {
  1565. Attach0 = Instance.new("Attachment", Part0),
  1566. Attach1 = Instance.new("Attachment", Part1)
  1567. }
  1568. local m = Part0:FindFirstChildOfClass('SpecialMesh')--This will get the first "SpecialMesh" it finds if it does not find any, then it will return nil
  1569. if Mesh and m then --If Mesh is set to true and it finds a mesh it will destroy it
  1570. m:Destroy()
  1571. end
  1572. Part0:BreakJoints()
  1573. Aligns.AlignOrientation.Attachment0 = Attachments.Attach0
  1574. Aligns.AlignOrientation.Attachment1 = Attachments.Attach1
  1575. Aligns.AlignOrientation.Responsiveness = math.huge
  1576. Aligns.AlignOrientation.RigidityEnabled = true
  1577.  
  1578. Aligns.AlignPosition.Attachment0 = Attachments.Attach0
  1579. Aligns.AlignPosition.Attachment1 = Attachments.Attach1
  1580. Aligns.AlignPosition.Responsiveness = math.huge
  1581. Aligns.AlignPosition.RigidityEnabled = true
  1582. Aligns.AlignPosition.MaxForce = 999999999
  1583. spawn(function()
  1584. while _G.loop do
  1585. local mag = (Part0.Position - (Part1.CFrame*Attachments.Attach0.CFrame:Inverse()).p).magnitude--magnitude can get the distance between two cframe or position
  1586. if mag >= 5 then
  1587. Part0.CFrame = Part1.CFrame*Attachments.Attach0.CFrame:Inverse()
  1588. end
  1589. Part0.Velocity = Vector3.new(0,35,0)
  1590. game['Run Service'].Heartbeat:wait()
  1591. end
  1592. end)
  1593. return {Attachments.Attach0, Attachments, Aligns}
  1594.  
  1595. end
  1596. local hat = Align(char['Lipstick_Bag_1.0'].Handle,game:GetService("Workspace").LocalPlayer.Bot.RightUpperLeg:GetChildren()[3],false)
  1597. local cf = game:GetService("Workspace").LocalPlayer.Bot.RightUpperLeg:GetChildren()[3].CFrame*CFrame.new(-1,0,-0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  1598. hat[1].CFrame = cf:Inverse() * game:GetService("Workspace").LocalPlayer.Bot.RightUpperLeg:GetChildren()[3].CFrame
  1599. spawn(function()
  1600. char.AncestryChanged:wait()--if you respawn, it will stop the loop to avoid lag of using it over and over
  1601. _G.loop = false
  1602. end)
  1603. for i,v in pairs (char:GetChildren()) do
  1604. if v:IsA("Accessory") then
  1605. v.Handle.Massless = true
  1606. v.Handle.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1607. end
  1608. end
  1609.  
  1610.  
  1611. _G.loop = true
  1612. local player = game.Players.LocalPlayer
  1613. local char = player.Character
  1614. local Align = function(Part0, Part1,Mesh)
  1615. local Aligns = {
  1616. AlignOrientation = Instance.new("AlignOrientation", Part0),
  1617. AlignPosition = Instance.new("AlignPosition", Part0)
  1618. }
  1619.  
  1620. local Attachments = {
  1621. Attach0 = Instance.new("Attachment", Part0),
  1622. Attach1 = Instance.new("Attachment", Part1)
  1623. }
  1624. local m = Part0:FindFirstChildOfClass('SpecialMesh')--This will get the first "SpecialMesh" it finds if it does not find any, then it will return nil
  1625. if Mesh and m then --If Mesh is set to true and it finds a mesh it will destroy it
  1626. m:Destroy()
  1627. end
  1628. Part0:BreakJoints()
  1629. Aligns.AlignOrientation.Attachment0 = Attachments.Attach0
  1630. Aligns.AlignOrientation.Attachment1 = Attachments.Attach1
  1631. Aligns.AlignOrientation.Responsiveness = math.huge
  1632. Aligns.AlignOrientation.RigidityEnabled = true
  1633.  
  1634. Aligns.AlignPosition.Attachment0 = Attachments.Attach0
  1635. Aligns.AlignPosition.Attachment1 = Attachments.Attach1
  1636. Aligns.AlignPosition.Responsiveness = math.huge
  1637. Aligns.AlignPosition.RigidityEnabled = true
  1638. Aligns.AlignPosition.MaxForce = 999999999
  1639. spawn(function()
  1640. while _G.loop do
  1641. local mag = (Part0.Position - (Part1.CFrame*Attachments.Attach0.CFrame:Inverse()).p).magnitude--magnitude can get the distance between two cframe or position
  1642. if mag >= 5 then
  1643. Part0.CFrame = Part1.CFrame*Attachments.Attach0.CFrame:Inverse()
  1644. end
  1645. Part0.Velocity = Vector3.new(0,35,0)
  1646. game['Run Service'].Heartbeat:wait()
  1647. end
  1648. end)
  1649. return {Attachments.Attach0, Attachments, Aligns}
  1650.  
  1651. end
  1652. local hat = Align(char['Lipstick_Bag_3.0'].Handle,game:GetService("Workspace").INSULT_BALL.Bot.RightUpperLeg.Leg,false)
  1653. local cf = game:GetService("Workspace").INSULT_BALL.Bot.RightUpperLeg.Leg.CFrame*CFrame.new(1.5,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  1654. hat[1].CFrame = cf:Inverse() * game:GetService("Workspace").INSULT_BALL.Bot.RightUpperLeg.Leg.CFrame
  1655. spawn(function()
  1656. char.AncestryChanged:wait()--if you respawn, it will stop the loop to avoid lag of using it over and over
  1657. _G.loop = false
  1658. end)
  1659. for i,v in pairs (char:GetChildren()) do
  1660. if v:IsA("Accessory") then
  1661. v.Handle.Massless = true
  1662. v.Handle.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1663. end
  1664. end
  1665.  
  1666.  
  1667. _G.loop = true
  1668. local player = game.Players.LocalPlayer
  1669. local char = player.Character
  1670. local Align = function(Part0, Part1,Mesh)
  1671. local Aligns = {
  1672. AlignOrientation = Instance.new("AlignOrientation", Part0),
  1673. AlignPosition = Instance.new("AlignPosition", Part0)
  1674. }
  1675.  
  1676. local Attachments = {
  1677. Attach0 = Instance.new("Attachment", Part0),
  1678. Attach1 = Instance.new("Attachment", Part1)
  1679. }
  1680. local m = Part0:FindFirstChildOfClass('SpecialMesh')--This will get the first "SpecialMesh" it finds if it does not find any, then it will return nil
  1681. if Mesh and m then --If Mesh is set to true and it finds a mesh it will destroy it
  1682. m:Destroy()
  1683. end
  1684. Part0:BreakJoints()
  1685. Aligns.AlignOrientation.Attachment0 = Attachments.Attach0
  1686. Aligns.AlignOrientation.Attachment1 = Attachments.Attach1
  1687. Aligns.AlignOrientation.Responsiveness = math.huge
  1688. Aligns.AlignOrientation.RigidityEnabled = true
  1689.  
  1690. Aligns.AlignPosition.Attachment0 = Attachments.Attach0
  1691. Aligns.AlignPosition.Attachment1 = Attachments.Attach1
  1692. Aligns.AlignPosition.Responsiveness = math.huge
  1693. Aligns.AlignPosition.RigidityEnabled = true
  1694. Aligns.AlignPosition.MaxForce = 999999999
  1695. spawn(function()
  1696. while _G.loop do
  1697. local mag = (Part0.Position - (Part1.CFrame*Attachments.Attach0.CFrame:Inverse()).p).magnitude--magnitude can get the distance between two cframe or position
  1698. if mag >= 5 then
  1699. Part0.CFrame = Part1.CFrame*Attachments.Attach0.CFrame:Inverse()
  1700. end
  1701. Part0.Velocity = Vector3.new(0,35,0)
  1702. game['Run Service'].Heartbeat:wait()
  1703. end
  1704. end)
  1705. return {Attachments.Attach0, Attachments, Aligns}
  1706.  
  1707. end
  1708. local hat = Align(char['HatAccessory'].Handle,game:GetService("Workspace").INSULT_BALL.Bot.LeftLowerLeg:GetChildren()[3],false)
  1709. local cf = game:GetService("Workspace").INSULT_BALL.Bot.LeftLowerLeg:GetChildren()[3].CFrame*CFrame.new(-1,0,0)*CFrame.Angles(math.rad(60),math.rad(90),10)
  1710. hat[1].CFrame = cf:Inverse() * game:GetService("Workspace").INSULT_BALL.Bot.LeftLowerLeg:GetChildren()[3].CFrame
  1711. spawn(function()
  1712. char.AncestryChanged:wait()--if you respawn, it will stop the loop to avoid lag of using it over and over
  1713. _G.loop = false
  1714. end)
  1715. for i,v in pairs (char:GetChildren()) do
  1716. if v:IsA("Accessory") then
  1717. v.Handle.Massless = true
  1718. v.Handle.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1719. end
  1720. end
  1721.  
  1722.  
  1723. _G.loop = true
  1724. local player = game.Players.LocalPlayer
  1725. local char = player.Character
  1726. local Align = function(Part0, Part1,Mesh)
  1727. local Aligns = {
  1728. AlignOrientation = Instance.new("AlignOrientation", Part0),
  1729. AlignPosition = Instance.new("AlignPosition", Part0)
  1730. }
  1731.  
  1732. local Attachments = {
  1733. Attach0 = Instance.new("Attachment", Part0),
  1734. Attach1 = Instance.new("Attachment", Part1)
  1735. }
  1736. local m = Part0:FindFirstChildOfClass('SpecialMesh')--This will get the first "SpecialMesh" it finds if it does not find any, then it will return nil
  1737. if Mesh and m then --If Mesh is set to true and it finds a mesh it will destroy it
  1738. m:Destroy()
  1739. end
  1740. Part0:BreakJoints()
  1741. Aligns.AlignOrientation.Attachment0 = Attachments.Attach0
  1742. Aligns.AlignOrientation.Attachment1 = Attachments.Attach1
  1743. Aligns.AlignOrientation.Responsiveness = math.huge
  1744. Aligns.AlignOrientation.RigidityEnabled = true
  1745.  
  1746. Aligns.AlignPosition.Attachment0 = Attachments.Attach0
  1747. Aligns.AlignPosition.Attachment1 = Attachments.Attach1
  1748. Aligns.AlignPosition.Responsiveness = math.huge
  1749. Aligns.AlignPosition.RigidityEnabled = true
  1750. Aligns.AlignPosition.MaxForce = 999999999
  1751. spawn(function()
  1752. while _G.loop do
  1753. local mag = (Part0.Position - (Part1.CFrame*Attachments.Attach0.CFrame:Inverse()).p).magnitude--magnitude can get the distance between two cframe or position
  1754. if mag >= 5 then
  1755. Part0.CFrame = Part1.CFrame*Attachments.Attach0.CFrame:Inverse()
  1756. end
  1757. Part0.Velocity = Vector3.new(0,35,0)
  1758. game['Run Service'].Heartbeat:wait()
  1759. end
  1760. end)
  1761. return {Attachments.Attach0, Attachments, Aligns}
  1762.  
  1763. end
  1764. local hat = Align(char['PirateCaptain_HatAccessory'].Handle,game:GetService("Workspace").INSULT_BALL.Bot.LeftLowerLeg.Leg,false)
  1765. local cf = game:GetService("Workspace").INSULT_BALL.Bot.LeftLowerLeg.Leg.CFrame*CFrame.new(1.5,0,0)*CFrame.Angles(math.rad(60),math.rad(90),10)
  1766. hat[1].CFrame = cf:Inverse() * game:GetService("Workspace").INSULT_BALL.Bot.LeftLowerLeg.Leg.CFrame
  1767. spawn(function()
  1768. char.AncestryChanged:wait()--if you respawn, it will stop the loop to avoid lag of using it over and over
  1769. _G.loop = false
  1770. end)
  1771. for i,v in pairs (char:GetChildren()) do
  1772. if v:IsA("Accessory") then
  1773. v.Handle.Massless = true
  1774. v.Handle.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1775. end
  1776. end
  1777.  
  1778.  
  1779. _G.loop = true
  1780. local player = game.Players.LocalPlayer
  1781. local char = player.Character
  1782. local Align = function(Part0, Part1,Mesh)
  1783. local Aligns = {
  1784. AlignOrientation = Instance.new("AlignOrientation", Part0),
  1785. AlignPosition = Instance.new("AlignPosition", Part0)
  1786. }
  1787.  
  1788. local Attachments = {
  1789. Attach0 = Instance.new("Attachment", Part0),
  1790. Attach1 = Instance.new("Attachment", Part1)
  1791. }
  1792. local m = Part0:FindFirstChildOfClass('SpecialMesh')--This will get the first "SpecialMesh" it finds if it does not find any, then it will return nil
  1793. if Mesh and m then --If Mesh is set to true and it finds a mesh it will destroy it
  1794. m:Destroy()
  1795. end
  1796. Part0:BreakJoints()
  1797. Aligns.AlignOrientation.Attachment0 = Attachments.Attach0
  1798. Aligns.AlignOrientation.Attachment1 = Attachments.Attach1
  1799. Aligns.AlignOrientation.Responsiveness = math.huge
  1800. Aligns.AlignOrientation.RigidityEnabled = true
  1801.  
  1802. Aligns.AlignPosition.Attachment0 = Attachments.Attach0
  1803. Aligns.AlignPosition.Attachment1 = Attachments.Attach1
  1804. Aligns.AlignPosition.Responsiveness = math.huge
  1805. Aligns.AlignPosition.RigidityEnabled = true
  1806. Aligns.AlignPosition.MaxForce = 999999999
  1807. spawn(function()
  1808. while _G.loop do
  1809. local mag = (Part0.Position - (Part1.CFrame*Attachments.Attach0.CFrame:Inverse()).p).magnitude--magnitude can get the distance between two cframe or position
  1810. if mag >= 5 then
  1811. Part0.CFrame = Part1.CFrame*Attachments.Attach0.CFrame:Inverse()
  1812. end
  1813. Part0.Velocity = Vector3.new(0,35,0)
  1814. game['Run Service'].Heartbeat:wait()
  1815. end
  1816. end)
  1817. return {Attachments.Attach0, Attachments, Aligns}
  1818.  
  1819. end
  1820. local hat = Align(char['RedcliffKnight_HelmetAccessory'].Handle,game:GetService("Workspace").INSULT_BALL.Bot.RightLowerLeg:GetChildren()[3],false)
  1821. local cf = game:GetService("Workspace").INSULT_BALL.Bot.RightLowerLeg:GetChildren()[3].CFrame*CFrame.new(-1.7,0,0)*CFrame.Angles(math.rad(60),math.rad(90),10)
  1822. hat[1].CFrame = cf:Inverse() * game:GetService("Workspace").INSULT_BALL.Bot.RightLowerLeg:GetChildren()[3].CFrame
  1823. spawn(function()
  1824. char.AncestryChanged:wait()--if you respawn, it will stop the loop to avoid lag of using it over and over
  1825. _G.loop = false
  1826. end)
  1827. for i,v in pairs (char:GetChildren()) do
  1828. if v:IsA("Accessory") then
  1829. v.Handle.Massless = true
  1830. v.Handle.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1831. end
  1832. end
  1833.  
  1834.  
  1835.  
  1836. _G.loop = true
  1837. local player = game.Players.LocalPlayer
  1838. local char = player.Character
  1839. local Align = function(Part0, Part1,Mesh)
  1840. local Aligns = {
  1841. AlignOrientation = Instance.new("AlignOrientation", Part0),
  1842. AlignPosition = Instance.new("AlignPosition", Part0)
  1843. }
  1844.  
  1845. local Attachments = {
  1846. Attach0 = Instance.new("Attachment", Part0),
  1847. Attach1 = Instance.new("Attachment", Part1)
  1848. }
  1849. local m = Part0:FindFirstChildOfClass('SpecialMesh')--This will get the first "SpecialMesh" it finds if it does not find any, then it will return nil
  1850. if Mesh and m then --If Mesh is set to true and it finds a mesh it will destroy it
  1851. m:Destroy()
  1852. end
  1853. Part0:BreakJoints()
  1854. Aligns.AlignOrientation.Attachment0 = Attachments.Attach0
  1855. Aligns.AlignOrientation.Attachment1 = Attachments.Attach1
  1856. Aligns.AlignOrientation.Responsiveness = math.huge
  1857. Aligns.AlignOrientation.RigidityEnabled = true
  1858.  
  1859. Aligns.AlignPosition.Attachment0 = Attachments.Attach0
  1860. Aligns.AlignPosition.Attachment1 = Attachments.Attach1
  1861. Aligns.AlignPosition.Responsiveness = math.huge
  1862. Aligns.AlignPosition.RigidityEnabled = true
  1863. Aligns.AlignPosition.MaxForce = 999999999
  1864. spawn(function()
  1865. while _G.loop do
  1866. local mag = (Part0.Position - (Part1.CFrame*Attachments.Attach0.CFrame:Inverse()).p).magnitude--magnitude can get the distance between two cframe or position
  1867. if mag >= 5 then
  1868. Part0.CFrame = Part1.CFrame*Attachments.Attach0.CFrame:Inverse()
  1869. end
  1870. Part0.Velocity = Vector3.new(0,35,0)
  1871. game['Run Service'].Heartbeat:wait()
  1872. end
  1873. end)
  1874. return {Attachments.Attach0, Attachments, Aligns}
  1875.  
  1876. end
  1877. local hat = Align(char['HairAccessory'].Handle,game:GetService("Workspace").INSULT_BALL.Bot.LeftUpperLeg:GetChildren()[3],false)
  1878. local cf = game:GetService("Workspace").INSULT_BALL.Bot.LeftUpperLeg:GetChildren()[3].CFrame*CFrame.new(-1,0,0)*CFrame.Angles(math.rad(60),math.rad(90),10)
  1879. hat[1].CFrame = cf:Inverse() * game:GetService("Workspace").INSULT_BALL.Bot.LeftUpperLeg:GetChildren()[3].CFrame
  1880. spawn(function()
  1881. char.AncestryChanged:wait()--if you respawn, it will stop the loop to avoid lag of using it over and over
  1882. _G.loop = false
  1883. end)
  1884. for i,v in pairs (char:GetChildren()) do
  1885. if v:IsA("Accessory") then
  1886. v.Handle.Massless = true
  1887. v.Handle.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1888. end
  1889. end
  1890.  
  1891.  
  1892.  
  1893. _G.loop = true
  1894. local player = game.Players.LocalPlayer
  1895. local char = player.Character
  1896. local Align = function(Part0, Part1,Mesh)
  1897. local Aligns = {
  1898. AlignOrientation = Instance.new("AlignOrientation", Part0),
  1899. AlignPosition = Instance.new("AlignPosition", Part0)
  1900. }
  1901.  
  1902. local Attachments = {
  1903. Attach0 = Instance.new("Attachment", Part0),
  1904. Attach1 = Instance.new("Attachment", Part1)
  1905. }
  1906. local m = Part0:FindFirstChildOfClass('SpecialMesh')--This will get the first "SpecialMesh" it finds if it does not find any, then it will return nil
  1907. if Mesh and m then --If Mesh is set to true and it finds a mesh it will destroy it
  1908. m:Destroy()
  1909. end
  1910. Part0:BreakJoints()
  1911. Aligns.AlignOrientation.Attachment0 = Attachments.Attach0
  1912. Aligns.AlignOrientation.Attachment1 = Attachments.Attach1
  1913. Aligns.AlignOrientation.Responsiveness = math.huge
  1914. Aligns.AlignOrientation.RigidityEnabled = true
  1915.  
  1916. Aligns.AlignPosition.Attachment0 = Attachments.Attach0
  1917. Aligns.AlignPosition.Attachment1 = Attachments.Attach1
  1918. Aligns.AlignPosition.Responsiveness = math.huge
  1919. Aligns.AlignPosition.RigidityEnabled = true
  1920. Aligns.AlignPosition.MaxForce = 999999999
  1921. spawn(function()
  1922. while _G.loop do
  1923. local mag = (Part0.Position - (Part1.CFrame*Attachments.Attach0.CFrame:Inverse()).p).magnitude--magnitude can get the distance between two cframe or position
  1924. if mag >= 5 then
  1925. Part0.CFrame = Part1.CFrame*Attachments.Attach0.CFrame:Inverse()
  1926. end
  1927. Part0.Velocity = Vector3.new(0,35,0)
  1928. game['Run Service'].Heartbeat:wait()
  1929. end
  1930. end)
  1931. return {Attachments.Attach0, Attachments, Aligns}
  1932.  
  1933. end
  1934. local hat = Align(char['RockabillyZombie_HairnGlassesAccessory'].Handle,game:GetService("Workspace").INSULT_BALL.Bot.LeftUpperLeg.Leg,false)
  1935. local cf = game:GetService("Workspace").INSULT_BALL.Bot.LeftUpperLeg.Leg.CFrame*CFrame.new(1.5,0,0)*CFrame.Angles(math.rad(60),math.rad(90),10)
  1936. hat[1].CFrame = cf:Inverse() * game:GetService("Workspace").INSULT_BALL.Bot.LeftUpperLeg.Leg.CFrame
  1937. spawn(function()
  1938. char.AncestryChanged:wait()--if you respawn, it will stop the loop to avoid lag of using it over and over
  1939. _G.loop = false
  1940. end)
  1941. for i,v in pairs (char:GetChildren()) do
  1942. if v:IsA("Accessory") then
  1943. v.Handle.Massless = true
  1944. v.Handle.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1945. end
  1946. end
  1947.  
  1948.  
  1949. _G.loop = true
  1950. local player = game.Players.LocalPlayer
  1951. local char = player.Character
  1952. local Align = function(Part0, Part1,Mesh)
  1953. local Aligns = {
  1954. AlignOrientation = Instance.new("AlignOrientation", Part0),
  1955. AlignPosition = Instance.new("AlignPosition", Part0)
  1956. }
  1957.  
  1958. local Attachments = {
  1959. Attach0 = Instance.new("Attachment", Part0),
  1960. Attach1 = Instance.new("Attachment", Part1)
  1961. }
  1962. local m = Part0:FindFirstChildOfClass('SpecialMesh')--This will get the first "SpecialMesh" it finds if it does not find any, then it will return nil
  1963. if Mesh and m then --If Mesh is set to true and it finds a mesh it will destroy it
  1964. m:Destroy()
  1965. end
  1966. Part0:BreakJoints()
  1967. Aligns.AlignOrientation.Attachment0 = Attachments.Attach0
  1968. Aligns.AlignOrientation.Attachment1 = Attachments.Attach1
  1969. Aligns.AlignOrientation.Responsiveness = math.huge
  1970. Aligns.AlignOrientation.RigidityEnabled = true
  1971.  
  1972. Aligns.AlignPosition.Attachment0 = Attachments.Attach0
  1973. Aligns.AlignPosition.Attachment1 = Attachments.Attach1
  1974. Aligns.AlignPosition.Responsiveness = math.huge
  1975. Aligns.AlignPosition.RigidityEnabled = true
  1976. Aligns.AlignPosition.MaxForce = 999999999
  1977. spawn(function()
  1978. while _G.loop do
  1979. local mag = (Part0.Position - (Part1.CFrame*Attachments.Attach0.CFrame:Inverse()).p).magnitude--magnitude can get the distance between two cframe or position
  1980. if mag >= 5 then
  1981. Part0.CFrame = Part1.CFrame*Attachments.Attach0.CFrame:Inverse()
  1982. end
  1983. Part0.Velocity = Vector3.new(0,35,0)
  1984. game['Run Service'].Heartbeat:wait()
  1985. end
  1986. end)
  1987. return {Attachments.Attach0, Attachments, Aligns}
  1988.  
  1989. end
  1990. local hat = Align(char['CityLifeWoman_HairAccessory'].Handle,game:GetService("Workspace").INSULT_BALL.Bot.RightLowerLeg.Leg,false)
  1991. local cf = game:GetService("Workspace").INSULT_BALL.Bot.RightLowerLeg.Leg.CFrame*CFrame.new(1.5,0,0)*CFrame.Angles(math.rad(60),math.rad(90),10)
  1992. hat[1].CFrame = cf:Inverse() * game:GetService("Workspace").INSULT_BALL.Bot.RightLowerLeg.Leg.CFrame
  1993. spawn(function()
  1994. char.AncestryChanged:wait()--if you respawn, it will stop the loop to avoid lag of using it over and over
  1995. _G.loop = false
  1996. end)
  1997. for i,v in pairs (char:GetChildren()) do
  1998. if v:IsA("Accessory") then
  1999. v.Handle.Massless = true
  2000. v.Handle.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  2001. end
  2002. end
  2003.  
  2004.  
  2005.  
  2006. rstep:connect(function()
  2007. local v = torso.Velocity
  2008. local mag = math.sqrt(v.x^2 + v.z^2) / 15
  2009. s = mag * 15
  2010. if mag > 0.1 then
  2011. pose = "Running"
  2012. else
  2013. pose = "Idle"
  2014. end
  2015. end)
  2016.  
  2017. pose = "Idle"
  2018. local lsine = 1
  2019. local ksine = -1
  2020. local lsine2 = 2.7
  2021. local ksine2 = -2.7
  2022. hum.JumpPower = 0
  2023. movelegs = true
  2024. flying = false
  2025. bv = Instance.new("BodyVelocity",torso)
  2026.  
  2027.  
  2028. function sparkle(size,amt,pos,dur,thickness)
  2029. for i = 1,amt do
  2030. if thickness == nil then
  2031. thickness = size/9
  2032. end
  2033. local p = basepart:Clone()
  2034. p.Parent = workspace
  2035. p.CanCollide = false
  2036. p.Shape = "Ball"
  2037. p.Anchored = true
  2038. p.Material = "Neon"
  2039. p.Color = secondary
  2040. p.CFrame = CFrame.new(pos) * CFrame.Angles(math.random(-360,360)/360,math.random(-360,360)/360,math.random(-360,360)/360)
  2041. p.Size = Vector3.new(1,1,1)
  2042. local mesh = Instance.new("SpecialMesh",p)
  2043. mesh.MeshType = Enum.MeshType.Sphere
  2044. tween(p, "Sine", "Out", dur, {
  2045. ["Transparency"] = 1;
  2046. ["CFrame"] = p.CFrame * CFrame.Angles(math.random(-360,360)/360,math.random(-360,360)/360,math.random(-360,360)/360)
  2047. })
  2048. tween(mesh, "Sine", "Out", dur*2, {
  2049. ["Scale"] = Vector3.new(thickness,size*10,thickness);
  2050. })
  2051. game.Debris:AddItem(p,dur)
  2052. end
  2053. end
  2054.  
  2055. sparkle(10,55,hrp.Position,3,1)
  2056.  
  2057. function push(part,vel)
  2058. local bv2 = Instance.new("BodyVelocity",part)
  2059. bv2.Velocity = (part.Position - torso.Position).unit * 3 * (vel / 30000)
  2060. bv2.MaxForce = Vector3.new(vel,vel,vel)
  2061. game.Debris:AddItem(bv2,0.25)
  2062. end
  2063. local t = {}
  2064. function t.find(ta,element)
  2065. for i = 1,#ta do
  2066. if ta[i] == element then
  2067. return true
  2068. end
  2069. end
  2070. return false
  2071. end
  2072. function AOE(magnitude,damage,pos)
  2073. coroutine.resume(coroutine.create(function()
  2074. if not pos then
  2075. pos = hrp.Position
  2076. end
  2077. local chars = {}
  2078. local ex = baseexplosion:Clone()
  2079. ex.Position = pos
  2080. ex.Parent = workspace
  2081. ex.BlastPressure = 0
  2082. ex.Visible = false
  2083. ex.DestroyJointRadiusPercent = 0
  2084. ex.BlastRadius = magnitude
  2085. ex.Hit:connect(function(pa)
  2086. if pa.Parent:FindFirstChildOfClass("Humanoid") and pa.Parent ~= char and t.find(chars,pa.Parent) == false then
  2087. table.insert(chars,pa.Parent)
  2088. end
  2089. if pa.Parent:FindFirstChildOfClass("Humanoid") and pa.Parent ~= char then
  2090. push(pa, damage * 0)
  2091. end
  2092. end)
  2093.  
  2094. local p = basepart:Clone()
  2095. p.Parent = workspace
  2096. p.Shape = "Ball"
  2097. p.Anchored = true
  2098. p.CanCollide = false
  2099. p.Material = "Neon"
  2100. p.Color = secondary
  2101. p.CFrame = CFrame.new(pos)
  2102. p.Size = Vector3.new(0,0,0)
  2103. tween(p, "Sine", "Out", 2, {
  2104. ["Size"] = Vector3.new(magnitude*5,magnitude*5,magnitude*5);
  2105. })
  2106. tween(p, "Sine", "Out", 0.75, {
  2107. ["Transparency"] = 1;
  2108. })
  2109. game.Debris:AddItem(p,0.75)
  2110. spawn(function() sparkle(magnitude, 15, p.Position,1) end)
  2111. wait()
  2112. for i = 1,#chars do
  2113. local hrp2 = chars[i]:FindFirstChildOfClass("Part")
  2114. if hrp2 then
  2115. local hum2 = chars[i]:FindFirstChildOfClass("Humanoid")
  2116. if hum2 and hum2 ~= hum then
  2117. hum2.Health = hum2.Health - (hum2.MaxHealth / (0 / damage))
  2118. if hum2.MaxHealth == math.huge then
  2119. chars[i]:BreakJoints()
  2120. end
  2121. end
  2122. end
  2123. end
  2124. end))
  2125. end
  2126.  
  2127. function AOE2(magnitude,damage,pos)
  2128. if not pos then
  2129. pos = hrp.Position
  2130. end
  2131. local chars = {}
  2132. local ex = baseexplosion:Clone()
  2133. ex.Position = pos
  2134. ex.Parent = workspace
  2135. ex.BlastPressure = 0
  2136. ex.Visible = false
  2137. ex.DestroyJointRadiusPercent = 0
  2138. ex.BlastRadius = magnitude
  2139. ex.Hit:connect(function(pa)
  2140. if pa.Parent:FindFirstChildOfClass("Humanoid") and pa.Parent ~= char and t.find(chars,pa.Parent) == false then
  2141. table.insert(chars,pa.Parent)
  2142. end
  2143. if pa.Parent:FindFirstChildOfClass("Humanoid") and pa.Parent ~= char then
  2144. push(pa, damage * 0)
  2145. end
  2146. end)
  2147. wait()
  2148. for i = 1,#chars do
  2149. if chars[i] ~= char then
  2150. local hrp2 = chars[i]:FindFirstChild("HumanoidRootPart")
  2151. if hrp2 then
  2152. if (hrp2.Position - pos).magnitude < magnitude then
  2153. local hum2 = chars[i]:FindFirstChildOfClass("Humanoid")
  2154. if hum2 and hum2 ~= hum then
  2155. push(hrp2, 10000)
  2156. hum2.Health = hum2.Health - (hum2.MaxHealth / (0 / damage))
  2157. hit().Volume = 0.3
  2158. spawn(function() sparkle((magnitude - (hrp2.Position - pos).magnitude) / 5, 1, hrp2.Position,0.5) end)
  2159. end
  2160. end
  2161. end
  2162. end
  2163. end
  2164. end
  2165. rstep:connect(function()
  2166. for i,v in pairs (char:GetDescendants()) do
  2167. if v:IsA("BasePart") then
  2168. v.Anchored = false
  2169. end
  2170. end
  2171. if not flying then
  2172. bv.Velocity = Vector3.new(0,0,0)
  2173. bv.MaxForce = Vector3.new(0,0,0)
  2174. end
  2175. local md = hum.MoveDirection
  2176. hum.MaxHealth = math.huge
  2177. hum.Health = math.huge
  2178. hum:SetStateEnabled("Dead",false)
  2179. if pose == "Running" and movelegs then
  2180. tween(hum,"Sine","Out",0.1,{["HipHeight"] = 1.25})
  2181.  
  2182. local tim = s / 300
  2183. lsine = lsine + s / 20 / 10
  2184. ksine = ksine + s / 20 / 10
  2185. local lsin = math.sin(lsine)
  2186. local ksin = math.sin(ksine)
  2187.  
  2188. lsine2 = lsine2 + s / 20 / 10
  2189. ksine2 = ksine2 + s / 20 / 10
  2190. local lsin2 = math.sin(lsine2)
  2191. local ksin2 = math.sin(ksine2)
  2192. local Ru_Ll = CFrame.Angles(0,lsin/2.5,0)
  2193. local Lu_Rl = CFrame.Angles(0,-lsin2/2.5,0)
  2194. local e = 4 - s / 25
  2195. if e < 1 then e = 1 end
  2196. local Ru2_Ll2 = CFrame.Angles(ksin/2,0,-ksin/e)
  2197. local Lu2_Rl2 = CFrame.Angles(-ksin2/2,0,-ksin2/e)
  2198.  
  2199. lll.C0 = lll.C0:lerp(Ru_Ll * olll * CFrame.Angles(0,0,-ksin/5), tim)
  2200. rul.C0 = rul.C0:lerp(Ru_Ll * orul * CFrame.Angles(0,0,ksin/5), tim)
  2201.  
  2202. lul.C0 = lul.C0:lerp(Lu_Rl * olul * CFrame.Angles(0,0,-ksin2/5), tim)
  2203. rll.C0 = rll.C0:lerp(Lu_Rl * orll * CFrame.Angles(0,0,ksin2/5), tim)
  2204.  
  2205. lul2.C0 = lul2.C0:lerp(Ru2_Ll2 * olul2, tim)
  2206. rll2.C0 = rll2.C0:lerp(Ru2_Ll2 * orll2, tim)
  2207.  
  2208. lll2.C0 = lll2.C0:lerp(Lu2_Rl2 * olul2, tim)
  2209. rul2.C0 = rul2.C0:lerp(Lu2_Rl2 * orll2, tim)
  2210. end
  2211. if pose == "Idle" and movelegs then
  2212. tween(cmotor,"Sine","Out",0.2,{["C0"] = cm0})
  2213. lsine = lsine + 0.1/2
  2214. ksine = ksine + 0.1/2
  2215. local lsin = math.sin(lsine)
  2216. local ksin = math.sin(ksine)
  2217.  
  2218. lsine2 = lsine2 + 0.1/2
  2219. ksine2 = ksine2 + 0.1/2
  2220. local lsin2 = math.sin(lsine2)
  2221. local ksin2 = math.sin(ksine2)
  2222.  
  2223. local Ru_Ll = CFrame.Angles(0,0,ksin/10 + math.rad(-5))
  2224. local Lu_Rl = CFrame.Angles(0,0,ksin/10 + math.rad(-5))
  2225. local Ru2_Ll2 = CFrame.Angles(0,0,-ksin2/5)
  2226. local Lu2_Rl2 = CFrame.Angles(0,0,-ksin2/5)
  2227.  
  2228. tween(hum,"Sine","Out",0.3,{["HipHeight"] = 1.4 - ksin/1.5})
  2229.  
  2230. lll.C0 = lll.C0:lerp(Ru_Ll * olll, 0.05)
  2231. rul.C0 = rul.C0:lerp(Ru_Ll * orul, 0.05)
  2232.  
  2233. lul.C0 = lul.C0:lerp(Lu_Rl * olul, 0.05)
  2234. rll.C0 = rll.C0:lerp(Lu_Rl * orll, 0.05)
  2235.  
  2236. lul2.C0 = lul2.C0:lerp(Ru2_Ll2 * olul2, 0.05)
  2237. rll2.C0 = rll2.C0:lerp(Ru2_Ll2 * orll2, 0.05)
  2238.  
  2239. lll2.C0 = lll2.C0:lerp(Lu2_Rl2 * olul2, 0.05)
  2240. rul2.C0 = rul2.C0:lerp(Lu2_Rl2 * orll2, 0.05)
  2241. end
  2242. if editws == false then return end
  2243. if run == true then
  2244. tween(hum,"Sine","Out",0.5,{["WalkSpeed"] = 40})
  2245. jp = 100
  2246. else
  2247. tween(hum,"Sine","Out",0.5,{["WalkSpeed"] = 16})
  2248. jp = 65
  2249. end
  2250. end)
  2251.  
  2252. jp = 50
  2253.  
  2254. mouse = player:GetMouse()
  2255. UIS = game:GetService("UserInputService")
  2256. run = false
  2257. attacking = false
  2258. sdown = false
  2259.  
  2260. UIS.InputBegan:connect(function(k,g)
  2261. local key = k.KeyCode
  2262. if not g then
  2263. if key == Enum.KeyCode.Space then
  2264. sdown = true
  2265. jump()
  2266. end
  2267. if key == Enum.KeyCode.Q then
  2268. stomp()
  2269. end
  2270. if key == Enum.KeyCode.LeftShift then
  2271. run = true
  2272. end
  2273. if key == Enum.KeyCode.E then
  2274. backstomp()
  2275. end
  2276. if key == Enum.KeyCode.F then
  2277. fdown = true
  2278. spin()
  2279. end
  2280. end
  2281. end)
  2282. UIS.InputEnded:connect(function(k,g)
  2283. local key = k.KeyCode
  2284. if not g then
  2285. if key == Enum.KeyCode.LeftShift then
  2286. run = false
  2287. end
  2288. if key == Enum.KeyCode.Space then
  2289. sdown = false
  2290. end
  2291. if key == Enum.KeyCode.F then
  2292. fdown = false
  2293. end
  2294. end
  2295. end)
  2296.  
  2297. fdown = false
  2298.  
  2299. function stomp()
  2300. if flying or attacking then return end
  2301. attacking = true
  2302. editws = false
  2303. movelegs = false
  2304. tween(hum,"Sine","InOut",0.6,{["WalkSpeed"] = 0})
  2305.  
  2306. woosh()
  2307. tween(lll,"Sine","InOut",0.2,{["C0"] = olll * CFrame.Angles(0,0,0)})
  2308. tween(lul,"Sine","InOut",0.2,{["C0"] = olul * CFrame.Angles(math.rad(-40),math.rad(-40),math.rad(100)) * CFrame.new(0,-1,-1)})
  2309. tween(rll,"Sine","InOut",0.2,{["C0"] = orll * CFrame.Angles(0,0,0)})
  2310. tween(rul,"Sine","InOut",0.2,{["C0"] = orul * CFrame.Angles(math.rad(40),math.rad(40),math.rad(100)) * CFrame.new(0,-1,1)})
  2311.  
  2312. tween(lll2,"Sine","InOut",0.2,{["C0"] = olll2 * CFrame.Angles(0,0,0)})
  2313. tween(lul2,"Sine","InOut",0.2,{["C0"] = olul2 * CFrame.Angles(0,0,0)})
  2314. tween(rll2,"Sine","InOut",0.2,{["C0"] = orll2 * CFrame.Angles(0,0,0)})
  2315. tween(rul2,"Sine","InOut",0.2,{["C0"] = orul2 * CFrame.Angles(0,0,0)})
  2316. wait(0.2)
  2317. tween(lll,"Sine","In",0.15,{["C0"] = olll * CFrame.Angles(0,0,0)})
  2318. tween(lul,"Sine","In",0.15,{["C0"] = olul * CFrame.Angles(math.rad(-20),math.rad(40),0)})
  2319. tween(rll,"Sine","In",0.15,{["C0"] = orll * CFrame.Angles(0,0,0)})
  2320. tween(rul,"Sine","In",0.15,{["C0"] = orul * CFrame.Angles(math.rad(20),math.rad(-40),0)})
  2321.  
  2322. tween(lll2,"Sine","InOut",0.15,{["C0"] = olll2 * CFrame.Angles(0,0,0)})
  2323. tween(lul2,"Sine","InOut",0.15,{["C0"] = olul2 * CFrame.Angles(0,0,0)})
  2324. tween(rll2,"Sine","InOut",0.15,{["C0"] = orll2 * CFrame.Angles(0,0,0)})
  2325. tween(rul2,"Sine","InOut",0.15,{["C0"] = orul2 * CFrame.Angles(0,0,0)})
  2326. spawn(function()
  2327. wait(0.08)
  2328. hardhit()
  2329. AOE(5, 20, (hrp.CFrame * CFrame.new(0,-3,-5)).p)
  2330. end)
  2331. wait(0.08)
  2332. movelegs = true
  2333. attacking = false
  2334. editws = true
  2335. end
  2336.  
  2337. function backstomp()
  2338. if flying or attacking then return end
  2339. attacking = true
  2340. editws = false
  2341. movelegs = false
  2342. tween(hum,"Sine","InOut",0.6,{["WalkSpeed"] = 0})
  2343.  
  2344. woosh()
  2345. tween(lll,"Sine","InOut",0.2,{["C0"] = olll * CFrame.Angles(math.rad(40),0,math.rad(70))})
  2346. tween(lul,"Sine","InOut",0.2,{["C0"] = olul})
  2347. tween(rll,"Sine","InOut",0.2,{["C0"] = orll * CFrame.Angles(math.rad(-40),0,math.rad(70))})
  2348. tween(rul,"Sine","InOut",0.2,{["C0"] = orul})
  2349.  
  2350. tween(lll2,"Sine","InOut",0.2,{["C0"] = olll2 * CFrame.Angles(0,0,0)})
  2351. tween(lul2,"Sine","InOut",0.2,{["C0"] = olul2 * CFrame.Angles(0,0,0)})
  2352. tween(rll2,"Sine","InOut",0.2,{["C0"] = orll2 * CFrame.Angles(0,0,0)})
  2353. tween(rul2,"Sine","InOut",0.2,{["C0"] = orul2 * CFrame.Angles(0,0,0)})
  2354. wait(0.2)
  2355. tween(lll,"Sine","InOut",0.15,{["C0"] = olll * CFrame.Angles(math.rad(10),math.rad(-40),math.rad(-30))})
  2356. tween(lul,"Sine","InOut",0.15,{["C0"] = olul})
  2357. tween(rll,"Sine","InOut",0.15,{["C0"] = orll * CFrame.Angles(math.rad(-10),math.rad(40),math.rad(-30))})
  2358. tween(rul,"Sine","InOut",0.15,{["C0"] = orul})
  2359.  
  2360. tween(lll2,"Sine","InOut",0.15,{["C0"] = olll2 * CFrame.Angles(0,0,0)})
  2361. tween(lul2,"Sine","InOut",0.15,{["C0"] = olul2 * CFrame.Angles(0,0,0)})
  2362. tween(rll2,"Sine","InOut",0.15,{["C0"] = orll2 * CFrame.Angles(0,0,0)})
  2363. tween(rul2,"Sine","InOut",0.15,{["C0"] = orul2 * CFrame.Angles(0,0,0)})
  2364. spawn(function()
  2365. wait(0.08)
  2366. hardhit()
  2367. AOE(5, 20, (hrp.CFrame * CFrame.new(0,-3,5)).p)
  2368. end)
  2369. wait(0.08)
  2370. movelegs = true
  2371. attacking = false
  2372. editws = true
  2373. end
  2374.  
  2375. jdeb = true
  2376. function jump()
  2377. if jdeb == false then return end
  2378. --if hum.FloorMaterial == Enum.Material.Air then return end
  2379. jdeb = false
  2380. local issprint = false
  2381. if jp == 100 then issprint = true end
  2382. movelegs = false
  2383. editws = false
  2384. tween(hum,"Sine","Out",2,{["WalkSpeed"] = 0})
  2385. woosh().Volume = 0.1
  2386. tween(lll,"Sine","InOut",0.5,{["C0"] = olll * CFrame.Angles(0,0,math.rad(50))})
  2387. tween(lul,"Sine","InOut",0.5,{["C0"] = olul * CFrame.Angles(0,0,math.rad(50))})
  2388. tween(rll,"Sine","InOut",0.5,{["C0"] = orll * CFrame.Angles(0,0,math.rad(50))})
  2389. tween(rul,"Sine","InOut",0.5,{["C0"] = orul * CFrame.Angles(0,0,math.rad(50))})
  2390.  
  2391. tween(lll2,"Sine","InOut",0.5,{["C0"] = olll2 * CFrame.Angles(0,0,math.rad(70))})
  2392. tween(lul2,"Sine","InOut",0.5,{["C0"] = olul2 * CFrame.Angles(0,0,math.rad(70))})
  2393. tween(rll2,"Sine","InOut",0.5,{["C0"] = orll2 * CFrame.Angles(0,0,math.rad(70))})
  2394. tween(rul2,"Sine","InOut",0.5,{["C0"] = orul2 * CFrame.Angles(0,0,math.rad(70))})
  2395. tween(hum,"Sine","Out",0.5,{["HipHeight"] = 0})
  2396. wait(0.2)
  2397. local power = jp
  2398. repeat rstep:Wait(0) tween(hum,"Sine","Out",0.5,{["HipHeight"] = 0}) power = power + 1 tween(hum,"Sine","Out",0.5,{["WalkSpeed"] = 0}) editws = false movelegs = false until not sdown
  2399. spawn(function()
  2400. jdeb = true
  2401. if power > 200 then power = 200 end
  2402. if power > 150 then hardhit() hardhit() woosh() woosh() sparkle(5,30,(torso.CFrame * CFrame.new(0,-2,0)).p, 1.5) end
  2403. bv.Velocity = Vector3.new(0,power,0)
  2404. bv.MaxForce = Vector3.new(0,4000000,0)
  2405. end)
  2406. tween(hum,"Sine","Out",0.1,{["HipHeight"] = 1.25})
  2407. woosh()
  2408. tween(lll,"Sine","Out",0.25,{["C0"] = olll * CFrame.Angles(0,0,-math.rad(50))})
  2409. tween(lul,"Sine","Out",0.25,{["C0"] = olul * CFrame.Angles(0,0,-math.rad(50))})
  2410. tween(rll,"Sine","Out",0.25,{["C0"] = orll * CFrame.Angles(0,0,-math.rad(50))})
  2411. tween(rul,"Sine","Out",0.25,{["C0"] = orul * CFrame.Angles(0,0,-math.rad(50))})
  2412.  
  2413. tween(lll2,"Sine","InOut",0.25,{["C0"] = olll2 * CFrame.Angles(0,0,-math.rad(30))})
  2414. tween(lul2,"Sine","InOut",0.25,{["C0"] = olul2 * CFrame.Angles(0,0,-math.rad(30))})
  2415. tween(rll2,"Sine","InOut",0.25,{["C0"] = orll2 * CFrame.Angles(0,0,-math.rad(30))})
  2416. tween(rul2,"Sine","InOut",0.25,{["C0"] = orul2 * CFrame.Angles(0,0,-math.rad(30))})
  2417. tween(hum,"Sine","Out",0.2,{["WalkSpeed"] = 25})
  2418. wait(0.15)
  2419. movelegs = true
  2420. spawn(function()
  2421. repeat rstep:Wait(0) tween(hum,"Sine","Out",3,{["WalkSpeed"] = 100}) until hum.FloorMaterial ~= Enum.Material.Air
  2422. if power > 150 and issprint then AOE(15,99,hrp.Position - Vector3.new(0,2,0)) explosion() explosion() hardhit() sparkle(15,45,torso.Position - Vector3.new(0,5,0), 1, 10) end
  2423. editws = true
  2424. end)
  2425. end
  2426. cm0 = cmotor.C0
  2427.  
  2428. function unravel()
  2429. tween(lll,"Sine","Out",0.1,{["C0"] = CFrame.new(-1,-0.5,-0.5) * CFrame.Angles(0,0,-0.3)})
  2430. tween(lul,"Sine","Out",0.1,{["C0"] = CFrame.new(-1,-0.5,0.5) * CFrame.Angles(0,0,-0.3)})
  2431. tween(rll,"Sine","Out",0.1,{["C0"] = CFrame.new(-1,-0.5,0.5) * CFrame.Angles(0,0,-0.3)})
  2432. tween(rul,"Sine","Out",0.1,{["C0"] = CFrame.new(-1,-0.5,-0.5) * CFrame.Angles(0,0,-0.3)})
  2433.  
  2434. tween(lll2,"Sine","Out",0.1,{["C0"] = olll2 * CFrame.Angles(0,0,math.rad(-90))})
  2435. tween(lul2,"Sine","Out",0.1,{["C0"] = olul2 * CFrame.Angles(0,0,math.rad(-90))})
  2436. tween(rll2,"Sine","Out",0.1,{["C0"] = orll2 * CFrame.Angles(0,0,math.rad(-90))})
  2437. tween(rul2,"Sine","Out",0.1,{["C0"] = orul2 * CFrame.Angles(0,0,math.rad(-90))})
  2438. end
  2439.  
  2440. function spin()
  2441. if attacking then return end
  2442. flying = true
  2443. attacking = true
  2444. --editws = false
  2445. movelegs = false
  2446. tween(hum,"Sine","InOut",0.2,{["WalkSpeed"] = 0})
  2447. repeat
  2448. movelegs = false
  2449. unravel()
  2450. if fdown == false then flying = false end
  2451. hum.HipHeight = 1 + math.sin(csine)/2
  2452. rstep:Wait(0)
  2453. rstep:Wait(0)
  2454. rstep:Wait(0)
  2455. bv.MaxForce = Vector3.new(0,2000,0)
  2456. bv.Velocity = Vector3.new(0,50,0)
  2457. local t = tween(cmotor, "Sine","Out",0.15,{
  2458. ["C0"] = cmotor.C0 * CFrame.Angles(0,2,0)
  2459. })
  2460. local sfx = woosh()
  2461. sfx.Volume = 0.02
  2462. sfx.PlaybackSpeed = sfx.PlaybackSpeed - 0.2
  2463. spawn(function()
  2464. AOE2(15, 3, (hrp.CFrame).p)
  2465. end)
  2466. until
  2467. fdown == false
  2468. bv.MaxForce = Vector3.new(0,0,0)
  2469. tween(cmotor, "Sine","Out",0.5,{
  2470. ["C0"] = cm0
  2471. })
  2472.  
  2473. movelegs = true
  2474. attacking = false
  2475. flying = false
  2476. --editws = true
  2477. end
  2478.  
  2479.  
  2480.  
  2481.  
  2482. function base()
  2483. if flying or attacking then return end
  2484. attacking = true
  2485. editws = false
  2486. movelegs = false
  2487. tween(hum,"Sine","InOut",0.2,{["WalkSpeed"] = 0})
  2488.  
  2489. woosh()
  2490. tween(lll,"Sine","InOut",0.2,{["C0"] = olll * CFrame.Angles(0,0,0)})
  2491. tween(lul,"Sine","InOut",0.2,{["C0"] = olul})
  2492. tween(rll,"Sine","InOut",0.2,{["C0"] = orll * CFrame.Angles(0,0,0)})
  2493. tween(rul,"Sine","InOut",0.2,{["C0"] = orul})
  2494.  
  2495. tween(lll2,"Sine","InOut",0.2,{["C0"] = olll2 * CFrame.Angles(0,0,0)})
  2496. tween(lul2,"Sine","InOut",0.2,{["C0"] = olul2 * CFrame.Angles(0,0,0)})
  2497. tween(rll2,"Sine","InOut",0.2,{["C0"] = orll2 * CFrame.Angles(0,0,0)})
  2498. tween(rul2,"Sine","InOut",0.2,{["C0"] = orul2 * CFrame.Angles(0,0,0)})
  2499. wait(0.2)
  2500.  
  2501. spawn(function()
  2502. wait(0.08)
  2503. hardhit()
  2504. AOE2(5, 20, (hrp.CFrame * CFrame.new(0,-3,5)).p)
  2505. end)
  2506. wait(0.15)
  2507. movelegs = true
  2508. attacking = false
  2509. editws = true
  2510. end
Advertisement
Add Comment
Please, Sign In to add comment