Advertisement
subaru112g

no one's around to help trying to convert to fe

Feb 17th, 2019
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.36 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : Ņ̢̨͢͟ó͢ ̧͢ơ̶̶̶̢n͜͏ę̶̡͠'͏́́͞҉ş̨͏ ͜a͝҉r̵̷̛̛͟o̶̡͟͝ų̶̸̵͝ń͡͡͏̷d̀͜͟ ̵̡́́͜t̡̀͘o͏̀̕͡ ͢h͠͏e̵͢͜ļ̡͢͡ṕ̛͏.̷̧̨ ]]--
  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. local FavIDs = {
  17. 340106355, --Nefl Crystals
  18. 927529620, --Dimension
  19. 876981900, --Fantasy
  20. 398987889, --Ordinary Days
  21. 1117396305, --Oh wait, it's you.
  22. 885996042, --Action Winter Journey
  23. 919231299, --Sprawling Idiot Effigy
  24. 743466274, --Good Day Sunshine
  25. 727411183, --Knife Fight
  26. 1402748531, --The Earth Is Counting On You!
  27. 595230126 --Robot Language
  28. }
  29.  
  30.  
  31.  
  32. --The reality of my life isn't real but a Universe -makhail07
  33. wait()
  34. local plr = owner
  35. print('Local User is '..plr.Name)
  36. local char = plr.Character
  37. local hum = char.Humanoid
  38. local hed = char.Head
  39. local root = char.HumanoidRootPart
  40. local rootj = root.RootJoint
  41. local tors = char.Torso
  42. local ra = char["Right Arm"]
  43. local la = char["Left Arm"]
  44. local rl = char["Right Leg"]
  45. local ll = char["Left Leg"]
  46. local neck = tors["Neck"]
  47. local mouse = plr:GetMouse()
  48. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  49. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  50. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  51. local maincolor = BrickColor.new("Institutional white")
  52.  
  53. -------------------------------------------------------
  54. --Start Good Stuff--
  55. -------------------------------------------------------
  56. cam = game.Workspace.CurrentCamera
  57. CF = CFrame.new
  58. angles = CFrame.Angles
  59. attack = false
  60. Euler = CFrame.fromEulerAnglesXYZ
  61. Rad = math.rad
  62. IT = Instance.new
  63. BrickC = BrickColor.new
  64. Cos = math.cos
  65. Acos = math.acos
  66. Sin = math.sin
  67. Asin = math.asin
  68. Abs = math.abs
  69. Mrandom = math.random
  70. Floor = math.floor
  71. -------------------------------------------------------
  72. --End Good Stuff--
  73. -------------------------------------------------------
  74. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  75. RSH, LSH = nil, nil
  76. RW = Instance.new("Weld")
  77. LW = Instance.new("Weld")
  78. RH = tors["Right Hip"]
  79. LH = tors["Left Hip"]
  80. RSH = tors["Right Shoulder"]
  81. LSH = tors["Left Shoulder"]
  82. RSH.Parent = nil
  83. LSH.Parent = nil
  84. RW.Name = "RW"
  85. RW.Part0 = tors
  86. RW.C0 = CF(1.5, 0.5, 0)
  87. RW.C1 = CF(0, 0.5, 0)
  88. RW.Part1 = ra
  89. RW.Parent = tors
  90. LW.Name = "LW"
  91. LW.Part0 = tors
  92. LW.C0 = CF(-1.5, 0.5, 0)
  93. LW.C1 = CF(0, 0.5, 0)
  94. LW.Part1 = la
  95. LW.Parent = tors
  96. Effects = {}
  97. -------------------------------------------------------
  98. --Start HeartBeat--
  99. -------------------------------------------------------
  100. ArtificialHB = Instance.new("BindableEvent", script)
  101. ArtificialHB.Name = "Heartbeat"
  102. script:WaitForChild("Heartbeat")
  103.  
  104. frame = 1 / 60
  105. tf = 0
  106. allowframeloss = false
  107. tossremainder = false
  108.  
  109.  
  110. lastframe = tick()
  111. script.Heartbeat:Fire()
  112.  
  113.  
  114. game:GetService("RunService").Heartbeat:connect(function(s, p)
  115. tf = tf + s
  116. if tf >= frame then
  117. if allowframeloss then
  118. script.Heartbeat:Fire()
  119. lastframe = tick()
  120. else
  121. for i = 1, math.floor(tf / frame) do
  122. script.Heartbeat:Fire()
  123. end
  124. lastframe = tick()
  125. end
  126. if tossremainder then
  127. tf = 0
  128. else
  129. tf = tf - frame * math.floor(tf / frame)
  130. end
  131. end
  132. end)
  133. -------------------------------------------------------
  134. --End HeartBeat--
  135. -------------------------------------------------------
  136.  
  137. -------------------------------------------------------
  138. --Start Important Functions--
  139. -------------------------------------------------------
  140. function swait(num)
  141. if num == 0 or num == nil then
  142. game:service("RunService").Stepped:wait(0)
  143. else
  144. for i = 0, num do
  145. game:service("RunService").Stepped:wait(0)
  146. end
  147. end
  148. end
  149. function thread(f)
  150. coroutine.resume(coroutine.create(f))
  151. end
  152. function clerp(a, b, t)
  153. local qa = {
  154. QuaternionFromCFrame(a)
  155. }
  156. local qb = {
  157. QuaternionFromCFrame(b)
  158. }
  159. local ax, ay, az = a.x, a.y, a.z
  160. local bx, by, bz = b.x, b.y, b.z
  161. local _t = 1 - t
  162. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  163. end
  164. function QuaternionFromCFrame(cf)
  165. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  166. local trace = m00 + m11 + m22
  167. if trace > 0 then
  168. local s = math.sqrt(1 + trace)
  169. local recip = 0.5 / s
  170. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  171. else
  172. local i = 0
  173. if m00 < m11 then
  174. i = 1
  175. end
  176. if m22 > (i == 0 and m00 or m11) then
  177. i = 2
  178. end
  179. if i == 0 then
  180. local s = math.sqrt(m00 - m11 - m22 + 1)
  181. local recip = 0.5 / s
  182. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  183. elseif i == 1 then
  184. local s = math.sqrt(m11 - m22 - m00 + 1)
  185. local recip = 0.5 / s
  186. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  187. elseif i == 2 then
  188. local s = math.sqrt(m22 - m00 - m11 + 1)
  189. local recip = 0.5 / s
  190. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  191. end
  192. end
  193. end
  194. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  195. local xs, ys, zs = x + x, y + y, z + z
  196. local wx, wy, wz = w * xs, w * ys, w * zs
  197. local xx = x * xs
  198. local xy = x * ys
  199. local xz = x * zs
  200. local yy = y * ys
  201. local yz = y * zs
  202. local zz = z * zs
  203. 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))
  204. end
  205. function QuaternionSlerp(a, b, t)
  206. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  207. local startInterp, finishInterp
  208. if cosTheta >= 1.0E-4 then
  209. if 1 - cosTheta > 1.0E-4 then
  210. local theta = math.acos(cosTheta)
  211. local invSinTheta = 1 / Sin(theta)
  212. startInterp = Sin((1 - t) * theta) * invSinTheta
  213. finishInterp = Sin(t * theta) * invSinTheta
  214. else
  215. startInterp = 1 - t
  216. finishInterp = t
  217. end
  218. elseif 1 + cosTheta > 1.0E-4 then
  219. local theta = math.acos(-cosTheta)
  220. local invSinTheta = 1 / Sin(theta)
  221. startInterp = Sin((t - 1) * theta) * invSinTheta
  222. finishInterp = Sin(t * theta) * invSinTheta
  223. else
  224. startInterp = t - 1
  225. finishInterp = t
  226. end
  227. 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
  228. end
  229. function rayCast(Position, Direction, Range, Ignore)
  230. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  231. end
  232. local RbxUtility = LoadLibrary("RbxUtility")
  233. local Create = RbxUtility.Create
  234.  
  235. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  236. for _, c in pairs(workspace:children()) do
  237. local hum = c:findFirstChild("Humanoid")
  238. if hum ~= nil then
  239. local head = c:findFirstChild("Head")
  240. if head ~= nil then
  241. local targ = head.Position - Part.Position
  242. local mag = targ.magnitude
  243. if magni >= mag and c.Name ~= plr.Name then
  244. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  245. end
  246. end
  247. end
  248. end
  249. end
  250.  
  251.  
  252. CFuncs = {
  253. Part = {
  254. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  255. local Part = Create("Part")({
  256. Parent = Parent,
  257. Reflectance = Reflectance,
  258. Transparency = 1,
  259. CanCollide = false,
  260. Locked = true,
  261. BrickColor = BrickColor.new(tostring(BColor)),
  262. Name = Name,
  263. Size = Size,
  264. Material = Material
  265. })
  266. RemoveOutlines(Part)
  267. return Part
  268. end
  269. },
  270. Mesh = {
  271. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  272. local Msh = Create(Mesh)({
  273. Parent = Part,
  274. Offset = OffSet,
  275. Scale = Scale
  276. })
  277. if Mesh == "SpecialMesh" then
  278. Msh.MeshType = MeshType
  279. Msh.MeshId = MeshId
  280. end
  281. return Msh
  282. end
  283. },
  284. Mesh = {
  285. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  286. local Msh = Create(Mesh)({
  287. Parent = Part,
  288. Offset = OffSet,
  289. Scale = Scale
  290. })
  291. if Mesh == "SpecialMesh" then
  292. Msh.MeshType = MeshType
  293. Msh.MeshId = MeshId
  294. end
  295. return Msh
  296. end
  297. },
  298. Weld = {
  299. Create = function(Parent, Part0, Part1, C0, C1)
  300. local Weld = Create("Weld")({
  301. Parent = Parent,
  302. Part0 = Part0,
  303. Part1 = Part1,
  304. C0 = C0,
  305. C1 = C1
  306. })
  307. return Weld
  308. end
  309. },
  310. Sound = {
  311. Create = function(id, par, vol, pit)
  312. coroutine.resume(coroutine.create(function()
  313. local S = Create("Sound")({
  314. Volume = vol,
  315. Pitch = pit or 1,
  316. SoundId = id,
  317. Parent = par or workspace
  318. })
  319. wait()
  320. S:play()
  321. game:GetService("Debris"):AddItem(S, 6)
  322. end))
  323. end
  324. },
  325. ParticleEmitter = {
  326. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  327. local fp = Create("ParticleEmitter")({
  328. Parent = Parent,
  329. Color = ColorSequence.new(Color1, Color2),
  330. LightEmission = LightEmission,
  331. Size = Size,
  332. Texture = Texture,
  333. Transparency = 1,
  334. ZOffset = ZOffset,
  335. Acceleration = Accel,
  336. Drag = Drag,
  337. LockedToPart = LockedToPart,
  338. VelocityInheritance = VelocityInheritance,
  339. EmissionDirection = EmissionDirection,
  340. Enabled = Enabled,
  341. Lifetime = LifeTime,
  342. Rate = Rate,
  343. Rotation = Rotation,
  344. RotSpeed = RotSpeed,
  345. Speed = Speed,
  346. VelocitySpread = VelocitySpread
  347. })
  348. return fp
  349. end
  350. }
  351. }
  352. function RemoveOutlines(part)
  353. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  354. end
  355. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  356. local Part = Create("Part")({
  357. formFactor = FormFactor,
  358. Parent = Parent,
  359. Reflectance = Reflectance,
  360. Transparency = 1,
  361. CanCollide = false,
  362. Locked = true,
  363. BrickColor = BrickColor.new(tostring(BColor)),
  364. Name = Name,
  365. Size = Size,
  366. Material = Material
  367. })
  368. RemoveOutlines(Part)
  369. return Part
  370. end
  371. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  372. local Msh = Create(Mesh)({
  373. Parent = Part,
  374. Offset = OffSet,
  375. Scale = Scale
  376. })
  377. if Mesh == "SpecialMesh" then
  378. Msh.MeshType = MeshType
  379. Msh.MeshId = MeshId
  380. end
  381. return Msh
  382. end
  383. function CreateWeld(Parent, Part0, Part1, C0, C1)
  384. local Weld = Create("Weld")({
  385. Parent = Parent,
  386. Part0 = Part0,
  387. Part1 = Part1,
  388. C0 = C0,
  389. C1 = C1
  390. })
  391. return Weld
  392. end
  393.  
  394.  
  395. -------------------------------------------------------
  396. --Start Effect Function--
  397. -------------------------------------------------------
  398. EffectModel = Instance.new("Model", char)
  399. Effects = {
  400. Block = {
  401. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  402. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  403. prt.Anchored = true
  404. prt.CFrame = cframe
  405. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  406. game:GetService("Debris"):AddItem(prt, 10)
  407. if Type == 1 or Type == nil then
  408. table.insert(Effects, {
  409. prt,
  410. "Block1",
  411. delay,
  412. x3,
  413. y3,
  414. z3,
  415. msh
  416. })
  417. elseif Type == 2 then
  418. table.insert(Effects, {
  419. prt,
  420. "Block2",
  421. delay,
  422. x3,
  423. y3,
  424. z3,
  425. msh
  426. })
  427. else
  428. table.insert(Effects, {
  429. prt,
  430. "Block3",
  431. delay,
  432. x3,
  433. y3,
  434. z3,
  435. msh
  436. })
  437. end
  438. end
  439. },
  440. Sphere = {
  441. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  442. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  443. prt.Anchored = true
  444. prt.CFrame = cframe
  445. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  446. game:GetService("Debris"):AddItem(prt, 10)
  447. table.insert(Effects, {
  448. prt,
  449. "Cylinder",
  450. delay,
  451. x3,
  452. y3,
  453. z3,
  454. msh
  455. })
  456. end
  457. },
  458. Cylinder = {
  459. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  460. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  461. prt.Anchored = true
  462. prt.CFrame = cframe
  463. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  464. game:GetService("Debris"):AddItem(prt, 10)
  465. table.insert(Effects, {
  466. prt,
  467. "Cylinder",
  468. delay,
  469. x3,
  470. y3,
  471. z3,
  472. msh
  473. })
  474. end
  475. },
  476. Wave = {
  477. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  478. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  479. prt.Anchored = true
  480. prt.CFrame = cframe
  481. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  482. game:GetService("Debris"):AddItem(prt, 10)
  483. table.insert(Effects, {
  484. prt,
  485. "Cylinder",
  486. delay,
  487. x3 / 60,
  488. y3 / 60,
  489. z3 / 60,
  490. msh
  491. })
  492. end
  493. },
  494. Ring = {
  495. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  496. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  497. prt.Anchored = true
  498. prt.CFrame = cframe
  499. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  500. game:GetService("Debris"):AddItem(prt, 10)
  501. table.insert(Effects, {
  502. prt,
  503. "Cylinder",
  504. delay,
  505. x3,
  506. y3,
  507. z3,
  508. msh
  509. })
  510. end
  511. },
  512. Break = {
  513. Create = function(brickcolor, cframe, x1, y1, z1)
  514. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  515. prt.Anchored = true
  516. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  517. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  518. local num = math.random(10, 50) / 1000
  519. game:GetService("Debris"):AddItem(prt, 10)
  520. table.insert(Effects, {
  521. prt,
  522. "Shatter",
  523. num,
  524. prt.CFrame,
  525. math.random() - math.random(),
  526. 0,
  527. math.random(50, 100) / 100
  528. })
  529. end
  530. },
  531. Spiral = {
  532. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  533. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  534. prt.Anchored = true
  535. prt.CFrame = cframe
  536. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  537. game:GetService("Debris"):AddItem(prt, 10)
  538. table.insert(Effects, {
  539. prt,
  540. "Cylinder",
  541. delay,
  542. x3,
  543. y3,
  544. z3,
  545. msh
  546. })
  547. end
  548. },
  549. Push = {
  550. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  551. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  552. prt.Anchored = true
  553. prt.CFrame = cframe
  554. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  555. game:GetService("Debris"):AddItem(prt, 10)
  556. table.insert(Effects, {
  557. prt,
  558. "Cylinder",
  559. delay,
  560. x3,
  561. y3,
  562. z3,
  563. msh
  564. })
  565. end
  566. }
  567. }
  568. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  569. local fp = IT("Part")
  570. fp.formFactor = formfactor
  571. fp.Parent = parent
  572. fp.Reflectance = reflectance
  573. fp.Transparency = 1
  574. fp.CanCollide = false
  575. fp.Locked = true
  576. fp.BrickColor = brickcolor
  577. fp.Name = name
  578. fp.Size = size
  579. fp.Position = tors.Position
  580. RemoveOutlines(fp)
  581. fp.Material = "SmoothPlastic"
  582. fp:BreakJoints()
  583. return fp
  584. end
  585.  
  586. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  587. local mesh = IT(Mesh)
  588. mesh.Parent = part
  589. if Mesh == "SpecialMesh" then
  590. mesh.MeshType = meshtype
  591. if meshid ~= "nil" then
  592. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  593. end
  594. end
  595. mesh.Offset = offset
  596. mesh.Scale = scale
  597. return mesh
  598. end
  599.  
  600. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  601. local type = type
  602. local rng = Instance.new("Part", char)
  603. rng.Anchored = true
  604. rng.BrickColor = color
  605. rng.CanCollide = false
  606. rng.FormFactor = 3
  607. rng.Name = "Ring"
  608. rng.Material = "Neon"
  609. rng.Size = Vector3.new(1, 1, 1)
  610. rng.Transparency = 1
  611. rng.TopSurface = 0
  612. rng.BottomSurface = 0
  613. rng.CFrame = pos
  614. local rngm = Instance.new("SpecialMesh", rng)
  615. rngm.MeshType = MType
  616. rngm.Scale = scale
  617. local scaler2 = 1
  618. if type == "Add" then
  619. scaler2 = 1 * value
  620. elseif type == "Divide" then
  621. scaler2 = 1 / value
  622. end
  623. coroutine.resume(coroutine.create(function()
  624. for i = 0, 10 / bonuspeed, 0.1 do
  625. swait()
  626. if type == "Add" then
  627. scaler2 = scaler2 - 0.01 * value / bonuspeed
  628. elseif type == "Divide" then
  629. scaler2 = scaler2 - 0.01 / value * bonuspeed
  630. end
  631. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  632. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  633. end
  634. rng:Destroy()
  635. end))
  636. end
  637.  
  638. function Eviscerate(dude)
  639. if dude.Name ~= char then
  640. local bgf = IT("BodyGyro", dude.Head)
  641. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  642. local val = IT("BoolValue", dude)
  643. val.Name = "IsHit"
  644. local ds = coroutine.wrap(function()
  645. dude:WaitForChild("Head"):BreakJoints()
  646. wait(0.5)
  647. target = nil
  648. coroutine.resume(coroutine.create(function()
  649. for i, v in pairs(dude:GetChildren()) do
  650. if v:IsA("Accessory") then
  651. v:Destroy()
  652. end
  653. if v:IsA("Humanoid") then
  654. v:Destroy()
  655. end
  656. if v:IsA("CharacterMesh") then
  657. v:Destroy()
  658. end
  659. if v:IsA("Model") then
  660. v:Destroy()
  661. end
  662. if v:IsA("Part") or v:IsA("MeshPart") then
  663. for x, o in pairs(v:GetChildren()) do
  664. if o:IsA("Decal") then
  665. o:Destroy()
  666. end
  667. end
  668. coroutine.resume(coroutine.create(function()
  669. v.Material = "Neon"
  670. v.CanCollide = false
  671. local PartEmmit1 = IT("ParticleEmitter", v)
  672. PartEmmit1.LightEmission = 1
  673. PartEmmit1.Texture = "rbxassetid://284205403"
  674. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  675. PartEmmit1.Rate = 150
  676. PartEmmit1.Lifetime = NumberRange.new(1)
  677. PartEmmit1.Size = NumberSequence.new({
  678. NumberSequenceKeypoint.new(0, 0.75, 0),
  679. NumberSequenceKeypoint.new(1, 0, 0)
  680. })
  681. PartEmmit1.Transparency = NumberSequence.new({
  682. NumberSequenceKeypoint.new(0, 0, 0),
  683. NumberSequenceKeypoint.new(1, 1, 0)
  684. })
  685. PartEmmit1.Speed = NumberRange.new(0, 0)
  686. PartEmmit1.VelocitySpread = 30000
  687. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  688. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  689. local BodPoss = IT("BodyPosition", v)
  690. BodPoss.P = 3000
  691. BodPoss.D = 1000
  692. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  693. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  694. v.Color = maincolor.Color
  695. coroutine.resume(coroutine.create(function()
  696. for i = 0, 49 do
  697. swait(1)
  698. v.Transparency = v.Transparency + 0.08
  699. end
  700. wait(0.5)
  701. PartEmmit1.Enabled = false
  702. wait(3)
  703. v:Destroy()
  704. dude:Destroy()
  705. end))
  706. end))
  707. end
  708. end
  709. end))
  710. end)
  711. ds()
  712. end
  713. end
  714.  
  715. function FindNearestHead(Position, Distance, SinglePlayer)
  716. if SinglePlayer then
  717. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  718. end
  719. local List = {}
  720. for i, v in pairs(workspace:GetChildren()) do
  721. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  722. table.insert(List, v)
  723. end
  724. end
  725. return List
  726. end
  727.  
  728. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  729. local type = type
  730. local rng = Instance.new("Part", char)
  731. rng.Anchored = true
  732. rng.BrickColor = color
  733. rng.CanCollide = false
  734. rng.FormFactor = 3
  735. rng.Name = "Ring"
  736. rng.Material = "Neon"
  737. rng.Size = Vector3.new(1, 1, 1)
  738. rng.Transparency = 1
  739. rng.TopSurface = 0
  740. rng.BottomSurface = 0
  741. rng.CFrame = pos
  742. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  743. local rngm = Instance.new("SpecialMesh", rng)
  744. rngm.MeshType = MType
  745. rngm.Scale = Vector3.new(x1, y1, z1)
  746. local scaler2 = 1
  747. local speeder = FastSpeed
  748. if type == "Add" then
  749. scaler2 = 1 * value
  750. elseif type == "Divide" then
  751. scaler2 = 1 / value
  752. end
  753. coroutine.resume(coroutine.create(function()
  754. for i = 0, 10 / bonuspeed, 0.1 do
  755. swait()
  756. if type == "Add" then
  757. scaler2 = scaler2 - 0.01 * value / bonuspeed
  758. elseif type == "Divide" then
  759. scaler2 = scaler2 - 0.01 / value * bonuspeed
  760. end
  761. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  762. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  763. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  764. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  765. end
  766. rng:Destroy()
  767. end))
  768. end
  769.  
  770. function SoulSteal(dude)
  771. if dude.Name ~= char then
  772. local bgf = IT("BodyGyro", dude.Head)
  773. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  774. local val = IT("BoolValue", dude)
  775. val.Name = "IsHit"
  776. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  777. local soulst = coroutine.wrap(function()
  778. local soul = Instance.new("Part",dude)
  779. soul.Size = Vector3.new(1,1,1)
  780. soul.CanCollide = false
  781. soul.Anchored = false
  782. soul.Position = torso.Position
  783. soul.Transparency = 1
  784. local PartEmmit1 = IT("ParticleEmitter", soul)
  785. PartEmmit1.LightEmission = 1
  786. PartEmmit1.Texture = "rbxassetid://569507414"
  787. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  788. PartEmmit1.Rate = 250
  789. PartEmmit1.Lifetime = NumberRange.new(1.6)
  790. PartEmmit1.Size = NumberSequence.new({
  791. NumberSequenceKeypoint.new(0, 1, 0),
  792. NumberSequenceKeypoint.new(1, 0, 0)
  793. })
  794. PartEmmit1.Transparency = NumberSequence.new({
  795. NumberSequenceKeypoint.new(0, 0, 0),
  796. NumberSequenceKeypoint.new(1, 1, 0)
  797. })
  798. PartEmmit1.Speed = NumberRange.new(0, 0)
  799. PartEmmit1.VelocitySpread = 30000
  800. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  801. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  802. local BodPoss = IT("BodyPosition", soul)
  803. BodPoss.P = 3000
  804. BodPoss.D = 1000
  805. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  806. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  807. wait(1.6)
  808. soul.Touched:connect(function(hit)
  809. if hit.Parent == char then
  810. soul:Destroy()
  811. end
  812. end)
  813. wait(1.2)
  814. while soul do
  815. swait()
  816. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  817. BodPoss.Position = tors.Position
  818. end
  819. end)
  820. soulst()
  821. end
  822. end
  823.  
  824. -------------------------------------------------------
  825. --End Effect Function--
  826. -------------------------------------------------------
  827. function Cso(ID, PARENT, VOLUME, PITCH)
  828. local NSound = nil
  829. coroutine.resume(coroutine.create(function()
  830. NSound = IT("Sound", PARENT)
  831. NSound.Volume = VOLUME
  832. NSound.Pitch = PITCH
  833. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  834. swait()
  835. NSound:play()
  836. game:GetService("Debris"):AddItem(NSound, 10)
  837. end))
  838. return NSound
  839. end
  840. function CameraEnshaking(Length, Intensity)
  841. coroutine.resume(coroutine.create(function()
  842. local intensity = 1 * Intensity
  843. local rotM = 0.01 * Intensity
  844. for i = 0, Length, 0.1 do
  845. swait()
  846. intensity = intensity - 0.05 * Intensity / Length
  847. rotM = rotM - 5.0E-4 * Intensity / Length
  848. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  849. 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)
  850. end
  851. hum.CameraOffset = Vector3.new(0, 0, 0)
  852. end))
  853. end
  854. -------------------------------------------------------
  855. --End Important Functions--
  856. -------------------------------------------------------
  857.  
  858.  
  859. -------------------------------------------------------
  860. --Start Customization--
  861. -------------------------------------------------------
  862. local Player_Size = 1
  863. if Player_Size ~= 1 then
  864. root.Size = root.Size * Player_Size
  865. tors.Size = tors.Size * Player_Size
  866. hed.Size = hed.Size * Player_Size
  867. ra.Size = ra.Size * Player_Size
  868. la.Size = la.Size * Player_Size
  869. rl.Size = rl.Size * Player_Size
  870. ll.Size = ll.Size * Player_Size
  871. ----------------------------------------------------------------------------------
  872. rootj.Parent = root
  873. neck.Parent = tors
  874. RW.Parent = tors
  875. LW.Parent = tors
  876. RH.Parent = tors
  877. LH.Parent = tors
  878. ----------------------------------------------------------------------------------
  879. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  880. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  881. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  882. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  883. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  884. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  885. ----------------------------------------------------------------------------------
  886. 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))
  887. 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))
  888. 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))
  889. 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))
  890. --hat.Parent = Character
  891. end
  892. ----------------------------------------------------------------------------------
  893. local SONG = 1280408510
  894. local SONG2 = 0
  895. local Music = Instance.new("Sound",tors)
  896. Music.Volume = 2.5
  897. Music.Looped = true
  898. Music.Pitch = 1 --Pitcher
  899. ----------------------------------------------------------------------------------
  900. local equipped = false
  901. local idle = 0
  902. local change = 1
  903. local val = 0
  904. local toim = 0
  905. local idleanim = 0.4
  906. local sine = 0
  907. local Sit = 1
  908. ----------------------------------------------------------------------------------
  909. hum.WalkSpeed = 8
  910. hum.JumpPower = 57
  911. hum.Animator.Parent = nil
  912. ----------------------------------------------------------------------------------
  913. local r = 255
  914. local g = 0
  915. local b = 0
  916. coroutine.resume(coroutine.create(function()
  917. while wait() do
  918. for i = 0, 50.8 do
  919. swait()
  920. g = g + 5
  921. end
  922. for i = 0, 50.8 do
  923. swait()
  924. r = r - 5
  925. end
  926. for i = 0, 50.8 do
  927. swait()
  928. b = b + 5
  929. end
  930. for i = 0, 50.8 do
  931. swait()
  932. g = g - 5
  933. end
  934. for i = 0, 50.8 do
  935. swait()
  936. r = r + 5
  937. end
  938. for i = 0, 50.8 do
  939. swait()
  940. b = b - 5
  941. end
  942. end
  943. end))
  944. ----------------------------------------------------------------------------------
  945. local naeeym2 = IT("BillboardGui",char)
  946. naeeym2.AlwaysOnTop = true
  947. naeeym2.Size = UDim2.new(5,35,2,15)
  948. naeeym2.StudsOffset = Vector3.new(0,2,0)
  949. naeeym2.MaxDistance = 75
  950. naeeym2.Adornee = hed
  951. naeeym2.Name = "Name"
  952. local tecks2 = IT("TextLabel",naeeym2)
  953. tecks2.BackgroundTransparency = 1
  954. tecks2.TextScaled = true
  955. tecks2.BorderSizePixel = 0
  956. tecks2.Text = "No one's around to help."
  957. --tecks2.Font = "Fantasy"
  958. tecks2.TextSize = 30
  959. tecks2.TextStrokeTransparency = 0
  960. tecks2.TextColor3 = Color3.new(1,1,1)
  961. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  962. tecks2.Size = UDim2.new(1,0,0.5,0)
  963. tecks2.Parent = naeeym2
  964. hed.face.Texture = "rbxassetid://33752579"
  965. ----------------------------------------------------------------------------------
  966. Reaper = IT("Model")
  967. Reaper.Parent = char
  968. Reaper.Name = "Reaper"
  969. RHe = IT("Part")
  970. RHe.Parent = Reaper
  971. RHe.BrickColor = BrickC("Really black")
  972. RHe.Locked = true
  973. RHe.CanCollide = false
  974. RHe.Transparency = 1
  975. PMesh = IT("SpecialMesh")
  976. RHe.formFactor = "Symmetric"
  977. PMesh.MeshType = "FileMesh"
  978. PMesh.MeshId = "rbxassetid://1374148"
  979. PMesh.TextureId = "rbxassetid://185703978"
  980. PMesh.Scale = Vector3.new(1, 1, 1)
  981. PMesh.Parent = RHe
  982. local RWeld = IT("Weld")
  983. RWeld.Parent = RHe
  984. RWeld.Part0 = RHe
  985. RWeld.Part1 = hed
  986. RWeld.C0 = CF(0, -.7, 0) * angles(0, 0, 0)
  987. -------------------------------------------------------
  988. --End Customization--
  989. -------------------------------------------------------
  990.  
  991.  
  992. -------------------------------------------------------
  993. --Start Attacks N Stuff--
  994. -------------------------------------------------------
  995.  
  996. -------------------------------------------------------
  997. --End Attacks N Stuff--
  998. -------------------------------------------------------
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008. -------------------------------------------------------
  1009. --Start Animations--
  1010. -------------------------------------------------------
  1011. while true do
  1012. swait()
  1013. sine = sine + change
  1014. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1015. local velderp = root.Velocity.y
  1016. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1017. if equipped == true or equipped == false then
  1018. if attack == false then
  1019. idle = idle + 1
  1020. else
  1021. idle = 0
  1022. end
  1023. tecks2.TextStrokeColor3 = Color3.new(r / 255, g / 255, b / 255)
  1024. if 1 < root.Velocity.y and hitfloor == nil then
  1025. Anim = "Jump"
  1026. if attack == false then
  1027. 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)
  1028. 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)
  1029. 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)
  1030. 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)
  1031. 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)
  1032. 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)
  1033. end
  1034. elseif -1 > root.Velocity.y and hitfloor == nil then
  1035. Anim = "Fall"
  1036. if attack == false then
  1037. 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)
  1038. 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)
  1039. 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)
  1040. 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)
  1041. 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)
  1042. 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)
  1043. end
  1044. elseif torvel < 1 and hitfloor ~= nil then
  1045. Anim = "Idle"
  1046. change = .5
  1047. if attack == false then
  1048. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.05 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1049. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 3)), Rad(-4.5 * Sin(sine / 3)), Rad(0)), 0.3)
  1050. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 + 0.1 * Cos(sine / 3)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-5)), 0.15)
  1051. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1052. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.05 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1053. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20* Player_Size), 0* Player_Size) * angles(Rad(-30 * Sin(sine / 10)), Rad(0), Rad(-5 - 4.5 * Sin(sine / 20))), 0.1)
  1054. end
  1055. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1056. Anim = "Walk"
  1057. change = .9
  1058. if attack == false then
  1059. 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)
  1060. 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)
  1061. 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)
  1062. 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)
  1063. 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(-.6) - ra.RotVelocity.Y / 75), 0.1)
  1064. 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(.6) + la.RotVelocity.Y / 75), 0.1)
  1065. end
  1066. elseif torvel >= 25 and hitfloor ~= nil then
  1067. Anim = "Sprint"
  1068. change = 1.35
  1069. if attack == false then
  1070. 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)
  1071. 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)
  1072. 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)
  1073. 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)
  1074. 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)
  1075. 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)
  1076. end
  1077. end
  1078. end
  1079. Music.SoundId = "rbxassetid://"..SONG
  1080. Music.Looped = true
  1081. Music.Pitch = 1
  1082. Music.Volume = 5
  1083. Music.Parent = tors
  1084. Music:Resume()
  1085. if 0 < #Effects then
  1086. for e = 1, #Effects do
  1087. if Effects[e] ~= nil then
  1088. local Thing = Effects[e]
  1089. if Thing ~= nil then
  1090. local Part = Thing[1]
  1091. local Mode = Thing[2]
  1092. local Delay = Thing[3]
  1093. local IncX = Thing[4]
  1094. local IncY = Thing[5]
  1095. local IncZ = Thing[6]
  1096. if 1 >= Thing[1].Transparency then
  1097. if Thing[2] == "Block1" then
  1098. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1099. local Mesh = Thing[1].Mesh
  1100. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1101. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1102. elseif Thing[2] == "Block2" then
  1103. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1104. local Mesh = Thing[7]
  1105. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1106. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1107. elseif Thing[2] == "Block3" then
  1108. 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)
  1109. local Mesh = Thing[7]
  1110. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1111. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1112. elseif Thing[2] == "Cylinder" then
  1113. local Mesh = Thing[1].Mesh
  1114. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1115. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1116. elseif Thing[2] == "Blood" then
  1117. local Mesh = Thing[7]
  1118. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1119. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1120. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1121. elseif Thing[2] == "Elec" then
  1122. local Mesh = Thing[1].Mesh
  1123. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1124. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1125. elseif Thing[2] == "Disappear" then
  1126. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1127. elseif Thing[2] == "Shatter" then
  1128. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1129. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1130. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1131. Thing[6] = Thing[6] + Thing[5]
  1132. end
  1133. else
  1134. Part.Parent = nil
  1135. table.remove(Effects, e)
  1136. end
  1137. end
  1138. end
  1139. end
  1140. end
  1141. end
  1142. -------------------------------------------------------
  1143. --End Animations And Script--
  1144. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement