Advertisement
Christoffer07700Extr

Chain Magician edit

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