Advertisement
Fluxushr

Untitled

Apr 7th, 2023
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 140.74 KB | None | 0 0
  1. game.Players.LocalPlayer.Character["Pal Hair"].Handle.Mesh:Destroy()
  2. game.Players.LocalPlayer.Character["Hat1"].Handle.Mesh:Destroy()
  3. game.Players.LocalPlayer.Character["InternationalFedora"].Handle.SpecialMesh:Destroy() --Pink Hair
  4. game.Players.LocalPlayer.Character["Pink Hair"].Handle.Mesh:Destroy()
  5. game.Players.LocalPlayer.Character["Kate Hair"].Handle.Mesh:Destroy() --LavanderHair
  6. game.Players.LocalPlayer.Character["LavanderHair"].Handle.Mesh:Destroy()
  7. game.Players.LocalPlayer.Character["Robloxclassicred"].Handle.Mesh:Destroy()
  8. game.Players.LocalPlayer.Character["RCap"].Handle.Mesh:Destroy()
  9.  
  10. local c = game.Players.LocalPlayer.Character
  11. for i, v in pairs({"Right Arm", "Left Arm"}) do
  12. local arm = c[v]
  13. arm.Parent = nil
  14. arm.Transparency = 1
  15. arm.Parent = c
  16. end
  17.  
  18. local c = game.Players.LocalPlayer.Character
  19. for i, v in pairs({"Right Leg", "Left Leg"}) do
  20. local Leg = c[v]
  21. Leg.Parent = nil
  22. Leg.Transparency = 1
  23. Leg.Parent = c
  24. end
  25.  
  26. local v3_net, v3_808 = Vector3.new(0, 25.1, 0), Vector3.new(8, 0, 8)
  27. local function getNetlessVelocity(realPartVelocity)
  28. local mag = realPartVelocity.Magnitude
  29. if mag > 1 then
  30. local unit = realPartVelocity.Unit
  31. if (unit.Y > 0.25) or (unit.Y < -0.75) then
  32. return unit * (25.1 / unit.Y)
  33. end
  34. end
  35. return v3_net + realPartVelocity * v3_808
  36. end
  37. local simradius = "shp" --simulation radius (net bypass) method
  38. --simulation radius (net bypass) method
  39. --"shp" - sethiddenproperty
  40. --"ssr" - setsimulationradius
  41. --false - disable
  42. local antiragdoll = true --removes hingeConstraints and ballSocketConstraints from your character
  43. local newanimate = false --disables the animate script and enables after reanimation
  44. local discharscripts = true --disables all localScripts parented to your character before reanimation
  45. local R15toR6 = true --tries to convert your character to r6 if its r15
  46. local hatcollide = true --makes hats cancollide (only method 0)
  47. local humState16 = true --enables collisions for limbs before the humanoid dies (using hum:ChangeState)
  48. local addtools = false --puts all tools from backpack to character and lets you hold them after reanimation
  49. local hedafterneck = false --disable aligns for head and enable after neck is removed
  50. local loadtime = game:GetService("Players").RespawnTime + 0.5 --anti respawn delay
  51. local method = 0 --reanimation method
  52. --methods:
  53. --0 - breakJoints (takes [loadtime] seconds to laod)
  54. --1 - limbs
  55. --2 - limbs + anti respawn
  56. --3 - limbs + breakJoints after [loadtime] seconds
  57. --4 - remove humanoid + breakJoints
  58. --5 - remove humanoid + limbs
  59. local alignmode = 2 --AlignPosition mode
  60. --modes:
  61. --1 - AlignPosition rigidity enabled true
  62. --2 - 2 AlignPositions rigidity enabled both true and false
  63. --3 - AlignPosition rigidity enabled false
  64.  
  65. healthHide = healthHide and ((method == 0) or (method == 2) or (method == 000)) and gp(c, "Head", "BasePart")
  66.  
  67. local lp = game:GetService("Players").LocalPlayer
  68. local rs = game:GetService("RunService")
  69. local stepped = rs.Stepped
  70. local heartbeat = rs.Heartbeat
  71. local renderstepped = rs.RenderStepped
  72. local sg = game:GetService("StarterGui")
  73. local ws = game:GetService("Workspace")
  74. local cf = CFrame.new
  75. local v3 = Vector3.new
  76. local v3_0 = v3(0, 0, 0)
  77. local inf = math.huge
  78.  
  79. local c = lp.Character
  80.  
  81. if not (c and c.Parent) then
  82. return
  83. end
  84.  
  85. c.Destroying:Connect(function()
  86. c = nil
  87. end)
  88.  
  89. local function gp(parent, name, className)
  90. if typeof(parent) == "Instance" then
  91. for i, v in pairs(parent:GetChildren()) do
  92. if (v.Name == name) and v:IsA(className) then
  93. return v
  94. end
  95. end
  96. end
  97. return nil
  98. end
  99.  
  100. local function align(Part0, Part1)
  101. Part0.CustomPhysicalProperties = PhysicalProperties.new(0.0001, 0.0001, 0.0001, 0.0001, 0.0001)
  102.  
  103. local att0 = Instance.new("Attachment", Part0)
  104. att0.Orientation = v3_0
  105. att0.Position = v3_0
  106. att0.Name = "att0_" .. Part0.Name
  107. local att1 = Instance.new("Attachment", Part1)
  108. att1.Orientation = v3_0
  109. att1.Position = v3_0
  110. att1.Name = "att1_" .. Part1.Name
  111.  
  112. if (alignmode == 1) or (alignmode == 2) then
  113. local ape = Instance.new("AlignPosition", att0)
  114. ape.ApplyAtCenterOfMass = false
  115. ape.MaxForce = inf
  116. ape.MaxVelocity = inf
  117. ape.ReactionForceEnabled = false
  118. ape.Responsiveness = 200
  119. ape.Attachment1 = att1
  120. ape.Attachment0 = att0
  121. ape.Name = "AlignPositionRtrue"
  122. ape.RigidityEnabled = true
  123. end
  124.  
  125. if (alignmode == 2) or (alignmode == 3) then
  126. local apd = Instance.new("AlignPosition", att0)
  127. apd.ApplyAtCenterOfMass = false
  128. apd.MaxForce = inf
  129. apd.MaxVelocity = inf
  130. apd.ReactionForceEnabled = false
  131. apd.Responsiveness = 200
  132. apd.Attachment1 = att1
  133. apd.Attachment0 = att0
  134. apd.Name = "AlignPositionRfalse"
  135. apd.RigidityEnabled = false
  136. end
  137.  
  138. local ao = Instance.new("AlignOrientation", att0)
  139. ao.MaxAngularVelocity = inf
  140. ao.MaxTorque = inf
  141. ao.PrimaryAxisOnly = false
  142. ao.ReactionTorqueEnabled = false
  143. ao.Responsiveness = 200
  144. ao.Attachment1 = att1
  145. ao.Attachment0 = att0
  146. ao.RigidityEnabled = false
  147.  
  148. if type(getNetlessVelocity) == "function" then
  149. local realVelocity = v3_0
  150. local steppedcon = stepped:Connect(function()
  151. Part0.Velocity = realVelocity
  152. end)
  153. local heartbeatcon = heartbeat:Connect(function()
  154. realVelocity = Part0.Velocity
  155. Part0.Velocity = getNetlessVelocity(realVelocity)
  156. end)
  157. Part0.Destroying:Connect(function()
  158. Part0 = nil
  159. steppedcon:Disconnect()
  160. heartbeatcon:Disconnect()
  161. end)
  162. end
  163. end
  164.  
  165. local function respawnrequest()
  166. local ccfr = ws.CurrentCamera.CFrame
  167. local c = lp.Character
  168. lp.Character = nil
  169. lp.Character = c
  170. local con = nil
  171. con = ws.CurrentCamera.Changed:Connect(function(prop)
  172. if (prop ~= "Parent") and (prop ~= "CFrame") then
  173. return
  174. end
  175. ws.CurrentCamera.CFrame = ccfr
  176. con:Disconnect()
  177. end)
  178. end
  179.  
  180. local destroyhum = (method == 4) or (method == 5)
  181. local breakjoints = (method == 0) or (method == 4)
  182. local antirespawn = (method == 0) or (method == 2) or (method == 3)
  183.  
  184. hatcollide = hatcollide and (method == 0)
  185.  
  186. addtools = addtools and gp(lp, "Backpack", "Backpack")
  187.  
  188. local fenv = getfenv()
  189. local shp = fenv.sethiddenproperty or fenv.set_hidden_property or fenv.set_hidden_prop or fenv.sethiddenprop
  190. 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
  191.  
  192. if shp and (simradius == "shp") then
  193. spawn(function()
  194. while c and heartbeat:Wait() do
  195. shp(lp, "SimulationRadius", inf)
  196. end
  197. end)
  198. elseif ssr and (simradius == "ssr") then
  199. spawn(function()
  200. while c and heartbeat:Wait() do
  201. ssr(inf)
  202. end
  203. end)
  204. end
  205.  
  206. antiragdoll = antiragdoll and function(v)
  207. if v:IsA("HingeConstraint") or v:IsA("BallSocketConstraint") then
  208. v.Parent = nil
  209. end
  210. end
  211.  
  212. if antiragdoll then
  213. for i, v in pairs(c:GetDescendants()) do
  214. antiragdoll(v)
  215. end
  216. c.DescendantAdded:Connect(antiragdoll)
  217. end
  218.  
  219. if antirespawn then
  220. respawnrequest()
  221. end
  222.  
  223. if method == 0 then
  224. wait(loadtime)
  225. if not c then
  226. return
  227. end
  228. end
  229.  
  230. if discharscripts then
  231. for i, v in pairs(c:GetChildren()) do
  232. if v:IsA("LocalScript") then
  233. v.Disabled = true
  234. end
  235. end
  236. elseif newanimate then
  237. local animate = gp(c, "Animate", "LocalScript")
  238. if animate and (not animate.Disabled) then
  239. animate.Disabled = true
  240. else
  241. newanimate = false
  242. end
  243. end
  244.  
  245. if addtools then
  246. for i, v in pairs(addtools:GetChildren()) do
  247. if v:IsA("Tool") then
  248. v.Parent = c
  249. end
  250. end
  251. end
  252.  
  253. pcall(function()
  254. settings().Physics.AllowSleep = false
  255. settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  256. end)
  257.  
  258. local OLDscripts = {}
  259.  
  260. for i, v in pairs(c:GetDescendants()) do
  261. if v.ClassName == "Script" then
  262. table.insert(OLDscripts, v)
  263. end
  264. end
  265.  
  266. local scriptNames = {}
  267.  
  268. for i, v in pairs(c:GetDescendants()) do
  269. if v:IsA("BasePart") then
  270. local newName = tostring(i)
  271. local exists = true
  272. while exists do
  273. exists = false
  274. for i, v in pairs(OLDscripts) do
  275. if v.Name == newName then
  276. exists = true
  277. end
  278. end
  279. if exists then
  280. newName = newName .. "_"
  281. end
  282. end
  283. table.insert(scriptNames, newName)
  284. Instance.new("Script", v).Name = newName
  285. end
  286. end
  287.  
  288. c.Archivable = true
  289. local hum = c:FindFirstChildOfClass("Humanoid")
  290. if hum then
  291. for i, v in pairs(hum:GetPlayingAnimationTracks()) do
  292. v:Stop()
  293. end
  294. end
  295. local cl = c:Clone()
  296. if hum and humState16 then
  297. hum:ChangeState(Enum.HumanoidStateType.Physics)
  298. if destroyhum then
  299. wait(1.6)
  300. end
  301. end
  302. if hum and hum.Parent and destroyhum then
  303. hum:Destroy()
  304. end
  305.  
  306. if not c then
  307. return
  308. end
  309.  
  310. local head = gp(c, "Head", "BasePart")
  311. local torso = gp(c, "Torso", "BasePart") or gp(c, "UpperTorso", "BasePart")
  312. local root = gp(c, "HumanoidRootPart", "BasePart")
  313. if hatcollide and c:FindFirstChildOfClass("Accessory") then
  314. local anything = c:FindFirstChildOfClass("BodyColors") or gp(c, "Health", "Script")
  315. if not (torso and root and anything) then
  316. return
  317. end
  318. torso:Destroy()
  319. root:Destroy()
  320. if shp then
  321. for i,v in pairs(c:GetChildren()) do
  322. if v:IsA("Accessory") then
  323. shp(v, "BackendAccoutrementState", 0)
  324. end
  325. end
  326. end
  327. anything:Destroy()
  328. if head then
  329. head:Destroy()
  330. end
  331. end
  332.  
  333. for i, v in pairs(cl:GetDescendants()) do
  334. if v:IsA("BasePart") then
  335. v.Transparency = 1
  336. v.Anchored = false
  337. end
  338. end
  339.  
  340. local model = Instance.new("Model", c)
  341. model.Name = model.ClassName
  342.  
  343. model.Destroying:Connect(function()
  344. model = nil
  345. end)
  346.  
  347. for i, v in pairs(c:GetChildren()) do
  348. if v ~= model then
  349. if addtools and v:IsA("Tool") then
  350. for i1, v1 in pairs(v:GetDescendants()) do
  351. if v1 and v1.Parent and v1:IsA("BasePart") then
  352. local bv = Instance.new("BodyVelocity", v1)
  353. bv.Velocity = v3_0
  354. bv.MaxForce = v3(1000, 1000, 1000)
  355. bv.P = 1250
  356. bv.Name = "bv_" .. v.Name
  357. end
  358. end
  359. end
  360. v.Parent = model
  361. end
  362. end
  363.  
  364. if breakjoints then
  365. model:BreakJoints()
  366. else
  367. if head and torso then
  368. for i, v in pairs(model:GetDescendants()) do
  369. if v:IsA("Weld") or v:IsA("Snap") or v:IsA("Glue") or v:IsA("Motor") or v:IsA("Motor6D") then
  370. local save = false
  371. if (v.Part0 == torso) and (v.Part1 == head) then
  372. save = true
  373. end
  374. if (v.Part0 == head) and (v.Part1 == torso) then
  375. save = true
  376. end
  377. if save then
  378. if hedafterneck then
  379. hedafterneck = v
  380. end
  381. else
  382. v:Destroy()
  383. end
  384. end
  385. end
  386. end
  387. if method == 3 then
  388. spawn(function()
  389. wait(loadtime)
  390. if model then
  391. model:BreakJoints()
  392. end
  393. end)
  394. end
  395. end
  396.  
  397. cl.Parent = c
  398. for i, v in pairs(cl:GetChildren()) do
  399. v.Parent = c
  400. end
  401. cl:Destroy()
  402.  
  403. local modelDes = {}
  404. for i, v in pairs(model:GetDescendants()) do
  405. if v:IsA("BasePart") then
  406. i = tostring(i)
  407. v.Destroying:Connect(function()
  408. modelDes[i] = nil
  409. end)
  410. modelDes[i] = v
  411. end
  412. end
  413. local modelcolcon = nil
  414. local function modelcolf()
  415. if model then
  416. for i, v in pairs(modelDes) do
  417. v.CanCollide = false
  418. end
  419. else
  420. modelcolcon:Disconnect()
  421. end
  422. end
  423. modelcolcon = stepped:Connect(modelcolf)
  424. modelcolf()
  425.  
  426. for i, scr in pairs(model:GetDescendants()) do
  427. if (scr.ClassName == "Script") and table.find(scriptNames, scr.Name) then
  428. local Part0 = scr.Parent
  429. if Part0:IsA("BasePart") then
  430. for i1, scr1 in pairs(c:GetDescendants()) do
  431. if (scr1.ClassName == "Script") and (scr1.Name == scr.Name) and (not scr1:IsDescendantOf(model)) then
  432. local Part1 = scr1.Parent
  433. if (Part1.ClassName == Part0.ClassName) and (Part1.Name == Part0.Name) then
  434. align(Part0, Part1)
  435. break
  436. end
  437. end
  438. end
  439. end
  440. end
  441. end
  442.  
  443. if (typeof(hedafterneck) == "Instance") and head then
  444. local aligns = {}
  445. local con = nil
  446. con = hedafterneck.Changed:Connect(function(prop)
  447. if (prop == "Parent") and not hedafterneck.Parent then
  448. con:Disconnect()
  449. for i, v in pairs(aligns) do
  450. v.Enabled = true
  451. end
  452. end
  453. end)
  454. for i, v in pairs(head:GetDescendants()) do
  455. if v:IsA("AlignPosition") or v:IsA("AlignOrientation") then
  456. i = tostring(i)
  457. aligns[i] = v
  458. v.Destroying:Connect(function()
  459. aligns[i] = nil
  460. end)
  461. v.Enabled = false
  462. end
  463. end
  464. end
  465.  
  466. for i, v in pairs(c:GetDescendants()) do
  467. if v and v.Parent then
  468. if v.ClassName == "Script" then
  469. if table.find(scriptNames, v.Name) then
  470. v:Destroy()
  471. end
  472. elseif not v:IsDescendantOf(model) then
  473. if v:IsA("Decal") then
  474. v.Transparency = 1
  475. elseif v:IsA("ForceField") then
  476. v.Visible = false
  477. elseif v:IsA("Sound") then
  478. v.Playing = false
  479. 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
  480. v.Enabled = false
  481. end
  482. end
  483. end
  484. end
  485.  
  486. if newanimate then
  487. local animate = gp(c, "Animate", "LocalScript")
  488. if animate then
  489. animate.Disabled = false
  490. end
  491. end
  492.  
  493. if addtools then
  494. for i, v in pairs(c:GetChildren()) do
  495. if v:IsA("Tool") then
  496. v.Parent = addtools
  497. end
  498. end
  499. end
  500.  
  501. local hum0 = model:FindFirstChildOfClass("Humanoid")
  502. if hum0 then
  503. hum0.Destroying:Connect(function()
  504. hum0 = nil
  505. end)
  506. end
  507.  
  508. local hum1 = c:FindFirstChildOfClass("Humanoid")
  509. if hum1 then
  510. hum1.Destroying:Connect(function()
  511. hum1 = nil
  512. end)
  513. end
  514.  
  515. if hum1 then
  516. ws.CurrentCamera.CameraSubject = hum1
  517. local camSubCon = nil
  518. local function camSubFunc()
  519. camSubCon:Disconnect()
  520. if c and hum1 then
  521. ws.CurrentCamera.CameraSubject = hum1
  522. end
  523. end
  524. camSubCon = renderstepped:Connect(camSubFunc)
  525. if hum0 then
  526. hum0.Changed:Connect(function(prop)
  527. if hum1 and (prop == "Jump") then
  528. hum1.Jump = hum0.Jump
  529. end
  530. end)
  531. else
  532. respawnrequest()
  533. end
  534. end
  535.  
  536. local rb = Instance.new("BindableEvent", c)
  537. rb.Event:Connect(function()
  538. rb:Destroy()
  539. sg:SetCore("ResetButtonCallback", true)
  540. if destroyhum then
  541. c:BreakJoints()
  542. return
  543. end
  544. if hum0 and (hum0.Health > 0) then
  545. model:BreakJoints()
  546. hum0.Health = 0
  547. end
  548. if antirespawn then
  549. respawnrequest()
  550. end
  551. end)
  552. sg:SetCore("ResetButtonCallback", rb)
  553.  
  554. spawn(function()
  555. while c do
  556. if hum0 and hum1 then
  557. hum1.Jump = hum0.Jump
  558. end
  559. wait()
  560. end
  561. sg:SetCore("ResetButtonCallback", true)
  562. end)
  563.  
  564. R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15)
  565. if R15toR6 then
  566. 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")
  567. if part then
  568. local cfr = part.CFrame
  569. local R6parts = {
  570. head = {
  571. Name = "Head",
  572. Size = v3(2, 1, 1),
  573. R15 = {
  574. Head = 0
  575. }
  576. },
  577. torso = {
  578. Name = "Torso",
  579. Size = v3(2, 2, 1),
  580. R15 = {
  581. UpperTorso = 0.2,
  582. LowerTorso = -100
  583. }
  584. },
  585. root = {
  586. Name = "HumanoidRootPart",
  587. Size = v3(2, 2, 1),
  588. R15 = {
  589. HumanoidRootPart = 0
  590. }
  591. },
  592. leftArm = {
  593. Name = "Left Arm",
  594. Size = v3(1, 2, 1),
  595. R15 = {
  596. LeftHand = -0.73,
  597. LeftLowerArm = -0.2,
  598. LeftUpperArm = 0.4
  599. }
  600. },
  601. rightArm = {
  602. Name = "Right Arm",
  603. Size = v3(1, 2, 1),
  604. R15 = {
  605. RightHand = -0.73,
  606. RightLowerArm = -0.2,
  607. RightUpperArm = 0.4
  608. }
  609. },
  610. leftLeg = {
  611. Name = "Left Leg",
  612. Size = v3(1, 2, 1),
  613. R15 = {
  614. LeftFoot = -0.73,
  615. LeftLowerLeg = -0.15,
  616. LeftUpperLeg = 0.6
  617. }
  618. },
  619. rightLeg = {
  620. Name = "Right Leg",
  621. Size = v3(1, 2, 1),
  622. R15 = {
  623. RightFoot = -0.73,
  624. RightLowerLeg = -0.15,
  625. RightUpperLeg = 0.6
  626. }
  627. }
  628. }
  629. for i, v in pairs(c:GetChildren()) do
  630. if v:IsA("BasePart") then
  631. for i1, v1 in pairs(v:GetChildren()) do
  632. if v1:IsA("Motor6D") then
  633. v1.Part0 = nil
  634. end
  635. end
  636. end
  637. end
  638. part.Archivable = true
  639. for i, v in pairs(R6parts) do
  640. local part = part:Clone()
  641. part:ClearAllChildren()
  642. part.Name = v.Name
  643. part.Size = v.Size
  644. part.CFrame = cfr
  645. part.Anchored = false
  646. part.Transparency = 1
  647. part.CanCollide = false
  648. for i1, v1 in pairs(v.R15) do
  649. local R15part = gp(c, i1, "BasePart")
  650. local att = gp(R15part, "att1_" .. i1, "Attachment")
  651. if R15part then
  652. local weld = Instance.new("Weld", R15part)
  653. weld.Name = "Weld_" .. i1
  654. weld.Part0 = part
  655. weld.Part1 = R15part
  656. weld.C0 = cf(0, v1, 0)
  657. weld.C1 = cf(0, 0, 0)
  658. R15part.Massless = true
  659. R15part.Name = "R15_" .. i1
  660. R15part.Parent = part
  661. if att then
  662. att.Parent = part
  663. att.Position = v3(0, v1, 0)
  664. end
  665. end
  666. end
  667. part.Parent = c
  668. R6parts[i] = part
  669. end
  670. local R6joints = {
  671. neck = {
  672. Parent = Scarf,
  673. Name = "Neck",
  674. Part0 = Scarf, --R6parts.torso
  675. Part1 = Scarf, --R6parts.head
  676. C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  677. C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  678. },
  679. rootJoint = {
  680. Parent = R6parts.root,
  681. Name = "RootJoint" ,
  682. Part0 = R6parts.root,
  683. Part1 = R6parts.torso,
  684. C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  685. C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  686. },
  687. rightShoulder = {
  688. Parent = R6parts.torso,
  689. Name = "Right Shoulder",
  690. Part0 = R6parts.torso,
  691. Part1 = R6parts.rightArm,
  692. C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  693. C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  694. },
  695. leftShoulder = {
  696. Parent = R6parts.torso,
  697. Name = "Left Shoulder",
  698. Part0 = R6parts.torso,
  699. Part1 = R6parts.leftArm,
  700. C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  701. C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  702. },
  703. rightHip = {
  704. Parent = R6parts.torso,
  705. Name = "Right Hip",
  706. Part0 = R6parts.torso,
  707. Part1 = R6parts.rightLeg,
  708. C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  709. C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  710. },
  711. leftHip = {
  712. Parent = R6parts.torso,
  713. Name = "Left Hip" ,
  714. Part0 = R6parts.torso,
  715. Part1 = R6parts.leftLeg,
  716. C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  717. C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  718. }
  719. }
  720. for i, v in pairs(R6joints) do
  721. local joint = Instance.new("Motor6D")
  722. for prop, val in pairs(v) do
  723. joint[prop] = val
  724. end
  725. R6joints[i] = joint
  726. end
  727. hum1.RigType = Enum.HumanoidRigType.R6
  728. hum1.HipHeight = 0
  729. end
  730. end
  731.  
  732.  
  733.  
  734. --find rig joints
  735.  
  736. local function fakemotor()
  737. return {C0=cf(), C1=cf()}
  738. end
  739.  
  740. local torso = gp(c, "Torso", "BasePart")
  741. local root = gp(c, "HumanoidRootPart", "BasePart")
  742.  
  743. local neck = gp(torso, "Neck", "Motor6D")
  744. neck = neck or fakemotor()
  745.  
  746. local rootJoint = gp(root, "RootJoint", "Motor6D")
  747. rootJoint = rootJoint or fakemotor()
  748.  
  749. local leftShoulder = gp(torso, "Left Shoulder", "Motor6D")
  750. leftShoulder = leftShoulder or fakemotor()
  751.  
  752. local rightShoulder = gp(torso, "Right Shoulder", "Motor6D")
  753. rightShoulder = rightShoulder or fakemotor()
  754.  
  755. local leftHip = gp(torso, "Left Hip", "Motor6D")
  756. leftHip = leftHip or fakemotor()
  757.  
  758. local rightHip = gp(torso, "Right Hip", "Motor6D")
  759. rightHip = rightHip or fakemotor()
  760.  
  761. --120 fps
  762.  
  763. local fps = 0
  764. local event = Instance.new("BindableEvent", c)
  765. event.Name = "120 fps"
  766. local floor = math.floor
  767. fps = 1 / fps
  768. local tf = 0
  769. local con = nil
  770. con = game:GetService("RunService").RenderStepped:Connect(function(s)
  771. if not c then
  772. con:Disconnect()
  773. return
  774. end
  775. --tf += s
  776. if tf >= fps then
  777. for i=1, floor(tf / fps) do
  778. event:Fire(c)
  779. end
  780. tf = 0
  781. end
  782. end)
  783. local event = event.Event
  784.  
  785. local hedrot = v3(0, 5, 0)
  786.  
  787. local uis = game:GetService("UserInputService")
  788. local function isPressed(key)
  789. return (not uis:GetFocusedTextBox()) and uis:IsKeyDown(Enum.KeyCode[key])
  790. end
  791.  
  792. local biggesthandle = nil
  793. for i, v in pairs(c:GetChildren()) do
  794. if v:IsA("Accessory") and v.Name == "RCap" then --LOLLLLL THE FLING
  795. local handle = gp(v, "Handle", "BasePart")
  796. if biggesthandle then
  797. if biggesthandle.Size.Magnitude < handle.Size.Magnitude then
  798. biggesthandle = Handle
  799. end
  800. else
  801. biggesthandle = gp(v, "Handle", "BasePart")
  802. end
  803. end
  804. end
  805.  
  806. if not biggesthandle then
  807. return
  808. end
  809.  
  810. local handle1 = gp(gp(model, biggesthandle.Parent.Name, "Accessory"), "Handle", "BasePart")
  811. if not handle1 then
  812. return
  813. end
  814.  
  815. handle1.Destroying:Connect(function()
  816. handle1 = nil
  817. end)
  818. biggesthandle.Destroying:Connect(function()
  819. biggesthandle = nil
  820. end)
  821.  
  822. biggesthandle:BreakJoints()
  823. --biggesthandle.Anchored = true
  824.  
  825. for i, v in pairs(handle1:GetDescendants()) do
  826. if v:IsA("AlignOrientation") then
  827. v.Enabled = false
  828. end
  829. end
  830.  
  831. local mouse = lp:GetMouse()
  832. local fling = false
  833. mouse.Button1Down:Connect(function()
  834. fling = true
  835. end)
  836. mouse.Button1Up:Connect(function()
  837. fling = false
  838. end)
  839. local function doForSignal(signal, vel)
  840. spawn(function()
  841. while signal:Wait() and c and handle1 and biggesthandle do
  842. if fling and mouse.Target then
  843. biggesthandle.Position = mouse.Hit.Position
  844. end
  845. handle1.RotVelocity = vel
  846. end
  847. end)
  848. end
  849. doForSignal(stepped, v3(25000, 25000, 25000))
  850. doForSignal(renderstepped, v3(25000, 25000, 25000))
  851. doForSignal(heartbeat, v3(200000000000000, 200000000000000, 200000000000000)) --https://web.roblox.com/catalog/63690008/Pal-Hair
  852.  
  853. local lp = game:GetService("Players").LocalPlayer
  854. local rs = game:GetService("RunService")
  855. local stepped = rs.Stepped
  856. local heartbeat = rs.Heartbeat
  857. local renderstepped = rs.RenderStepped
  858. local sg = game:GetService("StarterGui")
  859. local ws = game:GetService("Workspace")
  860. local cf = CFrame.new
  861. local v3 = Vector3.new
  862. local v3_0 = Vector3.zero
  863. local inf = math.huge
  864.  
  865. local cplayer = lp.Character
  866.  
  867. local v3 = Vector3.new
  868.  
  869. local function gp(parent, name, className)
  870. if typeof(parent) == "Instance" then
  871. for i, v in pairs(parent:GetChildren()) do
  872. if (v.Name == name) and v:IsA(className) then
  873. return v
  874. end
  875. end
  876. end
  877. return nil
  878. end
  879.  
  880. local hat2 = gp(cplayer, "InternationalFedora", "Accessory")
  881. local handle2 = gp(hat2, "Handle", "BasePart")
  882. local att2 = gp(handle2, "att1_Handle", "Attachment")
  883. att2.Parent = cplayer["Head"]
  884. att2.Position = Vector3.new(0, -0, 0)
  885. att2.Rotation = Vector3.new(90, 0, 0)
  886.  
  887. local hat2 = gp(cplayer, "Hat1", "Accessory")
  888. local handle2 = gp(hat2, "Handle", "BasePart")
  889. local att2 = gp(handle2, "att1_Handle", "Attachment")
  890. att2.Parent = cplayer["Torso"]
  891. att2.Position = Vector3.new(0.5, -0, 0)
  892. att2.Rotation = Vector3.new(90, 0, 0)
  893.  
  894. local hat2 = gp(cplayer, "Pal Hair", "Accessory")
  895. local handle2 = gp(hat2, "Handle", "BasePart")
  896. local att2 = gp(handle2, "att1_Handle", "Attachment")
  897. att2.Parent = cplayer["Torso"]
  898. att2.Position = Vector3.new(-0.5, -0, 0)
  899. att2.Rotation = Vector3.new(90, 0, 0)
  900.  
  901. local hat2 = gp(cplayer, "Pink Hair", "Accessory")
  902. local handle2 = gp(hat2, "Handle", "BasePart")
  903. local att2 = gp(handle2, "att1_Handle", "Attachment")
  904. att2.Parent = cplayer["Left Arm"]
  905. att2.Position = Vector3.new(0, 0, 0)
  906. att2.Rotation = Vector3.new(90, 0, 0)
  907.  
  908. local hat2 = gp(cplayer, "Kate Hair", "Accessory")
  909. local handle2 = gp(hat2, "Handle", "BasePart")
  910. local att2 = gp(handle2, "att1_Handle", "Attachment")
  911. att2.Parent = cplayer["Right Arm"]
  912. att2.Position = Vector3.new(0, 0, -0.2)
  913. att2.Rotation = Vector3.new(90, 0, 0) --LavanderHair
  914.  
  915. local hat2 = gp(cplayer, "LavanderHair", "Accessory")
  916. local handle2 = gp(hat2, "Handle", "BasePart")
  917. local att2 = gp(handle2, "att1_Handle", "Attachment")
  918. att2.Parent = cplayer["Right Leg"]
  919. att2.Position = Vector3.new(0, 0, 0) --Robloxclassicred
  920. att2.Rotation = Vector3.new(90, 0, 0)
  921.  
  922. local hat2 = gp(cplayer, "Robloxclassicred", "Accessory")
  923. local handle2 = gp(hat2, "Handle", "BasePart")
  924. local att2 = gp(handle2, "att1_Handle", "Attachment")
  925. att2.Parent = cplayer["Left Leg"]
  926. att2.Position = Vector3.new(-0, 0, 0)
  927. att2.Rotation = Vector3.new(90, 0, 0)
  928.  
  929. local scrip1t = game:GetObjects("rbxassetid://6438169891")[1]
  930. scrip1t.Parent = game.Players.LocalPlayer.Character
  931.  
  932. local script = scrip1t.GUTS
  933.  
  934. local Mouse = game.Players.LocalPlayer:GetMouse()
  935.  
  936. wait()
  937.  
  938.  
  939. -------------------||
  940. --------------------\\
  941. --||||||||||]]]]]]]]]\\
  942. ---------------------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  943. --CREATED BY INFINITEONEWITHDANK NAME OF SCRIPT: GUTS, FROM BERSERK ]]> |]]>>
  944. ---------------------//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  945. --||||||||||]]]]]]]]]//
  946. --------------------//
  947. -------------------||
  948. --//THIS WAS NOT FULLY CREATED BY ME:
  949. --\\SOME SOURCES MAY HAVE BEEN TAKEN FROM OTHER SCRIPTS
  950.  
  951. print("Created By InfiniteOneWithdank, Shackluster/PityPolygon Made The Original Base Of This Script")
  952.  
  953. wait(2)
  954. Player = game:GetService("Players").LocalPlayer
  955. PlayerGui = Player.PlayerGui
  956. Cam = workspace.CurrentCamera
  957. Backpack = Player.Backpack
  958. Character = Player.Character
  959. RealChar = workspace[Player.Name]
  960. Humanoid = Character.Humanoid
  961. RootPart = Character.HumanoidRootPart
  962. Torso = Character.Torso
  963. Head = Character.Head
  964. Mouse = Player:GetMouse()
  965. RightArm = Character["Right Arm"]
  966. LeftArm = Character["Left Arm"]
  967. RightLeg = Character["Right Leg"]
  968. LeftLeg = Character["Left Leg"]
  969. RootJoint = RootPart.RootJoint
  970. Neck = Torso.Neck
  971. RightShoulder = Torso["Right Shoulder"]
  972. LeftShoulder = Torso["Left Shoulder"]
  973. RightHip = Torso["Right Hip"]
  974. LeftHip = Torso["Left Hip"]
  975. local TWEENSERVICE = game:GetService("TweenService")
  976. local debris = game:GetService("Debris")
  977. local run = game:GetService("RunService")
  978. local rs = run.RenderStepped
  979. local cam = workspace.CurrentCamera
  980. local HUM = Character.Humanoid
  981. local ROOT = HUM.Torso
  982. local MOUSEPOS = ROOT.Position
  983. local DAMAGEMULTIPLIER = 0
  984. local TERRIBLE = {}
  985.  
  986. IT = Instance.new
  987. CF = CFrame.new
  988. VT = Vector3.new
  989. RAD = math.rad
  990. C3 = Color3.new
  991. UD2 = UDim2.new
  992. BRICKC = BrickColor.new
  993. ANGLES = CFrame.Angles
  994. EULER = CFrame.fromEulerAnglesXYZ
  995. COS = math.cos
  996. ACOS = math.acos
  997. SIN = math.sin
  998. ASIN = math.asin
  999. ABS = math.abs
  1000. MRANDOM = math.random
  1001. FLOOR = math.floor
  1002.  
  1003. -----------------------------------
  1004. --||///////============\\\\\\\\||--
  1005. --><Values
  1006. Animation_Speed = 3
  1007. Animation_Speed2 = 5
  1008. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1009. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1010. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1011. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1012. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1013. local DAMAGEMULTIPLIER = 0
  1014. local ANIM = "Idle"
  1015. local ATTACK = false
  1016. local EQUIPPED = false
  1017. local HOLD = false
  1018. local COMBO = 0
  1019. local Rooted = false
  1020. local SINE = 0
  1021. local KEYHOLD = false
  1022. local CHANGE = 2 / Animation_Speed
  1023. local WALKINGANIM = false
  1024. local VALUE1 = false
  1025. local VALUE2 = false
  1026. local ROBLOXIDLEANIMATION = IT("Animation")
  1027. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1028. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1029. ROBLOXIDLEANIMATION.Parent = Humanoid
  1030. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1031. WEAPONGUI.Name = "DSCRIPT"
  1032. local Effects = IT("Folder", Character)
  1033. Effects.Name = "Effects"
  1034. local ANIMATOR = Humanoid.Animator
  1035. local ANIMATE = Character.Animate
  1036. local UNANCHOR = true
  1037. local SHOTS = 0
  1038.  
  1039. local STUFF = Instance.new("Folder",Character)
  1040.  
  1041. local Musika = IT("Sound", RootPart)
  1042. local Volu = 5
  1043. local Pitch = 1
  1044. local Song = 1846584518
  1045. local TSPT, TVY, TSTP
  1046.  
  1047. local Musika2 = IT("Sound", RootPart)
  1048. local Volu2 = 3
  1049. local Pitch2 = 1
  1050. local Song2 = 0
  1051. local TSPT2, TVY2, TSTP2
  1052.  
  1053. local Player_Size = 1
  1054. local WALKINGANIM = false
  1055. local SCALE = 2
  1056.  
  1057. local Decal = IT("Decal")
  1058.  
  1059. local HITPLAYERSOUNDS = {"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  1060. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  1061. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  1062. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  1063.  
  1064. local GHOST = false
  1065. local GUTS = true
  1066.  
  1067. -----------------------------------
  1068.  
  1069.  
  1070. -----------------------------------
  1071. --------------------------------->
  1072. -----------------------------------
  1073.  
  1074. ArtificialHB = Instance.new("BindableEvent", script)
  1075. ArtificialHB.Name = "ArtificialHB"
  1076. script:WaitForChild("ArtificialHB")
  1077. frame = Frame_Speed
  1078. tf = 0
  1079. allowframeloss = false
  1080. tossremainder = false
  1081. lastframe = tick()
  1082. script.ArtificialHB:Fire()
  1083. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1084. tf = tf + s
  1085. if tf >= frame then
  1086. if allowframeloss then
  1087. script.ArtificialHB:Fire()
  1088. lastframe = tick()
  1089. else
  1090. for i = 1, math.floor(tf / frame) do
  1091. script.ArtificialHB:Fire()
  1092. end
  1093. lastframe = tick()
  1094. end
  1095. if tossremainder then
  1096. tf = 0
  1097. else
  1098. tf = tf - frame * math.floor(tf / frame)
  1099. end
  1100. end
  1101. end)
  1102.  
  1103. -----------------------------------
  1104.  
  1105. --><Some Functions
  1106. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1107. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1108. end
  1109. function PositiveAngle(NUMBER)
  1110. if NUMBER >= 0 then
  1111. NUMBER = 0
  1112. end
  1113. return NUMBER
  1114. end
  1115. function NegativeAngle(NUMBER)
  1116. if NUMBER <= 0 then
  1117. NUMBER = 0
  1118. end
  1119. return NUMBER
  1120. end
  1121. function Swait(NUMBER)
  1122. if NUMBER == 0 or NUMBER == nil then
  1123. ArtificialHB.Event:wait()
  1124. else
  1125. for i = 1, NUMBER do
  1126. ArtificialHB.Event:wait()
  1127. end
  1128. end
  1129. end
  1130. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1131. local NEWMESH = IT(MESH)
  1132. if MESH == "SpecialMesh" then
  1133. NEWMESH.MeshType = MESHTYPE
  1134. if MESHID ~= "nil" and MESHID ~= "" then
  1135. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  1136. end
  1137. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1138. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  1139. end
  1140. end
  1141. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1142. NEWMESH.Scale = SCALE
  1143. NEWMESH.Parent = PARENT
  1144. return NEWMESH
  1145. end
  1146. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1147. local NEWPART = IT("Part")
  1148. NEWPART.formFactor = FORMFACTOR
  1149. NEWPART.Reflectance = REFLECTANCE
  1150. NEWPART.Transparency = TRANSPARENCY
  1151. NEWPART.CanCollide = false
  1152. NEWPART.Locked = true
  1153. NEWPART.Anchored = true
  1154. if ANCHOR == false then
  1155. NEWPART.Anchored = false
  1156. end
  1157. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1158. NEWPART.Name = NAME
  1159. NEWPART.Size = SIZE
  1160. NEWPART.Position = Torso.Position
  1161. NEWPART.Material = MATERIAL
  1162. NEWPART:BreakJoints()
  1163. NEWPART.Parent = PARENT
  1164. return NEWPART
  1165. end
  1166. local weldBetween = function(a, b)
  1167. local weldd = Instance.new("ManualWeld")
  1168. weldd.Part0 = a
  1169. weldd.Part1 = b
  1170. weldd.C0 = CFrame.new()
  1171. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1172. weldd.Parent = a
  1173. return weldd
  1174. end
  1175. function weldSomethings(a, b, acf)
  1176. local we = Instance.new("Weld", a)
  1177. we.Part0 = a
  1178. we.Part1 = b
  1179. if acf ~= nil then
  1180. we.C0 = acf
  1181. end
  1182. end
  1183. function QuaternionFromCFrame(cf)
  1184. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1185. local trace = m00 + m11 + m22
  1186. if trace > 0 then
  1187. local s = math.sqrt(1 + trace)
  1188. local recip = 0.5 / s
  1189. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1190. else
  1191. local i = 0
  1192. if m00 < m11 then
  1193. i = 1
  1194. end
  1195. if m22 > (i == 0 and m00 or m11) then
  1196. i = 2
  1197. end
  1198. if i == 0 then
  1199. local s = math.sqrt(m00 - m11 - m22 + 1)
  1200. local recip = 0.5 / s
  1201. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1202. elseif i == 1 then
  1203. local s = math.sqrt(m11 - m22 - m00 + 1)
  1204. local recip = 0.5 / s
  1205. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1206. elseif i == 2 then
  1207. local s = math.sqrt(m22 - m00 - m11 + 1)
  1208. local recip = 0.5 / s
  1209. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1210. end
  1211. end
  1212. end
  1213. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1214. local xs, ys, zs = x + x, y + y, z + z
  1215. local wx, wy, wz = w * xs, w * ys, w * zs
  1216. local xx = x * xs
  1217. local xy = x * ys
  1218. local xz = x * zs
  1219. local yy = y * ys
  1220. local yz = y * zs
  1221. local zz = z * zs
  1222. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  1223. end
  1224. function QuaternionSlerp(a, b, t)
  1225. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1226. local startInterp, finishInterp
  1227. if cosTheta >= 1.0E-4 then
  1228. if 1 - cosTheta > 1.0E-4 then
  1229. local theta = ACOS(cosTheta)
  1230. local invSinTheta = 1 / SIN(theta)
  1231. startInterp = SIN((1 - t) * theta) * invSinTheta
  1232. finishInterp = SIN(t * theta) * invSinTheta
  1233. else
  1234. startInterp = 1 - t
  1235. finishInterp = t
  1236. end
  1237. elseif 1 + cosTheta > 1.0E-4 then
  1238. local theta = ACOS(-cosTheta)
  1239. local invSinTheta = 1 / SIN(theta)
  1240. startInterp = SIN((t - 1) * theta) * invSinTheta
  1241. finishInterp = SIN(t * theta) * invSinTheta
  1242. else
  1243. startInterp = t - 1
  1244. finishInterp = t
  1245. end
  1246. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1247. end
  1248. function Clerp(a, b, t)
  1249. local qa = {
  1250. QuaternionFromCFrame(a)
  1251. }
  1252. local qb = {
  1253. QuaternionFromCFrame(b)
  1254. }
  1255. local ax, ay, az = a.x, a.y, a.z
  1256. local bx, by, bz = b.x, b.y, b.z
  1257. local _t = 1 - t
  1258. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1259. end
  1260. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1261. local frame = IT("Frame")
  1262. frame.BackgroundTransparency = TRANSPARENCY
  1263. frame.BorderSizePixel = BORDERSIZEPIXEL
  1264. frame.Position = POSITION
  1265. frame.Size = SIZE
  1266. frame.BackgroundColor3 = COLOR
  1267. frame.BorderColor3 = BORDERCOLOR
  1268. frame.Name = NAME
  1269. frame.Parent = PARENT
  1270. return frame
  1271. end
  1272. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1273. local label = IT("TextLabel")
  1274. label.BackgroundTransparency = 1
  1275. label.Size = UD2(1, 0, 1, 0)
  1276. label.Position = UD2(0, 0, 0, 0)
  1277. label.TextColor3 = TEXTCOLOR
  1278. label.TextStrokeTransparency = STROKETRANSPARENCY
  1279. label.TextTransparency = TRANSPARENCY
  1280. label.FontSize = TEXTFONTSIZE
  1281. label.Font = TEXTFONT
  1282. label.BorderSizePixel = BORDERSIZEPIXEL
  1283. label.TextScaled = false
  1284. label.Text = TEXT
  1285. label.Name = NAME
  1286. label.Parent = PARENT
  1287. return label
  1288. end
  1289. function NoOutlines(PART)
  1290. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1291. end
  1292. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1293. local NEWWELD = IT(TYPE)
  1294. NEWWELD.Part0 = PART0
  1295. NEWWELD.Part1 = PART1
  1296. NEWWELD.C0 = C0
  1297. NEWWELD.C1 = C1
  1298. NEWWELD.Parent = PARENT
  1299. return NEWWELD
  1300. end
  1301. local S = IT("Sound")
  1302. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1303. local NEWSOUND
  1304. coroutine.resume(coroutine.create(function()
  1305. NEWSOUND = S:Clone()
  1306. NEWSOUND.Parent = PARENT
  1307. NEWSOUND.Volume = VOLUME
  1308. NEWSOUND.Pitch = PITCH
  1309. NEWSOUND.EmitterSize = VOLUME * 3
  1310. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  1311. NEWSOUND:play()
  1312. if DOESLOOP == true then
  1313. NEWSOUND.Looped = true
  1314. else
  1315. repeat
  1316. wait(1)
  1317. until NEWSOUND.Playing == false
  1318. NEWSOUND:remove()
  1319. end
  1320. end))
  1321. return NEWSOUND
  1322. end
  1323. function NewSound(TABLE)
  1324. local ID = "rbxassetid://"..(TABLE.ID or 0)
  1325. local PARENT = (TABLE.PARENT or ROOT)
  1326. local VOLUME = (TABLE.VOLUME or 0.5)
  1327. local PITCH = (TABLE.PITCH or 1)
  1328. local LOOP = (TABLE.LOOP or false)
  1329. local MAXDISTANCE = (TABLE.MAXDISTANCE or 100)
  1330. local EMITTERSIZE = (TABLE.EMITTERSIZE or 10)
  1331. local PLAYING = (TABLE.PLAYING or true)
  1332. local PLAYONREMOVE = (TABLE.PLAYONREMOVE or false)
  1333. local DOESDEBRIS = (TABLE.DOESDEBRIS or true)
  1334. if ID ~= "rbxassetid://0" then
  1335. local SOUND = IT("Sound",PARENT)
  1336. SOUND.SoundId = ID
  1337. SOUND.Volume = VOLUME
  1338. SOUND.Pitch = PITCH
  1339. SOUND.Looped = LOOP
  1340. SOUND.MaxDistance = MAXDISTANCE
  1341. SOUND.EmitterSize = EMITTERSIZE
  1342. SOUND.PlayOnRemove = PLAYONREMOVE
  1343. if DOESDEBRIS == true and PLAYING == true and LOOP == false then
  1344. Debris:AddItem(SOUND,SOUND.TimeLength+5)
  1345. end
  1346. if PLAYING == true then
  1347. SOUND:Play()
  1348. end
  1349. return SOUND
  1350. end
  1351. end
  1352. function CFrameFromTopBack(at, top, back)
  1353. local right = top:Cross(back)
  1354. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1355. end
  1356. function MagicRing()
  1357. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Warphole", VT(0, 0, 0))
  1358. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  1359. local decal = Decal:Clone()
  1360. decal.Parent = O1
  1361. decal.Face = "Top"
  1362. decal.Texture = "http://www.roblox.com/asset/?id=0"
  1363. local decal2 = Decal:Clone()
  1364. decal2.Parent = O1
  1365. decal2.Face = "Bottom"
  1366. decal2.Texture = "http://www.roblox.com/asset/?id=0"
  1367. return O1
  1368. end
  1369. function MagicRing2(PART,CFRAME)
  1370. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Royal purple", "MagicRing", VT(0,0,0),false)
  1371. local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
  1372. local MESH = IT("BlockMesh",RING)
  1373. local BOTTOMTEXTURE = Decal:Clone()
  1374. BOTTOMTEXTURE.Parent = RING
  1375. BOTTOMTEXTURE.Face = "Bottom"
  1376. BOTTOMTEXTURE.Name = "BottomTexture"
  1377. local TOPTEXTURE = Decal:Clone()
  1378. TOPTEXTURE.Parent = RING
  1379. TOPTEXTURE.Face = "Top"
  1380. TOPTEXTURE.Name = "TopTexture"
  1381. local LIGHT = IT("PointLight",RING)
  1382. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=2829906887"
  1383. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=2829906887"
  1384. return RING,WELD,MESH
  1385. end
  1386. local DECAL = IT("Decal")
  1387. function MagicRing3()
  1388. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  1389. local MSH = IT("BlockMesh", RING)
  1390. local TOP = DECAL:Clone()
  1391. local BOTTOM = DECAL:Clone()
  1392. TOP.Parent = RING
  1393. BOTTOM.Parent = RING
  1394. TOP.Face = "Top"
  1395. BOTTOM.Face = "Bottom"
  1396. TOP.Texture = "http://www.roblox.com/asset/?id=0"
  1397. BOTTOM.Texture = "http://www.roblox.com/asset/?id=0"
  1398. local function REMOVE()
  1399. coroutine.resume(coroutine.create(function()
  1400. local SIZE = MSH.Scale.X
  1401. for i = 1, 35 do
  1402. Swait()
  1403. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1404. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1405. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1406. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1407. end
  1408. RING:remove()
  1409. end))
  1410. end
  1411. return RING, MSH, REMOVE
  1412. end
  1413. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  1414. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1415. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1416. wave.CFrame = CFRAME
  1417. coroutine.resume(coroutine.create(function(PART)
  1418. for i = 1, WAIT do
  1419. Swait()
  1420. mesh.Scale = mesh.Scale + GROW
  1421. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  1422. if DOESROT == true then
  1423. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1424. end
  1425. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1426. if wave.Transparency > 0.99 then
  1427. wave:remove()
  1428. end
  1429. end
  1430. end))
  1431. end
  1432. function SpecialSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1433. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Eye", VT(1,1,1), true)
  1434. wave.Color = COLOR
  1435. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1436. wave.CFrame = CFRAME
  1437. coroutine.resume(coroutine.create(function(PART)
  1438. for i = 1, WAIT do
  1439. Swait()
  1440. mesh.Scale = mesh.Scale + GROW
  1441. wave.Transparency = wave.Transparency + (1/WAIT)
  1442. if wave.Transparency > 0.99 then
  1443. wave:remove()
  1444. end
  1445. end
  1446. end))
  1447. end
  1448. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1449. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1450. local mesh = IT("SpecialMesh",wave)
  1451. mesh.MeshType = "Sphere"
  1452. mesh.Scale = SIZE
  1453. mesh.Offset = VT(0,0,0)
  1454. wave.CFrame = CFRAME
  1455. coroutine.resume(coroutine.create(function(PART)
  1456. for i = 1, WAIT do
  1457. Swait()
  1458. mesh.Scale = mesh.Scale + GROW
  1459. wave.Transparency = wave.Transparency + (1/WAIT)
  1460. if wave.Transparency > 0.99 then
  1461. wave:remove()
  1462. end
  1463. end
  1464. end))
  1465. end
  1466. function WACKYEFFECT(Table)
  1467. local TYPE = (Table.EffectType or "Sphere")
  1468. local SIZE = (Table.Size or VT(1,1,1))
  1469. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1470. local TRANSPARENCY = (Table.Transparency or 0)
  1471. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1472. local CFRAME = (Table.CFrame or Torso.CFrame)
  1473. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1474. local ROTATION1 = (Table.RotationX or 0)
  1475. local ROTATION2 = (Table.RotationY or 0)
  1476. local ROTATION3 = (Table.RotationZ or 0)
  1477. local MATERIAL = (Table.Material or "Neon")
  1478. local COLORLOOP = (Table.ColorLoop or false)
  1479. local COLOR = (Table.Color or C3(1,1,1))
  1480. local TIME = (Table.Time or 45)
  1481. local SOUNDID = (Table.SoundID or nil)
  1482. local SOUNDPITCH = (Table.SoundPitch or nil)
  1483. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1484. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  1485. local BOOMERANG = (Table.Boomerang or 0)
  1486. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  1487. coroutine.resume(coroutine.create(function()
  1488. local PLAYSSOUND = false
  1489. local SOUND = nil
  1490. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1491. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1492. PLAYSSOUND = true
  1493. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1494. end
  1495. EFFECT.Color = COLOR
  1496. local MSH = nil
  1497. if TYPE == "Sphere" then
  1498. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1499. elseif TYPE == "Block" or TYPE == "Box" then
  1500. MSH = IT("BlockMesh",EFFECT)
  1501. MSH.Scale = SIZE
  1502. elseif TYPE == "Wave" then
  1503. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1504. elseif TYPE == "Ring" then
  1505. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1506. elseif TYPE == "Slash" then
  1507. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1508. elseif TYPE == "Round Slash" then
  1509. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1510. elseif TYPE == "Swirl" then
  1511. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  1512. elseif TYPE == "Skull" then
  1513. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1514. elseif TYPE == "Crystal" then
  1515. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1516. end
  1517. if MSH ~= nil then
  1518. local BOOMR1 = 1+BOOMERANG/50
  1519. local BOOMR2 = 1+SIZEBOOMERANG/50
  1520. local MOVESPEED = nil
  1521. if MOVEDIRECTION ~= nil then
  1522. if USEBOOMERANGMATH == true then
  1523. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  1524. else
  1525. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  1526. end
  1527. end
  1528. local GROWTH = nil
  1529. if USEBOOMERANGMATH == true then
  1530. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  1531. else
  1532. GROWTH = (SIZE - ENDSIZE)
  1533. end
  1534. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1535. if TYPE == "Block" then
  1536. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1537. else
  1538. EFFECT.CFrame = CFRAME
  1539. end
  1540. if USEBOOMERANGMATH == true then
  1541. for LOOP = 1, TIME+1 do
  1542. Swait()
  1543. if COLORLOOP == true then
  1544. EFFECT.Color = COLOR
  1545. end
  1546. MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  1547. if TYPE == "Wave" then
  1548. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  1549. end
  1550. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1551. if TYPE == "Block" then
  1552. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1553. else
  1554. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1555. end
  1556. if MOVEDIRECTION ~= nil then
  1557. local ORI = EFFECT.Orientation
  1558. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  1559. EFFECT.Orientation = ORI
  1560. end
  1561. end
  1562. else
  1563. for LOOP = 1, TIME+1 do
  1564. Swait()
  1565. if COLORLOOP == true then
  1566. EFFECT.Color = COLOR
  1567. end
  1568. MSH.Scale = MSH.Scale - GROWTH/TIME
  1569. if TYPE == "Wave" then
  1570. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  1571. end
  1572. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1573. if TYPE == "Block" then
  1574. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1575. else
  1576. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1577. end
  1578. if MOVEDIRECTION ~= nil then
  1579. local ORI = EFFECT.Orientation
  1580. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1581. EFFECT.Orientation = ORI
  1582. end
  1583. end
  1584. end
  1585. EFFECT.Transparency = 1
  1586. if PLAYSSOUND == false then
  1587. EFFECT:remove()
  1588. else
  1589. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1590. EFFECT:remove()
  1591. end
  1592. else
  1593. if PLAYSSOUND == false then
  1594. EFFECT:remove()
  1595. else
  1596. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1597. EFFECT:remove()
  1598. end
  1599. end
  1600. end))
  1601. end
  1602. function CharacterFade(COLOR,TIMER)
  1603. coroutine.resume(coroutine.create(function()
  1604. local FADE = IT("Model",Effects)
  1605. FADE.Name = "FadingEffect"
  1606. for _, c in pairs(Character:GetChildren()) do
  1607. if c.ClassName == "Part" and c ~= RootPart then
  1608. local FADER = c:Clone()
  1609. FADER.Color = COLOR
  1610. FADER.CFrame = c.CFrame
  1611. FADER.Parent = FADE
  1612. FADER.Anchored = true
  1613. FADER.Transparency = 0.25+c.Transparency
  1614. FADER:BreakJoints()
  1615. FADER.Material = "Neon"
  1616. if FADER.Name == "Head" then
  1617. FADER:ClearAllChildren()
  1618. FADER.Size = VT(1,1,1)
  1619. end
  1620. if c and c.Parent and c.ClassName == "ShirtGraphic" then
  1621. c:Destroy()
  1622. end
  1623. FADER.CanCollide = false
  1624. end
  1625. end
  1626. local TRANS = 0.75/TIMER
  1627. for i = 1, TIMER do
  1628. Swait()
  1629. for _, c in pairs(FADE:GetChildren()) do
  1630. if c.ClassName == "Part" then
  1631. c.Transparency = c.Transparency + TRANS
  1632. end
  1633. end
  1634. end
  1635. FADE:remove()
  1636. end))
  1637. end
  1638. function Lightning(Table)
  1639. local Color = Table.Color or C3(1, 1, 1)
  1640. local StartPos = Table.Start or Torso.Position
  1641. local EndPos = Table.End or Mouse.Hit.p
  1642. local SegmentLength = Table.SegmentL or 2
  1643. local Thickness = Table.Thickness or 0.1
  1644. local Dissapear = Table.DoesFade or false
  1645. local Parent = Table.Ignore or Character
  1646. local MaxDist = Table.MaxDist or 400
  1647. local Branches = Table.Branches or false
  1648. local Thicken = Table.Thicken or false
  1649. local FadeTime = Table.FadeTime or 15
  1650. local FadeIn = Table.FadeIn or false
  1651. local Material = Table.Material or "Neon"
  1652. local HIT, HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  1653. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude / (SegmentLength / SegmentLength / 1.5))
  1654. local LIGHTNINGMODEL = IT("Model", Effects)
  1655. LIGHTNINGMODEL.Name = "Lightning"
  1656. local LastBolt
  1657. for E = 1, DISTANCE do
  1658. local ExtraSize = 0
  1659. if Thicken == true then
  1660. ExtraSize = (DISTANCE - E) / 15
  1661. end
  1662. local TRANSPARENCY = 0
  1663. if FadeIn == true then
  1664. TRANSPARENCY = 1 - E / (DISTANCE / 1.5)
  1665. if TRANSPARENCY < 0 then
  1666. TRANSPARENCY = 0
  1667. end
  1668. end
  1669. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart" .. E, VT(Thickness + ExtraSize, SegmentLength, Thickness + ExtraSize))
  1670. PART.Color = Color
  1671. MakeForm(PART, "Cyl")
  1672. if LastBolt == nil then
  1673. PART.CFrame = CF(StartPos, HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -PART.Size.Y / 2, 0)
  1674. else
  1675. PART.CFrame = CF(LastBolt.CFrame * CF(0, -LastBolt.Size.Y / 2, 0).p, CF(HITPOS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, DISTANCE - E).p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -PART.Size.Y / 2, 0)
  1676. end
  1677. LastBolt = PART
  1678. if Branches == true and E < DISTANCE - 5 then
  1679. local CHOICE = MRANDOM(1, 7 + (DISTANCE - E) * 2)
  1680. if CHOICE == 1 then
  1681. local LASTBRANCH
  1682. for i = 1, MRANDOM(2, 5) do
  1683. local ExtraSize2 = 0
  1684. if Thicken == true then
  1685. ExtraSize = (DISTANCE - E) / 25 / i
  1686. end
  1687. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch" .. E .. "-" .. i, VT(Thickness + ExtraSize2, SegmentLength, Thickness + ExtraSize2))
  1688. PART.Color = Color
  1689. MakeForm(PART, "Cyl")
  1690. if LASTBRANCH == nil then
  1691. PART.CFrame = CF(LastBolt.CFrame * CF(0, -LastBolt.Size.Y / 2, 0).p, LastBolt.CFrame * CF(0, -LastBolt.Size.Y / 2, 0) * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(0, 360))) * CF(0, Thickness * 7, 0) * CF(0, 0, -1).p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -PART.Size.Y / 2, 0)
  1692. else
  1693. PART.CFrame = CF(LASTBRANCH.CFrame * CF(0, -LASTBRANCH.Size.Y / 2, 0).p, LASTBRANCH.CFrame * CF(0, -LASTBRANCH.Size.Y / 2, 0) * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(0, 360))) * CF(0, Thickness * 3, 0) * CF(0, 0, -1).p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -PART.Size.Y / 2, 0)
  1694. end
  1695. LASTBRANCH = PART
  1696. end
  1697. end
  1698. end
  1699. end
  1700. if Dissapear == true then
  1701. coroutine.resume(coroutine.create(function()
  1702. for i = 1, FadeTime do
  1703. Swait()
  1704. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  1705. if c.ClassName == "Part" then
  1706. c.Transparency = c.Transparency + 1 / FadeTime
  1707. end
  1708. end
  1709. end
  1710. LIGHTNINGMODEL:remove()
  1711. end))
  1712. elseif Dissapear == false then
  1713. Debris:AddItem(LIGHTNINGMODEL, 0.1)
  1714. end
  1715. return {
  1716. Hit = HIT,
  1717. Pos = HITPOS,
  1718. End = LastBolt.CFrame * CF(0, 0, -LastBolt.Size.Z).p,
  1719. LastBolt = LastBolt,
  1720. Model = LIGHTNINGMODEL
  1721. }
  1722. end
  1723. function GetRoot(MODEL, ROOT)
  1724. if ROOT == true then
  1725. return MODEL:FindFirstChild("adf") or MODEL:FindFirstChild("adsf") or MODEL:FindFirstChild("adf")
  1726. else
  1727. return MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("adf")
  1728. end
  1729. end
  1730. function MakeForm(PART, TYPE)
  1731. if TYPE == "Cyl" then
  1732. local MSH = IT("CylinderMesh", PART)
  1733. elseif TYPE == "Ball" then
  1734. local MSH = IT("SpecialMesh", PART)
  1735. MSH.MeshType = "Sphere"
  1736. elseif TYPE == "Wedge" then
  1737. local MSH = IT("SpecialMesh", PART)
  1738. MSH.MeshType = "Wedge"
  1739. end
  1740. end
  1741. Debris = game:GetService("Debris")
  1742. local Particle = IT("ParticleEmitter",nil)
  1743. Particle.Enabled = false
  1744. Particle.LightEmission = 0.8
  1745. Particle.Rate = 150
  1746. Particle.ZOffset = 1
  1747. Particle.Rotation = NumberRange.new(-180, 180)
  1748.  
  1749. --ParticleEmitter({Speed = 5, RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false, Color1 = C3(1,1,1), Color2 = C3(1,1,1), Texture = ""})
  1750. function ParticleEmitter(Table)
  1751. local PRTCL = Particle:Clone()
  1752. local Color1 = Table.Color1 or C3(1,1,1)
  1753. local Color2 = Table.Color2 or C3(1,1,1)
  1754. local Speed = Table.Speed or 5
  1755. local Drag = Table.Drag or 0
  1756. local Size1 = Table.Size1 or 1
  1757. local Size2 = Table.Size2 or 5
  1758. local Lifetime1 = Table.Lifetime1 or 1
  1759. local Lifetime2 = Table.Lifetime2 or 1.5
  1760. local Parent = Table.Parent or Torso
  1761. local Emit = Table.Emit or 100
  1762. local Offset = Table.Offset or 360
  1763. local Acel = Table.Acel or VT(0,0,0)
  1764. local Enabled = Table.Enabled or false
  1765. local Texture = Table.Texture or "281983280"
  1766. local RotS = Table.RotSpeed or NumberRange.new(-15, 15)
  1767. local Trans1 = Table.Transparency1 or 0
  1768. local Trans2 = Table.Transparency2 or 0
  1769. PRTCL.Parent = Parent
  1770. PRTCL.RotSpeed = RotS
  1771. PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
  1772. PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture
  1773. PRTCL.Color = ColorSequence.new(Color1,Color2)
  1774. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1775. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1776. PRTCL.Speed = NumberRange.new(Speed)
  1777. PRTCL.VelocitySpread = Offset
  1778. PRTCL.Drag = Drag
  1779. PRTCL.Acceleration = Acel
  1780. if Enabled == false then
  1781. PRTCL:Emit(Emit)
  1782. Debris:AddItem(PRTCL,Lifetime2)
  1783. else
  1784. PRTCL.Enabled = true
  1785. end
  1786. return PRTCL
  1787. end
  1788. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1789. local DIRECTION = CF(StartPos, EndPos).lookVector
  1790. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  1791. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  1792. end
  1793. function SpawnTrail(FROM,TO,BIG)
  1794. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "Trail", VT(45,45,45))
  1795. MakeForm(TRAIL,"Cyl")
  1796. local DIST = (FROM - TO).Magnitude
  1797. if BIG == true then
  1798. TRAIL.Size = VT(2,DIST,5)
  1799. else
  1800. TRAIL.Size = VT(2,DIST,5)
  1801. end
  1802. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1803. coroutine.resume(coroutine.create(function()
  1804. for i = 1, 25 do
  1805. Swait()
  1806. TRAIL.Transparency = TRAIL.Transparency + 0.02
  1807. TRAIL.Size = TRAIL.Size - VT(.1,0,.1)
  1808. end
  1809. TRAIL:remove()
  1810. end))
  1811. end
  1812.  
  1813. function Debree(Table)
  1814. local KindOf = Table.Variant or "Ring"
  1815. local Position = Table.Location or Torso.Position
  1816. local Coloration = Table.Color or C3(1, 1, 1)
  1817. local Texture = Table.Material or "Slate"
  1818. local Fling = Table.Scatter or 1
  1819. local Number = Table.Amount or 1
  1820. local Rocks = Table.DebreeCount or 1
  1821. local Range = Table.Distance or 1
  1822. local Scale = Table.Size or 1
  1823. local Timer = Table.Delay or 1.5
  1824. coroutine.resume(coroutine.create(function()
  1825. local ScaleVector = VT(Scale, Scale, Scale)
  1826. local Boulders = {}
  1827. Position = CF(Position)
  1828. if KindOf == "Ring" or KindOf == "Both" then
  1829. for RockValue = 1, Number do
  1830. local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale / 2), math.ceil(Scale / 2)), Range)
  1831. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  1832. BOULDER.CanCollide = true
  1833. BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1834. BOULDER.Color = Coloration
  1835. table.insert(Boulders, BOULDER)
  1836. end
  1837. end
  1838. if KindOf == "Loose" or KindOf == "Both" then
  1839. for RockValue = 1, Rocks do
  1840. local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale - Scale / 2), math.ceil(Scale - Scale / 2)), 0.7)
  1841. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, false)
  1842. BOULDER.CanCollide = true
  1843. BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1844. BOULDER.Velocity = CF(BOULDER.Position - VT(0, 4, 0), BOULDER.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 5, 0).p).lookVector * MRANDOM(Fling - Fling / 1.5, Fling + Fling / 1.5)
  1845. BOULDER.Color = Coloration
  1846. table.insert(Boulders, BOULDER)
  1847. end
  1848. end
  1849. if KindOf == "Random" then
  1850. for RockValue = 1, Number do
  1851. local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale / 2), math.ceil(Scale / 2)), MRANDOM(0, Range))
  1852. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  1853. BOULDER.CanCollide = true
  1854. BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1855. BOULDER.Color = Coloration
  1856. table.insert(Boulders, BOULDER)
  1857. end
  1858. end
  1859. wait(Timer)
  1860. for E = 1, 45 do
  1861. Swait()
  1862. for A = 1, #Boulders do
  1863. Boulders[A].Transparency = Boulders[A].Transparency + 0.022222222222222223
  1864. end
  1865. end
  1866. for A = 1, #Boulders do
  1867. Boulders[A]:Destroy()
  1868. end
  1869. end))
  1870. end
  1871.  
  1872. function CameraShake(AREA,RANGE,SHAKE,TIMER)
  1873. for index, CHILD in pairs(workspace:GetChildren()) do
  1874. if CHILD:FindFirstChildOfClass("Humanoid") then
  1875. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  1876. local ROOT = HUMAN.Torso
  1877. if ROOT and game.Players:GetPlayerFromCharacter(CHILD) then
  1878. if (ROOT.Position - AREA).Magnitude <= RANGE then
  1879. end
  1880. end
  1881. end
  1882. end
  1883. end
  1884.  
  1885. --><Miscellaneous & Weapon Creation
  1886.  
  1887. --//Welding
  1888. NewTorso = script.Torso
  1889. NewTorso.Parent = Character
  1890. NewTorso.MainTorso.Anchored = false
  1891. NewTorso.MainTorso.Transparency = 1
  1892. --weldSomethings(NewTorso.MainTorso,Torso, CF(0, 0, 0)*ANGLES(RAD(0),RAD(0),RAD(0)), CF(0, 0, 0))
  1893. NewRightArm = script.RightArm
  1894. NewRightArm.Parent = Character
  1895. NewRightArm.MainRightArm.Anchored = false
  1896. NewRightArm.MainRightArm.Transparency = 1
  1897. weldSomethings(NewRightArm.MainRightArm,RightArm, CF(0, 0, 0)*ANGLES(RAD(0),RAD(0),RAD(0)), CF(0, 0, 0))
  1898. NewLeftArm = script.LeftArm
  1899. NewLeftArm.Parent = Character
  1900. NewLeftArm.MainLeftArm.Anchored = false
  1901. NewLeftArm.MainLeftArm.Transparency = 1
  1902. weldSomethings(NewLeftArm.MainLeftArm,LeftArm, CF(0, 0, 0)*ANGLES(RAD(0),RAD(0),RAD(0)), CF(0, 0, 0))
  1903. --\\
  1904.  
  1905. --//Dragon Slayer Weld
  1906. DRAGONSLAYER = script.DragonSlayer
  1907. DRAGONSLAYER.Parent = Character
  1908. DRAGONSLAYER.DS.Anchored = false
  1909. weldSomethings(DRAGONSLAYER.DS.Handle,RightArm, CF(0, 1, -.3)*ANGLES(RAD(0),RAD(90),RAD(0)), CF(0, 0, 0))
  1910. BLADE = DRAGONSLAYER.DS.Blade
  1911. HANDLE1 = DRAGONSLAYER.DS.Handle
  1912. HANDLE1.Transparency = 1
  1913. DRAGONSLAYER.DS.Transparency = 1
  1914.  
  1915. game:GetService("Players").LocalPlayer.Character["RCap"].Handle.att1_Handle.Parent = DRAGONSLAYER.DS
  1916. DRAGONSLAYER.DS.att1_Handle.Rotation = Vector3.new(-0,0,-0)
  1917. DRAGONSLAYER.DS.att1_Handle.Position = Vector3.new(0,0,2) --align ONLY WITH BOT REANIMATE
  1918.  
  1919. wait()
  1920.  
  1921. local lplr = game.Players.LocalPlayer
  1922. lplr.Character = RealChar
  1923.  
  1924. wait()
  1925.  
  1926.  
  1927.  
  1928. local het = RealChar["Back_AccAccessory"]
  1929. local handle = het.Handle
  1930. handle.AccessoryWeld:Destroy()
  1931.  
  1932. local unanchoredparts = {}
  1933. local movers = {}
  1934. local tog = true
  1935. local move = false
  1936. local mov = {};
  1937. local mov2 = {};
  1938.  
  1939.  
  1940. function ftp(str)
  1941. local pt = {};
  1942. if str ~= 'me' and str ~= 'random' then
  1943. for i, v in pairs(game.Players:GetPlayers()) do
  1944. if v.Name:lower():find(str:lower()) then
  1945. table.insert(pt, v);
  1946. end
  1947. end
  1948. elseif str == 'me' then
  1949. table.insert(pt, plr);
  1950. elseif str == 'random' then
  1951. table.insert(pt, game.Players:GetPlayers()[math.random(1, #game.Players:GetPlayers())]);
  1952. end
  1953. return pt;
  1954. end
  1955.  
  1956. local function align(i,v)
  1957. local att0 = Instance.new("Attachment", i)
  1958. att0.Position = Vector3.new(0,0,0)
  1959. local att1 = Instance.new("Attachment", v)
  1960. att1.Position = Vector3.new(0,0,0)
  1961. att1.Name = ("yess")
  1962. local AP = Instance.new("AlignPosition", i)
  1963. AP.Attachment0 = att0
  1964. AP.Attachment1 = att1
  1965. AP.RigidityEnabled = false
  1966. AP.ReactionForceEnabled = true
  1967. AP.ApplyAtCenterOfMass = true
  1968. AP.MaxForce = 9e9
  1969. AP.MaxVelocity = 9e99
  1970. AP.Responsiveness = 200
  1971. local AO = Instance.new("AlignOrientation", i)
  1972. AO.Attachment0 = att0
  1973. AO.Attachment1 = att1
  1974. AO.ReactionTorqueEnabled = true
  1975. AO.PrimaryAxisOnly = false
  1976. AO.MaxTorque = 9e99
  1977. AO.MaxAngularVelocity = 9e99
  1978. AO.Responsiveness = 200
  1979. end
  1980.  
  1981. handle.Size = Vector3.new(0.001, 0.001, 0.001)
  1982.  
  1983. align(handle, HANDLE1)
  1984.  
  1985. handle.Attachment.Rotation = Vector3.new(0, 0, 50)
  1986.  
  1987. HANDLE1.yess.Position = Vector3.new(-2.5, 0.1, 0)
  1988.  
  1989.  
  1990. h = Instance.new("Attachment",phandle)
  1991. h.Rotation = Vector3.new(0, 0, 0)
  1992. h.Position = Vector3.new(0, 0, 0)
  1993.  
  1994. lg = Instance.new("Attachment",tor)
  1995. lg.Rotation = Vector3.new(0, 0, 0)
  1996. lg.Position = Vector3.new(0, 0, -1.386)
  1997.  
  1998. gap = Instance.new("AlignPosition",phandle)
  1999. gap.Attachment0 = h
  2000. gap.Attachment1 = lg
  2001. gap.RigidityEnabled = true
  2002.  
  2003. gao = Instance.new("AlignOrientation",phandle)
  2004. gao.Attachment0 = h
  2005. gao.Attachment1 = lg
  2006. gao.RigidityEnabled = true
  2007.  
  2008. local alignpos = Instance.new("AlignPosition", Character)
  2009. local alignorien = Instance.new("AlignOrientation", Character)
  2010. alignpos.Attachment0 = att1
  2011. alignpos.Attachment1 = att2
  2012. alignpos.RigidityEnabled = false
  2013. alignpos.ReactionForceEnabled = false
  2014. alignpos.ApplyAtCenterOfMass = true
  2015. alignpos.MaxForce = 1000000000000000000000000000000000000
  2016. alignpos.MaxVelocity = math.huge/9e110
  2017. alignpos.Responsiveness = 100000000000000000000000
  2018. alignorien.Attachment0 = att1
  2019. alignorien.Attachment1 = att2
  2020. alignorien.ReactionTorqueEnabled = false
  2021. alignorien.PrimaryAxisOnly = false
  2022. alignorien.MaxTorque = 1000000000000000000000000000000000000
  2023. alignorien.MaxAngularVelocity = math.huge/9e110
  2024. alignorien.Responsiveness = 100000000000000000000000
  2025.  
  2026. wait()
  2027.  
  2028. lplr.Character = Character
  2029.  
  2030. wait()
  2031.  
  2032. spawn(function()
  2033. while game:GetService("RunService").Heartbeat:Wait() do
  2034. handle.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
  2035. handle.RotVelocity = Vector3.new(0, 0, 0)
  2036. handle.Velocity = Vector3.new(0, 0, 0)
  2037. handle.AssemblyLinearVelocity = Vector3.new(25.05, 0, 0)
  2038. end
  2039. end)
  2040.  
  2041.  
  2042.  
  2043.  
  2044. --\\
  2045.  
  2046. --><All Attack Functions
  2047.  
  2048. function printthisexpunge(Noob)
  2049. local NOTIFY = {"Expunged, "}
  2050. print(NOTIFY[MRANDOM(1,#NOTIFY)]..Noob..".")
  2051. end
  2052.  
  2053. local name = Character.Name
  2054. local MainModel = Instance.new("Model",workspace) MainModel.Name = name MainModel.Archivable=true
  2055. local stopeffects = false
  2056. local EffectModel = Instance.new("Model",MainModel) EffectModel.Name = "EffectModel" MainModel.Archivable=true
  2057. function EXPUNGE(MODEL)
  2058. local HUM = MODEL:FindFirstChildOfClass("Humanoid")
  2059. table.insert(TERRIBLE,MODEL.Name)
  2060. printthisexpunge(MODEL.Name)
  2061. local PARTS = {}
  2062. for index, CHILD in pairs(MODEL:GetChildren()) do
  2063. if CHILD:IsA("BasePart") and CHILD.Name ~= "funnymans" then
  2064. table.insert(PARTS,CHILD)
  2065. elseif CHILD:IsA("Script") then
  2066. elseif CHILD:IsA("LocalScript") then
  2067. end
  2068. end
  2069. if MODEL.Parent ~= MainModel and MODEL.Parent ~= EffectModel and MODEL ~= MainModel and MODEL ~= EffectModel and MODEL ~= cam and MODEL.Parent ~= cam and MODEL ~= script and MODEL.Parent ~= script then
  2070. coroutine.resume(coroutine.create(function()
  2071. for _,a in pairs(MODEL:GetDescendants()) do
  2072. if a:IsA'Script' or a:IsA'LocalScript' or a.ClassName == "Script" or a.ClassName == "LocalScript" then
  2073. a.Disabled=true
  2074. a:Destroy()
  2075. elseif a:IsA'ModuleScript' or a.ClassName == "ModuleScript" then
  2076. a:Destroy()
  2077. end
  2078. end
  2079. if game:GetService("Players"):GetPlayerFromCharacter(MODEL) then
  2080. local plr = game:GetService("Players"):GetPlayerFromCharacter(MODEL)
  2081. for _,a in pairs(plr:WaitForChild'PlayerGui':GetDescendants()) do
  2082. if a:IsA'Script' or a:IsA'LocalScript' or a.ClassName == "Script" or a.ClassName == "LocalScript" then
  2083. a.Disabled=true
  2084. a:Destroy()
  2085. elseif a:IsA'ModuleScript' or a.ClassName == "ModuleScript" then
  2086. a:Destroy()
  2087. end
  2088. end
  2089. for _,a in pairs(plr:WaitForChild'StarterGear':GetDescendants()) do
  2090. if a:IsA'Script' or a:IsA'LocalScript' or a.ClassName == "Script" or a.ClassName == "LocalScript" then
  2091. a.Disabled=true
  2092. a:Destroy()
  2093. elseif a:IsA'ModuleScript' or a.ClassName == "ModuleScript" then
  2094. a:Destroy()
  2095. end
  2096. end
  2097. for _,a in pairs(plr:WaitForChild'Backpack':GetDescendants()) do
  2098. if a:IsA'Script' or a:IsA'LocalScript' or a.ClassName == "Script" or a.ClassName == "LocalScript" then
  2099. a.Disabled=true
  2100. a:Destroy()
  2101. elseif a:IsA'ModuleScript' or a.ClassName == "ModuleScript" then
  2102. a:Destroy()
  2103. end
  2104. end
  2105. end
  2106. end))
  2107. end
  2108. local NIL = script.NilPlayerStuff:Clone()
  2109. NIL.Disabled = false
  2110. NIL.Parent = MODEL
  2111. if HUM then
  2112. for index, CHILD in pairs(MODEL:GetChildren()) do
  2113. if CHILD:IsA("BasePart") then
  2114. CHILD.Anchored = true
  2115. if CHILD.Name == "Head" then
  2116. --CreateSound("533636431",STUFF,10,2.65,false)
  2117. --CreateSound("1842431670",STUFF,10,.95,false)
  2118. --CreateSound("5411189517",STUFF,5,2,false)
  2119. --CreateSound("1842442500",STUFF,10,.95,false)
  2120. WACKYEFFECT({Time = MRANDOM(50,100), EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/2, Size2 = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/2, Transparency = .15, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position-VT(MRANDOM(-2,5)/1.5,MRANDOM(-3,6)/1.5,0), MRANDOM(-4,7)/35, RotationX = -45, RotationY = 10, RotationZ = 22, Material = CHILD.Material, Color = CHILD.Color, SoundID = nil, SoundPitch = 2.65, SoundVolume = 1, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 200})
  2121. WACKYEFFECT({Time = MRANDOM(50,100), EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z), Size2 = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z), Transparency = .15, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position-VT(MRANDOM(-19,20)/1.5,MRANDOM(-21,22)/1.5,0), MRANDOM(-22,23)/35, RotationX = 0, RotationY = 0, RotationZ = 0, Material = CHILD.Material, Color = CHILD.Color, SoundID = nil, SoundPitch = 2.65, SoundVolume = 1, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 200})
  2122. WACKYEFFECT({Time = MRANDOM(50,100), EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z), Size2 = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z), Transparency = .25, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position-VT(MRANDOM(-24,25)/1.5,MRANDOM(-26,27)/1.5,0), MRANDOM(-28,29)/35, RotationX = MRANDOM(360,360)/35, RotationY = 0, RotationZ = MRANDOM(360,360)/35, Material = "Concrete", Color = CHILD.Color, SoundID = nil, SoundPitch = 2.65, SoundVolume = 1, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 200})
  2123. WACKYEFFECT({Time = MRANDOM(50,100), EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z), Size2 = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z), Transparency = .45, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position-VT(MRANDOM(-30,31)/1.5,MRANDOM(-32,33)/1.5,0), MRANDOM(-34,35)/35, RotationX = 0, RotationY = MRANDOM(360,360)/35, RotationZ = MRANDOM(360,360)/35, Material = "Granite", Color = CHILD.Color, SoundID = nil, SoundPitch = 2.65, SoundVolume = 1, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 200})
  2124. elseif CHILD.Name ~= "HumanoidRootPart" then
  2125. WACKYEFFECT({
  2126. Time = 25,
  2127. EffectType = "Box",
  2128. Size = VT(60, 60, 60)/3,
  2129. Size2 = VT(0, 0, 0),
  2130. Transparency = .75,
  2131. Transparency2 = 0.7,
  2132. CFrame = CF(CHILD.Position),
  2133. MoveToPos = nil,
  2134. RotationX = MRANDOM(-360,360)/32,
  2135. RotationY = MRANDOM(-360,360)/32,
  2136. RotationZ = MRANDOM(-360,360)/32,
  2137. Material = "Glass",
  2138. Color = CHILD.Color,
  2139. SoundID = nil,
  2140. SoundPitch = nil,
  2141. SoundVolume = nil,
  2142. SizeBoomerang = 100,
  2143. Boomerang = 200
  2144. })
  2145. WACKYEFFECT({Time = MRANDOM(45,100), EffectType = "Box", Size = CHILD.Size, Size2 = CHILD.Size, Transparency = .25, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(MRANDOM(-2,5)/1.5,MRANDOM(-3,6)/1.5,0), MRANDOM(-4,7)/35, RotationX = MRANDOM(360,360)/35, RotationY = MRANDOM(360,360)/35, RotationZ = 0, Material = "Granite", Color = CHILD.Color, SoundID = nil, SoundPitch = .95, SoundVolume = 1, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 200})
  2146. WACKYEFFECT({Time = MRANDOM(75,100), EffectType = "Box", Size = CHILD.Size/2, Size2 = CHILD.Size/2, Transparency = .35, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position-VT(MRANDOM(-7,8)/1.5,MRANDOM(-8,9)/1.5,0), MRANDOM(-9,10)/35, RotationX = 22, RotationY = -45, RotationZ = 10, Material = CHILD.Material, Color = CHILD.Color, SoundID = nil, SoundPitch = .95, SoundVolume = 1, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 200})
  2147. WACKYEFFECT({Time = MRANDOM(25,100), EffectType = "Box", Size = CHILD.Size, Size2 = CHILD.Size, Transparency = .45, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(MRANDOM(-10,11)/1.5,MRANDOM(-11,12)/1.5,0), MRANDOM(-12,13)/35, RotationX = 0, RotationY = MRANDOM(360,360)/35, RotationZ = MRANDOM(360,360)/35, Material = "Concrete", Color = CHILD.Color, SoundID = nil, SoundPitch = 2, SoundVolume = 1, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 200})
  2148. WACKYEFFECT({Time = MRANDOM(65,100), EffectType = "Box", Size = CHILD.Size, Size2 = CHILD.Size, Transparency = .55, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position-VT(MRANDOM(-14,15)/1.5,MRANDOM(-16,17)/1.5,0), MRANDOM(-18,19)/35, RotationX = 0, RotationY = 0, RotationZ = 0, Material = CHILD.Material, Color = CHILD.Color, SoundID = nil, SoundPitch = .95, SoundVolume = 1, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 200})
  2149. end
  2150. CHILD:Destroy()
  2151. end
  2152. end
  2153. HUM.Health = 0
  2154. HUM.Archivable = false
  2155. end
  2156. for _, e in pairs(MODEL:GetDescendants()) do
  2157. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  2158. e.Transparency = 1
  2159. e:ClearAllChildren()
  2160. elseif e.ClassName == "Decal" then
  2161. e:remove()
  2162. end
  2163. end
  2164. MODEL:Destroy()
  2165. end
  2166.  
  2167. function AOETime(POSITION,RANGE)
  2168. for index, CHILD in pairs(workspace:GetDescendants()) do
  2169. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2170. local HUM = CHILD:FindFirstChildOfClass("Backpack")
  2171. if HUM then
  2172. local TORSO = CHILD:FindFirstChild("sdfg") or CHILD:FindFirstChild("sdfg")
  2173. if TORSO then
  2174. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2175. EXPUNGE(CHILD)
  2176. end
  2177. end
  2178. end
  2179. end
  2180. end
  2181. end
  2182.  
  2183.  
  2184. function recurse(root,callback,i)
  2185. i= i or 0
  2186. for _,v in pairs(root:GetChildren()) do
  2187. i = i + 1
  2188. callback(i,v)
  2189.  
  2190. if #v:GetChildren() > 0 then
  2191. i = recurse(v,callback,i)
  2192. end
  2193. end
  2194.  
  2195. return i
  2196. end
  2197.  
  2198. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  2199. attachmentName = attachmentName.."RigAttachment"
  2200. local constraint = Instance.new(className.."Constraint")
  2201. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2202. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2203. constraint.Name = "RagdollConstraint"..part1.Name
  2204.  
  2205. for _,propertyData in next,properties or {} do
  2206. constraint[propertyData[1]] = propertyData[2]
  2207. end
  2208.  
  2209. constraint.Parent = character
  2210. end
  2211.  
  2212. function getAttachment0(character, attachmentName)
  2213. for _,child in next,character:GetChildren() do
  2214. local attachment = child:FindFirstChild(attachmentName)
  2215. if attachment then
  2216. return attachment
  2217. end
  2218. end
  2219. end
  2220.  
  2221.  
  2222. function MeleeDamage(Humanoid,Damage,TorsoPart)
  2223. local defence = Instance.new("BoolValue",Humanoid.Parent)
  2224. defence.Name = ("HitBy"..Player.Name)
  2225. game:GetService("Debris"):AddItem(defence, 0.001)
  2226. Damage = Damage * DAMAGEMULTIPLIER
  2227. if Humanoid.Health ~= 0 then
  2228. local CritChance = MRANDOM(0,0)
  2229. if Damage > Humanoid.Health then
  2230. Damage = math.ceil(Humanoid.Health)
  2231. if Damage == 0 then
  2232. end
  2233. end
  2234. Humanoid.MaxHealth = 100
  2235. if Humanoid.Health > 100 then
  2236.  
  2237. end
  2238.  
  2239. end
  2240. end
  2241. function EXALTED_MELEE(MINDMG,MAXDMG)
  2242. local HITS = {}
  2243. local TOUCH2 = BLADE.Touched:Connect(function(hit)
  2244. if hit.Parent:FindFirstChildOfClass("bruh") then
  2245. local HUM = hit.Parent:FindFirstChildOfClass("bruh")
  2246. local TORSO = hit.Parent:FindFirstChild("lmafo") or hit.Parent:FindFirstChild("lmafo")
  2247. local HEAD = hit.Parent:FindFirstChild("Head")
  2248. if TORSO and HUM.Health > 0 then
  2249. local PASS = true
  2250. for i = 1, #HITS do
  2251. if HITS[i] == hit.Parent then
  2252. PASS = false
  2253. end
  2254. end
  2255. if HEAD and HUM.Health > 0 then
  2256. local PASS = true
  2257. for i = 1, #HITS do
  2258. if HITS[i] == hit.Parent then
  2259. PASS = false
  2260. end
  2261. end
  2262. if HUM.Health > 0 or HUM.MaxHealth == math.huge then
  2263. for i = 1, 10 do
  2264. Swait()
  2265. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3)*5, Size2 = VT(0,1,0)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = 444667859, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 2, UseBoomerangMath = true, Boomerang = 10, SizeBoomerang = 12})
  2266. end
  2267. TORSO:remove()
  2268. for i = 1, 10 do
  2269. Swait()
  2270. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.1,0.3,0.1)*7, Size2 = VT(0,2,0)*12, Transparency = 0, Transparency2 = 1, CFrame = CF(HEAD.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = 444667824, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 2, UseBoomerangMath = true, Boomerang = 10, SizeBoomerang = 12})
  2271. end
  2272. EXPUNGE(HUM.Parent)
  2273. end
  2274. table.insert(HITS,hit.Parent)
  2275. if PASS == true then
  2276.  
  2277. end
  2278. end
  2279. end
  2280. end
  2281. end)
  2282. return TOUCH2
  2283. end
  2284.  
  2285. local YO = {}
  2286.  
  2287. function S1()
  2288. ATTACK = true
  2289. print("Combo 1")
  2290. weldSomethings(DRAGONSLAYER.DS.Handle,RightArm, CF(0, -.95, 0)*ANGLES(RAD(180),RAD(180),RAD(10)), CF(0, 0, 0))
  2291. local TOUCH2 = EXALTED_MELEE(99,100)
  2292. CreateSound("4958427918",RootPart,3,MRANDOM(1.5,1.7),false)
  2293. CreateSound("4958427918",RootPart,3,MRANDOM(.85,.9),false)
  2294. DRAGONSLAYER.DS.Trail.Enabled = true
  2295. DRAGONSLAYER.DS.Trail2.Enabled = true
  2296. --CameraShake(BLADE.Position,35,5,35)
  2297. for i=0, 0.25, 0.1 / Animation_Speed do
  2298. Swait()
  2299. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2300. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(-55)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2301. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2302. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(25))* RIGHTSHOULDERC0, 1 / Animation_Speed)
  2303. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(0),RAD(0),RAD(-2.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2304. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2305. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2306. end
  2307. for i=0, 0.25, 0.1 / Animation_Speed do
  2308. Swait()
  2309. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2310. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2311. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2312. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.15) * ANGLES(RAD(90), RAD(0), RAD(-25))* RIGHTSHOULDERC0, 1 / Animation_Speed)
  2313. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(0),RAD(0),RAD(-5.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2314. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2315. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2316. end
  2317. for i=0, 0.25, 0.1 / Animation_Speed do
  2318. Swait()
  2319. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2320. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(55)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2321. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-55)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2322. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.18) * ANGLES(RAD(60), RAD(0), RAD(-55))* RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2323. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(0),RAD(0),RAD(-10.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2324. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2325. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2326. end
  2327. for i=0, 0.25, 0.1 / Animation_Speed do
  2328. Swait()
  2329. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2330. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(55)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2331. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-55)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2332. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.27) * ANGLES(RAD(160), RAD(0), RAD(-105))* RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2333. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(0),RAD(0),RAD(-15.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2334. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(110), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2335. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2336. end
  2337. DRAGONSLAYER.DS.Trail.Enabled = false
  2338. DRAGONSLAYER.DS.Trail2.Enabled = false
  2339. TOUCH2:Disconnect()
  2340. weldSomethings(DRAGONSLAYER.DS.Handle,RightArm, CF(0, 1, -.3)*ANGLES(RAD(0),RAD(90),RAD(0)), CF(0, 0, 0))
  2341. ATTACK = false
  2342. end
  2343.  
  2344. function S2()
  2345. ATTACK = true
  2346. print("Combo 2")
  2347. weldSomethings(DRAGONSLAYER.DS.Handle,RightArm, CF(0, -.95, 0)*ANGLES(RAD(180),RAD(180),RAD(10)), CF(0, 0, 0))
  2348. local TOUCH2 = EXALTED_MELEE(99,100)
  2349. CreateSound("4958427918",RootPart,3,MRANDOM(1.5,1.7),false)
  2350. CreateSound("4958427918",RootPart,3,MRANDOM(.85,.9),false)
  2351. DRAGONSLAYER.DS.Trail.Enabled = true
  2352. DRAGONSLAYER.DS.Trail2.Enabled = true
  2353. --CameraShake(BLADE.Position,35,5,35)
  2354. for i=0, 0.25, 0.1 / Animation_Speed do
  2355. Swait()
  2356. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2357. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(55)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2358. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2359. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.27) * ANGLES(RAD(160), RAD(0), RAD(-105))* RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2360. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(0),RAD(0),RAD(-2.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2361. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2362. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2363. end
  2364. for i=0, 0.25, 0.1 / Animation_Speed do
  2365. Swait()
  2366. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2367. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2368. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2369. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.18) * ANGLES(RAD(60), RAD(0), RAD(-55))* RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2370. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(0),RAD(0),RAD(-5.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2371. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2372. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2373. end
  2374. for i=0, 0.25, 0.1 / Animation_Speed do
  2375. Swait()
  2376. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2377. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(-55)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2378. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(55)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2379. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.15) * ANGLES(RAD(90), RAD(0), RAD(-25))* RIGHTSHOULDERC0, 1 / Animation_Speed)
  2380. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(0),RAD(0),RAD(-10.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2381. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2382. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2383. end
  2384. for i=0, 0.25, 0.1 / Animation_Speed do
  2385. Swait()
  2386. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2387. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(-55)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2388. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(55)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2389. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(25))* RIGHTSHOULDERC0, 1 / Animation_Speed)
  2390. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(0),RAD(0),RAD(-15.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2391. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(110), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2392. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2393. end
  2394. DRAGONSLAYER.DS.Trail.Enabled = false
  2395. DRAGONSLAYER.DS.Trail2.Enabled = false
  2396. TOUCH2:Disconnect()
  2397. weldSomethings(DRAGONSLAYER.DS.Handle,RightArm, CF(0, 1, -.3)*ANGLES(RAD(0),RAD(90),RAD(0)), CF(0, 0, 0))
  2398. ATTACK = false
  2399. end
  2400.  
  2401. function S3()
  2402. ATTACK = true
  2403. print("Combo 3")
  2404. local TOUCH2 = EXALTED_MELEE(99,100)
  2405. CreateSound("4958427918",RootPart,3,MRANDOM(1.25,1.5),false)
  2406. CreateSound("4958427918",RootPart,3,MRANDOM(.65,.85),false)
  2407. DRAGONSLAYER.DS.Trail.Enabled = true
  2408. DRAGONSLAYER.DS.Trail2.Enabled = true
  2409. -- CameraShake(BLADE.Position,35,5,35)
  2410. for i=0, 0.1, 0.1 / Animation_Speed do
  2411. Swait()
  2412. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2413. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(-10), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2414. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2415. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(280), RAD(0), RAD(0))* RIGHTSHOULDERC0, 1 / Animation_Speed)
  2416. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(0),RAD(0),RAD(-2.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2417. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2418. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2419. end
  2420. for i=0, 0.1, 0.1 / Animation_Speed do
  2421. Swait()
  2422. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2423. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(-5), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2424. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2425. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(200), RAD(0), RAD(-5))* RIGHTSHOULDERC0, 1 / Animation_Speed)
  2426. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(-1.5),RAD(0),RAD(-2.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2427. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2428. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2429. end
  2430. for i=0, 0.1, 0.1 / Animation_Speed do
  2431. Swait()
  2432. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2433. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2434. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2435. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(-10))* RIGHTSHOULDERC0, 1 / Animation_Speed)
  2436. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(-2.5),RAD(0),RAD(-2.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2437. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2438. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2439. end
  2440. for i=0, 0.1, 0.1 / Animation_Speed do
  2441. Swait()
  2442. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2443. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(5), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2444. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2445. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.15) * ANGLES(RAD(90), RAD(0), RAD(-15))* RIGHTSHOULDERC0, 1 / Animation_Speed)
  2446. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(-3.5),RAD(0),RAD(-2.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2447. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2448. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2449. end
  2450. for i=0, 0.1, 0.1 / Animation_Speed do
  2451. Swait()
  2452. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2453. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(10), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2454. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2455. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.18) * ANGLES(RAD(50), RAD(0), RAD(-25))* RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2456. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(-4.5),RAD(0),RAD(-2.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2457. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2458. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2459. end
  2460. for i=0, 0.1, 0.1 / Animation_Speed do
  2461. Swait()
  2462. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2463. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(11), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2464. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2465. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.27) * ANGLES(RAD(-5), RAD(0), RAD(-35))* RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2466. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(-5.5),RAD(0),RAD(-2.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2467. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(110), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2468. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2469. end
  2470. for i=0, 0.15, 0.1 / Animation_Speed do
  2471. Swait()
  2472. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2473. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(12), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2474. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2475. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.27) * ANGLES(RAD(-35), RAD(0), RAD(-45))* RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2476. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(-6.5),RAD(0),RAD(-2.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2477. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(110), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2478. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2479. end
  2480. for i=0, 0.25, 0.1 / Animation_Speed do
  2481. Swait()
  2482. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2483. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(13.5), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2484. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2485. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.27) * ANGLES(RAD(-50), RAD(0), RAD(-50))* RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2486. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(-7.5),RAD(0),RAD(-2.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2487. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(110), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2488. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.05) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2489. end
  2490. DRAGONSLAYER.DS.Trail.Enabled = false
  2491. DRAGONSLAYER.DS.Trail2.Enabled = false
  2492. TOUCH2:Disconnect()
  2493. ATTACK = false
  2494. end
  2495.  
  2496. function ViolentSpin()
  2497. ATTACK = true
  2498. local TOUCH2 = EXALTED_MELEE(99,100)
  2499. weldSomethings(DRAGONSLAYER.DS.Handle,RightArm, CF(0, -.95, 0)*ANGLES(RAD(180),RAD(180),RAD(10)), CF(0, 0, 0))
  2500. DRAGONSLAYER.DS.Trail.Enabled = true
  2501. DRAGONSLAYER.DS.Trail2.Enabled = true
  2502. --CameraShake(BLADE.Position,100,10,155)
  2503. CreateSound("3126213040",RootPart,5,1,false)
  2504. CreateSound("3126213040",RootPart,5,1,false)
  2505. CreateSound("3126213040",RootPart,5,.9,false)
  2506. CreateSound("3126213040",RootPart,5,.8,false)
  2507. for i = 50, 200 do
  2508. Swait()
  2509. WACKYEFFECT({Time = 10, EffectType = "Sphere", Size = VT(.5,10,.5), Size2 = VT(.1,5,.1), Transparency = 0, Transparency2 = 1, CFrame = BLADE.CFrame, MoveToPos = BLADE.Position+VT(MRANDOM(-25,59)/1.5,MRANDOM(-25,59)/1.5,0), MRANDOM(-25,59)/35, RotationX = MRANDOM(-360,360)/35, RotationY = MRANDOM(-360,360)/35, RotationZ = MRANDOM(-360,360)/35, Material = "Glass", Color = Color3.new(.45,.45,.45), SoundId = 0, SoundPitch = .4, SoundVolume = 9, UseBoomerangMath = true, SizeBoomerang = 65, Boomerang = 75})
  2510. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/160, Size2 = VT(15,.25,15)/160, Transparency = .5, Transparency2 = 1, CFrame = BLADE.CFrame*CFrame.new(0,0,0)*CFrame.Angles(RAD(90),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = Color3.new(.35,.35,.35), SoundID = 182765513, SoundPitch = MRANDOM(.9,1.15), SoundVolume = 1, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  2511. weldSomethings(DRAGONSLAYER.DS.Handle,RightArm, CF(0, -.95, 0)*ANGLES(RAD(180),RAD(180),RAD(10)), CF(0, 0, 0))
  2512. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-i*(360/10))), 2 / Animation_Speed)
  2513. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 1 / Animation_Speed)
  2514. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90 + 10 * COS(SINE/8)), RAD(0), RAD(0 - 10 * COS(SINE/8))) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2515. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, .5, 0) *ANGLES(RAD(90),RAD(0),RAD(100)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2516. RightHip.C0 = Clerp(RightHip.C0, CF(1, -.8, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2517. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2518. end
  2519. DRAGONSLAYER.DS.Trail.Enabled = false
  2520. DRAGONSLAYER.DS.Trail2.Enabled = false
  2521. TOUCH2:Disconnect()
  2522. weldSomethings(DRAGONSLAYER.DS.Handle,RightArm, CF(0, 1, -.3)*ANGLES(RAD(0),RAD(90),RAD(0)), CF(0, 0, 0))
  2523. ATTACK = false
  2524. end
  2525.  
  2526. function ViolentSpeed()
  2527. ATTACK = true
  2528. for i=0, .65, 0.1 / Animation_Speed do
  2529. Swait()
  2530. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2531. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + 0.075 * COS(SINE / 55) + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(40)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2532. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25 + 0.075 * COS(SINE / 55), 0.65 + 0.075 * COS(SINE / 55), 1) * ANGLES(RAD(180 + 2.5 * COS(SINE / 55)), RAD(90), RAD(5 + 2.5 * COS(SINE / 55))) * ANGLES(RAD(15 - 5 * COS(SINE / 55)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 3)
  2533. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.075 * COS(SINE / 55), -.45) *ANGLES(RAD(180),RAD(20),RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2534. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(80 - 5 * COS(SINE / 55)), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2535. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-75 + 5 * COS(SINE / 55)), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2536. end
  2537. CreateSound("160773067",RootPart,7,1.15,false)
  2538. WACKYEFFECT({
  2539. Time = 35,
  2540. EffectType = "Wave",
  2541. Size = VT(9, 1, 9),
  2542. Size2 = VT(15, 1, 15),
  2543. Transparency = 0,
  2544. Transparency2 = 1,
  2545. CFrame = CF(RootPart.Position) * CF(0,-2.5,0) * ANGLES(RAD(-180), RAD(0), RAD(0)),
  2546. MoveToPos = nil,
  2547. RotationX = 0,
  2548. RotationY = math.random(-15,15),
  2549. RotationZ = 0,
  2550. Material = "Neon",
  2551. Color = C3(.35,.35,.35),
  2552. SoundID = 0,
  2553. SoundPitch = .8,
  2554. SoundVolume = 4,
  2555. UseBoomerangMath = true,
  2556. Boomerang = 35,
  2557. SizeBoomerang = 40
  2558. })
  2559. CreateWave(VT(9,1,9)/1,45,RootPart.CFrame*CFrame.new(0,-3.2,0)*ANGLES(RAD(-180),RAD(0),RAD(0)),true,-1,"Really black",VT(2.5,0.2,2.5)/4)
  2560. CreateWave(VT(9,1,9)/1.5,55,RootPart.CFrame*CFrame.new(0,-3.2,0)*ANGLES(RAD(-180),RAD(0),RAD(0)),true,-1,"Really black",VT(2.5,0.2,2.5)/4.5)
  2561. --Head.Transparency = 1
  2562. --Torso.Transparency = 1
  2563. --RightArm.Transparency = 1
  2564. --LeftArm.Transparency = 1
  2565. --RightLeg.Transparency = 1
  2566. --LeftLeg.Transparency = 1
  2567. --Head.face.Transparency = 1
  2568. for _, c in pairs(Character:GetChildren()) do
  2569. if c and c.Parent and c.ClassName == "Accessory" then
  2570. --c.Handle.Transparency = 1
  2571. end
  2572. end
  2573. NewLeftArm.Parent = nil
  2574. NewRightArm.Parent = nil
  2575. NewTorso.Parent = nil
  2576. DRAGONSLAYER.Parent = nil
  2577. wait(.5)
  2578. local POS = Mouse.Hit.p+VT(0,3.5,0)
  2579. local ORI = RootPart.Orientation
  2580. --Head.Transparency = 0
  2581. --Torso.Transparency = 0
  2582. --RightArm.Transparency = 0
  2583. --LeftArm.Transparency = 0
  2584. --RightLeg.Transparency = 0
  2585. --LeftLeg.Transparency = 0
  2586. --Head.face.Transparency = 0
  2587. for _, c in pairs(Character:GetChildren()) do
  2588. if c and c.Parent and c.ClassName == "Accessory" then
  2589. --c.Handle.Transparency = 0
  2590. end
  2591. end
  2592. NewLeftArm.Parent = Character
  2593. NewTorso.Parent = Character
  2594. NewRightArm.Parent = Character
  2595. DRAGONSLAYER.Parent = Character
  2596. RootPart.CFrame = CF(POS)
  2597. RootPart.Orientation = ORI
  2598. RootJoint.Parent = RootPart
  2599. CreateSound("160773067",RootPart,7,.85,false)
  2600. WACKYEFFECT({
  2601. Time = 35,
  2602. EffectType = "Wave",
  2603. Size = VT(9, 1, 9),
  2604. Size2 = VT(15, 1, 15),
  2605. Transparency = 0,
  2606. Transparency2 = 1,
  2607. CFrame = CF(RootPart.Position) * CF(0,-2.5,0) * ANGLES(RAD(-180), RAD(0), RAD(0)),
  2608. MoveToPos = nil,
  2609. RotationX = 0,
  2610. RotationY = math.random(-15,15),
  2611. RotationZ = 0,
  2612. Material = "Neon",
  2613. Color = C3(.35,.35,.35),
  2614. SoundID = 0,
  2615. SoundPitch = .8,
  2616. SoundVolume = 4,
  2617. UseBoomerangMath = true,
  2618. Boomerang = 35,
  2619. SizeBoomerang = 40
  2620. })
  2621. WACKYEFFECT({
  2622. Time = 35,
  2623. EffectType = "Round Slash",
  2624. Size = VT(9, 1, 9)/100,
  2625. Size2 = VT(15, 1, 15)/100,
  2626. Transparency = 0,
  2627. Transparency2 = 1,
  2628. CFrame = CF(RootPart.Position) * CF(0,-2.5,0) * ANGLES(RAD(-180), RAD(0), RAD(0)),
  2629. MoveToPos = nil,
  2630. RotationX = 0,
  2631. RotationY = math.random(-15,15),
  2632. RotationZ = 0,
  2633. Material = "Neon",
  2634. Color = C3(.35,.35,.35),
  2635. SoundID = 0,
  2636. SoundPitch = .8,
  2637. SoundVolume = 4,
  2638. UseBoomerangMath = true,
  2639. Boomerang = 35,
  2640. SizeBoomerang = 40
  2641. })
  2642. CreateWave(VT(9,1,9)/1,45,RootPart.CFrame*CFrame.new(0,-3.2,0)*ANGLES(RAD(-180),RAD(0),RAD(0)),true,-1,"Really black",VT(2.5,0.2,2.5)/4)
  2643. CreateWave(VT(9,1,9)/1.5,55,RootPart.CFrame*CFrame.new(0,-3.2,0)*ANGLES(RAD(-180),RAD(0),RAD(0)),true,-1,"Really black",VT(2.5,0.2,2.5)/4.5)
  2644. for i=0, 1, 0.1 / Animation_Speed do
  2645. Swait()
  2646. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2647. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + 0.075 * COS(SINE / 55) + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(40)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2648. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25 + 0.075 * COS(SINE / 55), 0.65 + 0.075 * COS(SINE / 55), 1) * ANGLES(RAD(180 + 2.5 * COS(SINE / 55)), RAD(90), RAD(5 + 2.5 * COS(SINE / 55))) * ANGLES(RAD(15 - 5 * COS(SINE / 55)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 3)
  2649. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.075 * COS(SINE / 55), -.45) *ANGLES(RAD(180),RAD(20),RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2650. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(80 - 5 * COS(SINE / 55)), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2651. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-75 + 5 * COS(SINE / 55)), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2652. end
  2653. ATTACK = false
  2654. end
  2655.  
  2656. function GaleSlices()
  2657. ATTACK = true
  2658. local GYRO = IT("BodyGyro", RootPar)
  2659. GYRO.D = 15
  2660. GYRO.P = 2000
  2661. GYRO.MaxTorque = VT(0, 4000000, 0)
  2662. --local GSLICE1 = script.GaleSlice:Clone()
  2663. --GSLICE1.Parent = nil
  2664. --GSLICE1.Anchored = true
  2665. --local GSLICE2 = script.GaleSlice:Clone()
  2666. --GSLICE2.Parent = nil
  2667. --GSLICE2.Anchored = true
  2668. --local GSLICE3 = script.GaleSlice:Clone()
  2669. --GSLICE3.Parent = nil
  2670. --GSLICE3.Anchored = true
  2671. --local GSLICE4 = script.GaleSlice:Clone()
  2672. --GSLICE4.Parent = nil
  2673. ---GSLICE4.Anchored = true
  2674. --local GSLICE5 = script.GaleSlice:Clone()
  2675. --GSLICE5.Parent = nil
  2676. --GSLICE5.Anchored = true
  2677. local SLICES = 0
  2678. local TOUCH2 = EXALTED_MELEE(99,100)
  2679. DRAGONSLAYER.DS.Trail.Enabled = true
  2680. DRAGONSLAYER.DS.Trail2.Enabled = true
  2681. for i=0, .35, 0.1 / Animation_Speed do
  2682. Swait()
  2683. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2684. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(-80)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2685. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2686. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(80))* RIGHTSHOULDERC0, 1 / 3)
  2687. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2688. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2689. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2690. end
  2691. --GSLICE1.Parent = Effects
  2692. --GSLICE1.CFrame = CF(RootPart.Position,Mouse.Hit.p) * CF(0,0,-15)*ANGLES(RAD(0),RAD(90),RAD(0))
  2693. --CameraShake(BLADE.Position,35,10,35)
  2694. CreateSound("4958427918",RootPart,3,MRANDOM(1.5,1.85),false)
  2695. CreateSound("4958427918",RootPart,3,MRANDOM(.85,1.15),false)
  2696. SLICES = SLICES + 1
  2697. coroutine.resume(coroutine.create(function()
  2698. for i = 1, 250 do
  2699. Swait()
  2700. local HIT,POS,NORMAL = Raycast(GSLICE1.Position,GSLICE1.CFrame.lookVector,5,Character)
  2701. if HIT then
  2702. --GSLICE1:remove()
  2703. break
  2704. else
  2705. WACKYEFFECT({
  2706. Time = 35,
  2707. EffectType = "Round Slash",
  2708. --Size = GSLICE1.Size/50,
  2709. --Size2 = GSLICE1.Size/45,
  2710. Transparency = .55,
  2711. Transparency2 = 1,
  2712. CFrame = GSLICE1.CFrame * CF(0, 0, 0) * CFrame.new(0,-.25,0) * ANGLES(RAD(0),RAD(0),RAD(0)),
  2713. MoveToPos = nil,
  2714. RotationX = 0,
  2715. RotationY = 0,
  2716. RotationZ = 0,
  2717. Material = "Glass",
  2718. Color = GSLICE1.Color,
  2719. SoundID = 1393698948,
  2720. SoundPitch = 1.5,
  2721. SoundVolume = 1,
  2722. UseBoomerangMath = true,
  2723. Boomerang = 100,
  2724. SizeBoomerang = 90
  2725. })
  2726. AOETime(GSLICE1.Position,15)
  2727. --GSLICE1.CFrame = Clerp(GSLICE1.CFrame,CF(GSLICE1.Position,Mouse.Hit.p),0.001) * CF(3.5,0,0)
  2728. end
  2729. end
  2730. --GSLICE1:remove()
  2731. end))
  2732. for i=0, .35, 0.1 / Animation_Speed do
  2733. Swait()
  2734. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2735. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2736. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(10), RAD(-60)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2737. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.75) * ANGLES(RAD(-10), RAD(0), RAD(-90))* RIGHTSHOULDERC0, 1 / 3)
  2738. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2739. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2740. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2741. end
  2742. for i=0, .35, 0.1 / Animation_Speed do
  2743. Swait()
  2744. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2745. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2746. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2747. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(-80))* RIGHTSHOULDERC0, 1 / 3)
  2748. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2749. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2750. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2751. end
  2752. --GSLICE2.Parent = Effects
  2753. --GSLICE2.CFrame = CF(RootPart.Position,Mouse.Hit.p) * CF(0,0,-15)*ANGLES(RAD(0),RAD(90),RAD(0))
  2754. --CameraShake(BLADE.Position,35,10,35)
  2755. CreateSound("4958427918",RootPart,3,MRANDOM(1.5,1.85),false)
  2756. CreateSound("4958427918",RootPart,3,MRANDOM(.85,1.15),false)
  2757. SLICES = SLICES + 1
  2758. coroutine.resume(coroutine.create(function()
  2759. for i = 1, 250 do
  2760. Swait()
  2761. local HIT,POS,NORMAL = Raycast(GSLICE2.Position,GSLICE2.CFrame.lookVector,5,Character)
  2762. if HIT then
  2763. GSLICE2:remove()
  2764. break
  2765. else
  2766. WACKYEFFECT({
  2767. Time = 35,
  2768. EffectType = "Round Slash",
  2769. Size = GSLICE2.Size/50,
  2770. Size2 = GSLICE2.Size/45,
  2771. Transparency = .55,
  2772. Transparency2 = 1,
  2773. CFrame = GSLICE2.CFrame * CF(0, 0, 0) * CFrame.new(0,-.25,0) * ANGLES(RAD(0),RAD(0),RAD(0)),
  2774. MoveToPos = nil,
  2775. RotationX = 0,
  2776. RotationY = 0,
  2777. RotationZ = 0,
  2778. Material = "Glass",
  2779. Color = GSLICE2.Color,
  2780. SoundID = 1393698948,
  2781. SoundPitch = 1.5,
  2782. SoundVolume = 1,
  2783. UseBoomerangMath = true,
  2784. Boomerang = 100,
  2785. SizeBoomerang = 90
  2786. })
  2787. AOETime(GSLICE2.Position,15)
  2788. --GSLICE2.CFrame = Clerp(GSLICE2.CFrame,CF(GSLICE2.Position,Mouse.Hit.p),0.001) * CF(3.5,0,0)
  2789. end
  2790. end
  2791. --GSLICE2:remove()
  2792. end))
  2793. for i=0, .35, 0.1 / Animation_Speed do
  2794. Swait()
  2795. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2796. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(-60)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2797. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2798. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(0), RAD(90))* RIGHTSHOULDERC0, 1 / 3)
  2799. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2800. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2801. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2802. end
  2803. for i=0, .35, 0.1 / Animation_Speed do
  2804. Swait()
  2805. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2806. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(-80)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2807. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2808. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(80))* RIGHTSHOULDERC0, 1 / 3)
  2809. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2810. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2811. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2812. end
  2813. --GSLICE3.Parent = Effects
  2814. --GSLICE3.CFrame = CF(RootPart.Position,Mouse.Hit.p) * CF(0,0,-15)*ANGLES(RAD(0),RAD(90),RAD(0))
  2815. --CameraShake(BLADE.Position,35,10,35)
  2816. CreateSound("4958427918",RootPart,3,MRANDOM(1.5,1.85),false)
  2817. CreateSound("4958427918",RootPart,3,MRANDOM(.85,1.15),false)
  2818. SLICES = SLICES + 1
  2819. coroutine.resume(coroutine.create(function()
  2820. for i = 1, 250 do
  2821. Swait()
  2822. local HIT,POS,NORMAL = Raycast(GSLICE3.Position,GSLICE3.CFrame.lookVector,5,Character)
  2823. if HIT then
  2824. --GSLICE3:remove()
  2825. break
  2826. else
  2827. WACKYEFFECT({
  2828. Time = 35,
  2829. EffectType = "Round Slash",
  2830. --Size = GSLICE3.Size/50,
  2831. --Size2 = GSLICE3.Size/45,
  2832. Transparency = .55,
  2833. Transparency2 = 1,
  2834. CFrame = GSLICE3.CFrame * CF(0, 0, 0) * CFrame.new(0,-.25,0) * ANGLES(RAD(0),RAD(0),RAD(0)),
  2835. MoveToPos = nil,
  2836. RotationX = 0,
  2837. RotationY = 0,
  2838. RotationZ = 0,
  2839. Material = "Glass",
  2840. Color = GSLICE3.Color,
  2841. SoundID = 1393698948,
  2842. SoundPitch = 1.5,
  2843. SoundVolume = 1,
  2844. UseBoomerangMath = true,
  2845. Boomerang = 100,
  2846. SizeBoomerang = 90
  2847. })
  2848. AOETime(GSLICE3.Position,15)
  2849. --GSLICE3.CFrame = Clerp(GSLICE3.CFrame,CF(GSLICE3.Position,Mouse.Hit.p),0.001) * CF(3.5,0,0)
  2850. end
  2851. end
  2852. --GSLICE3:remove()
  2853. end))
  2854. for i=0, .35, 0.1 / Animation_Speed do
  2855. Swait()
  2856. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2857. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2858. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(10), RAD(-60)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.75) * ANGLES(RAD(-10), RAD(-30), RAD(-90))* RIGHTSHOULDERC0, 1 / 3)
  2860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2861. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2862. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2863. end
  2864. for i=0, .35, 0.1 / Animation_Speed do
  2865. Swait()
  2866. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2867. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2868. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2869. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(-80))* RIGHTSHOULDERC0, 1 / 3)
  2870. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2871. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2872. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2873. end
  2874. --GSLICE4.Parent = Effects
  2875. --GSLICE4.CFrame = CF(RootPart.Position,Mouse.Hit.p) * CF(0,0,-15)*ANGLES(RAD(0),RAD(90),RAD(0))
  2876. --CameraShake(BLADE.Position,35,10,35)
  2877. CreateSound("4958427918",RootPart,3,MRANDOM(1.5,1.85),false)
  2878. CreateSound("4958427918",RootPart,3,MRANDOM(.85,1.15),false)
  2879. SLICES = SLICES + 1
  2880. coroutine.resume(coroutine.create(function()
  2881. for i = 1, 250 do
  2882. Swait()
  2883. local HIT,POS,NORMAL = Raycast(GSLICE4.Position,GSLICE4.CFrame.lookVector,5,Character)
  2884. if HIT then
  2885. --GSLICE4:remove()
  2886. break
  2887. else
  2888. WACKYEFFECT({
  2889. Time = 35,
  2890. EffectType = "Round Slash",
  2891. --Size = GSLICE4.Size/50,
  2892. --Size2 = GSLICE4.Size/45,
  2893. Transparency = .55,
  2894. Transparency2 = 1,
  2895. CFrame = GSLICE4.CFrame * CF(0, 0, 0) * CFrame.new(0,-.25,0) * ANGLES(RAD(0),RAD(0),RAD(0)),
  2896. MoveToPos = nil,
  2897. RotationX = 0,
  2898. RotationY = 0,
  2899. RotationZ = 0,
  2900. Material = "Glass",
  2901. Color = GSLICE4.Color,
  2902. SoundID = 1393698948,
  2903. SoundPitch = 1.5,
  2904. SoundVolume = 1,
  2905. UseBoomerangMath = true,
  2906. Boomerang = 100,
  2907. SizeBoomerang = 90
  2908. })
  2909. AOETime(GSLICE4.Position,15)
  2910. --GSLICE4.CFrame = Clerp(GSLICE4.CFrame,CF(GSLICE4.Position,Mouse.Hit.p),0.001) * CF(3.5,0,0)
  2911. end
  2912. end
  2913. --GSLICE4:remove()
  2914. end))
  2915. for i=0, .35, 0.1 / Animation_Speed do
  2916. Swait()
  2917. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2918. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(-60)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2919. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2920. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(30), RAD(90))* RIGHTSHOULDERC0, 1 / 3)
  2921. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2922. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2923. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2924. end
  2925. for i=0, .35, 0.1 / Animation_Speed do
  2926. Swait()
  2927. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2928. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(-10), RAD(0), RAD(-80)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2929. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2930. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0))* RIGHTSHOULDERC0, 1 / 3)
  2931. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2932. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2933. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2934. end
  2935. --GSLICE5.Parent = Effects
  2936. --GSLICE5.CFrame = CF(RootPart.Position,Mouse.Hit.p) * CF(0,0,-15)*ANGLES(RAD(0),RAD(90),RAD(0))
  2937. --CameraShake(BLADE.Position,35,10,35)
  2938. CreateSound("4958427918",RootPart,3,MRANDOM(1.5,1.85),false)
  2939. CreateSound("4958427918",RootPart,3,MRANDOM(.85,1.15),false)
  2940. SLICES = SLICES + 1
  2941. coroutine.resume(coroutine.create(function()
  2942. for i = 1, 250 do
  2943. Swait()
  2944. local HIT,POS,NORMAL = Raycast(GSLICE5.Position,GSLICE5.CFrame.lookVector,5,Character)
  2945. if HIT then
  2946. --GSLICE5:remove()
  2947. break
  2948. else
  2949. WACKYEFFECT({
  2950. Time = 35,
  2951. EffectType = "Round Slash",
  2952. --Size = GSLICE5.Size/50,
  2953. --Size2 = GSLICE5.Size/45,
  2954. Transparency = .55,
  2955. Transparency2 = 1,
  2956. CFrame = GSLICE5.CFrame * CF(0, 0, 0) * CFrame.new(0,-.25,0) * ANGLES(RAD(0),RAD(0),RAD(0)),
  2957. MoveToPos = nil,
  2958. RotationX = 0,
  2959. RotationY = 0,
  2960. RotationZ = 0,
  2961. Material = "Glass",
  2962. Color = GSLICE5.Color,
  2963. SoundID = 1393698948,
  2964. SoundPitch = 1.5,
  2965. SoundVolume = 1,
  2966. UseBoomerangMath = true,
  2967. Boomerang = 100,
  2968. SizeBoomerang = 90
  2969. })
  2970. AOETime(GSLICE5.Position,15)
  2971. --GSLICE5.CFrame = Clerp(GSLICE5.CFrame,CF(GSLICE5.Position,Mouse.Hit.p),0.001) * CF(3.5,0,0)
  2972. end
  2973. end
  2974. --GSLICE5:remove()
  2975. end))
  2976. for i=0, .35, 0.1 / Animation_Speed do
  2977. Swait()
  2978. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2979. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(10), RAD(0), RAD(60)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2980. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(10), RAD(-60)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2981. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -.75) * ANGLES(RAD(20), RAD(0), RAD(0))* RIGHTSHOULDERC0, 1 / 3)
  2982. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2983. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2984. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2985. end
  2986. --TOUCH2:Disconnect()
  2987. DRAGONSLAYER.DS.Trail.Enabled = false
  2988. DRAGONSLAYER.DS.Trail2.Enabled = false
  2989. --GYRO:remove()
  2990. ATTACK = false
  2991. end
  2992.  
  2993. function GroundedPain()
  2994. ATTACK = true
  2995. local GYRO = IT("BodyGyro", RootPart)
  2996. GYRO.D = 15
  2997. GYRO.P = 2000
  2998. GYRO.MaxTorque = VT(0, 4000000, 0)
  2999. weldSomethings(DRAGONSLAYER.DS.Handle,RightArm, CF(0, 1, -.3)*ANGLES(RAD(0),RAD(-90),RAD(0)), CF(0, 0, 0))
  3000. --on gp bless
  3001. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3002. local GP1 = script.Grounded:Clone()
  3003. GP1.Parent = Effects
  3004. local GP2 = script.Grounded:Clone()
  3005. GP2.Parent = Effects
  3006. local GP3 = script.Grounded:Clone()
  3007. GP3.Parent = Effects
  3008. if HITFLOOR then
  3009. GP1.GP.Color = HITFLOOR.Color
  3010. GP1.GP.Material = HITFLOOR.Material
  3011. GP2.GP.Color = HITFLOOR.Color
  3012. GP2.GP.Material = HITFLOOR.Material
  3013. GP3.GP.Color = HITFLOOR.Color
  3014. GP3.GP.Material = HITFLOOR.Material
  3015. end
  3016. for i=0, .15, 0.1 / Animation_Speed do
  3017. Swait()
  3018. GP1.GP.CFrame = RootPart.CFrame*CF(0,-55,-25) * ANGLES(RAD(0), RAD(0), RAD(0))
  3019. GP2.GP.CFrame = RootPart.CFrame*CF(0,-55,-50) * ANGLES(RAD(-5), RAD(0), RAD(0))
  3020. GP3.GP.CFrame = RootPart.CFrame*CF(0,-55,-75) * ANGLES(RAD(-10), RAD(0), RAD(0))
  3021. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  3022. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3023. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3024. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(200), RAD(0), RAD(0))* RIGHTSHOULDERC0, 1 / 3)
  3025. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3026. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3027. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3028. end
  3029. for i=0, .25, 0.1 / Animation_Speed do
  3030. Swait()
  3031. GP1.GP.CFrame = RootPart.CFrame*CF(0,-55,-25) * ANGLES(RAD(0), RAD(0), RAD(0))
  3032. GP2.GP.CFrame = RootPart.CFrame*CF(0,-55,-50) * ANGLES(RAD(-5), RAD(0), RAD(0))
  3033. GP3.GP.CFrame = RootPart.CFrame*CF(0,-55,-75) * ANGLES(RAD(-10), RAD(0), RAD(0))
  3034. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  3035. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3036. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3037. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 1 / 3)
  3038. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3039. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3040. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3041. end
  3042. CreateSound("130972023",RootPart,5,1.35,false)
  3043. CreateSound("130972023",RootPart,5,1,25,false)
  3044. if HITFLOOR then
  3045. Debree({Delay = 4,Variant = "Loose",Location = BLADE.Position, Color = HITFLOOR.Color,Size = 1.5,Distance = 7,Material = HITFLOOR.Material,Scatter = 7,Amount = 6,DebreeCount = 10.5})
  3046. end
  3047. --Spiked Ground Start:
  3048. coroutine.resume(coroutine.create(function()
  3049. --CameraShake(RootPart.Position,1e9,15,75)
  3050. CreateSound("292536356", GP1.GP, 7, MRANDOM(1.35,1.5))
  3051. CreateSound("3848082818", GP1.GP, 7, MRANDOM(1.35,1.5))
  3052. for i = 1, 35 do
  3053. Swait()
  3054. GP1.GP.Hot.Fire.Enabled = true
  3055. GP1.GP.CFrame = GP1.GP.CFrame * CFrame.new(0,2,0) * ANGLES(RAD(0), RAD(SINE * 5), RAD(0))
  3056. AOETime(GP1.GP.Position,25)
  3057. end
  3058. GP1.GP.Hot.Fire.Enabled = false
  3059. --CameraShake(RootPart.Position,1e9,15,75)
  3060. CreateSound("292536356", GP2.GP, 7, MRANDOM(1.35,1.5))
  3061. CreateSound("3848082818", GP2.GP, 7, MRANDOM(1.35,1.5))
  3062. ----
  3063. for i = 1, 35 do
  3064. Swait()
  3065. GP2.GP.Hot.Fire.Enabled = true
  3066. GP2.GP.CFrame = GP2.GP.CFrame * CFrame.new(0,2,0) * ANGLES(RAD(0), RAD(SINE * 5), RAD(0))
  3067. AOETime(GP2.GP.Position,25)
  3068. end
  3069. GP2.GP.Hot.Fire.Enabled = false
  3070. --CameraShake(RootPart.Position,1e9,15,75)
  3071. CreateSound("292536356", GP3.GP, 7, MRANDOM(1.35,1.5))
  3072. CreateSound("3848082818", GP3.GP, 7, MRANDOM(1.35,1.5))
  3073. ----
  3074. for i = 1, 35 do
  3075. Swait()
  3076. GP3.GP.Hot.Fire.Enabled = true
  3077. GP3.GP.CFrame = GP3.GP.CFrame * CFrame.new(0,2,0) * ANGLES(RAD(0), RAD(SINE * 5), RAD(0))
  3078. AOETime(GP3.GP.Position,25)
  3079. end
  3080. GP3.GP.Hot.Fire.Enabled = false
  3081. ----
  3082. for i = 1, 35 do
  3083. Swait()
  3084. GP1.GP.CFrame = GP1.GP.CFrame * CFrame.new(0,-2,0) * ANGLES(RAD(0), RAD(SINE / 5), RAD(0))
  3085. AOETime(GP1.GP.Position,25)
  3086. end
  3087. GP1:remove()
  3088. ----
  3089. for i = 1, 35 do
  3090. Swait()
  3091. GP2.GP.CFrame = GP2.GP.CFrame * CFrame.new(0,-2,0) * ANGLES(RAD(0), RAD(SINE / 5), RAD(0))
  3092. AOETime(GP2.GP.Position,25)
  3093. end
  3094. GP2:remove()
  3095. ----
  3096. for i = 1, 35 do
  3097. Swait()
  3098. GP3.GP.CFrame = GP3.GP.CFrame * CFrame.new(0,-2,0) * ANGLES(RAD(0), RAD(SINE / 5), RAD(0))
  3099. AOETime(GP3.GP.Position,25)
  3100. end
  3101. GP3:remove()
  3102. ----
  3103. end))
  3104. for i=0, 1.5, 0.1 / Animation_Speed do
  3105. Swait()
  3106. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  3107. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3108. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3109. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0))* RIGHTSHOULDERC0, 1 / 3)
  3110. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0),RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3111. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3112. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3113. end
  3114. GYRO:remove()
  3115. weldSomethings(DRAGONSLAYER.DS.Handle,RightArm, CF(0, 1, -.3)*ANGLES(RAD(0),RAD(90),RAD(0)), CF(0, 0, 0))
  3116. ATTACK = false
  3117. end
  3118.  
  3119. --><Key Inputs
  3120.  
  3121. function MouseDown(Mouse)
  3122. KEYHOLD = true
  3123. if ATTACK == false then
  3124. if COMBO == 0 then
  3125. COMBO = 1
  3126. S1()
  3127. elseif COMBO == 1 then
  3128. COMBO = 2
  3129. S2()
  3130. elseif COMBO == 2 then
  3131. COMBO = 0
  3132. S3()
  3133. end
  3134. end
  3135. end
  3136.  
  3137. function MouseUp(Mouse)
  3138. HOLD = false
  3139. end
  3140.  
  3141. function KeyDown(Key)
  3142. KEYHOLD = true
  3143. if Key == "z" and ATTACK == false then
  3144. GaleSlices()
  3145. end
  3146. if Key == "x" and ATTACK == false then
  3147. ViolentSpin()
  3148. end
  3149. if Key == "c" and ATTACK == false then
  3150. ViolentSpeed()
  3151. end
  3152. if Key == "v" and ATTACK == false then
  3153. GroundedPain()
  3154. end
  3155. if Key == "m" and ATTACK == false then
  3156. if Song == 2521376450 and GHOST == true then
  3157. Song = 0
  3158. print("Song Off")
  3159. elseif Song == 1846584518 and GUTS == true then
  3160. Song = 0
  3161. print("Song Off")
  3162. elseif Song == 0 and GHOST == true then
  3163. Song = 2521376450
  3164. print("Song On")
  3165. elseif Song == 0 and GUTS == true then
  3166. Song = 1846584518
  3167. print("Song On")
  3168. end
  3169. end
  3170. if Key == "n" and ATTACK == false then
  3171. if GHOST == true then
  3172. GHOST = false
  3173. GUTS = true
  3174. Song = 1846584518
  3175. elseif GUTS == true then
  3176. GUTS = false
  3177. GHOST = true
  3178. Song = 2521376450
  3179. end
  3180. end
  3181. end
  3182.  
  3183. function KeyUp(Key)
  3184. KEYHOLD = false
  3185. end
  3186.  
  3187. Mouse.Button1Down:connect(function(NEWKEY)
  3188. MouseDown(NEWKEY)
  3189. end)
  3190. Mouse.Button1Up:connect(function(NEWKEY)
  3191. MouseUp(NEWKEY)
  3192. end)
  3193. Mouse.KeyDown:connect(function(NEWKEY)
  3194. KeyDown(NEWKEY)
  3195. end)
  3196. Mouse.KeyUp:connect(function(NEWKEY)
  3197. KeyUp(NEWKEY)
  3198. end)
  3199.  
  3200. --><
  3201. function unanchor()
  3202. for _, c in pairs(Character:GetChildren()) do
  3203. if c:IsA("BasePart") and c ~= RootPart then
  3204. c.Anchored = false
  3205. end
  3206. end
  3207. if UNANCHOR == true then
  3208. RootPart.Anchored = false
  3209. else
  3210. RootPart.Anchored = true
  3211. end
  3212. end
  3213.  
  3214. ------------------------------------------------------------------------------
  3215.  
  3216. Humanoid.HipHeight = 0
  3217. Humanoid.JumpPower = 250
  3218. Humanoid.WalkSpeed = 25
  3219. local Field = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  3220. Field.Visible = false
  3221.  
  3222. while true do
  3223. Swait()
  3224. script.Parent = WEAPONGUI
  3225. ANIMATE.Parent = nil
  3226. ANIMATOR.Parent = nil
  3227. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3228. v:Stop();
  3229. end
  3230. SINE = SINE + CHANGE*2
  3231. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3232. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3233. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
  3234. local TiltVelocity = CF(RootPart.CFrame:vectorToObjectSpace(RootPart.Velocity/1.6))
  3235. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  3236. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3237. ANIM = "Jump"
  3238. if ATTACK == false then
  3239. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5-RAD(TiltVelocity.Z*15)), RAD(0), RAD(0+RAD(TiltVelocity.X*50))), 1 / Animation_Speed)
  3240. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25-RAD(TiltVelocity.Z*5)), RAD(0-RAD(TiltVelocity.X*5)), RAD(-30) / 15) * ANGLES(RAD(0), RAD(0), RAD(-30) / 15), 1 / Animation_Speed)
  3241. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25 + 0.075 * COS(SINE / 55), 0.65 + 0.075 * COS(SINE / 55), 1) * ANGLES(RAD(180 + 2.5 * COS(SINE / 55)), RAD(90), RAD(5 + 2.5 * COS(SINE / 55))) * ANGLES(RAD(15 - 5 * COS(SINE / 55)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / 3)
  3242. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, .5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3243. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1+RAD(TiltVelocity.Z*20)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0+RAD(TiltVelocity.X*50))), 1 / Animation_Speed)
  3244. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0+RAD(TiltVelocity.Z*20)), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0-RAD(TiltVelocity.X*50))), 1 / Animation_Speed)
  3245. end
  3246. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3247. ANIM = "Fall"
  3248. if ATTACK == false then
  3249. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(5-RAD(TiltVelocity.Z*15)), RAD(0), RAD(0+RAD(TiltVelocity.X*50))), 1 / Animation_Speed)
  3250. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10-RAD(TiltVelocity.Z*5)), RAD(0-RAD(TiltVelocity.X*5)), RAD(-30) / 15) * ANGLES(RAD(0), RAD(0), RAD(-30) / 15), 1 / Animation_Speed)
  3251. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25 + 0.075 * COS(SINE / 55), 0.65 + 0.075 * COS(SINE / 55), 1) * ANGLES(RAD(180 + 2.5 * COS(SINE / 55)), RAD(90), RAD(5 + 2.5 * COS(SINE / 55))) * ANGLES(RAD(15 - 5 * COS(SINE / 55)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / 3)
  3252. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, .5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3253. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.02) * ANGLES(RAD(1+RAD(TiltVelocity.Z*20)), RAD(90 + 10 *COS(SINE/74)), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0+RAD(TiltVelocity.X*50))), 1 / Animation_Speed)
  3254. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0+RAD(TiltVelocity.Z*20)), RAD(-85 + 10 *COS(SINE/74)), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0-RAD(TiltVelocity.X*50))), 1 / Animation_Speed)
  3255. end
  3256. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3257. local Alpha = .1
  3258. ANIM = "Idle"
  3259. if ATTACK == false then
  3260. WACKYEFFECT({Time = 8, EffectType = "Round Slash", Size = VT(1,.15,1)/150, Size2 = VT(15,.25,15)/150, Transparency = .95, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(RAD(-2),RAD(MRANDOM(-360, 360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(.35,.35,.35), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UserBoomerangMath = true, Boomerang = 200, SizeBoomerang = 190})
  3261. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.045 * COS(SINE / 32)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(2 - 0.4 * COS(SINE / 32)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3262. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + 0.075 * COS(SINE / 55) + ((1) - 1)) * ANGLES(RAD(6.5 + 1.5 * COS(SINE / 55)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3263. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25 + 0.075 * COS(SINE / 55), 0.65 + 0.075 * COS(SINE / 55), 1) * ANGLES(RAD(180 + 2.5 * COS(SINE / 55)), RAD(90), RAD(5 + 2.5 * COS(SINE / 55))) * ANGLES(RAD(15 - 5 * COS(SINE / 55)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / 3)
  3264. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.075 * COS(SINE / 55), 0) *ANGLES(RAD(0),RAD(15 - 4.5 * COS(SINE / 55)),RAD(2.5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3265. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.02) * ANGLES(RAD(0), RAD(80 - 5 * COS(SINE / 55)), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3266. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-75 + 5 * COS(SINE / 55)), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3267. end
  3268. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3269. ANIM = "Walk"
  3270. if ATTACK == false then
  3271. local Alpha = .3 --
  3272. RootJoint.C0 = RootJoint.C0:lerp(CF(0,0+.13*SIN(SINE/WALKSPEEDVALUE*2),0 - 0.10 * COS(SINE/(WALKSPEEDVALUE/2)))*ANGLES(RAD(-89+3*SIN(SINE/(WALKSPEEDVALUE/2)))+RAD(TiltVelocity.z)*1,RAD(0),RAD(-180+10*COS(SINE/WALKSPEEDVALUE))),Alpha)
  3273. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + 0.075 * COS(SINE / 55) + ((1) - 1)) * ANGLES(RAD(2.5 + 1.5 * COS(SINE / 55)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3274. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25 + 0.075 * COS(SINE / 55), 0.65 + 0.075 * COS(SINE / 55), 1) * ANGLES(RAD(180 + 2.5 * COS(SINE / 55)), RAD(90), RAD(5 + 2.5 * COS(SINE / 55))) * ANGLES(RAD(15 - 5 * COS(SINE / 55)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / 3)
  3275. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5 - 2 * COS(SINE/12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3276. LeftHip.C0 = LeftHip.C0:lerp(CF(-1,-1+0.65*COS(SINE/WALKSPEEDVALUE)/2,0-0.5*COS(SINE/WALKSPEEDVALUE)/2)*ANGLES(RAD(-5+15*COS(SINE/WALKSPEEDVALUE))+RootPart.RotVelocity.Y/75+SIN(SINE/WALKSPEEDVALUE)/2.5*-RAD(TiltVelocity.z)*10,RAD(-90-25*COS(SINE/WALKSPEEDVALUE)*RAD(TiltVelocity.X)*5.5),RAD(0))*ANGLES(RAD(0-2*COS(SINE/WALKSPEEDVALUE)),RAD(0),RAD(0)),Alpha)
  3277. RightHip.C0 = RightHip.C0:lerp(CF(1,-1-0.65*COS(SINE/WALKSPEEDVALUE)/2,0+0.5*COS(SINE/WALKSPEEDVALUE)/2)*ANGLES(RAD(-5-15*COS(SINE/WALKSPEEDVALUE))-RootPart.RotVelocity.Y/-75+-SIN(SINE/WALKSPEEDVALUE)/2.5*-RAD(TiltVelocity.z)*10,RAD(90+25*COS(SINE/WALKSPEEDVALUE)*RAD(TiltVelocity.X)*5.5),RAD(0))* ANGLES(RAD(0+2*COS(SINE/WALKSPEEDVALUE)),RAD(0),RAD(0)),Alpha)
  3278. end
  3279. end
  3280. Humanoid.HipHeight = 0
  3281. Humanoid.JumpPower = 100
  3282. Humanoid.WalkSpeed = 25
  3283. --Humanoid.Gravity = 1
  3284. unanchor()
  3285. Humanoid:SetStateEnabled("Dead",false)
  3286. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  3287. Humanoid:SetStateEnabled("GettingUp",true)
  3288. Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, true)
  3289. Humanoid:SetStateEnabled("Ragdoll",false)
  3290. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
  3291. Humanoid:SetStateEnabled("FallingDown",false)
  3292. Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
  3293. Humanoid:SetStateEnabled("Seated",false)
  3294. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, false)
  3295. Humanoid:SetStateEnabled("PlatformStanding",false)
  3296. Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding, false)
  3297. Humanoid.MaxHealth = 1e9999999
  3298. Humanoid.Health = 1e999999999
  3299. if game.ReplicatedFirst:FindFirstChildOfClass("Humanoid") == nil then
  3300. Humanoid = IT("Humanoid",game.ReplicatedFirst)
  3301. Humanoid.HipHeight = 0
  3302. end
  3303. Musika.SoundId = "rbxassetid://" .. Song
  3304. Musika.Looped = true
  3305. Musika.Pitch = Pitch
  3306. Musika.Volume = Volu
  3307. Musika.Playing = true
  3308. Musika.EmitterSize = 35
  3309. if Musika.Parent ~= RootPart then
  3310. print("Fixing music")
  3311. Musika = IT("Sound", RootPart)
  3312. Musika.SoundId = "rbxassetid://" .. Song
  3313. Musika.Looped = true
  3314. Musika.Pitch = Pitch
  3315. Musika.Volume = Volu
  3316. Musika.Playing = true
  3317. Musika.EmitterSize = 45
  3318. Musika.TimePosition = TSTP
  3319. FIXING = true
  3320. elseif FIXING == false then
  3321. TSTP = Musika.TimePosition
  3322. else
  3323. FIXING = false
  3324. end
  3325. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement