Advertisement
5sdfsadgaq5465

chain magician edit

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