Advertisement
NightGolden

Untitled

Mar 12th, 2023
17,558
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 119.07 KB | None | 0 0
  1.  
  2. ---convert By Impatrick-------
  3. ------------------------------
  4. ---using Myword Reinimate
  5.  
  6.  
  7.  
  8. game:GetService("StarterGui"):SetCore("SendNotification", {
  9. Title = "Im Patrick";
  10. Text = "Netless Loaded";
  11. Icon = ""})
  12. Duration = 16;
  13.  
  14.  
  15. local Vector3_101 = Vector3.new(1, 0, 1)
  16. local netless_Y = Vector3.new(0, 25.1, 0)
  17. local function getNetlessVelocity(realPartVelocity) --change this if you have a better method
  18. local mag = realPartVelocity.Magnitude
  19. if (mag > 1) and (mag < 100) then
  20. local unit = realPartVelocity.Unit
  21. if (unit.Y > 0.25) or (unit.Y < -0.75) then
  22. return realPartVelocity * (25.1 / realPartVelocity.Y)
  23. end
  24. realPartVelocity = unit * 100
  25. end
  26. return (realPartVelocity * Vector3_101) + netless_Y
  27. end
  28. local simradius = "shp" --simulation radius (net bypass) method
  29. --"shp" - sethiddenproperty
  30. --"ssr" - setsimulationradius
  31. --false - disable
  32. local noclipAllParts = false --set it to true if you want noclip
  33. local antiragdoll = true --removes hingeConstraints and ballSocketConstraints from your character
  34. local newanimate = true --disables the animate script and enables after reanimation
  35. local discharscripts = true --disables all localScripts parented to your character before reanimation
  36. local R15toR6 = true --tries to convert your character to r6 if its r15
  37. local hatcollide = false --makes hats cancollide (credit to ShownApe) (works only with reanimate method 0)
  38. local humState16 = true --enables collisions for limbs before the humanoid dies (using hum:ChangeState)
  39. local addtools = false --puts all tools from backpack to character and lets you hold them after reanimation
  40. local hedafterneck = true --disable aligns for head and enable after neck or torso is removed
  41. local loadtime = game:GetService("Players").RespawnTime + 0.5 --anti respawn delay
  42. local method = 3 --reanimation method
  43. --methods:
  44. --0 - breakJoints (takes [loadtime] seconds to laod)
  45. --1 - limbs
  46. --2 - limbs + anti respawn
  47. --3 - limbs + breakJoints after [loadtime] seconds
  48. --4 - remove humanoid + breakJoints
  49. --5 - remove humanoid + limbs
  50. local alignmode = 2 --AlignPosition mode
  51. --modes:
  52. --1 - AlignPosition rigidity enabled true
  53. --2 - 2 AlignPositions rigidity enabled both true and false
  54. --3 - AlignPosition rigidity enabled false
  55. local flingpart = "HumanoidRootPart" --name of the part or the hat used for flinging
  56. --the fling function
  57. --usage: fling(target, duration, velocity)
  58. --target can be set to: basePart, CFrame, Vector3, character model or humanoid (flings at mouse.Hit if argument not provided))
  59. --duration (fling time in seconds) can be set to: a number or a string convertable to the number (0.5s if not provided),
  60. --velocity (fling part rotation velocity) can be set to a vector3 value (Vector3.new(20000, 20000, 20000) if not provided)
  61.  
  62. local lp = game:GetService("Players").LocalPlayer
  63. local rs = game:GetService("RunService")
  64. local stepped = rs.Stepped
  65. local heartbeat = rs.Heartbeat
  66. local renderstepped = rs.RenderStepped
  67. local sg = game:GetService("StarterGui")
  68. local ws = game:GetService("Workspace")
  69. local cf = CFrame.new
  70. local v3 = Vector3.new
  71. local v3_0 = Vector3.zero
  72. local inf = math.huge
  73.  
  74. local c = lp.Character
  75.  
  76. if not (c and c.Parent) then
  77. return
  78. end
  79.  
  80. c:GetPropertyChangedSignal("Parent"):Connect(function()
  81. if not (c and c.Parent) then
  82. c = nil
  83. end
  84. end)
  85.  
  86. local function gp(parent, name, className)
  87. if typeof(parent) == "Instance" then
  88. for i, v in pairs(parent:GetChildren()) do
  89. if (v.Name == name) and v:IsA(className) then
  90. return v
  91. end
  92. end
  93. end
  94. return nil
  95. end
  96.  
  97. if type(getNetlessVelocity) ~= "function" then
  98. getNetlessVelocity = nil
  99. end
  100.  
  101. local function align(Part0, Part1)
  102. Part0.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  103.  
  104. local att0 = Instance.new("Attachment")
  105. att0.Orientation = v3_0
  106. att0.Position = v3_0
  107. att0.Name = "att0_" .. Part0.Name
  108. local att1 = Instance.new("Attachment")
  109. att1.Orientation = v3_0
  110. att1.Position = v3_0
  111. att1.Name = "att1_" .. Part1.Name
  112.  
  113. if (alignmode == 1) or (alignmode == 2) then
  114. local ape = Instance.new("AlignPosition", att0)
  115. ape.ApplyAtCenterOfMass = false
  116. ape.MaxForce = inf
  117. ape.MaxVelocity = inf
  118. ape.ReactionForceEnabled = false
  119. ape.Responsiveness = 200
  120. ape.Attachment1 = att1
  121. ape.Attachment0 = att0
  122. ape.Name = "AlignPositionRtrue"
  123. ape.RigidityEnabled = true
  124. end
  125.  
  126. if (alignmode == 2) or (alignmode == 3) then
  127. local apd = Instance.new("AlignPosition", att0)
  128. apd.ApplyAtCenterOfMass = false
  129. apd.MaxForce = inf
  130. apd.MaxVelocity = inf
  131. apd.ReactionForceEnabled = false
  132. apd.Responsiveness = 200
  133. apd.Attachment1 = att1
  134. apd.Attachment0 = att0
  135. apd.Name = "AlignPositionRfalse"
  136. apd.RigidityEnabled = false
  137. end
  138.  
  139. local ao = Instance.new("AlignOrientation", att0)
  140. ao.MaxAngularVelocity = inf
  141. ao.MaxTorque = inf
  142. ao.PrimaryAxisOnly = false
  143. ao.ReactionTorqueEnabled = false
  144. ao.Responsiveness = 200
  145. ao.Attachment1 = att1
  146. ao.Attachment0 = att0
  147. ao.RigidityEnabled = false
  148.  
  149. if getNetlessVelocity then
  150. local vel = Part0.Velocity
  151. local velpart = Part1
  152. local rsteppedcon = renderstepped:Connect(function()
  153. Part0.Velocity = vel
  154. end)
  155. local heartbeatcon = heartbeat:Connect(function()
  156. vel = Part0.Velocity
  157. Part0.Velocity = getNetlessVelocity(velpart.Velocity)
  158. end)
  159. local attcon = nil
  160. Part0:GetPropertyChangedSignal("Parent"):Connect(function()
  161. if not (Part0 and Part0.Parent) then
  162. rsteppedcon:Disconnect()
  163. heartbeatcon:Disconnect()
  164. attcon:Disconnect()
  165. end
  166. end)
  167. attcon = att1:GetPropertyChangedSignal("Parent"):Connect(function()
  168. if not (att1 and att1.Parent) then
  169. attcon:Disconnect()
  170. velpart = Part0
  171. else
  172. velpart = att1.Parent
  173. if not velpart:IsA("BasePart") then
  174. velpart = Part0
  175. end
  176. end
  177. end)
  178. end
  179.  
  180. att0.Parent = Part0
  181. att1.Parent = Part1
  182. end
  183.  
  184. local function respawnrequest()
  185. local ccfr = ws.CurrentCamera.CFrame
  186. local c = lp.Character
  187. lp.Character = nil
  188. lp.Character = c
  189. local con = nil
  190. con = ws.CurrentCamera.Changed:Connect(function(prop)
  191. if (prop ~= "Parent") and (prop ~= "CFrame") then
  192. return
  193. end
  194. ws.CurrentCamera.CFrame = ccfr
  195. con:Disconnect()
  196. end)
  197. end
  198.  
  199. local destroyhum = (method == 4) or (method == 5)
  200. local breakjoints = (method == 0) or (method == 4)
  201. local antirespawn = (method == 0) or (method == 2) or (method == 3)
  202.  
  203. hatcollide = hatcollide and (method == 0)
  204.  
  205. addtools = addtools and gp(lp, "Backpack", "Backpack")
  206.  
  207. local fenv = getfenv()
  208. local shp = fenv.sethiddenproperty or fenv.set_hidden_property or fenv.set_hidden_prop or fenv.sethiddenprop
  209. 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
  210.  
  211. if shp and (simradius == "shp") then
  212. spawn(function()
  213. while c and heartbeat:Wait() do
  214. shp(lp, "SimulationRadius", inf)
  215. end
  216. end)
  217. elseif ssr and (simradius == "ssr") then
  218. spawn(function()
  219. while c and heartbeat:Wait() do
  220. ssr(inf)
  221. end
  222. end)
  223. end
  224.  
  225. antiragdoll = antiragdoll and function(v)
  226. if v:IsA("HingeConstraint") or v:IsA("BallSocketConstraint") then
  227. v.Parent = nil
  228. end
  229. end
  230.  
  231. if antiragdoll then
  232. for i, v in pairs(c:GetDescendants()) do
  233. antiragdoll(v)
  234. end
  235. c.DescendantAdded:Connect(antiragdoll)
  236. end
  237.  
  238. if antirespawn then
  239. respawnrequest()
  240. end
  241.  
  242. if method == 0 then
  243. wait(loadtime)
  244. if not c then
  245. return
  246. end
  247. end
  248.  
  249. if discharscripts then
  250. for i, v in pairs(c:GetChildren()) do
  251. if v:IsA("LocalScript") then
  252. v.Disabled = true
  253. end
  254. end
  255. elseif newanimate then
  256. local animate = gp(c, "Animate", "LocalScript")
  257. if animate and (not animate.Disabled) then
  258. animate.Disabled = true
  259. else
  260. newanimate = false
  261. end
  262. end
  263.  
  264. if addtools then
  265. for i, v in pairs(addtools:GetChildren()) do
  266. if v:IsA("Tool") then
  267. v.Parent = c
  268. end
  269. end
  270. end
  271.  
  272. pcall(function()
  273. settings().Physics.AllowSleep = false
  274. settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  275. end)
  276.  
  277. local OLDscripts = {}
  278.  
  279. for i, v in pairs(c:GetDescendants()) do
  280. if v.ClassName == "Script" then
  281. table.insert(OLDscripts, v)
  282. end
  283. end
  284.  
  285. local scriptNames = {}
  286.  
  287. for i, v in pairs(c:GetDescendants()) do
  288. if v:IsA("BasePart") then
  289. local newName = tostring(i)
  290. local exists = true
  291. while exists do
  292. exists = false
  293. for i, v in pairs(OLDscripts) do
  294. if v.Name == newName then
  295. exists = true
  296. end
  297. end
  298. if exists then
  299. newName = newName .. "_"
  300. end
  301. end
  302. table.insert(scriptNames, newName)
  303. Instance.new("Script", v).Name = newName
  304. end
  305. end
  306.  
  307. c.Archivable = true
  308. local hum = c:FindFirstChildOfClass("Humanoid")
  309. if hum then
  310. for i, v in pairs(hum:GetPlayingAnimationTracks()) do
  311. v:Stop()
  312. end
  313. end
  314. local cl = c:Clone()
  315. if hum and humState16 then
  316. hum:ChangeState(Enum.HumanoidStateType.Physics)
  317. if destroyhum then
  318. wait(1.6)
  319. end
  320. end
  321. if hum and hum.Parent and destroyhum then
  322. hum:Destroy()
  323. end
  324.  
  325. if not c then
  326. return
  327. end
  328.  
  329. local head = gp(c, "Head", "BasePart")
  330. local torso = gp(c, "Torso", "BasePart") or gp(c, "UpperTorso", "BasePart")
  331. local root = gp(c, "HumanoidRootPart", "BasePart")
  332. if hatcollide and c:FindFirstChildOfClass("Accessory") then
  333. local anything = c:FindFirstChildOfClass("BodyColors") or gp(c, "Health", "Script")
  334. if not (torso and root and anything) then
  335. return
  336. end
  337. torso:Destroy()
  338. root:Destroy()
  339. if shp then
  340. for i,v in pairs(c:GetChildren()) do
  341. if v:IsA("Accessory") then
  342. shp(v, "BackendAccoutrementState", 0)
  343. end
  344. end
  345. end
  346. anything:Destroy()
  347. end
  348.  
  349. local model = Instance.new("Model", c)
  350. model.Name = model.ClassName
  351.  
  352. model:GetPropertyChangedSignal("Parent"):Connect(function()
  353. if not (model and model.Parent) then
  354. model = nil
  355. end
  356. end)
  357.  
  358. for i, v in pairs(c:GetChildren()) do
  359. if v ~= model then
  360. if addtools and v:IsA("Tool") then
  361. for i1, v1 in pairs(v:GetDescendants()) do
  362. if v1 and v1.Parent and v1:IsA("BasePart") then
  363. local bv = Instance.new("BodyVelocity", v1)
  364. bv.Velocity = v3_0
  365. bv.MaxForce = v3(1000, 1000, 1000)
  366. bv.P = 1250
  367. bv.Name = "bv_" .. v.Name
  368. end
  369. end
  370. end
  371. v.Parent = model
  372. end
  373. end
  374.  
  375. if breakjoints then
  376. model:BreakJoints()
  377. else
  378. if head and torso then
  379. for i, v in pairs(model:GetDescendants()) do
  380. if v:IsA("Weld") or v:IsA("Snap") or v:IsA("Glue") or v:IsA("Motor") or v:IsA("Motor6D") then
  381. local save = false
  382. if (v.Part0 == torso) and (v.Part1 == head) then
  383. save = true
  384. end
  385. if (v.Part0 == head) and (v.Part1 == torso) then
  386. save = true
  387. end
  388. if save then
  389. if hedafterneck then
  390. hedafterneck = v
  391. end
  392. else
  393. v:Destroy()
  394. end
  395. end
  396. end
  397. end
  398. if method == 3 then
  399. spawn(function()
  400. wait(loadtime)
  401. if model then
  402. model:BreakJoints()
  403. end
  404. end)
  405. end
  406. end
  407.  
  408. cl.Parent = c
  409. for i, v in pairs(cl:GetChildren()) do
  410. v.Parent = c
  411. end
  412. cl:Destroy()
  413.  
  414. local noclipmodel = (noclipAllParts and c) or model
  415. local noclipcon = nil
  416. local function uncollide()
  417. if noclipmodel then
  418. for i, v in pairs(noclipmodel:GetDescendants()) do
  419. if v:IsA("BasePart") then
  420. v.CanCollide = false
  421. end
  422. end
  423. else
  424. noclipcon:Disconnect()
  425. end
  426. end
  427. noclipcon = stepped:Connect(uncollide)
  428. uncollide()
  429.  
  430. for i, scr in pairs(model:GetDescendants()) do
  431. if (scr.ClassName == "Script") and table.find(scriptNames, scr.Name) then
  432. local Part0 = scr.Parent
  433. if Part0:IsA("BasePart") then
  434. for i1, scr1 in pairs(c:GetDescendants()) do
  435. if (scr1.ClassName == "Script") and (scr1.Name == scr.Name) and (not scr1:IsDescendantOf(model)) then
  436. local Part1 = scr1.Parent
  437. if (Part1.ClassName == Part0.ClassName) and (Part1.Name == Part0.Name) then
  438. align(Part0, Part1)
  439. scr:Destroy()
  440. scr1:Destroy()
  441. break
  442. end
  443. end
  444. end
  445. end
  446. end
  447. end
  448.  
  449. for i, v in pairs(c:GetDescendants()) do
  450. if v and v.Parent and (not v:IsDescendantOf(model)) then
  451. if v:IsA("Decal") then
  452. v.Transparency = 1
  453. elseif v:IsA("BasePart") then
  454. v.Transparency = 1
  455. v.Anchored = false
  456. elseif v:IsA("ForceField") then
  457. v.Visible = false
  458. elseif v:IsA("Sound") then
  459. v.Playing = false
  460. 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
  461. v.Enabled = false
  462. end
  463. end
  464. end
  465.  
  466. if newanimate then
  467. local animate = gp(c, "Animate", "LocalScript")
  468. if animate then
  469. animate.Disabled = false
  470. end
  471. end
  472.  
  473. if addtools then
  474. for i, v in pairs(c:GetChildren()) do
  475. if v:IsA("Tool") then
  476. v.Parent = addtools
  477. end
  478. end
  479. end
  480.  
  481. local hum0 = model:FindFirstChildOfClass("Humanoid")
  482. if hum0 then
  483. hum0:GetPropertyChangedSignal("Parent"):Connect(function()
  484. if not (hum0 and hum0.Parent) then
  485. hum0 = nil
  486. end
  487. end)
  488. end
  489.  
  490. local hum1 = c:FindFirstChildOfClass("Humanoid")
  491. if hum1 then
  492. hum1:GetPropertyChangedSignal("Parent"):Connect(function()
  493. if not (hum1 and hum1.Parent) then
  494. hum1 = nil
  495. end
  496. end)
  497.  
  498. ws.CurrentCamera.CameraSubject = hum1
  499. local camSubCon = nil
  500. local function camSubFunc()
  501. camSubCon:Disconnect()
  502. if c and hum1 then
  503. ws.CurrentCamera.CameraSubject = hum1
  504. end
  505. end
  506. camSubCon = renderstepped:Connect(camSubFunc)
  507. if hum0 then
  508. hum0:GetPropertyChangedSignal("Jump"):Connect(function()
  509. if hum1 then
  510. hum1.Jump = hum0.Jump
  511. end
  512. end)
  513. else
  514. respawnrequest()
  515. end
  516. end
  517.  
  518. local rb = Instance.new("BindableEvent", c)
  519. rb.Event:Connect(function()
  520. rb:Destroy()
  521. sg:SetCore("ResetButtonCallback", true)
  522. if destroyhum then
  523. c:BreakJoints()
  524. return
  525. end
  526. if hum0 and (hum0.Health > 0) then
  527. model:BreakJoints()
  528. hum0.Health = 0
  529. end
  530. if antirespawn then
  531. respawnrequest()
  532. end
  533. end)
  534. sg:SetCore("ResetButtonCallback", rb)
  535.  
  536. spawn(function()
  537. while c do
  538. if hum0 and hum1 then
  539. hum1.Jump = hum0.Jump
  540. end
  541. wait()
  542. end
  543. sg:SetCore("ResetButtonCallback", true)
  544. end)
  545.  
  546. R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15)
  547. if R15toR6 then
  548. 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")
  549. if part then
  550. local cfr = part.CFrame
  551. local R6parts = {
  552. head = {
  553. Name = "Head",
  554. Size = v3(2, 1, 1),
  555. R15 = {
  556. Head = 0
  557. }
  558. },
  559. torso = {
  560. Name = "Torso",
  561. Size = v3(2, 2, 1),
  562. R15 = {
  563. UpperTorso = 0.2,
  564. LowerTorso = -0.8
  565. }
  566. },
  567. root = {
  568. Name = "HumanoidRootPart",
  569. Size = v3(2, 2, 1),
  570. R15 = {
  571. HumanoidRootPart = 0
  572. }
  573. },
  574. leftArm = {
  575. Name = "Left Arm",
  576. Size = v3(1, 2, 1),
  577. R15 = {
  578. LeftHand = -0.849,
  579. LeftLowerArm = -0.174,
  580. LeftUpperArm = 0.415
  581. }
  582. },
  583. rightArm = {
  584. Name = "Right Arm",
  585. Size = v3(1, 2, 1),
  586. R15 = {
  587. RightHand = -0.849,
  588. RightLowerArm = -0.174,
  589. RightUpperArm = 0.415
  590. }
  591. },
  592. leftLeg = {
  593. Name = "Left Leg",
  594. Size = v3(1, 2, 1),
  595. R15 = {
  596. LeftFoot = -0.85,
  597. LeftLowerLeg = -0.29,
  598. LeftUpperLeg = 0.49
  599. }
  600. },
  601. rightLeg = {
  602. Name = "Right Leg",
  603. Size = v3(1, 2, 1),
  604. R15 = {
  605. RightFoot = -0.85,
  606. RightLowerLeg = -0.29,
  607. RightUpperLeg = 0.49
  608. }
  609. }
  610. }
  611. for i, v in pairs(c:GetChildren()) do
  612. if v:IsA("BasePart") then
  613. for i1, v1 in pairs(v:GetChildren()) do
  614. if v1:IsA("Motor6D") then
  615. v1.Part0 = nil
  616. end
  617. end
  618. end
  619. end
  620. part.Archivable = true
  621. for i, v in pairs(R6parts) do
  622. local part = part:Clone()
  623. part:ClearAllChildren()
  624. part.Name = v.Name
  625. part.Size = v.Size
  626. part.CFrame = cfr
  627. part.Anchored = false
  628. part.Transparency = 1
  629. part.CanCollide = false
  630. for i1, v1 in pairs(v.R15) do
  631. local R15part = gp(c, i1, "BasePart")
  632. local att = gp(R15part, "att1_" .. i1, "Attachment")
  633. if R15part then
  634. local weld = Instance.new("Weld", R15part)
  635. weld.Name = "Weld_" .. i1
  636. weld.Part0 = part
  637. weld.Part1 = R15part
  638. weld.C0 = cf(0, v1, 0)
  639. weld.C1 = cf(0, 0, 0)
  640. R15part.Massless = true
  641. R15part.Name = "R15_" .. i1
  642. R15part.Parent = part
  643. if att then
  644. att.Parent = part
  645. att.Position = v3(0, v1, 0)
  646. end
  647. end
  648. end
  649. part.Parent = c
  650. R6parts[i] = part
  651. end
  652. local R6joints = {
  653. neck = {
  654. Parent = R6parts.torso,
  655. Name = "Neck",
  656. Part0 = R6parts.torso,
  657. Part1 = R6parts.head,
  658. C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  659. C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  660. },
  661. rootJoint = {
  662. Parent = R6parts.root,
  663. Name = "RootJoint" ,
  664. Part0 = R6parts.root,
  665. Part1 = R6parts.torso,
  666. C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  667. C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  668. },
  669. rightShoulder = {
  670. Parent = R6parts.torso,
  671. Name = "Right Shoulder",
  672. Part0 = R6parts.torso,
  673. Part1 = R6parts.rightArm,
  674. C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  675. C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  676. },
  677. leftShoulder = {
  678. Parent = R6parts.torso,
  679. Name = "Left Shoulder",
  680. Part0 = R6parts.torso,
  681. Part1 = R6parts.leftArm,
  682. C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  683. C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  684. },
  685. rightHip = {
  686. Parent = R6parts.torso,
  687. Name = "Right Hip",
  688. Part0 = R6parts.torso,
  689. Part1 = R6parts.rightLeg,
  690. C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  691. C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  692. },
  693. leftHip = {
  694. Parent = R6parts.torso,
  695. Name = "Left Hip" ,
  696. Part0 = R6parts.torso,
  697. Part1 = R6parts.leftLeg,
  698. C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  699. C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  700. }
  701. }
  702. for i, v in pairs(R6joints) do
  703. local joint = Instance.new("Motor6D")
  704. for prop, val in pairs(v) do
  705. joint[prop] = val
  706. end
  707. R6joints[i] = joint
  708. end
  709. if hum1 then
  710. hum1.RigType = Enum.HumanoidRigType.R6
  711. hum1.HipHeight = 0
  712. end
  713. end
  714. end
  715.  
  716. local torso1 = torso
  717. torso = gp(c, "Torso", "BasePart") or ((not R15toR6) and gp(c, torso.Name, "BasePart"))
  718. if (typeof(hedafterneck) == "Instance") and head and torso and torso1 then
  719. local conNeck = nil
  720. local conTorso = nil
  721. local contorso1 = nil
  722. local aligns = {}
  723. local function enableAligns()
  724. conNeck:Disconnect()
  725. conTorso:Disconnect()
  726. conTorso1:Disconnect()
  727. for i, v in pairs(aligns) do
  728. v.Enabled = true
  729. end
  730. end
  731. conNeck = hedafterneck.Changed:Connect(function(prop)
  732. if table.find({"Part0", "Part1", "Parent"}, prop) then
  733. enableAligns()
  734. end
  735. end)
  736. conTorso = torso:GetPropertyChangedSignal("Parent"):Connect(enableAligns)
  737. conTorso1 = torso1:GetPropertyChangedSignal("Parent"):Connect(enableAligns)
  738. for i, v in pairs(head:GetDescendants()) do
  739. if v:IsA("AlignPosition") or v:IsA("AlignOrientation") then
  740. i = tostring(i)
  741. aligns[i] = v
  742. v:GetPropertyChangedSignal("Parent"):Connect(function()
  743. aligns[i] = nil
  744. end)
  745. v.Enabled = false
  746. end
  747. end
  748. end
  749.  
  750. local flingpart0 = gp(model, flingpart, "BasePart") or gp(gp(model, flingpart, "Accessory"), "Handle", "BasePart")
  751. local flingpart1 = gp(c, flingpart, "BasePart") or gp(gp(c, flingpart, "Accessory"), "Handle", "BasePart")
  752.  
  753. local fling = function() end
  754. if flingpart0 and flingpart1 then
  755. flingpart0:GetPropertyChangedSignal("Parent"):Connect(function()
  756. if not (flingpart0 and flingpart0.Parent) then
  757. flingpart0 = nil
  758. fling = function() end
  759. end
  760. end)
  761. flingpart0.Archivable = true
  762. flingpart1:GetPropertyChangedSignal("Parent"):Connect(function()
  763. if not (flingpart1 and flingpart1.Parent) then
  764. flingpart1 = nil
  765. fling = function() end
  766. end
  767. end)
  768. local att0 = gp(flingpart0, "att0_" .. flingpart0.Name, "Attachment")
  769. local att1 = gp(flingpart1, "att1_" .. flingpart1.Name, "Attachment")
  770. if att0 and att1 then
  771. att0:GetPropertyChangedSignal("Parent"):Connect(function()
  772. if not (att0 and att0.Parent) then
  773. att0 = nil
  774. fling = function() end
  775. end
  776. end)
  777. att1:GetPropertyChangedSignal("Parent"):Connect(function()
  778. if not (att1 and att1.Parent) then
  779. att1 = nil
  780. fling = function() end
  781. end
  782. end)
  783. local lastfling = nil
  784. local mouse = lp:GetMouse()
  785. fling = function(target, duration, rotVelocity)
  786. if typeof(target) == "Instance" then
  787. if target:IsA("BasePart") then
  788. target = target.Position
  789. elseif target:IsA("Model") then
  790. target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart")
  791. if target then
  792. target = target.Position
  793. else
  794. return
  795. end
  796. elseif target:IsA("Humanoid") then
  797. local parent = target.Parent
  798. if not (parent and parent:IsA("Model")) then
  799. return
  800. end
  801. target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart")
  802. if target then
  803. target = target.Position
  804. else
  805. return
  806. end
  807. else
  808. return
  809. end
  810. elseif typeof(target) == "CFrame(0.1.0)" then
  811. target = target.Position
  812. elseif typeof(target) ~= "Vector3(0.1.0)" then
  813. target = mouse.Hit
  814. if target then
  815. target = target.Position
  816. else
  817. return
  818. end
  819. end
  820. lastfling = target
  821. if type(duration) ~= "20000" then
  822. duration = tonumber(duration) or 0.5
  823. end
  824. if typeof(rotVelocity) ~= "Vector3" then
  825. rotVelocity = v3(200000, 200000, 200000)
  826. end
  827. if not (target and flingpart0 and flingpart1 and att0 and att1) then
  828. return
  829. end
  830. local flingpart = flingpart0:Clone()
  831. flingpart.Transparency = 1
  832. flingpart.Size = v3(0.01, 0.01, 0.01)
  833. flingpart.CanCollide = true
  834. flingpart.Name = "flingpart_" .. flingpart0.Name
  835. flingpart.Anchored = true
  836. flingpart.Velocity = v3_0
  837. flingpart.RotVelocity = v3_0
  838. flingpart:GetPropertyChangedSignal("Parent"):Connect(function()
  839. if not (flingpart and flingpart.Parent) then
  840. flingpart = nil
  841. end
  842. end)
  843. flingpart.Parent = flingpart1
  844. if flingpart0.Transparency > 0.8 then
  845. flingpart0.Transparency = 0.8
  846. end
  847. att1.Parent = flingpart
  848. for i, v in pairs(att0:GetChildren()) do
  849. if v:IsA("AlignOrientation") then
  850. v.Enabled = false
  851. end
  852. end
  853. local con = nil
  854. con = heartbeat:Connect(function()
  855. if target and (lastfling == target) and flingpart and flingpart0 and flingpart1 and att0 and att1 then
  856. flingpart0.RotVelocity = rotVelocity
  857. flingpart.Position = target
  858. else
  859. con:Disconnect()
  860. end
  861. end)
  862. local rsteppedRotVel = v3(
  863. ((rotVelocity.X > 2000) and -1) or 1,
  864. ((rotVelocity.Y > 2000) and -1) or 1,
  865. ((rotVelocity.Z > 2000.) and -1) or 1
  866. )
  867. local con = nil
  868. con = renderstepped:Connect(function()
  869. if target and (lastfling == target) and flingpart and flingpart0 and flingpart1 and att0 and att1 then
  870. flingpart0.RotVelocity = rsteppedRotVel
  871. flingpart.Position = target
  872. else
  873. con:Disconnect()
  874. end
  875. end)
  876. wait(duration)
  877. if lastfling ~= target then
  878. if flingpart then
  879. if att1 and (att1.Parent == flingpart) then
  880. att1.Parent = flingpart1
  881. end
  882. flingpart:Destroy()
  883. end
  884. return
  885. end
  886. target = nil
  887. if not (flingpart and flingpart0 and flingpart1 and att0 and att1) then
  888. return
  889. end
  890. flingpart0.RotVelocity = v3_0
  891. att1.Parent = flingpart1
  892. for i, v in pairs(att0:GetChildren()) do
  893. if v:IsA("AlignOrientation") then
  894. v.Enabled = true
  895. end
  896. end
  897. if flingpart then
  898. flingpart:Destroy()
  899. end
  900. end
  901. end
  902. end
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921. CV="Magenta"
  922. p = game.Players.LocalPlayer
  923. char = p.Character
  924. local txt = Instance.new("BillboardGui", char)
  925. txt.Adornee = char .Head
  926. txt.Name = "_status"
  927. txt.Size = UDim2.new(2, 0, 1.2, 0)
  928. txt.StudsOffset = Vector3.new(-9, 8, 0)
  929. local text = Instance.new("TextLabel", txt)
  930. text.Size = UDim2.new(10, 0, 7, 0)
  931. text.FontSize = "Size24"
  932. text.TextScaled = true
  933. text.TextTransparency = 0
  934. text.BackgroundTransparency = 1
  935. text.TextTransparency = 0
  936. text.TextStrokeTransparency = 0
  937. text.Font = "Bodoni"
  938. text.TextStrokeColor3 = Color3.new(0,0,0)
  939.  
  940. v=Instance.new("Part")
  941. v.Name = "ColorBrick"
  942. v.Parent=p.Character
  943. v.FormFactor="Symmetric"
  944. v.Anchored=true
  945. v.CanCollide=false
  946. v.BottomSurface="Smooth"
  947. v.TopSurface="Smooth"
  948. v.Size=Vector3.new(10,5,3)
  949. v.Transparency=1
  950. v.CFrame=char.Torso.CFrame
  951. v.BrickColor=BrickColor.new(CV)
  952. v.Transparency=1
  953. text.TextColor3 = Color3.new(170,0,170)
  954. v.Shape="Block"
  955. text.Text = "我是傻逼,没毛病"
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963. Player = game:GetService("Players").LocalPlayer
  964. PlayerGui = Player.PlayerGui
  965. Cam = workspace.CurrentCamera
  966. Backpack = Player.Backpack
  967. Character = Player.Character
  968. Humanoid = Character.Humanoid
  969. Mouse = Player:GetMouse()
  970. RootPart = Character["HumanoidRootPart"]
  971. Torso = Character["Torso"]
  972. Head = Character["Head"]
  973. RightArm = Character["Right Arm"]
  974. LeftArm = Character["Left Arm"]
  975. RightLeg = Character["Right Leg"]
  976. LeftLeg = Character["Left Leg"]
  977. RootJoint = RootPart["RootJoint"]
  978. Neck = Torso["Neck"]
  979. RightShoulder = Torso["Right Shoulder"]
  980. LeftShoulder = Torso["Left Shoulder"]
  981. RightHip = Torso["Right Hip"]
  982. LeftHip = Torso["Left Hip"]
  983. local sick = Instance.new("Sound",Character)
  984. sick.SoundId = "rbxassetid://165498643"
  985. sick.Looped = true
  986. sick.Pitch = 1
  987. sick.Volume = 3
  988. sick:Play()
  989. Humanoid.DisplayDistanceType = "None"
  990.  
  991. IT = Instance.new
  992. CF = CFrame.new
  993. VT = Vector3.new
  994. RAD = math.rad
  995. C3 = Color3.new
  996. UD2 = UDim2.new
  997. BRICKC = BrickColor.new
  998. ANGLES = CFrame.Angles
  999. EULER = CFrame.fromEulerAnglesXYZ
  1000. COS = math.cos
  1001. ACOS = math.acos
  1002. SIN = math.sin
  1003. ASIN = math.asin
  1004. ABS = math.abs
  1005. MRANDOM = math.random
  1006. FLOOR = math.floor
  1007.  
  1008. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1009. local NEWMESH = IT(MESH)
  1010. if MESH == "SpecialMesh" then
  1011. NEWMESH.MeshType = MESHTYPE
  1012. if MESHID ~= "nil" and MESHID ~= "" then
  1013. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1014. end
  1015. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1016. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1017. end
  1018. end
  1019. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1020. NEWMESH.Scale = SCALE
  1021. NEWMESH.Parent = PARENT
  1022. return NEWMESH
  1023. end
  1024.  
  1025. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  1026. local NEWPART = IT("Part")
  1027. NEWPART.formFactor = FORMFACTOR
  1028. NEWPART.Reflectance = REFLECTANCE
  1029. NEWPART.Transparency = TRANSPARENCY
  1030. NEWPART.CanCollide = false
  1031. NEWPART.Anchored = true
  1032. NEWPART.Locked = true
  1033. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1034. NEWPART.Name = NAME
  1035. NEWPART.Size = SIZE
  1036. NEWPART.Position = Torso.Position
  1037. NEWPART.Material = MATERIAL
  1038. NEWPART:BreakJoints()
  1039. NEWPART.Parent = PARENT
  1040. return NEWPART
  1041. end
  1042.  
  1043.  
  1044. --//=================================\\
  1045. --|| CUSTOMIZATION
  1046. --\\=================================//
  1047.  
  1048. Class_Name = "Sin"
  1049. Weapon_Name = "Add-ons"
  1050.  
  1051. Custom_Colors = {
  1052. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  1053. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  1054.  
  1055. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  1056. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  1057. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  1058. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  1059. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  1060.  
  1061. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  1062. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  1063. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  1064. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  1065. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  1066. }
  1067.  
  1068.  
  1069. Player_Size = 1.15 --Size of the player.
  1070. Animation_Speed = 1.2
  1071. Attack_Animation_Speed = 2.5
  1072. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1073.  
  1074. local Speed = 45
  1075. local Effects2 = {}
  1076.  
  1077. --//=================================\\
  1078. --|| END OF CUSTOMIZATION
  1079. --\\=================================//
  1080.  
  1081. local function weldBetween(a, b)
  1082. local weldd = Instance.new("ManualWeld")
  1083. weldd.Part0 = a
  1084. weldd.Part1 = b
  1085. weldd.C0 = CFrame.new()
  1086. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1087. weldd.Parent = a
  1088. return weldd
  1089. end
  1090.  
  1091. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1092. local acs = Instance.new("Part")
  1093. acs.CanCollide = false
  1094. acs.Anchored = false
  1095. acs.Size = Vector3.new(0,0,0)
  1096. acs.CFrame = attachmentpart.CFrame
  1097. acs.Parent = Character
  1098. acs.BrickColor = color
  1099. local meshs = Instance.new("SpecialMesh")
  1100. meshs.MeshId = mesh
  1101. meshs.TextureId = texture
  1102. meshs.Parent = acs
  1103. meshs.Scale = scale
  1104. meshs.Offset = offset
  1105. weldBetween(attachmentpart,acs)
  1106. end
  1107.  
  1108. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1109. if TYPE == "Gem" then
  1110. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  1111. acs.Anchored = false
  1112. acs.CanCollide = false
  1113. acs.CFrame = PART.CFrame
  1114. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1115. weldBetween(PART,acs)
  1116. elseif TYPE == "Skull" then
  1117. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  1118. acs.Anchored = false
  1119. acs.CanCollide = false
  1120. acs.CFrame = PART.CFrame
  1121. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1122. weldBetween(PART,acs)
  1123. elseif TYPE == "Eye" then
  1124. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  1125. acs.Anchored = false
  1126. acs.CanCollide = false
  1127. acs.CFrame = PART.CFrame
  1128. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1129. weldBetween(PART,acs)
  1130. end
  1131. end
  1132.  
  1133. --//=================================\\
  1134. --|| USEFUL VALUES
  1135. --\\=================================//
  1136.  
  1137. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1138. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1139. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1140. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1141. local CO1 = 0
  1142. local CO2 = 0
  1143. local CO3 = 0
  1144. local CO4 = 0
  1145. local CHANGEDEFENSE = 0
  1146. local CHANGEDAMAGE = 0
  1147. local CHANGEMOVEMENT = 0
  1148. local ANIM = "Idle"
  1149. local ATTACK = false
  1150. local EQUIPPED = false
  1151. local HOLD = false
  1152. local COMBO = 1
  1153. local LASTPOINT = nil
  1154. local BLCF = nil
  1155. local SCFR = nil
  1156. local STAGGERHITANIM = false
  1157. local STAGGERANIM = false
  1158. local STUNANIM = false
  1159. local CRITCHANCENUMBER = 1e999
  1160. local IDLENUMBER = 0
  1161. local DONUMBER = 0
  1162. local HANDIDLE = false
  1163. local SINE = 0
  1164. local CHANGE = 2 / Animation_Speed
  1165. local WALKINGANIM = false
  1166. local WALK = 0
  1167. local DISABLEJUMPING = false
  1168. local HASBEENBLOCKED = false
  1169. local STUNDELAYNUMBER = 0
  1170. local MANADELAYNUMBER = 0
  1171. local HASJUMPED = false
  1172. local punch = 1
  1173. local KEYHOLD = false
  1174. local SECONDARYMANADELAYNUMBER = 0
  1175. local ROBLOXIDLEANIMATION = IT("Animation")
  1176. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1177. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1178. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1179. local WEAPONGUI = IT("ScreenGui", nil)
  1180. WEAPONGUI.Name = "Weapon GUI"
  1181. local WEAPONTOOL = IT("HopperBin", nil)
  1182. WEAPONTOOL.Name = Weapon_Name
  1183. local Weapon = IT("Model")
  1184. Weapon.Name = Weapon_Name
  1185. local Effects = IT("Folder", Weapon)
  1186. Effects.Name = "Effects"
  1187. local ANIMATOR = Humanoid.Animator
  1188. local ANIMATE = Character.Animate
  1189. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  1190. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  1191. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  1192. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  1193. local ATTACKSOUNDS = {"159972643","159972627"}
  1194. local UNANCHOR = true
  1195.  
  1196. --//=================================\\
  1197. --\\=================================//
  1198.  
  1199. --//=================================\\
  1200. --|| STATS
  1201. --\\=================================//
  1202.  
  1203. if Character:FindFirstChild("Stats") ~= nil then
  1204. Character:FindFirstChild("Stats").Parent = nil
  1205. end
  1206.  
  1207. local Stats = IT("Folder", nil)
  1208. Stats.Name = "Stats"
  1209. local ChangeStat = IT("Folder", Stats)
  1210. ChangeStat.Name = "ChangeStat"
  1211. local Defense = IT("NumberValue", Stats)
  1212. Defense.Name = "Defense"
  1213. Defense.Value = 1e999
  1214. local Movement = IT("NumberValue", Stats)
  1215. Movement.Name = "Movement"
  1216. Movement.Value = 1
  1217. local Damage = IT("NumberValue", Stats)
  1218. Damage.Name = "Damage"
  1219. Damage.Value = 1e999
  1220. local Mana = IT("NumberValue", Stats)
  1221. Mana.Name = "Mana"
  1222. Mana.Value = 0
  1223. local SecondaryMana = IT("NumberValue", Stats)
  1224. SecondaryMana.Name = "SecondaryMana"
  1225. SecondaryMana.Value = 0
  1226. local CanCrit = IT("BoolValue", Stats)
  1227. CanCrit.Name = "CanCrit"
  1228. CanCrit.Value = false
  1229. local CritChance = IT("NumberValue", Stats)
  1230. CritChance.Name = "CritChance"
  1231. CritChance.Value = 20
  1232. local CanPenetrateArmor = IT("BoolValue", Stats)
  1233. CanPenetrateArmor.Name = "CanPenetrateArmor"
  1234. CanPenetrateArmor.Value = false
  1235. local AntiTeamKill = IT("BoolValue", Stats)
  1236. AntiTeamKill.Name = "AntiTeamKill"
  1237. AntiTeamKill.Value = false
  1238. local Rooted = IT("BoolValue", Stats)
  1239. Rooted.Name = "Rooted"
  1240. Rooted.Value = false
  1241. local Block = IT("BoolValue", Stats)
  1242. Block.Name = "Block"
  1243. Block.Value = false
  1244. local RecentEnemy = IT("ObjectValue", Stats)
  1245. RecentEnemy.Name = "RecentEnemy"
  1246. RecentEnemy.Value = nil
  1247. local StaggerHit = IT("BoolValue", Stats)
  1248. StaggerHit.Name = "StaggerHit"
  1249. StaggerHit.Value = false
  1250. local Stagger = IT("BoolValue", Stats)
  1251. Stagger.Name = "Stagger"
  1252. Stagger.Value = false
  1253. local Stun = IT("BoolValue", Stats)
  1254. Stun.Name = "Stun"
  1255. Stun.Value = false
  1256. local StunValue = IT("NumberValue", Stats)
  1257. StunValue.Name = "StunValue"
  1258. StunValue.Value = 0
  1259.  
  1260.  
  1261. --//=================================\\
  1262. --\\=================================//
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268. --//=================================\\
  1269. --|| DEBUFFS / BUFFS
  1270. --\\=================================//
  1271.  
  1272. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  1273. DEFENSECHANGE1.Name = "ChangeDefense"
  1274. DEFENSECHANGE1.Value = 0
  1275.  
  1276. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  1277. MOVEMENTCHANGE1.Name = "ChangeMovement"
  1278. MOVEMENTCHANGE1.Value = 0
  1279.  
  1280. --//=================================\\
  1281. --\\=================================//
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287. --//=================================\\
  1288. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1289. --\\=================================//
  1290.  
  1291. ArtificialHB = Instance.new("BindableEvent", script)
  1292. ArtificialHB.Name = "ArtificialHB"
  1293.  
  1294. script:WaitForChild("ArtificialHB")
  1295.  
  1296. frame = Frame_Speed
  1297. tf = 0
  1298. allowframeloss = false
  1299. tossremainder = false
  1300. lastframe = tick()
  1301. script.ArtificialHB:Fire()
  1302.  
  1303. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1304. tf = tf + s
  1305. if tf >= frame then
  1306. if allowframeloss then
  1307. script.ArtificialHB:Fire()
  1308. lastframe = tick()
  1309. else
  1310. for i = 1, math.floor(tf / frame) do
  1311. script.ArtificialHB:Fire()
  1312. end
  1313. lastframe = tick()
  1314. end
  1315. if tossremainder then
  1316. tf = 0
  1317. else
  1318. tf = tf - frame * math.floor(tf / frame)
  1319. end
  1320. end
  1321. end)
  1322.  
  1323. --//=================================\\
  1324. --\\=================================//
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330. --//=================================\\
  1331. --|| SOME FUNCTIONS
  1332. --\\=================================//
  1333.  
  1334. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1335. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1336. end
  1337.  
  1338. function PositiveAngle(NUMBER)
  1339. if NUMBER >= 0 then
  1340. NUMBER = 0
  1341. end
  1342. return NUMBER
  1343. end
  1344.  
  1345. function NegativeAngle(NUMBER)
  1346. if NUMBER <= 0 then
  1347. NUMBER = 0
  1348. end
  1349. return NUMBER
  1350. end
  1351.  
  1352. function Swait(NUMBER)
  1353. if NUMBER == 0 or NUMBER == nil then
  1354. ArtificialHB.Event:wait()
  1355. else
  1356. for i = 1, NUMBER do
  1357. ArtificialHB.Event:wait()
  1358. end
  1359. end
  1360. end
  1361.  
  1362. function QuaternionFromCFrame(cf)
  1363. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1364. local trace = m00 + m11 + m22
  1365. if trace > 0 then
  1366. local s = math.sqrt(1 + trace)
  1367. local recip = 0.5 / s
  1368. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1369. else
  1370. local i = 0
  1371. if m11 > m00 then
  1372. i = 1
  1373. end
  1374. if m22 > (i == 0 and m00 or m11) then
  1375. i = 2
  1376. end
  1377. if i == 0 then
  1378. local s = math.sqrt(m00 - m11 - m22 + 1)
  1379. local recip = 0.5 / s
  1380. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1381. elseif i == 1 then
  1382. local s = math.sqrt(m11 - m22 - m00 + 1)
  1383. local recip = 0.5 / s
  1384. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1385. elseif i == 2 then
  1386. local s = math.sqrt(m22 - m00 - m11 + 1)
  1387. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1388. end
  1389. end
  1390. end
  1391.  
  1392. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1393. local xs, ys, zs = x + x, y + y, z + z
  1394. local wx, wy, wz = w * xs, w * ys, w * zs
  1395. local xx = x * xs
  1396. local xy = x * ys
  1397. local xz = x * zs
  1398. local yy = y * ys
  1399. local yz = y * zs
  1400. local zz = z * zs
  1401. 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))
  1402. end
  1403.  
  1404. function QuaternionSlerp(a, b, t)
  1405. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1406. local startInterp, finishInterp;
  1407. if cosTheta >= 0.0001 then
  1408. if (1 - cosTheta) > 0.0001 then
  1409. local theta = ACOS(cosTheta)
  1410. local invSinTheta = 1 / SIN(theta)
  1411. startInterp = SIN((1 - t) * theta) * invSinTheta
  1412. finishInterp = SIN(t * theta) * invSinTheta
  1413. else
  1414. startInterp = 1 - t
  1415. finishInterp = t
  1416. end
  1417. else
  1418. if (1 + cosTheta) > 0.0001 then
  1419. local theta = ACOS(-cosTheta)
  1420. local invSinTheta = 1 / SIN(theta)
  1421. startInterp = SIN((t - 1) * theta) * invSinTheta
  1422. finishInterp = SIN(t * theta) * invSinTheta
  1423. else
  1424. startInterp = t - 1
  1425. finishInterp = t
  1426. end
  1427. end
  1428. 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
  1429. end
  1430.  
  1431. function Clerp(a, b, t)
  1432. local qa = {QuaternionFromCFrame(a)}
  1433. local qb = {QuaternionFromCFrame(b)}
  1434. local ax, ay, az = a.x, a.y, a.z
  1435. local bx, by, bz = b.x, b.y, b.z
  1436. local _t = 1 - t
  1437. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1438. end
  1439.  
  1440. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1441. local frame = IT("Frame")
  1442. frame.BackgroundTransparency = TRANSPARENCY
  1443. frame.BorderSizePixel = BORDERSIZEPIXEL
  1444. frame.Position = POSITION
  1445. frame.Size = SIZE
  1446. frame.BackgroundColor3 = COLOR
  1447. frame.BorderColor3 = BORDERCOLOR
  1448. frame.Name = NAME
  1449. frame.Parent = PARENT
  1450. return frame
  1451. end
  1452.  
  1453. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1454. local label = IT("TextLabel")
  1455. label.BackgroundTransparency = 1
  1456. label.Size = UD2(1, 0, 1, 0)
  1457. label.Position = UD2(0, 0, 0, 0)
  1458. label.TextColor3 = C3(255, 255, 255)
  1459. label.TextStrokeTransparency = STROKETRANSPARENCY
  1460. label.TextTransparency = TRANSPARENCY
  1461. label.FontSize = TEXTFONTSIZE
  1462. label.Font = TEXTFONT
  1463. label.BorderSizePixel = BORDERSIZEPIXEL
  1464. label.TextScaled = true
  1465. label.Text = TEXT
  1466. label.Name = NAME
  1467. label.Parent = PARENT
  1468. return label
  1469. end
  1470.  
  1471. function NoOutlines(PART)
  1472. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1473. end
  1474.  
  1475.  
  1476. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1477. local NEWWELD = IT(TYPE)
  1478. NEWWELD.Part0 = PART0
  1479. NEWWELD.Part1 = PART1
  1480. NEWWELD.C0 = C0
  1481. NEWWELD.C1 = C1
  1482. NEWWELD.Parent = PARENT
  1483. return NEWWELD
  1484. end
  1485.  
  1486. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1487. local NEWSOUND = IT("Sound", PARENT)
  1488. NEWSOUND.Volume = VOLUME
  1489. NEWSOUND.Pitch = PITCH
  1490. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1491. coroutine.resume(coroutine.create(function()
  1492. Swait()
  1493. NEWSOUND:play()
  1494. repeat Swait() until NEWSOUND.Playing == false
  1495. NEWSOUND:remove()
  1496. end))
  1497. return NEWSOUND
  1498. end
  1499.  
  1500. function CFrameFromTopBack(at, top, back)
  1501. local right = top:Cross(back)
  1502. 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)
  1503. end
  1504.  
  1505. function Lightning(POSITION1, POSITION2, MULTIPLIERTIME, LIGHTNINGDELAY, OFFSET, BRICKCOLOR, MATERIAL, SIZE, TRANSPARENCY, LASTINGTIME)
  1506. local MAGNITUDE = (POSITION1 - POSITION2).magnitude
  1507. local CURRENTPOSITION = POSITION1
  1508. local LIGHTNINGOFFSET = {-OFFSET, OFFSET}
  1509. coroutine.resume(coroutine.create(function()
  1510. for i = 1, MULTIPLIERTIME do
  1511. local LIGHTNINGPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR,"Effect", VT(SIZE * Player_Size, SIZE * Player_Size, MAGNITUDE / MULTIPLIERTIME))
  1512. LIGHTNINGPART.Anchored = true
  1513. local LIGHTNINGOFFSET2 = VT(LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)])
  1514. local LIGHTNINGPOSITION1 = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME).p + LIGHTNINGOFFSET2
  1515. if MULTIPLIERTIME == i then
  1516. local LIGHTNINGMAGNITUDE1 = (CURRENTPOSITION - POSITION2).magnitude
  1517. LIGHTNINGPART.Size = VT(SIZE * Player_Size, SIZE * Player_Size, LIGHTNINGMAGNITUDE1)
  1518. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, -LIGHTNINGMAGNITUDE1 / 2)
  1519. else
  1520. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, LIGHTNINGPOSITION1) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2)
  1521. end
  1522. CURRENTPOSITION=LIGHTNINGPART.CFrame * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2).p
  1523. game.Debris:AddItem(LIGHTNINGPART, LASTINGTIME)
  1524. coroutine.resume(coroutine.create(function()
  1525. while LIGHTNINGPART.Transparency ~= 1 do
  1526. --local StartTransparency = tra
  1527. for i=0, 1, LASTINGTIME do
  1528. Swait()
  1529. LIGHTNINGPART.Transparency = LIGHTNINGPART.Transparency + (0.1 / LASTINGTIME)
  1530. end
  1531. end
  1532. end))
  1533. Swait(LIGHTNINGDELAY / Animation_Speed)
  1534. end
  1535. end))
  1536. end
  1537.  
  1538. function MagicBlock(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1539. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1540. EFFECTPART.Anchored = true
  1541. EFFECTPART.CFrame = CFRAME
  1542. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1543. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1544. coroutine.resume(coroutine.create(function(PART, MESH)
  1545. for i = 0, 1, delay do
  1546. Swait()
  1547. PART.CFrame = PART.CFrame * ROTATION
  1548. PART.Transparency = i
  1549. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1550. end
  1551. PART.Parent = nil
  1552. end), EFFECTPART, EFFECTMESH)
  1553. end
  1554.  
  1555. function MagicSphere(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1556. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1557. EFFECTPART.Anchored = true
  1558. EFFECTPART.CFrame = CFRAME
  1559. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Sphere", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1560. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1561. coroutine.resume(coroutine.create(function(PART, MESH)
  1562. for i = 0, 1, delay do
  1563. Swait()
  1564. PART.CFrame = PART.CFrame * ROTATION
  1565. PART.Transparency = i
  1566. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1567. end
  1568. PART.Parent = nil
  1569. end), EFFECTPART, EFFECTMESH)
  1570. end
  1571.  
  1572. function MagicCylinder(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1573. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1574. EFFECTPART.Anchored = true
  1575. EFFECTPART.CFrame = CFRAME
  1576. local EFFECTMESH = CreateMesh("CylinderMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1577. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1578. coroutine.resume(coroutine.create(function(PART, MESH)
  1579. for i = 0, 1, delay do
  1580. Swait()
  1581. PART.CFrame = PART.CFrame * ROTATION
  1582. PART.Transparency = i
  1583. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1584. end
  1585. PART.Parent = nil
  1586. end), EFFECTPART, EFFECTMESH)
  1587. end
  1588.  
  1589. function MagicHead(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1590. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1591. EFFECTPART.Anchored = true
  1592. EFFECTPART.CFrame = CFRAME
  1593. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Head", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1594. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1595. coroutine.resume(coroutine.create(function(PART, MESH)
  1596. for i = 0, 1, delay do
  1597. Swait()
  1598. PART.CFrame = PART.CFrame * ROTATION
  1599. PART.Transparency = i
  1600. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1601. end
  1602. PART.Parent = nil
  1603. end), EFFECTPART, EFFECTMESH)
  1604. end
  1605.  
  1606. function MagicRing(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1607. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1608. EFFECTPART.Anchored = true
  1609. EFFECTPART.CFrame = CFRAME
  1610. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "3270017", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1611. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1612. coroutine.resume(coroutine.create(function(PART, MESH)
  1613. for i = 0, 1, delay do
  1614. Swait()
  1615. PART.CFrame = PART.CFrame * ROTATION
  1616. PART.Transparency = i
  1617. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1618. end
  1619. PART.Parent = nil
  1620. end), EFFECTPART, EFFECTMESH)
  1621. end
  1622.  
  1623. function MagicWave(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1624. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1625. EFFECTPART.Anchored = true
  1626. EFFECTPART.CFrame = CFRAME
  1627. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "20329976", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), VT(0, 0, (-0.1 * Z1)) + (OFFSET * Player_Size))
  1628. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1629. coroutine.resume(coroutine.create(function(PART, MESH)
  1630. for i = 0, 1, delay do
  1631. Swait()
  1632. PART.CFrame = PART.CFrame * ROTATION
  1633. PART.Transparency = i
  1634. MESH.Offset = VT(0, 0, (-0.1 * MESH.Scale.Z))
  1635. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1636. end
  1637. PART.Parent = nil
  1638. end), EFFECTPART, EFFECTMESH)
  1639. end
  1640.  
  1641. function MagicCrystal(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1642. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1643. EFFECTPART.Anchored = true
  1644. EFFECTPART.CFrame = CFRAME
  1645. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "9756362", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1646. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1647. coroutine.resume(coroutine.create(function(PART, MESH)
  1648. for i = 0, 1, delay do
  1649. Swait()
  1650. PART.CFrame = PART.CFrame * ROTATION
  1651. PART.Transparency = i
  1652. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1653. end
  1654. PART.Parent = nil
  1655. end), EFFECTPART, EFFECTMESH)
  1656. end
  1657.  
  1658. function MagicSwirl(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1659. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1660. EFFECTPART.Anchored = true
  1661. EFFECTPART.CFrame = CFRAME
  1662. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1051557", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1663. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1664. coroutine.resume(coroutine.create(function(PART, MESH)
  1665. for i = 0, 1, delay do
  1666. Swait()
  1667. PART.CFrame = PART.CFrame * ROTATION
  1668. PART.Transparency = i
  1669. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1670. end
  1671. PART.Parent = nil
  1672. end), EFFECTPART, EFFECTMESH)
  1673. end
  1674.  
  1675. function MagicSharpCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1676. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1677. EFFECTPART.Anchored = true
  1678. EFFECTPART.CFrame = CFRAME
  1679. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1778999", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1680. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1681. coroutine.resume(coroutine.create(function(PART, MESH)
  1682. for i = 0, 1, delay do
  1683. Swait()
  1684. PART.CFrame = PART.CFrame * ROTATION
  1685. PART.Transparency = i
  1686. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1687. end
  1688. PART.Parent = nil
  1689. end), EFFECTPART, EFFECTMESH)
  1690. end
  1691.  
  1692. function MagicFlatCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1693. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1694. EFFECTPART.Anchored = true
  1695. EFFECTPART.CFrame = CFRAME
  1696. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1033714", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1697. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1698. coroutine.resume(coroutine.create(function(PART, MESH)
  1699. for i = 0, 1, delay do
  1700. Swait()
  1701. PART.CFrame = PART.CFrame * ROTATION
  1702. PART.Transparency = i
  1703. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1704. end
  1705. PART.Parent = nil
  1706. end), EFFECTPART, EFFECTMESH)
  1707. end
  1708.  
  1709. function MagicSpikedCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1710. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1711. EFFECTPART.Anchored = true
  1712. EFFECTPART.CFrame = CFRAME
  1713. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1323306", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1714. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1715. coroutine.resume(coroutine.create(function(PART, MESH)
  1716. for i = 0, 1, delay do
  1717. Swait()
  1718. PART.CFrame = PART.CFrame * ROTATION
  1719. PART.Transparency = i
  1720. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1721. end
  1722. PART.Parent = nil
  1723. end), EFFECTPART, EFFECTMESH)
  1724. end
  1725.  
  1726. function MagicFlatCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1727. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1728. EFFECTPART.Anchored = true
  1729. EFFECTPART.CFrame = CFRAME
  1730. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1078075", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1731. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1732. coroutine.resume(coroutine.create(function(PART, MESH)
  1733. for i = 0, 1, delay do
  1734. Swait()
  1735. PART.CFrame = PART.CFrame * ROTATION
  1736. PART.Transparency = i
  1737. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1738. end
  1739. PART.Parent = nil
  1740. end), EFFECTPART, EFFECTMESH)
  1741. end
  1742.  
  1743. function MagicSkull(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1744. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1745. EFFECTPART.Anchored = true
  1746. EFFECTPART.CFrame = CFRAME
  1747. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1748. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1749. coroutine.resume(coroutine.create(function(PART, MESH)
  1750. for i = 0, 1, delay do
  1751. Swait()
  1752. PART.CFrame = PART.CFrame * ROTATION
  1753. PART.Transparency = i
  1754. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1755. end
  1756. PART.Parent = nil
  1757. end), EFFECTPART, EFFECTMESH)
  1758. end
  1759.  
  1760. function ElectricEffect(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X, Y, Z, delay)
  1761. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1762. EFFECTPART.Anchored = true
  1763. EFFECTPART.CFrame = CFRAME
  1764. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X * Player_Size, Y * Player_Size, Z * Player_Size), OFFSET * Player_Size)
  1765. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1766. local XVALUE = MRANDOM()
  1767. local YVALUE = MRANDOM()
  1768. local ZVALUE = MRANDOM()
  1769. coroutine.resume(coroutine.create(function(PART, MESH, THEXVALUE, THEYVALUE, THEZVALUE)
  1770. for i = 0, 1, delay do
  1771. Swait()
  1772. PART.CFrame = PART.CFrame * ROTATION
  1773. PART.Transparency = i
  1774. THEXVALUE = THEXVALUE - 0.1 * (delay * 10)
  1775. THEYVALUE = THEYVALUE - 0.1 * (delay * 10)
  1776. THEZVALUE = THEZVALUE - 0.1 * (delay * 10)
  1777. MESH.Scale = MESH.Scale + VT(THEXVALUE * Player_Size, THEYVALUE * Player_Size, THEZVALUE * Player_Size)
  1778. end
  1779. PART.Parent = nil
  1780. end), EFFECTPART, EFFECTMESH, XVALUE, YVALUE, ZVALUE)
  1781. end
  1782.  
  1783. function TrailEffect(BRICKCOLOR, MATERIAL, CURRENTCFRAME, OLDCFRAME, MESHTYPE, REFLECTANCE, SIZE, ROTATION, X, Y, Z, delay)
  1784. local MAGNITUDECFRAME = (CURRENTCFRAME.p - OLDCFRAME.p).magnitude
  1785. if MAGNITUDECFRAME > (1 / 100) then
  1786. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT(1, MAGNITUDECFRAME, 1))
  1787. EFFECTPART.Anchored = true
  1788. EFFECTPART.CFrame = CF((CURRENTCFRAME.p + OLDCFRAME.p) / 2, OLDCFRAME.p) * ANGLES(RAD(90), 0, 0)
  1789. local THEMESHTYPE = "BlockMesh"
  1790. if MESHTYPE == "Cylinder" then
  1791. THEMESHTYPE = "CylinderMesh"
  1792. end
  1793. local EFFECTMESH = CreateMesh(THEMESHTYPE, EFFECTPART, "", "", "", VT(0 + SIZE * Player_Size, 1, 0 + SIZE * Player_Size), VT(0, 0, 0))
  1794. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1795. coroutine.resume(coroutine.create(function(PART, MESH)
  1796. for i = 0, 1, delay do
  1797. Swait()
  1798. PART.CFrame = PART.CFrame * ROTATION
  1799. PART.Transparency = i
  1800. MESH.Scale = MESH.Scale + VT(X * Player_Size, Y * Player_Size, Z * Player_Size)
  1801. end
  1802. PART.Parent = nil
  1803. end), EFFECTPART, EFFECTMESH)
  1804. end
  1805. end
  1806.  
  1807. function ClangEffect(BRICKCOLOR, MATERIAL, CFRAME, ANGLE, DURATION, SIZE, POWER, REFLECTANCE, X, Y, Z, delay)
  1808. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 1, BRICKCOLOR, "Effect", VT())
  1809. EFFECTPART.Anchored = true
  1810. EFFECTPART.CFrame = CFRAME
  1811. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(0, 0, 0), VT(0, 0, 0))
  1812. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1813. local THELASTPOINT = CFRAME
  1814. coroutine.resume(coroutine.create(function(PART)
  1815. for i = 1, DURATION do
  1816. Swait()
  1817. PART.CFrame = PART.CFrame * ANGLES(RAD(ANGLE), 0, 0) * CF(0, POWER * Player_Size, 0)
  1818. TrailEffect(BRICKCOLOR, MATERIAL, PART.CFrame, THELASTPOINT, "Cylinder", REFLECTANCE, SIZE * Player_Size, ANGLES(0, 0, 0), X * Player_Size, Y * Player_Size, Z * Player_Size, delay)
  1819. THELASTPOINT = PART.CFrame
  1820. end
  1821. PART.Parent = nil
  1822. end), EFFECTPART)
  1823. end
  1824.  
  1825. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset)
  1826. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Torso.BrickColor, "Effect", VT(0,0,0))
  1827. local mesh = IT("SpecialMesh",wave)
  1828. mesh.MeshType = "FileMesh"
  1829. mesh.MeshId = ""
  1830. mesh.Scale = VT(size,size,size)
  1831. mesh.Offset = VT(0,0,-size/8)
  1832. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  1833. coroutine.resume(coroutine.create(function(PART)
  1834. for i = 1, waitt do
  1835. Swait()
  1836. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1837. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1838. if doesrotate == true then
  1839. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1840. end
  1841. wave.Transparency = wave.Transparency + (0.5/waitt)
  1842. if wave.Transparency > 0.99 then
  1843. wave:remove()
  1844. end
  1845. end
  1846. end))
  1847. end
  1848.  
  1849. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,part,offset,spin1,spin2)
  1850. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Torso.BrickColor, "Effect", VT(0,0,0))
  1851. local mesh = IT("SpecialMesh",wave)
  1852. mesh.MeshType = "FileMesh"
  1853. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1854. mesh.Scale = VT(size,size,size)
  1855. mesh.Offset = VT(0,0,0)
  1856. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  1857. coroutine.resume(coroutine.create(function(PART)
  1858. for i = 1, waitt do
  1859. Swait()
  1860. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1861. if doesrotate == true then
  1862. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  1863. end
  1864. wave.Transparency = wave.Transparency + (0.5/waitt)
  1865. if wave.Transparency > 0.99 then
  1866. wave:remove()
  1867. end
  1868. end
  1869. end))
  1870. end
  1871.  
  1872. function CreatePentagram(size,doesrotate,rotatedirection,waitt,cframe,offset)
  1873. local sinkhole = IT("Part",Effects)
  1874. sinkhole.Size = VT(size,0,size)
  1875. sinkhole.CFrame = cframe * CF(0,offset,0)
  1876. sinkhole.Material = "Neon"
  1877. sinkhole.Color = C3(170, 0, 170)
  1878. sinkhole.Anchored = true
  1879. sinkhole.CanCollide = false
  1880. sinkhole.Transparency = 1
  1881. local decal = IT("Decal",sinkhole)
  1882. decal.Face = "Top"
  1883. decal.Texture = "http://www.roblox.com/asset/?id=177470914"
  1884. coroutine.resume(coroutine.create(function(PART)
  1885. for i = 1, waitt do
  1886. Swait()
  1887. if doesrotate == true then
  1888. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1889. end
  1890. if i > waitt-11 then
  1891. decal.Transparency = decal.Transparency + 0.1
  1892. end
  1893. end
  1894. sinkhole:remove()
  1895. end))
  1896. return sinkhole
  1897. end
  1898.  
  1899. --local list={}
  1900. function Triangle(Color, Material, a, b, c, delay)
  1901. local edge1 = (c - a):Dot((b - a).unit)
  1902. local edge2 = (a - b):Dot((c - b).unit)
  1903. local edge3 = (b - c):Dot((a - c).unit)
  1904. if edge1 <= (b - a).magnitude and edge1 >= 0 then
  1905. a, b, c=a, b, c
  1906. elseif edge2 <= (c - b).magnitude and edge2 >= 0 then
  1907. a, b, c=b, c, a
  1908. elseif edge3 <= (a - c).magnitude and edge3 >= 0 then
  1909. a, b, c=c, a, b
  1910. else
  1911. assert(false, "unreachable")
  1912. end
  1913. local len1 = (c - a):Dot((b - a).unit)
  1914. local len2 = (b - a).magnitude - len1
  1915. local width = (a + (b - a).unit * len1 - c).magnitude
  1916. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, - (b - a).unit)
  1917. if len1 > 1 / 100 then
  1918. local sz = VT(0.2, width, len1)
  1919. local w1 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1920. local sp = CreateMesh("SpecialMesh", w1, "Wedge", "", "", VT(0, 1, 1) * sz / w1.Size, VT(0, 0, 0))
  1921. w1.Anchored = true
  1922. w1.CFrame = maincf * ANGLES(math.pi, 0, math.pi / 2) * CF(0, width / 2, len1 / 2)
  1923. coroutine.resume(coroutine.create(function()
  1924. for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1925. Swait()
  1926. w1.Transparency = i
  1927. end
  1928. w1.Parent = nil
  1929. end))
  1930. game:GetService("Debris"):AddItem(w1, 10)
  1931. --table.insert(list, w1)
  1932. end
  1933. if len2 > 1 / 100 then
  1934. local sz = VT(0.2, width, len2)
  1935. local w2 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1936. local sp = CreateMesh("SpecialMesh", w2, "Wedge", "", "", VT(0, 1, 1) * sz / w2.Size, VT(0, 0, 0))
  1937. w2.Anchored = true
  1938. w2.CFrame = maincf * ANGLES(math.pi, math.pi, -math.pi / 2) * CF(0, width / 2, -len1 - len2 / 2)
  1939. coroutine.resume(coroutine.create(function()
  1940. for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1941. Swait()
  1942. w2.Transparency = i
  1943. end
  1944. w2.Parent = nil
  1945. end))
  1946. game:GetService("Debris"):AddItem(w2, 10)
  1947. --table.insert(list, w2)
  1948. end
  1949. --return unpack(list)
  1950. end
  1951.  
  1952. --[[Usage:
  1953. local Pos = Part
  1954. local Offset = Part.CFrame * CF(0, 0, 0)
  1955. local Color = "Institutional white"
  1956. local Material = "Neon"
  1957. local TheDelay = 0.01
  1958. local Height = 4
  1959. BLCF = Offset
  1960. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  1961. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  1962. if a then game:GetService("Debris"):AddItem(a, 1) end
  1963. if b then game:GetService("Debris"):AddItem(b, 1) end
  1964. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  1965. if a then game:GetService("Debris"):AddItem(a, 1) end
  1966. if b then game:GetService("Debris"):AddItem(b, 1) end
  1967. SCFR = BLCF
  1968. elseif not SCFR then
  1969. SCFR = BLCF
  1970. end
  1971. --
  1972. BLCF = nil
  1973. SCFR = nil
  1974. --]]
  1975.  
  1976. --//=================================\\
  1977. --\\=================================//
  1978.  
  1979. if Player_Size ~= 1 then
  1980. RootPart.Size = RootPart.Size * Player_Size
  1981. Torso.Size = Torso.Size * Player_Size
  1982. Head.Size = Head.Size * Player_Size
  1983. RightArm.Size = RightArm.Size * Player_Size
  1984. LeftArm.Size = LeftArm.Size * Player_Size
  1985. RightLeg.Size = RightLeg.Size * Player_Size
  1986. LeftLeg.Size = LeftLeg.Size * Player_Size
  1987. RootJoint.Parent = RootPart
  1988. Neck.Parent = Torso
  1989. RightShoulder.Parent = Torso
  1990. LeftShoulder.Parent = Torso
  1991. RightHip.Parent = Torso
  1992. LeftHip.Parent = Torso
  1993.  
  1994. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1995. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1996. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1997. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1998. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  1999. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  2000. --if Disable_Moving_Arms == false then
  2001. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  2002. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  2003. --else
  2004. --RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  2005. --LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  2006. --end
  2007. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2008. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2009. RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2010. LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2011. end
  2012.  
  2013. --//=================================\\
  2014. --|| WEAPON CREATION
  2015. --\\=================================//
  2016.  
  2017. if Player_Size ~= 1 then
  2018. for _, v in pairs (Weapon:GetChildren()) do
  2019. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  2020. local p1 = v.Part1
  2021. v.Part1 = nil
  2022. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  2023. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  2024. v.Part1 = p1
  2025. elseif v.ClassName == "Part" then
  2026. for _, b in pairs (v:GetChildren()) do
  2027. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  2028. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  2029. end
  2030. end
  2031. end
  2032. end
  2033. end
  2034.  
  2035. createaccessory(Head,"","",VT(1, 1, 1),VT(0, 0.25, 0.1),BrickColor.new"Really black")
  2036.  
  2037.  
  2038. local AT1 = IT("Attachment",RightArm)
  2039. AT1.Position = VT(0,-1.15,0)
  2040. local AT2 = IT("Attachment",LeftArm)
  2041. AT2.Position = VT(0,-1.15,0)
  2042.  
  2043. Humanoid.HealthChanged:connect(function()
  2044. end)
  2045.  
  2046. local EyeSizes={
  2047. NumberSequenceKeypoint.new(0,1.2,0),
  2048. NumberSequenceKeypoint.new(1,0,0)
  2049. }
  2050. local EyeTrans={
  2051. NumberSequenceKeypoint.new(0,0.8,0),
  2052. NumberSequenceKeypoint.new(1,1,0)
  2053. }
  2054. local PE=Instance.new("ParticleEmitter")
  2055. PE.LightEmission=0
  2056. PE.Size=NumberSequence.new(EyeSizes)
  2057. PE.Transparency=NumberSequence.new(EyeTrans)
  2058. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  2059. PE.Rotation=NumberRange.new(0,360)
  2060. PE.Rate=999
  2061. PE.Acceleration = Vector3.new(0,0,0)
  2062. PE.Drag = 5
  2063. PE.LockedToPart = false
  2064. PE.Speed = NumberRange.new(0,0,0)
  2065. PE.Rotation = NumberRange.new(-100, 100)
  2066. PE.RotSpeed = NumberRange.new(-100, 100)
  2067. PE.Texture="http://www.roblox.com/asset/?id=669492379"
  2068. PE.Color = ColorSequence.new(Color3.new(170, 0, 170))
  2069. PE.ZOffset = 0
  2070. PE.Name = "Reign"
  2071. PE.Enabled = false
  2072. PE.VelocitySpread = 10000
  2073.  
  2074. function particles(art)
  2075. local o = PE:Clone()
  2076. o.Parent = art
  2077. o.Enabled = true
  2078. return o
  2079. end
  2080.  
  2081. particles(AT1)
  2082. particles(AT2)
  2083.  
  2084. createbodypart("Gem","Magenta",Torso,VT(0, 0.2, 0.5),VT(0.6,1.5,0.5))
  2085. createbodypart("Gem","Magenta",Torso,VT(0, -0.2, 0.5),VT(0.2,1,0.5))
  2086. createbodypart("Gem","Magenta",Torso,VT(-0.3, 0.5, 0.5),VT(0.5,0.8,0.2))
  2087. createbodypart("Gem","Magenta",Torso,VT(0.3, 0.5, 0.5),VT(0.5,0.8,0.2))
  2088.  
  2089. ---ribs---
  2090. createbodypart("Gem","Magenta",Torso,VT(0.6, 0.9, -0.57),VT(0.8,0.2,0.2))
  2091. createbodypart("Gem","Magenta",Torso,VT(-0.6, 0.9, -0.57),VT(0.8,0.2,0.2))
  2092.  
  2093. createbodypart("Gem","Magenta",Torso,VT(0.7, 0.5, -0.57),VT(0.6,0.2,0.2))
  2094. createbodypart("Gem","Magenta",Torso,VT(-0.7, 0.5, -0.57),VT(0.6,0.2,0.2))
  2095.  
  2096. createbodypart("Gem","Magenta",Torso,VT(0.8, 0.2, -0.57),VT(0.4,0.2,0.2))
  2097. createbodypart("Gem","Magenta",Torso,VT(-0.8, 0.2, -0.57),VT(0.4,0.2,0.2))
  2098. ----------
  2099.  
  2100.  
  2101.  
  2102. for _, c in pairs(Weapon:GetChildren()) do
  2103. if c.ClassName == "Part" then
  2104. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2105. end
  2106. end
  2107.  
  2108. Weapon.Parent = Character
  2109.  
  2110. Humanoid.Died:connect(function()
  2111. end)
  2112.  
  2113. print(Class_Name.." loaded.")
  2114.  
  2115. --//=================================\\
  2116. --\\=================================//
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122. --//=================================\\
  2123. --|| DAMAGE FUNCTIONS
  2124. --\\=================================//
  2125.  
  2126. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  2127. local STATPART = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Effect", VT())
  2128. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  2129. local BODYGYRO = IT("BodyGyro", STATPART)
  2130. local BODYPOSITION = IT("BodyPosition", STATPART)
  2131. BODYPOSITION.P = 2000
  2132. BODYPOSITION.D = 100
  2133. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  2134. if LABELTYPE == "Normal" then
  2135. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  2136. elseif LABELTYPE == "Debuff" then
  2137. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  2138. elseif LABELTYPE == "Interruption" then
  2139. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  2140. end
  2141. game:GetService("Debris"):AddItem(STATPART ,5)
  2142. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  2143. BILLBOARDGUI.Adornee = STATPART
  2144. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  2145. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  2146. BILLBOARDGUI.AlwaysOnTop = true
  2147. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  2148. TEXTLABEL.BackgroundTransparency = 1
  2149. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  2150. TEXTLABEL.Text = TEXT
  2151. TEXTLABEL.Font = "Antique"
  2152. TEXTLABEL.FontSize="Size42"
  2153. TEXTLABEL.TextColor3 = COLOR
  2154. TEXTLABEL.TextStrokeTransparency = 1
  2155. TEXTLABEL.TextScaled = true
  2156. TEXTLABEL.TextWrapped = true
  2157. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  2158. wait(0.2)
  2159. for i=1, 5 do
  2160. wait()
  2161. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  2162. end
  2163. wait(1.2)
  2164. for i=1, 5 do
  2165. wait()
  2166. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  2167. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  2168. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  2169. end
  2170. THEPART.Parent = nil
  2171. end),STATPART, BODYPOSITION, TEXTLABEL)
  2172. end
  2173.  
  2174.  
  2175. --//=================================\\
  2176. --|| DAMAGING
  2177. --\\=================================//
  2178.  
  2179.  
  2180.  
  2181. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  2182. end
  2183.  
  2184. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  2185. end
  2186.  
  2187. function killnearest(position,range,maxstrength)
  2188. end
  2189.  
  2190. --//=================================\\
  2191. --|| ATTACK FUNCTIONS AND STUFF
  2192. --\\=================================//
  2193.  
  2194. Humanoid.HealthChanged:connect(function()
  2195. end)
  2196.  
  2197. function clerp(a, b, t)
  2198. return a:lerp(b, t)
  2199. end
  2200.  
  2201. function newBezier(startpos, pos2, pos3, endpos, t)
  2202. local A = clerp(startpos, pos2, t)
  2203. local B = clerp(pos2, pos3, t)
  2204. local C = clerp(pos3, endpos, t)
  2205. local lerp1 = clerp(A, B, t)
  2206. local lerp2 = clerp(B, C, t)
  2207. local cubic = clerp(lerp1, lerp2, t)
  2208. return cubic
  2209. end
  2210.  
  2211. function Mortar(Target)
  2212. local newball = Instance.new("Part", workspace)
  2213. newball.Anchored = true
  2214. newball.Shape = "Ball"
  2215. newball.Material = "Neon"
  2216. newball.Size = Vector3.new(2, 2, 2)
  2217. newball.CanCollide = false
  2218. newball.CFrame = Target.CFrame
  2219. newball.BrickColor = BrickColor.new("Magenta")
  2220. newball.Transparency = 0.5
  2221. local Cys = Instance.new("SpecialMesh", newball)
  2222. Cys.MeshType = "FileMesh"
  2223. Cys.MeshId = "rbxassetid://9756362"
  2224. Cys.Scale = Vector3.new(1, 1, 1)
  2225. local onefourth = Target.Position:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  2226. local threefourths = Target.Position:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  2227. local MPos = Mouse.Hit.p
  2228. local A1 = IT("Attachment",newball)
  2229. A1.Position = Vector3.new(0, 1, 0)
  2230. local A2 = IT("Attachment",newball)
  2231. A2.Position = Vector3.new(0, -1, 0)
  2232. local Trail = IT("Trail",newball)
  2233. Trail.LightEmission = 1
  2234. Trail.FaceCamera = true
  2235. Trail.Texture = "rbxassetid://945758042"
  2236. Trail.Attachment0 = A1
  2237. Trail.Attachment1 = A2
  2238. Trail.Lifetime = 0.5
  2239. Trail.MinLength = 0
  2240. Trail.Transparency = NumberSequence.new(0.3, 1)
  2241. Trail.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
  2242. coroutine.resume(coroutine.create(function()
  2243. local loop = 0
  2244. for i = 0, 1, 0.07 do
  2245. Swait()
  2246. loop = loop + 1
  2247. if loop == 1 then
  2248. CreateRing(0,3,true,-0.2,15,newball,0,0.3,-0.3)
  2249. elseif loop == 2 then
  2250. CreateRing(0,3,true,-0.2,15,newball,0,-0.3,0.3)
  2251. loop = 1
  2252. end
  2253. newball.CFrame = CFrame.new(newBezier(Target.Position, onefourth, threefourths, MPos, i))
  2254. end
  2255. killnearest(newball.Position,5,10)
  2256. MagicSphere("Magenta", "Neon", CF(newball.Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), 0.25, 0.25, 0.25, 7.5, 7.5, 7.5, 0.05)
  2257. MagicBlock("Magenta", "Neon", CF(newball.Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), 0.25, 0.25, 0.25, 7.5, 7.5,7.5, 0.05)
  2258. newball.Transparency = 1
  2259. CreateSound("971125740", newball, 10, 1)
  2260. for i = 1, 7 do
  2261. coroutine.resume(coroutine.create(function()
  2262. local ray = IT("Part",Effects)
  2263. ray.Size = VT(newball.Size.Y,newball.Size.Y/10,newball.Size.Y/10)
  2264. ray.CFrame = CFrame.new(newball.Position,Vector3.new(newball.Position.X+math.random(-360,360),newball.Position.Y+math.random(-360,360),newball.Position.Z+math.random(-360,360)))
  2265. local mesh = IT("BlockMesh",ray)
  2266. ray.Anchored = true
  2267. ray.CanCollide = false
  2268. ray.Material = newball.Material
  2269. ray.Color = newball.Color
  2270. table.insert(Effects2,{ray,"Block1",0.04,1,0,0,2})
  2271. end))
  2272. end
  2273. game:GetService("Debris"):AddItem(newball, 5)
  2274. end))
  2275. end
  2276.  
  2277. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  2278. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  2279. end
  2280.  
  2281. function JumpUp()
  2282. ATTACK = true
  2283. --Rooted = true
  2284. for i=0, 2, 0.1 / Animation_Speed do
  2285. Swait()
  2286. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2287. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2288. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2289. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2290. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2291. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2292. end
  2293. CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10)
  2294. CreateWave(0,3.5,true,0.2,150,RootPart,-2)
  2295. CreateWave(0,5,true,-0.2,150,RootPart,-2)
  2296. local bv = Instance.new("BodyVelocity")
  2297. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2298. bv.velocity = Vector3.new(0,300,0)
  2299. bv.Parent = Torso
  2300. bv.Name = "DASH"
  2301. ATTACK = false
  2302. --Rooted = false
  2303. game:GetService("Debris"):AddItem(bv, 0.5)
  2304. coroutine.resume(coroutine.create(function()
  2305. Swait(50)
  2306. HASJUMPED = false
  2307. end))
  2308. end
  2309.  
  2310.  
  2311. function attacktemplate()
  2312. ATTACK = true
  2313. for i=0, 1, 0.1 / Animation_Speed do
  2314. Swait()
  2315. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2316. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2317. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2318. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2319. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2320. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2321. end
  2322. ATTACK = false
  2323. end
  2324.  
  2325.  
  2326. function Attack1()
  2327. Rooted = true
  2328. ATTACK = true
  2329. for i=0, 1, 0.1 / Animation_Speed do
  2330. Swait()
  2331. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2332. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2333. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2334. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2335. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2336. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2337. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2338. break
  2339. end
  2340. end
  2341. CreatePentagram(15,true,0.1,45,CF(RootPart.Position),-3)
  2342. local paw = RightArm.Touched:Connect(function(hit)
  2343. dealdamage(hit,9999,9999,9000,false,9999,9999)
  2344. end)
  2345. local bv = Instance.new("BodyVelocity")
  2346. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2347. bv.velocity = RootPart.CFrame.lookVector * 50
  2348. bv.Parent = Torso
  2349. bv.Name = "DASH"
  2350. ATTACK = false
  2351. Rooted = false
  2352. game:GetService("Debris"):AddItem(bv, 0.05)
  2353. for i=0, 1, 0.1 / Animation_Speed do
  2354. Swait()
  2355. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2356. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2357. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(10)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2358. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2359. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(40), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2360. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-35), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2361. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2362. break
  2363. end
  2364. end
  2365. COMBO = 2
  2366. paw:disconnect()
  2367. BLCF = nil
  2368. SCFR = nil
  2369. ATTACK = false
  2370. Rooted = false
  2371. end
  2372.  
  2373. function Attack2()
  2374. Rooted = true
  2375. ATTACK = true
  2376. for i=0, 1, 0.1 / Animation_Speed do
  2377. Swait()
  2378. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2379. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-10)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2380. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2381. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2382. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2383. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  2384. end
  2385. CreatePentagram(15,true,-0.1,45,CF(RootPart.Position),-3)
  2386. local paw = LeftArm.Touched:Connect(function(hit)
  2387. dealdamage(hit,9999,9999,9000,false,9999,9999)
  2388. end)
  2389. local bv = Instance.new("BodyVelocity")
  2390. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2391. bv.velocity = RootPart.CFrame.lookVector * 50
  2392. bv.Parent = Torso
  2393. bv.Name = "DASH"
  2394. ATTACK = false
  2395. Rooted = false
  2396. game:GetService("Debris"):AddItem(bv, 0.05)
  2397. for i=0, 1.5, 0.1 / Animation_Speed do
  2398. Swait()
  2399. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-90)), 0.4 / Animation_Speed)
  2400. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2401. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2402. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2403. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2404. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  2405. end
  2406. COMBO = 3
  2407. paw:disconnect()
  2408. ATTACK = false
  2409. Rooted = false
  2410. end
  2411.  
  2412. function Attack3()
  2413. ATTACK = true
  2414. Rooted = true
  2415. for i=0, 1, 0.1 / Animation_Speed do
  2416. Swait()
  2417. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2418. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2419. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, -0.2 * Player_Size, 0.3 * Player_Size) * ANGLES(RAD(50), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2420. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2421. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2422. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2423. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2424. break
  2425. end
  2426. end
  2427. for i=0, 1, 0.1 / Animation_Speed do
  2428. Swait()
  2429. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2430. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2431. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2432. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2433. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2434. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2435. end
  2436. for i=0, 1, 0.1 / Animation_Speed*7 do
  2437. Swait()
  2438. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2439. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2440. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2441. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2442. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -4.7 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(45), RAD(45), RAD(0)), 0.2 / Animation_Speed)
  2443. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed*5)
  2444. end
  2445. CreateSound("2248511", RightLeg, 2, 1)
  2446. CreateWave(0,3.5,true,0.2,25,RightLeg,-1)
  2447. CreateWave(0,3,true,-0.2,25,RightLeg,-1)
  2448. CreateWave(0,2.5,true,0.2,25,RightLeg,-1)
  2449. CreateWave(0,2,true,-0.2,25,RightLeg,-1)
  2450. AoEDamage(RightLeg.Position,15,25,30,15,false,5,3,true)
  2451. COMBO = 1
  2452. Rooted = false
  2453. ATTACK = false
  2454. end
  2455.  
  2456. function Sinnerwave()
  2457. ATTACK = true
  2458. Rooted = true
  2459. for i=0, 2, 0.1 / Animation_Speed do
  2460. Swait()
  2461. Rooted = true
  2462. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.35 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2463. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2464. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2465. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2466. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2467. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(-5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2468. end
  2469. Rooted = true
  2470. local Animation_Speed2 = Animation_Speed/2
  2471. for i=0, 1, 0.1 / Animation_Speed2 do
  2472. Swait()
  2473. Rooted = true
  2474. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  2475. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  2476. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  2477. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  2478. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-15)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  2479. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  2480. end
  2481. CreateWave(0,4,true,0.2,45,RootPart,-5)
  2482. CreateWave(0,4.5,true,-0.2,40,RootPart,-5)
  2483. CreateWave(0,5,true,0.2,35,RootPart,-5)
  2484. CreateWave(0,5.5,true,-0.2,30,RootPart,-5)
  2485. CreateWave(0,6,true,0.2,25,RootPart,-5)
  2486. CreateSound("971126018", Torso, 2, 1)
  2487. coroutine.resume(coroutine.create(function()
  2488. local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -1, 0), (10000), {Character})
  2489. local SpawnPosition = RayPos
  2490. local floor = RayHit
  2491. local needcframe = RootPart.CFrame
  2492. local LastPosition = RootPart.Position
  2493. local Delay = 1
  2494. for i = 1, 6 do
  2495. local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
  2496. local End = RayPos
  2497. LastPosition = End
  2498. local locatepart = Instance.new("Part",Effects)
  2499. locatepart.Size = VT(0.5,0.5,0.5)
  2500. locatepart.Position = End
  2501. locatepart.CanCollide = false
  2502. locatepart.Anchored = true
  2503. locatepart.Transparency = 1
  2504. if SpawnPosition then
  2505. if i ~= 6 then
  2506. CreateSound("971125740", locatepart, 7, 1)
  2507. AoEDamage(End,15,25,30,15,false,5,3,false)
  2508. CreateWave(0,2.5,true,-0.05,25,locatepart,-2)
  2509. CreateWave(0,2,true,0.05,25,locatepart,-2)
  2510. CreateWave(0,1.5,true,-0.05,25,locatepart,-2)
  2511. CreateWave(0,1,true,0.05,25,locatepart,-2)
  2512. else
  2513. CreateRing(0,15,true,-0.2,35,locatepart,0,0.3,0.3)
  2514. CreateRing(0,12.5,true,0.2,35,locatepart,0,0.3,-0.3)
  2515. CreateRing(0,10,true,-0.2,35,locatepart,0,-0.3,0.3)
  2516. CreateRing(0,7.5,true,0.2,35,locatepart,0,-0.3,-0.3)
  2517. CreatePentagram(85,true,-0.05,75,CF(End),0)
  2518. CreateSound("971125740", locatepart, 7, 0.5)
  2519. AoEDamage(End,25,45,60,15,false,5,3,false)
  2520. CreateWave(0,6.5,true,-0.05,45,locatepart,-2)
  2521. CreateWave(0,6,true,0.05,45,locatepart,-2)
  2522. CreateWave(0,5.5,true,-0.05,45,locatepart,-2)
  2523. CreateWave(0,5,true,0.05,45,locatepart,-2)
  2524. local particle = particles(locatepart)
  2525. particle.Enabled = false
  2526. particle.Drag = 1
  2527. particle.Lifetime=NumberRange.new(2.35,2.35,2.35)
  2528. particle.Speed = NumberRange.new(25,25,25)
  2529. particle:Emit(250)
  2530. end
  2531. end
  2532. Swait(5)
  2533. game:GetService("Debris"):AddItem(locatepart, 5)
  2534. end
  2535. end))
  2536. Swait(50)
  2537. ATTACK = false
  2538. Rooted = false
  2539. end
  2540.  
  2541. function ViolentRoar()
  2542. ATTACK = true
  2543. Rooted = true
  2544. for i=0, 2, 0.1 / Animation_Speed do
  2545. Swait()
  2546. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2547. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2548. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2549. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2550. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed*5)
  2551. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  2552. end
  2553. if Head ~= nil then
  2554. local roar = CreateSound("577131694", Head, 10, 1)
  2555. repeat
  2556. for i=0, 1.3, 0.1 / Animation_Speed do
  2557. Swait()
  2558. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  2559. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2560. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(70)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2561. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-120)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2562. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(120), RAD(-35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2563. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2564. end
  2565. killnearest(Head.Position,25,25)
  2566. CreateRing(0,6,true,-0.2,35,Head,0,0.3,-0.3)
  2567. CreateRing(0,6,true,-0.2,35,Head,0,0.3,0.3)
  2568. CreateWave(0,5.5,true,0.05,45,RootPart,-4)
  2569. if roar.Playing == true then
  2570. for i=0, 1.3, 0.1 / Animation_Speed do
  2571. Swait()
  2572. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2573. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2574. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(120)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2575. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-70)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2576. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2577. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-120), RAD(35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2578. end
  2579. killnearest(Head.Position,25,25)
  2580. CreateRing(0,6,true,-0.2,35,Head,0,-0.3,-0.3)
  2581. CreateRing(0,6,true,-0.2,35,Head,0,-0.3,0.3)
  2582. CreateWave(0,5.5,true,-0.05,45,RootPart,-4)
  2583. end
  2584. until roar.Playing == false
  2585. end
  2586. Rooted = false
  2587. ATTACK = false
  2588. end
  2589.  
  2590. function BulletsFromAbove()
  2591. HASJUMPED = true
  2592. --Rooted = true
  2593. for i=0, 2, 0.1 / Animation_Speed do
  2594. Swait()
  2595. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2596. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2597. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2598. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2599. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2600. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2601. end
  2602. CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10)
  2603. CreateWave(0,3.5,true,0.2,150,RootPart,-2)
  2604. CreateWave(0,5,true,-0.2,150,RootPart,-2)
  2605. local bv = Instance.new("BodyVelocity")
  2606. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2607. bv.velocity = Vector3.new(0,300,0)
  2608. bv.Parent = Torso
  2609. bv.Name = "DASH"
  2610. --Rooted = false
  2611. game:GetService("Debris"):AddItem(bv, 0.5)
  2612. Swait(125)
  2613. ATTACK = true
  2614. Rooted = true
  2615. UNANCHOR = false
  2616. RootPart.Anchored = true
  2617. local BulletHolder = IT("Folder",Weapon)
  2618. BulletHolder.Name = "Bullets"
  2619. game:GetService("Debris"):AddItem(BulletHolder, 30)
  2620. for i=0, 5, 0.1 / Animation_Speed do
  2621. Swait()
  2622. Rooted = true
  2623. RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  2624. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.35 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2625. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2626. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2627. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2628. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2629. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(-5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2630. end
  2631. for i = 1 ,15 do
  2632. Swait()
  2633. RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  2634. end
  2635. CreateSound("333476017", Torso, 10, 1)
  2636. for i = 1, 35 do
  2637. Swait()
  2638. RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  2639. coroutine.resume(coroutine.create(function()
  2640. local gem = IT("Part",BulletHolder)
  2641. gem.Size = VT(0.2,0.2,0.2)
  2642. gem.CFrame = Torso.CFrame * CF(math.random(-25,25),math.random(-25,25),math.random(-25,25))
  2643. gem.Anchored = true
  2644. gem.Color = C3(170, 0, 170)
  2645. local e = particles(gem)
  2646. e.LockedToPart = false
  2647. local Cys = Instance.new("SpecialMesh", gem)
  2648. Cys.MeshType = "FileMesh"
  2649. Cys.MeshId = "rbxassetid://9756362"
  2650. Cys.Scale = Vector3.new(2,2,2)
  2651. end))
  2652. end
  2653. local Animation_Speed2 = Animation_Speed/2
  2654. for i=0, 1, 0.1 / Animation_Speed2 do
  2655. Swait()
  2656. --RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  2657. Rooted = true
  2658. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  2659. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  2660. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  2661. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  2662. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-15)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  2663. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  2664. end
  2665. CreateSound("318745457", Torso, 2, 1)
  2666. coroutine.resume(coroutine.create(function()
  2667. q = BulletHolder:GetChildren()
  2668. for i = 1, #q do
  2669. local bullet = q[i]
  2670. local bv = Instance.new("BodyVelocity")
  2671. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2672. bv.velocity = RootPart.CFrame.lookVector * math.random(150,300)
  2673. bv.Parent = bullet
  2674. bv.Name = "DASH"
  2675. bullet.Anchored = false
  2676. local paw = bullet.Touched:Connect(function(hit)
  2677. if bullet.Reign.Enabled == true then
  2678. local cframe = bullet.CFrame
  2679. bullet.Anchored = true
  2680. bullet.Reign.Enabled = false
  2681. local particle = particles(bullet)
  2682. particle.Enabled = false
  2683. particle.Drag = 1
  2684. particle.Name = "poof"
  2685. particle.Lifetime=NumberRange.new(2.35,2.35,2.35)
  2686. particle.Speed = NumberRange.new(25,25,25)
  2687. particle:Emit(250)
  2688. CreateSound("438666196", bullet, 5, 1)
  2689. CreateRing(0,4,true,-0.2,35,bullet,0,0.3,-0.3)
  2690. CreateRing(0,4,true,-0.2,35,bullet,0,0.3,0.3)
  2691. CreateRing(0,6,true,-0.2,35,bullet,0,-0.3,0.3)
  2692. CreateRing(0,6,true,-0.2,35,bullet,0,-0.3,-0.3)
  2693. CreateWave(0,2.5,true,-0.05,25,bullet,-2)
  2694. CreateWave(0,2,true,0.05,25,bullet,-2)
  2695. CreateWave(0,1.5,true,-0.05,25,bullet,-2)
  2696. CreateWave(0,1,true,0.05,25,bullet,-2)
  2697. table.insert(Effects2,{bullet,"Block1",0.025,1,1,1,2})
  2698. AoEDamage(bullet.Position,25,25,30,15,false,5,3,false)
  2699. end
  2700. end)
  2701. end
  2702. end))
  2703. for i = 1, 35 do
  2704. Swait()
  2705. end
  2706. UNANCHOR = true
  2707. RootPart.Anchored = false
  2708. Rooted = false
  2709. ATTACK = false
  2710. coroutine.resume(coroutine.create(function()
  2711. Swait(50)
  2712. HASJUMPED = false
  2713. end))
  2714. end
  2715.  
  2716. function fromthedepths()
  2717. ATTACK = true
  2718. Rooted = true
  2719. for i=0, 2, 0.1 / Animation_Speed do
  2720. Swait()
  2721. turnto(Mouse.Hit.p)
  2722. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2723. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2724. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2725. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2726. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2727. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2728. end
  2729. local sinkhole = IT("Part",Effects)
  2730. sinkhole.Size = VT(85,0,85)
  2731. sinkhole.CFrame = CF(Mouse.Hit.p)
  2732. sinkhole.Material = "Neon"
  2733. sinkhole.Color = C3(170, 0, 170)
  2734. sinkhole.Anchored = true
  2735. sinkhole.CanCollide = false
  2736. sinkhole.Transparency = 1
  2737. local decal = IT("Decal",sinkhole)
  2738. decal.Face = "Top"
  2739. decal.Texture = "http://www.roblox.com/asset/?id=177470914"
  2740. repeat
  2741. Swait()
  2742. turnto(Mouse.Hit.p)
  2743. sinkhole.CFrame = CF(Mouse.Hit.p)
  2744. until KEYHOLD == false
  2745. coroutine.resume(coroutine.create(function()
  2746. local soundeffect = IT("Sound",sinkhole)
  2747. soundeffect.SoundId = "rbxassetid://487186990"
  2748. soundeffect.Looped = true
  2749. soundeffect.Volume = 10
  2750. soundeffect.Playing = true
  2751. for i = 1, 450 do
  2752. AoEDamage(sinkhole.Position,15,666,666,15,false,0,0,false)
  2753. AoEDamage(sinkhole.Position,25,65,80,15,false,5,3,true)
  2754. AoEDamage(sinkhole.Position,45,45,60,15,false,5,3,true)
  2755. Swait()
  2756. CreateWave(0,8,true,0.05,45,sinkhole,-1)
  2757. CreateWave(0,8,true,-0.05,45,sinkhole,-1)
  2758. if i > 439 then
  2759. decal.Transparency = decal.Transparency + 0.1
  2760. soundeffect.Volume = soundeffect.Volume - 1
  2761. end
  2762. end
  2763. sinkhole:remove()
  2764. end))
  2765. for i=0, 3, 0.1 / Animation_Speed do
  2766. Swait()
  2767. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2768. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2769. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2770. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2771. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2772. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2773. end
  2774. Rooted = false
  2775. ATTACK = false
  2776. end
  2777.  
  2778. function Warp()
  2779. ATTACK = true
  2780. CreateRing(0,2,true,-0.2,35,RootPart,0,0.3,0.3)
  2781. CreateRing(0,2.5,true,-0.2,35,RootPart,0,-0.3,0.3)
  2782. CreateRing(0,3,true,-0.2,35,RootPart,0,0.3,-0.3)
  2783. CreateRing(0,3.5,true,-0.2,35,RootPart,0,-0.3,-0.3)
  2784. local originalcframe = RootPart.CFrame
  2785. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,Mouse.Hit.p.Y+(RootPart.Size.Y/2),Mouse.Hit.Z),originalcframe.p)
  2786. local penta = CreatePentagram(15,false,0,45,CF(RootPart.Position),-1)
  2787. CreateSound("3264923", penta, 2, 2)
  2788. ATTACK = false
  2789. end
  2790.  
  2791. --//=================================\\
  2792. --|| ASSIGN THINGS TO KEYS
  2793. --\\=================================//
  2794.  
  2795. function turnto(pos)
  2796. RootPart.CFrame = CF(RootPart.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
  2797. end
  2798.  
  2799. function MouseDown(Mouse)
  2800. if ATTACK == false and HASJUMPED == false and COMBO ~= "HALT" and Rooted == false then
  2801. HOLD = true
  2802. if ATTACK == false then
  2803. if COMBO == 1 then
  2804. COMBO = "HALT"
  2805. Attack1()
  2806. elseif COMBO == 2 then
  2807. COMBO = "HALT"
  2808. Attack2()
  2809. elseif COMBO == 3 then
  2810. COMBO = "HALT"
  2811. Attack3()
  2812. end
  2813. coroutine.resume(coroutine.create(function()
  2814. for i=1, 50 do
  2815. if ATTACK == false and COMBO ~= "HALT" then
  2816. Swait()
  2817. end
  2818. end
  2819. if ATTACK == false and COMBO ~= "HALT" then
  2820. COMBO = 1
  2821. end
  2822. end))
  2823. end
  2824. end
  2825. end
  2826.  
  2827. function MouseUp(Mouse)
  2828. HOLD = false
  2829. end
  2830.  
  2831. function KeyDown(Key)
  2832. KEYHOLD = true
  2833. if Key == "e" and HASJUMPED == false and ATTACK == false then
  2834. Warp()
  2835. end
  2836. if Key == "g" and HASJUMPED == false and ATTACK == false then
  2837. fromthedepths()
  2838. end
  2839. if Key == "q" and HASJUMPED == false and ATTACK == false then
  2840. ViolentRoar()
  2841. end
  2842. if Key == "x" and HASJUMPED == false and ATTACK == false then
  2843. BulletsFromAbove()
  2844. end
  2845. if Key == "f" and HASJUMPED == false and ATTACK == false then
  2846. Sinnerwave()
  2847. end
  2848. if Key == "t" and ATTACK == false then
  2849. local taunt = CreateSound("907332670", Head, 10, 1)
  2850. local effect = IT("PitchShiftSoundEffect",taunt)
  2851. effect.Octave = 0.700
  2852. end
  2853. end
  2854.  
  2855. function KeyUp(Key)
  2856. KEYHOLD = false
  2857. end
  2858.  
  2859. Mouse.Button1Down:connect(function(NEWKEY)
  2860. MouseDown(NEWKEY)
  2861. end)
  2862. Mouse.Button1Up:connect(function(NEWKEY)
  2863. MouseUp(NEWKEY)
  2864. end)
  2865. Mouse.KeyDown:connect(function(NEWKEY)
  2866. KeyDown(NEWKEY)
  2867. end)
  2868. Mouse.KeyUp:connect(function(NEWKEY)
  2869. KeyUp(NEWKEY)
  2870. end)
  2871.  
  2872. --//=================================\\
  2873. --\\=================================//
  2874.  
  2875.  
  2876. function unanchor()
  2877. if UNANCHOR == true then
  2878. g = Character:GetChildren()
  2879. for i = 1, #g do
  2880. if g[i].ClassName == "Part" then
  2881. g[i].Anchored = false
  2882. end
  2883. end
  2884. end
  2885. end
  2886.  
  2887.  
  2888. --//=================================\\
  2889. --|| WRAP THE WHOLE SCRIPT UP
  2890. --\\=================================//
  2891.  
  2892. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2893.  
  2894. Humanoid.Changed:connect(function(Jump)
  2895. if Jump == "Jump" then
  2896. Humanoid.Jump = false
  2897. if HASJUMPED == false and HITFLOOR ~= nil and ATTACK == false and DISABLEJUMPING == false then
  2898. HASJUMPED = true
  2899. JumpUp()
  2900. end
  2901. end
  2902. end)
  2903. Rooted = true
  2904. ANIMATE.Parent = nil
  2905. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2906. IDLEANIMATION:Play()
  2907. Swait()
  2908. Rooted = false
  2909.  
  2910. createbodypart("Eye","Magenta",Head,VT(0.25, 0, -0.65),VT(3,3,3))
  2911. createbodypart("Eye","Magenta",Head,VT(-0.25, 0, -0.65),VT(3,3,3))
  2912. createbodypart("Eye","Magenta",Head,VT(0, 0.2, -0.65),VT(5,5,3))
  2913.  
  2914. while true do
  2915. Swait()
  2916. SINE = SINE + CHANGE
  2917. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2918. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2919. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2920. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2921. local WALKSPEEDVALUE = 24 / (Humanoid.WalkSpeed / 16)
  2922. if ANIM == "Walk" and ATTACK == false and TORSOVELOCITY > 1 then
  2923. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2924. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2925. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed*2)
  2926. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed*2)
  2927. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2928. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2929. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2930. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*2)
  2931. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*2)
  2932. end
  2933. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2934. ANIM = "Jump"
  2935. if ATTACK == false then
  2936. CreateWave(180,3,true,0,15,RootPart,-4)
  2937. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2938. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2939. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2940. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2941. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2942. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2943. end
  2944. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil and ATTACK == false then
  2945. ANIM = "Fall"
  2946. if ATTACK == false then
  2947. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2948. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2949. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2950. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2951. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2952. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2953. end
  2954. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil and ATTACK == false then
  2955. ANIM = "Idle"
  2956. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2957. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2958. --RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2959. --LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2960. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2961. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2962. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2963. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2964. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2965. ANIM = "Walk"
  2966. WALK = WALK + 1 / Animation_Speed
  2967. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2968. WALK = 0
  2969. if WALKINGANIM == true then
  2970. WALKINGANIM = false
  2971. elseif WALKINGANIM == false then
  2972. WALKINGANIM = true
  2973. end
  2974. end
  2975. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2976. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2977. if ATTACK == false then
  2978. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.5 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2979. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2980. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2981. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2982. --RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2983. --LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2984. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2985. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2986. end
  2987. end
  2988. if #Effects2>0 then
  2989. for e=1,#Effects2 do
  2990. if Effects2[e]~=nil then
  2991. local Thing=Effects2[e]
  2992. if Thing~=nil then
  2993. local Part=Thing[1]
  2994. local Mode=Thing[2]
  2995. local Delay=Thing[3]
  2996. local IncX=Thing[4]
  2997. local IncY=Thing[5]
  2998. local IncZ=Thing[6]
  2999. local Part2=Thing[8]
  3000. if Thing[1].Transparency<=1 then
  3001. if Thing[2]=="Block1" then
  3002. Thing[1].CFrame=Thing[1].CFrame
  3003. Mesh=Thing[1].Mesh
  3004. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  3005. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3006. elseif Thing[2]=="Cylinder" then
  3007. Mesh=Thing[1].Mesh
  3008. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  3009. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3010. elseif Thing[2]=="Blood" then
  3011. Mesh=Thing[7]
  3012. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  3013. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  3014. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3015. elseif Thing[2]=="Elec" then
  3016. Mesh=Thing[1].Mesh
  3017. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  3018. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3019. elseif Thing[2]=="Disappear" then
  3020. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3021. end
  3022. else
  3023. Part.Parent=nil
  3024. table.remove(Effects2,e)
  3025. end
  3026. end
  3027. end
  3028. end
  3029. end
  3030. if UNANCHOR == true then
  3031. unanchor()
  3032. end
  3033. if Rooted == false then
  3034. DISABLEJUMPING = false
  3035. if ANIM == "Fall" then
  3036. Humanoid.WalkSpeed = Speed*3
  3037. else
  3038. Humanoid.WalkSpeed = Speed
  3039. end
  3040. elseif Rooted == true then
  3041. DISABLEJUMPING = true
  3042. Humanoid.WalkSpeed = 0
  3043. end
  3044. q = Character:GetChildren()
  3045. for u = 1, #q do
  3046. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  3047. q[u]:remove()
  3048. elseif q[u].ClassName == "Shirt" then
  3049. q[u]:Destroy()
  3050. elseif q[u].ClassName == "Pants" then
  3051. q[u]:Destroy()
  3052. elseif q[u].ClassName == "CharacterMesh" then
  3053. q[u]:remove()
  3054. elseif q[u].ClassName == "ShirtGraphic" then
  3055. q[u]:remove()
  3056. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  3057. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  3058. end
  3059. end
  3060. if Head:FindFirstChild("face") then
  3061. Head.face:remove()
  3062. end
  3063. end
  3064.  
  3065. --//=================================\\
  3066. --\\=================================//
  3067.  
  3068.  
  3069.  
  3070.  
  3071.  
  3072. --//====================================================\\--
  3073. --|| END OF SCRIPT
  3074. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement