Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.06 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : Maniac ]]--
  3. -------------------------------------------------------
  4. --A script By makhail07
  5.  
  6. --Discord Creterisk#2958
  7.  
  8. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  9. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  10. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  11. --YOU FUCKING SKIDS,
  12. --For Those who log/decompile this, If you sell or trade this,
  13. --and I find out who you are, i will take massive action.
  14.  
  15. -------------------------------------------------------
  16.  
  17. local FavIDs = {
  18. 340106355, --Nefl Crystals
  19. 927529620, --Dimension
  20. 876981900, --Fantasy
  21. 398987889, --Ordinary Days
  22. 1117396305, --Oh wait, it's you.
  23. 885996042, --Action Winter Journey
  24. 919231299, --Sprawling Idiot Effigy
  25. 743466274, --Good Day Sunshine
  26. 727411183, --Knife Fight
  27. 1402748531, --The Earth Is Counting On You!
  28. 595230126 --Robot Language
  29. }
  30.  
  31.  
  32.  
  33. --The reality of my life isn't real but a Universe -makhail07
  34. wait()
  35. local plr = game:service'Players'.LocalPlayer
  36. print('Local User is '..plr.Name)
  37. print('Maniac Loaded')
  38. print('No, this is not a burn ripoff.')
  39. local char = plr.Character
  40. local hum = char.Humanoid
  41. local hed = char.Head
  42. local root = char.HumanoidRootPart
  43. local rootj = root.RootJoint
  44. local tors = char.Torso
  45. local ra = char["Right Arm"]
  46. local la = char["Left Arm"]
  47. local rl = char["Right Leg"]
  48. local ll = char["Left Leg"]
  49. local neck = tors["Neck"]
  50. local mouse = plr:GetMouse()
  51. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  52. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  53. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  54. local maincolor = BrickColor.new("New Yeller")
  55.  
  56. -------------------------------------------------------
  57. --Start Good Stuff--
  58. -------------------------------------------------------
  59. cam = game.Workspace.CurrentCamera
  60. CF = CFrame.new
  61. angles = CFrame.Angles
  62. attack = false
  63. Euler = CFrame.fromEulerAnglesXYZ
  64. Rad = math.rad
  65. IT = Instance.new
  66. BrickC = BrickColor.new
  67. Cos = math.cos
  68. Acos = math.acos
  69. Sin = math.sin
  70. Asin = math.asin
  71. Abs = math.abs
  72. Mrandom = math.random
  73. Floor = math.floor
  74. -------------------------------------------------------
  75. --End Good Stuff--
  76. -------------------------------------------------------
  77. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  78. RSH, LSH = nil, nil
  79. RW = Instance.new("Weld")
  80. LW = Instance.new("Weld")
  81. RH = tors["Right Hip"]
  82. LH = tors["Left Hip"]
  83. RSH = tors["Right Shoulder"]
  84. LSH = tors["Left Shoulder"]
  85. RSH.Parent = nil
  86. LSH.Parent = nil
  87. RW.Name = "RW"
  88. RW.Part0 = tors
  89. RW.C0 = CF(1.5, 0.5, 0)
  90. RW.C1 = CF(0, 0.5, 0)
  91. RW.Part1 = ra
  92. RW.Parent = tors
  93. LW.Name = "LW"
  94. LW.Part0 = tors
  95. LW.C0 = CF(-1.5, 0.5, 0)
  96. LW.C1 = CF(0, 0.5, 0)
  97. LW.Part1 = la
  98. LW.Parent = tors
  99. Effects = {}
  100. -------------------------------------------------------
  101. --Start HeartBeat--
  102. -------------------------------------------------------
  103. ArtificialHB = Instance.new("BindableEvent", script)
  104. ArtificialHB.Name = "Heartbeat"
  105. script:WaitForChild("Heartbeat")
  106.  
  107. frame = 1 / 60
  108. tf = 0
  109. allowframeloss = false
  110. tossremainder = false
  111.  
  112.  
  113. lastframe = tick()
  114. script.Heartbeat:Fire()
  115.  
  116.  
  117. game:GetService("RunService").Heartbeat:connect(function(s, p)
  118. tf = tf + s
  119. if tf >= frame then
  120. if allowframeloss then
  121. script.Heartbeat:Fire()
  122. lastframe = tick()
  123. else
  124. for i = 1, math.floor(tf / frame) do
  125. script.Heartbeat:Fire()
  126. end
  127. lastframe = tick()
  128. end
  129. if tossremainder then
  130. tf = 0
  131. else
  132. tf = tf - frame * math.floor(tf / frame)
  133. end
  134. end
  135. end)
  136. -------------------------------------------------------
  137. --End HeartBeat--
  138. -------------------------------------------------------
  139.  
  140. -------------------------------------------------------
  141. --Start Important Functions--
  142. -------------------------------------------------------
  143. function swait(num)
  144. if num == 0 or num == nil then
  145. game:service("RunService").Stepped:wait(0)
  146. else
  147. for i = 0, num do
  148. game:service("RunService").Stepped:wait(0)
  149. end
  150. end
  151. end
  152. function thread(f)
  153. coroutine.resume(coroutine.create(f))
  154. end
  155. function clerp(a, b, t)
  156. local qa = {
  157. QuaternionFromCFrame(a)
  158. }
  159. local qb = {
  160. QuaternionFromCFrame(b)
  161. }
  162. local ax, ay, az = a.x, a.y, a.z
  163. local bx, by, bz = b.x, b.y, b.z
  164. local _t = 1 - t
  165. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  166. end
  167. function QuaternionFromCFrame(cf)
  168. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  169. local trace = m00 + m11 + m22
  170. if trace > 0 then
  171. local s = math.sqrt(1 + trace)
  172. local recip = 0.5 / s
  173. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  174. else
  175. local i = 0
  176. if m00 < m11 then
  177. i = 1
  178. end
  179. if m22 > (i == 0 and m00 or m11) then
  180. i = 2
  181. end
  182. if i == 0 then
  183. local s = math.sqrt(m00 - m11 - m22 + 1)
  184. local recip = 0.5 / s
  185. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  186. elseif i == 1 then
  187. local s = math.sqrt(m11 - m22 - m00 + 1)
  188. local recip = 0.5 / s
  189. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  190. elseif i == 2 then
  191. local s = math.sqrt(m22 - m00 - m11 + 1)
  192. local recip = 0.5 / s
  193. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  194. end
  195. end
  196. end
  197. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  198. local xs, ys, zs = x + x, y + y, z + z
  199. local wx, wy, wz = w * xs, w * ys, w * zs
  200. local xx = x * xs
  201. local xy = x * ys
  202. local xz = x * zs
  203. local yy = y * ys
  204. local yz = y * zs
  205. local zz = z * zs
  206. 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))
  207. end
  208. function QuaternionSlerp(a, b, t)
  209. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  210. local startInterp, finishInterp
  211. if cosTheta >= 1.0E-4 then
  212. if 1 - cosTheta > 1.0E-4 then
  213. local theta = math.acos(cosTheta)
  214. local invSinTheta = 1 / Sin(theta)
  215. startInterp = Sin((1 - t) * theta) * invSinTheta
  216. finishInterp = Sin(t * theta) * invSinTheta
  217. else
  218. startInterp = 1 - t
  219. finishInterp = t
  220. end
  221. elseif 1 + cosTheta > 1.0E-4 then
  222. local theta = math.acos(-cosTheta)
  223. local invSinTheta = 1 / Sin(theta)
  224. startInterp = Sin((t - 1) * theta) * invSinTheta
  225. finishInterp = Sin(t * theta) * invSinTheta
  226. else
  227. startInterp = t - 1
  228. finishInterp = t
  229. end
  230. 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
  231. end
  232. function rayCast(Position, Direction, Range, Ignore)
  233. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  234. end
  235. local RbxUtility = LoadLibrary("RbxUtility")
  236. local Create = RbxUtility.Create
  237.  
  238. -------------------------------------------------------
  239. --Start Damage Function--
  240. -------------------------------------------------------
  241. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  242. if hit.Parent == nil then
  243. return
  244. end
  245. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  246. for _, v in pairs(hit.Parent:children()) do
  247. if v:IsA("Humanoid") then
  248. h = v
  249. end
  250. end
  251. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  252.  
  253. hit.Parent:FindFirstChild("Head"):BreakJoints()
  254. end
  255.  
  256. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  257. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  258. if hit.Parent.DebounceHit.Value == true then
  259. return
  260. end
  261. end
  262. if insta == true then
  263. hit.Parent:FindFirstChild("Head"):BreakJoints()
  264. end
  265. local c = Create("ObjectValue"){
  266. Name = "creator",
  267. Value = game:service("Players").LocalPlayer,
  268. Parent = h,
  269. }
  270. game:GetService("Debris"):AddItem(c, .5)
  271. if HitSound ~= nil and HitPitch ~= nil then
  272. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  273. end
  274. local Damage = math.random(minim, maxim)
  275. local blocked = false
  276. local block = hit.Parent:findFirstChild("Block")
  277. if block ~= nil then
  278. if block.className == "IntValue" then
  279. if block.Value > 0 then
  280. blocked = true
  281. block.Value = block.Value - 1
  282. print(block.Value)
  283. end
  284. end
  285. end
  286. if blocked == false then
  287. h.Health = h.Health - Damage
  288. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  289. else
  290. h.Health = h.Health - (Damage / 2)
  291. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  292. end
  293. if Type == "Knockdown" then
  294. local hum = hit.Parent.Humanoid
  295. hum.PlatformStand = true
  296. coroutine.resume(coroutine.create(function(HHumanoid)
  297. swait(1)
  298. HHumanoid.PlatformStand = false
  299. end), hum)
  300. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  301. local bodvol = Create("BodyVelocity"){
  302. velocity = angle * knockback,
  303. P = 5000,
  304. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  305. Parent = hit,
  306. }
  307. local rl = Create("BodyAngularVelocity"){
  308. P = 3000,
  309. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  310. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  311. Parent = hit,
  312. }
  313. game:GetService("Debris"):AddItem(bodvol, .5)
  314. game:GetService("Debris"):AddItem(rl, .5)
  315. elseif Type == "Normal" then
  316. local vp = Create("BodyVelocity"){
  317. P = 500,
  318. maxForce = Vector3.new(math.huge, 0, math.huge),
  319. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  320. }
  321. if knockback > 0 then
  322. vp.Parent = hit.Parent.Torso
  323. end
  324. game:GetService("Debris"):AddItem(vp, .5)
  325. elseif Type == "Up" then
  326. local bodyVelocity = Create("BodyVelocity"){
  327. velocity = Vector3.new(0, 20, 0),
  328. P = 5000,
  329. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  330. Parent = hit,
  331. }
  332. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  333. elseif Type == "DarkUp" then
  334. coroutine.resume(coroutine.create(function()
  335. for i = 0, 1, 0.1 do
  336. swait()
  337. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  338. end
  339. end))
  340. local bodyVelocity = Create("BodyVelocity"){
  341. velocity = Vector3.new(0, 20, 0),
  342. P = 5000,
  343. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  344. Parent = hit,
  345. }
  346. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  347. elseif Type == "Snare" then
  348. local bp = Create("BodyPosition"){
  349. P = 2000,
  350. D = 100,
  351. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  352. position = hit.Parent.Torso.Position,
  353. Parent = hit.Parent.Torso,
  354. }
  355. game:GetService("Debris"):AddItem(bp, 1)
  356. elseif Type == "Freeze" then
  357. local BodPos = Create("BodyPosition"){
  358. P = 50000,
  359. D = 1000,
  360. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  361. position = hit.Parent.Torso.Position,
  362. Parent = hit.Parent.Torso,
  363. }
  364. local BodGy = Create("BodyGyro") {
  365. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  366. P = 20e+003,
  367. Parent = hit.Parent.Torso,
  368. cframe = hit.Parent.Torso.CFrame,
  369. }
  370. hit.Parent.Torso.Anchored = true
  371. coroutine.resume(coroutine.create(function(Part)
  372. swait(1.5)
  373. Part.Anchored = false
  374. end), hit.Parent.Torso)
  375. game:GetService("Debris"):AddItem(BodPos, 3)
  376. game:GetService("Debris"):AddItem(BodGy, 3)
  377. end
  378. local debounce = Create("BoolValue"){
  379. Name = "DebounceHit",
  380. Parent = hit.Parent,
  381. Value = true,
  382. }
  383. game:GetService("Debris"):AddItem(debounce, Delay)
  384. c = Create("ObjectValue"){
  385. Name = "creator",
  386. Value = Player,
  387. Parent = h,
  388. }
  389. game:GetService("Debris"):AddItem(c, .5)
  390. end
  391. end
  392. -------------------------------------------------------
  393. --End Damage Function--
  394. -------------------------------------------------------
  395.  
  396. -------------------------------------------------------
  397. --Start Damage Function Customization--
  398. -------------------------------------------------------
  399. function ShowDamage(Pos, Text, Time, Color)
  400. local Rate = (1 / 30)
  401. local Pos = (Pos or Vector3.new(0, 0, 0))
  402. local Text = (Text or "")
  403. local Time = (Time or 2)
  404. local Color = (Color or Color3.new(1, 0, 1))
  405. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  406. EffectPart.Anchored = true
  407. local BillboardGui = Create("BillboardGui"){
  408. Size = UDim2.new(3, 0, 3, 0),
  409. Adornee = EffectPart,
  410. Parent = EffectPart,
  411. }
  412. local TextLabel = Create("TextLabel"){
  413. BackgroundTransparency = 1,
  414. Size = UDim2.new(1, 0, 1, 0),
  415. Text = Text,
  416. Font = "Bodoni",
  417. TextColor3 = Color,
  418. TextScaled = true,
  419. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  420. Parent = BillboardGui,
  421. }
  422. game.Debris:AddItem(EffectPart, (Time))
  423. EffectPart.Parent = game:GetService("Workspace")
  424. delay(0, function()
  425. local Frames = (Time / Rate)
  426. for Frame = 1, Frames do
  427. wait(Rate)
  428. local Percent = (Frame / Frames)
  429. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  430. TextLabel.TextTransparency = Percent
  431. end
  432. if EffectPart and EffectPart.Parent then
  433. EffectPart:Destroy()
  434. end
  435. end)
  436. end
  437. -------------------------------------------------------
  438. --End Damage Function Customization--
  439. -------------------------------------------------------
  440.  
  441. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  442. for _, c in pairs(workspace:children()) do
  443. local hum = c:findFirstChild("Humanoid")
  444. if hum ~= nil then
  445. local head = c:findFirstChild("Head")
  446. if head ~= nil then
  447. local targ = head.Position - Part.Position
  448. local mag = targ.magnitude
  449. if magni >= mag and c.Name ~= plr.Name then
  450. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  451. end
  452. end
  453. end
  454. end
  455. end
  456.  
  457.  
  458. CFuncs = {
  459. Part = {
  460. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  461. local Part = Create("Part")({
  462. Parent = Parent,
  463. Reflectance = Reflectance,
  464. Transparency = Transparency,
  465. CanCollide = false,
  466. Locked = true,
  467. BrickColor = BrickColor.new(tostring(BColor)),
  468. Name = Name,
  469. Size = Size,
  470. Material = Material
  471. })
  472. RemoveOutlines(Part)
  473. return Part
  474. end
  475. },
  476. Mesh = {
  477. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  478. local Msh = Create(Mesh)({
  479. Parent = Part,
  480. Offset = OffSet,
  481. Scale = Scale
  482. })
  483. if Mesh == "SpecialMesh" then
  484. Msh.MeshType = MeshType
  485. Msh.MeshId = MeshId
  486. end
  487. return Msh
  488. end
  489. },
  490. Mesh = {
  491. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  492. local Msh = Create(Mesh)({
  493. Parent = Part,
  494. Offset = OffSet,
  495. Scale = Scale
  496. })
  497. if Mesh == "SpecialMesh" then
  498. Msh.MeshType = MeshType
  499. Msh.MeshId = MeshId
  500. end
  501. return Msh
  502. end
  503. },
  504. Weld = {
  505. Create = function(Parent, Part0, Part1, C0, C1)
  506. local Weld = Create("Weld")({
  507. Parent = Parent,
  508. Part0 = Part0,
  509. Part1 = Part1,
  510. C0 = C0,
  511. C1 = C1
  512. })
  513. return Weld
  514. end
  515. },
  516. Sound = {
  517. Create = function(id, par, vol, pit)
  518. coroutine.resume(coroutine.create(function()
  519. local S = Create("Sound")({
  520. Volume = vol,
  521. Pitch = pit or 1,
  522. SoundId = id,
  523. Parent = par or workspace
  524. })
  525. wait()
  526. S:play()
  527. game:GetService("Debris"):AddItem(S, 6)
  528. end))
  529. end
  530. },
  531. ParticleEmitter = {
  532. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  533. local fp = Create("ParticleEmitter")({
  534. Parent = Parent,
  535. Color = ColorSequence.new(Color1, Color2),
  536. LightEmission = LightEmission,
  537. Size = Size,
  538. Texture = Texture,
  539. Transparency = Transparency,
  540. ZOffset = ZOffset,
  541. Acceleration = Accel,
  542. Drag = Drag,
  543. LockedToPart = LockedToPart,
  544. VelocityInheritance = VelocityInheritance,
  545. EmissionDirection = EmissionDirection,
  546. Enabled = Enabled,
  547. Lifetime = LifeTime,
  548. Rate = Rate,
  549. Rotation = Rotation,
  550. RotSpeed = RotSpeed,
  551. Speed = Speed,
  552. VelocitySpread = VelocitySpread
  553. })
  554. return fp
  555. end
  556. }
  557. }
  558. function RemoveOutlines(part)
  559. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  560. end
  561. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  562. local Part = Create("Part")({
  563. formFactor = FormFactor,
  564. Parent = Parent,
  565. Reflectance = Reflectance,
  566. Transparency = Transparency,
  567. CanCollide = false,
  568. Locked = true,
  569. BrickColor = BrickColor.new(tostring(BColor)),
  570. Name = Name,
  571. Size = Size,
  572. Material = Material
  573. })
  574. RemoveOutlines(Part)
  575. return Part
  576. end
  577. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  578. local Msh = Create(Mesh)({
  579. Parent = Part,
  580. Offset = OffSet,
  581. Scale = Scale
  582. })
  583. if Mesh == "SpecialMesh" then
  584. Msh.MeshType = MeshType
  585. Msh.MeshId = MeshId
  586. end
  587. return Msh
  588. end
  589. function CreateWeld(Parent, Part0, Part1, C0, C1)
  590. local Weld = Create("Weld")({
  591. Parent = Parent,
  592. Part0 = Part0,
  593. Part1 = Part1,
  594. C0 = C0,
  595. C1 = C1
  596. })
  597. return Weld
  598. end
  599.  
  600.  
  601. -------------------------------------------------------
  602. --Start Effect Function--
  603. -------------------------------------------------------
  604. EffectModel = Instance.new("Model", char)
  605. Effects = {
  606. Block = {
  607. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  608. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  609. prt.Anchored = true
  610. prt.CFrame = cframe
  611. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  612. game:GetService("Debris"):AddItem(prt, 10)
  613. if Type == 1 or Type == nil then
  614. table.insert(Effects, {
  615. prt,
  616. "Block1",
  617. delay,
  618. x3,
  619. y3,
  620. z3,
  621. msh
  622. })
  623. elseif Type == 2 then
  624. table.insert(Effects, {
  625. prt,
  626. "Block2",
  627. delay,
  628. x3,
  629. y3,
  630. z3,
  631. msh
  632. })
  633. else
  634. table.insert(Effects, {
  635. prt,
  636. "Block3",
  637. delay,
  638. x3,
  639. y3,
  640. z3,
  641. msh
  642. })
  643. end
  644. end
  645. },
  646. Sphere = {
  647. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  648. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  649. prt.Anchored = true
  650. prt.CFrame = cframe
  651. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  652. game:GetService("Debris"):AddItem(prt, 10)
  653. table.insert(Effects, {
  654. prt,
  655. "Cylinder",
  656. delay,
  657. x3,
  658. y3,
  659. z3,
  660. msh
  661. })
  662. end
  663. },
  664. Cylinder = {
  665. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  666. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  667. prt.Anchored = true
  668. prt.CFrame = cframe
  669. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  670. game:GetService("Debris"):AddItem(prt, 10)
  671. table.insert(Effects, {
  672. prt,
  673. "Cylinder",
  674. delay,
  675. x3,
  676. y3,
  677. z3,
  678. msh
  679. })
  680. end
  681. },
  682. Wave = {
  683. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  684. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  685. prt.Anchored = true
  686. prt.CFrame = cframe
  687. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  688. game:GetService("Debris"):AddItem(prt, 10)
  689. table.insert(Effects, {
  690. prt,
  691. "Cylinder",
  692. delay,
  693. x3 / 60,
  694. y3 / 60,
  695. z3 / 60,
  696. msh
  697. })
  698. end
  699. },
  700. Ring = {
  701. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  702. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  703. prt.Anchored = true
  704. prt.CFrame = cframe
  705. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  706. game:GetService("Debris"):AddItem(prt, 10)
  707. table.insert(Effects, {
  708. prt,
  709. "Cylinder",
  710. delay,
  711. x3,
  712. y3,
  713. z3,
  714. msh
  715. })
  716. end
  717. },
  718. Break = {
  719. Create = function(brickcolor, cframe, x1, y1, z1)
  720. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  721. prt.Anchored = true
  722. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  723. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  724. local num = math.random(10, 50) / 1000
  725. game:GetService("Debris"):AddItem(prt, 10)
  726. table.insert(Effects, {
  727. prt,
  728. "Shatter",
  729. num,
  730. prt.CFrame,
  731. math.random() - math.random(),
  732. 0,
  733. math.random(50, 100) / 100
  734. })
  735. end
  736. },
  737. Spiral = {
  738. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  739. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  740. prt.Anchored = true
  741. prt.CFrame = cframe
  742. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  743. game:GetService("Debris"):AddItem(prt, 10)
  744. table.insert(Effects, {
  745. prt,
  746. "Cylinder",
  747. delay,
  748. x3,
  749. y3,
  750. z3,
  751. msh
  752. })
  753. end
  754. },
  755. Push = {
  756. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  757. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  758. prt.Anchored = true
  759. prt.CFrame = cframe
  760. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  761. game:GetService("Debris"):AddItem(prt, 10)
  762. table.insert(Effects, {
  763. prt,
  764. "Cylinder",
  765. delay,
  766. x3,
  767. y3,
  768. z3,
  769. msh
  770. })
  771. end
  772. }
  773. }
  774. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  775. local fp = IT("Part")
  776. fp.formFactor = formfactor
  777. fp.Parent = parent
  778. fp.Reflectance = reflectance
  779. fp.Transparency = transparency
  780. fp.CanCollide = false
  781. fp.Locked = true
  782. fp.BrickColor = brickcolor
  783. fp.Name = name
  784. fp.Size = size
  785. fp.Position = tors.Position
  786. RemoveOutlines(fp)
  787. fp.Material = "SmoothPlastic"
  788. fp:BreakJoints()
  789. return fp
  790. end
  791.  
  792. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  793. local mesh = IT(Mesh)
  794. mesh.Parent = part
  795. if Mesh == "SpecialMesh" then
  796. mesh.MeshType = meshtype
  797. if meshid ~= "nil" then
  798. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  799. end
  800. end
  801. mesh.Offset = offset
  802. mesh.Scale = scale
  803. return mesh
  804. end
  805.  
  806. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  807. local type = type
  808. local rng = Instance.new("Part", char)
  809. rng.Anchored = true
  810. rng.BrickColor = color
  811. rng.CanCollide = false
  812. rng.FormFactor = 3
  813. rng.Name = "Ring"
  814. rng.Material = "Neon"
  815. rng.Size = Vector3.new(1, 1, 1)
  816. rng.Transparency = 0
  817. rng.TopSurface = 0
  818. rng.BottomSurface = 0
  819. rng.CFrame = pos
  820. local rngm = Instance.new("SpecialMesh", rng)
  821. rngm.MeshType = MType
  822. rngm.Scale = scale
  823. local scaler2 = 1
  824. if type == "Add" then
  825. scaler2 = 1 * value
  826. elseif type == "Divide" then
  827. scaler2 = 1 / value
  828. end
  829. coroutine.resume(coroutine.create(function()
  830. for i = 0, 10 / bonuspeed, 0.1 do
  831. swait()
  832. if type == "Add" then
  833. scaler2 = scaler2 - 0.01 * value / bonuspeed
  834. elseif type == "Divide" then
  835. scaler2 = scaler2 - 0.01 / value * bonuspeed
  836. end
  837. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  838. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  839. end
  840. rng:Destroy()
  841. end))
  842. end
  843.  
  844. function Eviscerate(dude)
  845. if dude.Name ~= char then
  846. local bgf = IT("BodyGyro", dude.Head)
  847. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  848. local val = IT("BoolValue", dude)
  849. val.Name = "IsHit"
  850. local ds = coroutine.wrap(function()
  851. dude:WaitForChild("Head"):BreakJoints()
  852. wait(0.5)
  853. target = nil
  854. coroutine.resume(coroutine.create(function()
  855. for i, v in pairs(dude:GetChildren()) do
  856. if v:IsA("Accessory") then
  857. v:Destroy()
  858. end
  859. if v:IsA("Humanoid") then
  860. v:Destroy()
  861. end
  862. if v:IsA("CharacterMesh") then
  863. v:Destroy()
  864. end
  865. if v:IsA("Model") then
  866. v:Destroy()
  867. end
  868. if v:IsA("Part") or v:IsA("MeshPart") then
  869. for x, o in pairs(v:GetChildren()) do
  870. if o:IsA("Decal") then
  871. o:Destroy()
  872. end
  873. end
  874. coroutine.resume(coroutine.create(function()
  875. v.Material = "Neon"
  876. v.CanCollide = false
  877. local PartEmmit1 = IT("ParticleEmitter", v)
  878. PartEmmit1.LightEmission = 1
  879. PartEmmit1.Texture = "rbxassetid://284205403"
  880. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  881. PartEmmit1.Rate = 150
  882. PartEmmit1.Lifetime = NumberRange.new(1)
  883. PartEmmit1.Size = NumberSequence.new({
  884. NumberSequenceKeypoint.new(0, 0.75, 0),
  885. NumberSequenceKeypoint.new(1, 0, 0)
  886. })
  887. PartEmmit1.Transparency = NumberSequence.new({
  888. NumberSequenceKeypoint.new(0, 0, 0),
  889. NumberSequenceKeypoint.new(1, 1, 0)
  890. })
  891. PartEmmit1.Speed = NumberRange.new(0, 0)
  892. PartEmmit1.VelocitySpread = 30000
  893. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  894. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  895. local BodPoss = IT("BodyPosition", v)
  896. BodPoss.P = 3000
  897. BodPoss.D = 1000
  898. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  899. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  900. v.Color = maincolor.Color
  901. coroutine.resume(coroutine.create(function()
  902. for i = 0, 49 do
  903. swait(1)
  904. v.Transparency = v.Transparency + 0.08
  905. end
  906. wait(0.5)
  907. PartEmmit1.Enabled = false
  908. wait(3)
  909. v:Destroy()
  910. dude:Destroy()
  911. end))
  912. end))
  913. end
  914. end
  915. end))
  916. end)
  917. ds()
  918. end
  919. end
  920.  
  921. function FindNearestHead(Position, Distance, SinglePlayer)
  922. if SinglePlayer then
  923. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  924. end
  925. local List = {}
  926. for i, v in pairs(workspace:GetChildren()) do
  927. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  928. table.insert(List, v)
  929. end
  930. end
  931. return List
  932. end
  933.  
  934. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  935. local type = type
  936. local rng = Instance.new("Part", char)
  937. rng.Anchored = true
  938. rng.BrickColor = color
  939. rng.CanCollide = false
  940. rng.FormFactor = 3
  941. rng.Name = "Ring"
  942. rng.Material = "Neon"
  943. rng.Size = Vector3.new(1, 1, 1)
  944. rng.Transparency = 0
  945. rng.TopSurface = 0
  946. rng.BottomSurface = 0
  947. rng.CFrame = pos
  948. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  949. local rngm = Instance.new("SpecialMesh", rng)
  950. rngm.MeshType = MType
  951. rngm.Scale = Vector3.new(x1, y1, z1)
  952. local scaler2 = 1
  953. local speeder = FastSpeed
  954. if type == "Add" then
  955. scaler2 = 1 * value
  956. elseif type == "Divide" then
  957. scaler2 = 1 / value
  958. end
  959. coroutine.resume(coroutine.create(function()
  960. for i = 0, 10 / bonuspeed, 0.1 do
  961. swait()
  962. if type == "Add" then
  963. scaler2 = scaler2 - 0.01 * value / bonuspeed
  964. elseif type == "Divide" then
  965. scaler2 = scaler2 - 0.01 / value * bonuspeed
  966. end
  967. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  968. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  969. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  970. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  971. end
  972. rng:Destroy()
  973. end))
  974. end
  975.  
  976. function SoulSteal(dude)
  977. if dude.Name ~= char then
  978. local bgf = IT("BodyGyro", dude.Head)
  979. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  980. local val = IT("BoolValue", dude)
  981. val.Name = "IsHit"
  982. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  983. local soulst = coroutine.wrap(function()
  984. local soul = Instance.new("Part",dude)
  985. soul.Size = Vector3.new(1,1,1)
  986. soul.CanCollide = false
  987. soul.Anchored = false
  988. soul.Position = torso.Position
  989. soul.Transparency = 1
  990. local PartEmmit1 = IT("ParticleEmitter", soul)
  991. PartEmmit1.LightEmission = 1
  992. PartEmmit1.Texture = "rbxassetid://569507414"
  993. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  994. PartEmmit1.Rate = 250
  995. PartEmmit1.Lifetime = NumberRange.new(1.6)
  996. PartEmmit1.Size = NumberSequence.new({
  997. NumberSequenceKeypoint.new(0, 1, 0),
  998. NumberSequenceKeypoint.new(1, 0, 0)
  999. })
  1000. PartEmmit1.Transparency = NumberSequence.new({
  1001. NumberSequenceKeypoint.new(0, 0, 0),
  1002. NumberSequenceKeypoint.new(1, 1, 0)
  1003. })
  1004. PartEmmit1.Speed = NumberRange.new(0, 0)
  1005. PartEmmit1.VelocitySpread = 30000
  1006. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1007. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1008. local BodPoss = IT("BodyPosition", soul)
  1009. BodPoss.P = 3000
  1010. BodPoss.D = 1000
  1011. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1012. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1013. wait(1.6)
  1014. soul.Touched:connect(function(hit)
  1015. if hit.Parent == char then
  1016. soul:Destroy()
  1017. end
  1018. end)
  1019. wait(1.2)
  1020. while soul do
  1021. swait()
  1022. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1023. BodPoss.Position = tors.Position
  1024. end
  1025. end)
  1026. soulst()
  1027. end
  1028. end
  1029. function FaceMouse()
  1030. local Cam = workspace.CurrentCamera
  1031. return {
  1032. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1033. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1034. }
  1035. end
  1036. -------------------------------------------------------
  1037. --End Effect Function--
  1038. -------------------------------------------------------
  1039. function Cso(ID, PARENT, VOLUME, PITCH)
  1040. local NSound = nil
  1041. coroutine.resume(coroutine.create(function()
  1042. NSound = IT("Sound", PARENT)
  1043. NSound.Volume = VOLUME
  1044. NSound.Pitch = PITCH
  1045. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1046. swait()
  1047. NSound:play()
  1048. game:GetService("Debris"):AddItem(NSound, 10)
  1049. end))
  1050. return NSound
  1051. end
  1052. function CameraEnshaking(Length, Intensity)
  1053. coroutine.resume(coroutine.create(function()
  1054. local intensity = 1 * Intensity
  1055. local rotM = 0.01 * Intensity
  1056. for i = 0, Length, 0.1 do
  1057. swait()
  1058. intensity = intensity - 0.05 * Intensity / Length
  1059. rotM = rotM - 5.0E-4 * Intensity / Length
  1060. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1061. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1062. end
  1063. hum.CameraOffset = Vector3.new(0, 0, 0)
  1064. end))
  1065. end
  1066. -------------------------------------------------------
  1067. --End Important Functions--
  1068. -------------------------------------------------------
  1069.  
  1070.  
  1071. -------------------------------------------------------
  1072. --Start Customization--
  1073. -------------------------------------------------------
  1074. local Player_Size = 1
  1075. if Player_Size ~= 1 then
  1076. root.Size = root.Size * Player_Size
  1077. tors.Size = tors.Size * Player_Size
  1078. hed.Size = hed.Size * Player_Size
  1079. ra.Size = ra.Size * Player_Size
  1080. la.Size = la.Size * Player_Size
  1081. rl.Size = rl.Size * Player_Size
  1082. ll.Size = ll.Size * Player_Size
  1083. ----------------------------------------------------------------------------------
  1084. rootj.Parent = root
  1085. neck.Parent = tors
  1086. RW.Parent = tors
  1087. LW.Parent = tors
  1088. RH.Parent = tors
  1089. LH.Parent = tors
  1090. ----------------------------------------------------------------------------------
  1091. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1092. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1093. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1094. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1095. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1096. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1097. ----------------------------------------------------------------------------------
  1098. RH.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))
  1099. LH.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))
  1100. RH.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))
  1101. LH.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))
  1102. --hat.Parent = Character
  1103. end
  1104. ----------------------------------------------------------------------------------
  1105. local SONG = 12743107
  1106. local SONG2 = 0
  1107. local Music = Instance.new("Sound",tors)
  1108. Music.Volume = 2.5
  1109. Music.Looped = true
  1110. Music.Pitch = 1 --Pitcher
  1111.  
  1112. ----------------------------------------------------------------------------------
  1113. local equipped = false
  1114. local idle = 0
  1115. local change = 1
  1116. local val = 0
  1117. local toim = 0
  1118. local idleanim = 0.4
  1119. local sine = 0
  1120. local Sit = 1
  1121. ----------------------------------------------------------------------------------
  1122. hum.WalkSpeed = 8
  1123. hum.JumpPower = 57
  1124. hum.Animator.Parent = nil
  1125. ----------------------------------------------------------------------------------
  1126. local BlurAmount = 25
  1127. local Last = cam.CFrame.lookVector
  1128. local Blur = Instance.new("BlurEffect",cam)
  1129. game.Workspace.Changed:connect(function(p)
  1130. if p == "CurrentCamera" then
  1131. cam = game.Workspace.CurrentCamera
  1132. if Blur and Blur.Parent then
  1133. Blur.Parent = cam
  1134. else
  1135. Blur = Instance.new("BlurEffect",cam)
  1136. end
  1137. end
  1138. end)
  1139. -------------------------------------------------------
  1140. --End Customization--
  1141. -------------------------------------------------------
  1142.  
  1143.  
  1144. -------------------------------------------------------
  1145. --Start Attacks N Stuff--
  1146. -------------------------------------------------------
  1147. function SunBlastWIP()
  1148. attack = true
  1149. hum.WalkSpeed = 3.01
  1150. for i = 0, 4, 0.1 do
  1151. swait()
  1152. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  1153. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2)
  1154. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1155. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  1156. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  1157. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1158. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1159. end
  1160. for i = 0, 2, 0.1 do
  1161. swait()
  1162. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  1163. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(40)), 0.2)
  1164. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  1165. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-25)), 0.2)
  1166. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(25)), 0.2)
  1167. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1168. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1169. end
  1170. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1171. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1172. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  1173. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1174. CameraEnshaking(4, 5)
  1175. Cso("206049428", char, 10, 1)
  1176. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  1177. if v:FindFirstChild("Head") then
  1178. Eviscerate(v)
  1179. end
  1180. end
  1181. for i = 0, 2, 0.1 do
  1182. swait()
  1183. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  1184. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2)
  1185. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1186. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  1187. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  1188. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1189. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1190. end
  1191. hum.WalkSpeed = 16
  1192. attack = false
  1193. end
  1194. function attackone()
  1195. attack = true
  1196. hum.WalkSpeed = 3.01
  1197. for i = 0, 3, 0.1 do
  1198. swait()
  1199. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.2)
  1200. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(-40)), 0.1)
  1201. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.1)
  1202. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-7)), 0.1)
  1203. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.1)
  1204. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .3* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(45)), 0.3)
  1205. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
  1206. end
  1207. Cso("203426541", ra, 10, 1)
  1208. for i = 0, 2, 0.1 do
  1209. swait()
  1210. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), -0.3)
  1211. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3)
  1212. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.2)
  1213. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.2)
  1214. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.2)
  1215. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.2)
  1216. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1217. end
  1218. hum.WalkSpeed = 16
  1219. attack = false
  1220. end
  1221. function attacktwo()
  1222. attack = true
  1223. hum.WalkSpeed = 3.01
  1224. for i = 0, 2, 0.1 do
  1225. swait()
  1226. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  1227. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1228. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1229. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.1)
  1230. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.1)
  1231. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.2)
  1232. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.2)
  1233. end
  1234. Cso("203426541", rl, 10, 1)
  1235. for i = 0, 3, 0.1 do
  1236. swait()
  1237. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), -0.1)
  1238. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.1)
  1239. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.1)
  1240. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.1)
  1241. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.1)
  1242. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.2)
  1243. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.2)
  1244. end
  1245. hum.WalkSpeed = 16
  1246. attack = false
  1247. end
  1248. function attackthree()
  1249. attack = true
  1250. hum.WalkSpeed = 3.01
  1251. for i = 0, 2.3, 0.1 do
  1252. swait()
  1253. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  1254. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.1)
  1255. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25), Rad(0), Rad(0)), 0.1)
  1256. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.1)
  1257. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.1)
  1258. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-7.5 * Sin(sine / 20)), Rad(10)), 0.2)
  1259. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-10)), 0.2)
  1260. end
  1261. Cso("203426541", hed, 10, 1)
  1262. for i = 0, 2, 0.1 do
  1263. swait()
  1264. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  1265. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1266. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.1)
  1267. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.1)
  1268. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.1)
  1269. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(-7.5 * Sin(sine / 20)), Rad(10)), 0.2)
  1270. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(7.5 * Sin(sine / 20)), Rad(-10)), 0.2)
  1271. end
  1272. hum.WalkSpeed = 16
  1273. attack = false
  1274. end
  1275. function Taunt1()
  1276. attack = true
  1277. hum.WalkSpeed = 3.01
  1278. Cso("1535994137", hed, 10, 1)
  1279. for i = 0, 9, 0.1 do
  1280. swait()
  1281. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  1282. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1)
  1283. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1284. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1285. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1286. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(10), Rad(-20), Rad(-90)), 0.2)
  1287. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0 + 0.025 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(6), Rad(20), Rad(90)), 0.2)
  1288. end
  1289. hum.WalkSpeed = 16
  1290. attack = false
  1291. end
  1292. function WarpWIP()
  1293. attack = true
  1294. for i = 0, 1.6, 0.1 do
  1295. swait()
  1296. hum.CameraOffset = Vector3.new(0, 1 + 0.1 * Cos(sine / 20), 0)
  1297. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  1298. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(0)), 0.2)
  1299. RW.C0 = clerp(RW.C0, CF(1.1, 0.5, -0.4) * angles(Rad(80), Rad(0 * Cos(sine / 20)), Rad(-45)), 0.2)
  1300. LW.C0 = clerp(LW.C0, CF(-1.1, 0.5, -0.4) * angles(Rad(70), Rad(0), Rad(55)), 0.2)
  1301. RH.C0 = clerp(RH.C0, CF(1, -0.1 - 0.1 * Cos(sine / 20), -0.6) * RHCF * angles(Rad(-1 + 1 * Cos(sine / 20)), Rad(0), Rad(-20 - 2 * Cos(sine / 20))), 0.2)
  1302. LH.C0 = clerp(LH.C0, CF(-1, -0.1 - 0.1 * Cos(sine / 20), -0.6) * LHCF * angles(Rad(-1 + 1 * Cos(sine / 20)), Rad(0), Rad(20 + 2 * Cos(sine / 20))), 0.2)
  1303. end
  1304. for i = 1, 10 do
  1305. g = char:GetChildren()
  1306. for i = 1, #g do
  1307. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  1308. g[i].Transparency = g[i].Transparency + 0.1
  1309. hed.face.Transparency = hed.face.Transparency + 0.1
  1310. elseif g[i].ClassName == "Accessory" then
  1311. g[i].Handle.Transparency = g[i].Handle.Transparency + 0.1
  1312. end
  1313. end
  1314. swait()
  1315. end
  1316. local ORIGINPOS = root.Position
  1317. root.CFrame = CF(Vector3.new(mouse.Hit.p.X,root.Position.Y,mouse.Hit.p.Z),ORIGINPOS)
  1318. for i = 1, 10 do
  1319. g = char:GetChildren()
  1320. for i = 1, #g do
  1321. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  1322. g[i].Transparency = g[i].Transparency - 0.1
  1323. hed.face.Transparency = hed.face.Transparency - 0.1
  1324. elseif g[i].ClassName == "Accessory" then
  1325. g[i].Handle.Transparency = g[i].Handle.Transparency - 0.1
  1326. end
  1327. end
  1328. swait()
  1329. end
  1330. attack = false
  1331. end
  1332. -------------------------------------------------------
  1333. --End Attacks N Stuff--
  1334. -------------------------------------------------------
  1335. mouse.KeyDown:connect(function(key)
  1336. if string.byte(key) == 48 then
  1337. Swing = 2
  1338. hum.WalkSpeed = 38.82
  1339. end
  1340. end)
  1341. mouse.KeyUp:connect(function(key)
  1342. if string.byte(key) == 48 then
  1343. Swing = 1
  1344. hum.WalkSpeed = 8
  1345. end
  1346. end)
  1347. local Combo = 1
  1348. mouse.KeyDown:connect(function(key)
  1349. if attack == false then
  1350. if key == 'z' then
  1351. SunBlastWIP()
  1352. elseif key == 'x' then
  1353. WarpWIP()
  1354. elseif key == 't' then
  1355. Taunt1()
  1356. end
  1357. end
  1358. end)
  1359. mouse.Button1Down:connect(function(key)
  1360. if attack == false then
  1361. if Combo == 1 then
  1362. Combo = 2
  1363. attackone()
  1364. elseif Combo == 2 then
  1365. Combo = 3
  1366. attacktwo()
  1367. elseif Combo == 3 then
  1368. Combo = 1
  1369. attackthree()
  1370. end
  1371. end
  1372. end)
  1373.  
  1374.  
  1375.  
  1376. -------------------------------------------------------
  1377. --Start Animations--
  1378. -------------------------------------------------------
  1379. while true do
  1380. swait()
  1381. sine = sine + change
  1382. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1383. local velderp = root.Velocity.y
  1384. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1385. if equipped == true or equipped == false then
  1386. if attack == false then
  1387. idle = idle + 1
  1388. else
  1389. idle = 0
  1390. end
  1391. --[[if Music.TimePosition > 13 then
  1392. workspace.Base.BrickColor = BrickC("Cyan")
  1393. end
  1394. if Music.TimePosition > 16 then
  1395. local S = Instance.new('Sky', game:GetService'Lighting')
  1396. S.Name = ' 1341 63469 '
  1397. S.SkyboxBk = "rbxassetid://44200334"
  1398. S.SkyboxDn = "rbxassetid://44200418"
  1399. S.SkyboxUp = "rbxassetid://44200442"
  1400. S.SkyboxRt = "rbxassetid://44200394"
  1401. S.SkyboxLf = "rbxassetid://44200377"
  1402. S.SkyboxFt = "rbxassetid://44200353"
  1403. end]]
  1404. if 1 < root.Velocity.y and hitfloor == nil then
  1405. Anim = "Jump"
  1406. if attack == false then
  1407. hum.CameraOffset = Vector3.new(0, -0.5 + 0.1 * Cos(sine / 7), 0)
  1408. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1409. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1410. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1411. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1412. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1413. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1414. end
  1415. elseif -1 > root.Velocity.y and hitfloor == nil then
  1416. Anim = "Fall"
  1417. if attack == false then
  1418. hum.CameraOffset = Vector3.new(0, -0.5 + 0.1 * Cos(sine / 7), 0)
  1419. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1420. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1421. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1422. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1423. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1424. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1425. end
  1426. elseif torvel < 1 and hitfloor ~= nil then
  1427. Anim = "Idle"
  1428. change = 1
  1429. if attack == false then
  1430. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  1431. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1432. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25 - 9 * Sin(sine / 30)), Rad(0), Rad(-10 * Sin(sine / 35))), 0.3)
  1433. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(20)), 0.15)
  1434. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
  1435. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-7.5 * Sin(sine / 20)), Rad(25 + 7.5 * Sin(sine / 20))), 0.1)
  1436. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25 - 7.5 * Sin(sine / 20))), 0.1)
  1437. end
  1438. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1439. Anim = "Walk"
  1440. change = .9
  1441. if attack == false then
  1442. hum.CameraOffset = Vector3.new(0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7, 0)
  1443. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  1444. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1445. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1446. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1447. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(4) - ra.RotVelocity.Y / 75), 0.1)
  1448. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(-4) + la.RotVelocity.Y / 75), 0.1)
  1449. end
  1450. elseif torvel >= 25 and hitfloor ~= nil then
  1451. Anim = "Sprint"
  1452. change = 1.35
  1453. if attack == false then
  1454. hum.CameraOffset = Vector3.new(0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7, 0)
  1455. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  1456. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1457. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1458. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1459. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1460. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1461. end
  1462. end
  1463. end
  1464. if not Blur or Blur.Parent == nil then Blur = Instance.new("BlurEffect",cam) end
  1465. local magnitude = (cam.CFrame.lookVector - Last).magnitude
  1466. Blur.Size = math.abs(magnitude)*BlurAmount
  1467. Last = cam.CFrame.lookVector
  1468.  
  1469. Music.SoundId = "rbxassetid://"..SONG
  1470. Music.Looped = true
  1471. Music.Pitch = 1
  1472. Music.Volume = 3
  1473. Music.Parent = tors
  1474. Music:Resume()
  1475. if 0 < #Effects then
  1476. for e = 1, #Effects do
  1477. if Effects[e] ~= nil then
  1478. local Thing = Effects[e]
  1479. if Thing ~= nil then
  1480. local Part = Thing[1]
  1481. local Mode = Thing[2]
  1482. local Delay = Thing[3]
  1483. local IncX = Thing[4]
  1484. local IncY = Thing[5]
  1485. local IncZ = Thing[6]
  1486. if 1 >= Thing[1].Transparency then
  1487. if Thing[2] == "Block1" then
  1488. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1489. local Mesh = Thing[1].Mesh
  1490. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1491. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1492. elseif Thing[2] == "Block2" then
  1493. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1494. local Mesh = Thing[7]
  1495. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1496. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1497. elseif Thing[2] == "Block3" then
  1498. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1499. local Mesh = Thing[7]
  1500. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1501. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1502. elseif Thing[2] == "Cylinder" then
  1503. local Mesh = Thing[1].Mesh
  1504. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1505. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1506. elseif Thing[2] == "Blood" then
  1507. local Mesh = Thing[7]
  1508. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1509. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1510. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1511. elseif Thing[2] == "Elec" then
  1512. local Mesh = Thing[1].Mesh
  1513. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1514. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1515. elseif Thing[2] == "Disappear" then
  1516. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1517. elseif Thing[2] == "Shatter" then
  1518. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1519. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1520. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1521. Thing[6] = Thing[6] + Thing[5]
  1522. end
  1523. else
  1524. Part.Parent = nil
  1525. table.remove(Effects, e)
  1526. end
  1527. end
  1528. end
  1529. end
  1530. end
  1531. end
  1532. -------------------------------------------------------
  1533. --End Animations And Script--
  1534. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement