Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.51 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 = Fxc500
  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 = 597442173
  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. -------------------------------------------------------
  1257. --End Customization--
  1258. -------------------------------------------------------
  1259.  
  1260. -------------------------------------------------------
  1261. --Start Attacks N Stuff--
  1262. -------------------------------------------------------
  1263. function DRAG_THEM_TO_HELL()
  1264. if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1265. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1266. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1267. local HEAD = HUM.Parent:FindFirstChild("Head")
  1268. if HEAD and TORSO and HUM.Health > 0 then
  1269. local GYRO = IT("BodyGyro",root)
  1270. GYRO.D = 275
  1271. GYRO.P = 20000
  1272. GYRO.MaxTorque = Vector3.new(0,40000,0)
  1273. attack = true
  1274. hum.WalkSpeed = 0
  1275. local hit,pos,hummie;
  1276. local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
  1277. Hook.Transparency = 1
  1278. local A = NewInstance("Attachment",Hook)
  1279. local B = NewInstance("Attachment",ra,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
  1280. 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})
  1281. local POS = Mouse.Hit.p
  1282. local CHAINS = false
  1283. local CHAINLINKS = {}
  1284. local A = IT("Attachment",ra)
  1285. A.Position = Vector3.new(1,-1,0)*Player_Size
  1286. A.Orientation = Vector3.new(-90, -89.982, 0)
  1287. local B = IT("Attachment",ra)
  1288. B.Position = Vector3.new(-1,-1,0)*Player_Size
  1289. B.Orientation = Vector3.new(-90, 89.988, 0)
  1290. local C = IT("Attachment",ra)
  1291. C.Position = Vector3.new(0.5,-1.3,0)*Player_Size
  1292. C.Orientation = Vector3.new(-90, -89.982, 0)
  1293. local D = IT("Attachment",ra)
  1294. D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size
  1295. D.Orientation = Vector3.new(-90, 89.988, 0)
  1296. local LIGHT = IT("Attachment",ra)
  1297. LIGHT.Position = Vector3.new(0,-1,0)*Player_Size
  1298. local LIGHT2 = IT("PointLight",LIGHT)
  1299. LIGHT2.Range = 7
  1300. LIGHT2.Brightness = 5
  1301. LIGHT2.Color = Color3.new(0,0,0)
  1302. for i = 1, 2 do
  1303. local TWIST = -2
  1304. local START = A
  1305. local END = B
  1306. if i == 1 then
  1307. START = B
  1308. END = A
  1309. end
  1310. local ChainLink = IT("Beam",tors)
  1311. ChainLink.Texture = "rbxassetid://73042633"
  1312. ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138))
  1313. ChainLink.TextureSpeed = 1
  1314. ChainLink.Width0 = 1
  1315. ChainLink.Width1 = 1
  1316. ChainLink.TextureLength = 2.5
  1317. ChainLink.Attachment0 = START
  1318. ChainLink.Attachment1 = END
  1319. ChainLink.CurveSize0 = TWIST
  1320. ChainLink.CurveSize1 = TWIST
  1321. --ChainLink.FaceCamera = true
  1322. ChainLink.Segments = 45
  1323. ChainLink.Transparency = NumberSequence.new(0.25)
  1324. table.insert(CHAINLINKS,ChainLink)
  1325. end
  1326. for i = 1, 2 do
  1327. local TWIST = -1
  1328. local START = C
  1329. local END = D
  1330. if i == 1 then
  1331. START = D
  1332. END = C
  1333. end
  1334. local ChainLink = IT("Beam",tors)
  1335. ChainLink.Texture = "rbxassetid://73042633"
  1336. ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138))
  1337. ChainLink.TextureSpeed = 1
  1338. ChainLink.Width0 = 1
  1339. ChainLink.Width1 = 1
  1340. ChainLink.TextureLength = 5
  1341. ChainLink.Attachment0 = START
  1342. ChainLink.Attachment1 = END
  1343. ChainLink.CurveSize0 = TWIST
  1344. ChainLink.CurveSize1 = TWIST
  1345. --ChainLink.FaceCamera = true
  1346. ChainLink.Segments = 25
  1347. ChainLink.LightEmission = 0.5
  1348. ChainLink.Transparency = NumberSequence.new(0.25)
  1349. table.insert(CHAINLINKS,ChainLink)
  1350. end
  1351. for i = 0, 2.3, .1 do
  1352. swait()
  1353. GYRO.cframe = CF(root.Position,TORSO.Position)
  1354. 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)
  1355. 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)
  1356. 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)
  1357. 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)
  1358. 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)
  1359. 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)
  1360. end
  1361. Cso("169105657", ra, 7, 1.2)
  1362. for i = 0, 4, .1 do
  1363. if(hit)then break end
  1364. swait()
  1365. GYRO.cframe = CF(root.Position,TORSO.Position)
  1366. Hook.CFrame = HEAD.CFrame
  1367. 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)
  1368. 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)
  1369. 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)
  1370. 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)
  1371. 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)
  1372. 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)
  1373. end
  1374. for _,v in next, getRegion(Hook.Position,1,{char}) do
  1375. if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then
  1376. hit = GetTorso(v.Parent);
  1377. hummie = v.Parent:FindFirstChildOfClass'Humanoid';
  1378. break;
  1379. end
  1380. end
  1381. Cso("169105657", ra, 5, .8)
  1382. Cso("131228548", tors, 2, 1.1)
  1383. GYRO:remove()
  1384. for i = 0, 3, .1 do
  1385. swait()
  1386. HUM.PlatformStand = true
  1387. Hook.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2)
  1388. if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new()
  1389. end
  1390. if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then
  1391. break
  1392. end
  1393. Chain.TextureLength = 4
  1394. 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)
  1395. 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)
  1396. 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)
  1397. 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)
  1398. 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)
  1399. 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)
  1400. end
  1401. hum.WalkSpeed = 16
  1402. attack = false
  1403. Hook:Destroy()
  1404. A:remove()
  1405. B:remove()
  1406. C:remove()
  1407. D:remove()
  1408. end
  1409. end
  1410. end
  1411. --------------------------------------------------------
  1412. --------------------------------------------------------
  1413. --------------------------------------------------------
  1414. --------------------------------------------------------
  1415. --------------------------------------------------------
  1416. --------------------------------------------------------
  1417. --------------------------------------------------------
  1418. function DRAG_YOURSELF_TO_HELL()
  1419. if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1420. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1421. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1422. local HEAD = HUM.Parent:FindFirstChild("Head")
  1423. if HEAD and TORSO and HUM.Health > 0 then
  1424. local GYRO = IT("BodyGyro",root)
  1425. GYRO.D = 275
  1426. GYRO.P = 20000
  1427. GYRO.MaxTorque = Vector3.new(0,40000,0)
  1428. attack = true
  1429. hum.WalkSpeed = 0
  1430. local hit,pos,hummie;
  1431. local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
  1432. Hook.Transparency = 1
  1433. local A = NewInstance("Attachment",Hook)
  1434. local B = NewInstance("Attachment",ra,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
  1435. 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})
  1436. local POS = Mouse.Hit.p
  1437. local CHAINS = false
  1438. local CHAINLINKS = {}
  1439. local A = IT("Attachment",ra)
  1440. A.Position = Vector3.new(1,-1,0)*Player_Size
  1441. A.Orientation = Vector3.new(-90, -89.982, 0)
  1442. local B = IT("Attachment",ra)
  1443. B.Position = Vector3.new(-1,-1,0)*Player_Size
  1444. B.Orientation = Vector3.new(-90, 89.988, 0)
  1445. local C = IT("Attachment",ra)
  1446. C.Position = Vector3.new(0.5,-1.3,0)*Player_Size
  1447. C.Orientation = Vector3.new(-90, -89.982, 0)
  1448. local D = IT("Attachment",ra)
  1449. D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size
  1450. D.Orientation = Vector3.new(-90, 89.988, 0)
  1451. local LIGHT = IT("Attachment",ra)
  1452. LIGHT.Position = Vector3.new(0,-1,0)*Player_Size
  1453. local LIGHT2 = IT("PointLight",LIGHT)
  1454. LIGHT2.Range = 7
  1455. LIGHT2.Brightness = 5
  1456. LIGHT2.Color = Color3.new(0,0,0)
  1457. for i = 1, 2 do
  1458. local TWIST = -2
  1459. local START = A
  1460. local END = B
  1461. if i == 1 then
  1462. START = B
  1463. END = A
  1464. end
  1465. local ChainLink = IT("Beam",tors)
  1466. ChainLink.Texture = "rbxassetid://73042633"
  1467. ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138))
  1468. ChainLink.TextureSpeed = 1
  1469. ChainLink.Width0 = 1
  1470. ChainLink.Width1 = 1
  1471. ChainLink.TextureLength = 2.5
  1472. ChainLink.Attachment0 = START
  1473. ChainLink.Attachment1 = END
  1474. ChainLink.CurveSize0 = TWIST
  1475. ChainLink.CurveSize1 = TWIST
  1476. --ChainLink.FaceCamera = true
  1477. ChainLink.Segments = 45
  1478. ChainLink.Transparency = NumberSequence.new(0.25)
  1479. table.insert(CHAINLINKS,ChainLink)
  1480. end
  1481. for i = 1, 2 do
  1482. local TWIST = -1
  1483. local START = C
  1484. local END = D
  1485. if i == 1 then
  1486. START = D
  1487. END = C
  1488. end
  1489. local ChainLink = IT("Beam",tors)
  1490. ChainLink.Texture = "rbxassetid://73042633"
  1491. ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138))
  1492. ChainLink.TextureSpeed = 1
  1493. ChainLink.Width0 = 1
  1494. ChainLink.Width1 = 1
  1495. ChainLink.TextureLength = 5
  1496. ChainLink.Attachment0 = START
  1497. ChainLink.Attachment1 = END
  1498. ChainLink.CurveSize0 = TWIST
  1499. ChainLink.CurveSize1 = TWIST
  1500. --ChainLink.FaceCamera = true
  1501. ChainLink.Segments = 25
  1502. ChainLink.LightEmission = 0.5
  1503. ChainLink.Transparency = NumberSequence.new(0.25)
  1504. table.insert(CHAINLINKS,ChainLink)
  1505. end
  1506. for i = 0, 2.3, .1 do
  1507. swait()
  1508. GYRO.cframe = CF(root.Position,TORSO.Position)
  1509. 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)
  1510. 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)
  1511. 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)
  1512. 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)
  1513. 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)
  1514. 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)
  1515. end
  1516. Cso("169105657", ra, 7, 1.2)
  1517. for i = 0, 4, .1 do
  1518. if(hit)then break end
  1519. swait()
  1520. GYRO.cframe = CF(root.Position,TORSO.Position)
  1521. Hook.CFrame = HEAD.CFrame
  1522. 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)
  1523. 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)
  1524. 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)
  1525. 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)
  1526. 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)
  1527. 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)
  1528. end
  1529. for _,v in next, getRegion(Hook.Position,1,{char}) do
  1530. if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then
  1531. hit = GetTorso(v.Parent);
  1532. hummie = v.Parent:FindFirstChildOfClass'Humanoid';
  1533. break;
  1534. end
  1535. end
  1536. Cso("169105657", ra, 5, .8)
  1537. Cso("271693128", tors, 2, 1)
  1538. GYRO:remove()
  1539. for i = 0, 3, .1 do
  1540. swait()
  1541. root.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2)
  1542. if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new()
  1543. end
  1544. if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then
  1545. break
  1546. end
  1547. Chain.TextureLength = 4
  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(90), Rad(-5), Rad(0)), 0.15)
  1549. 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)
  1550. 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)
  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(0)), 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(0), 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(-25)), 0.1)
  1554. end
  1555. hum.WalkSpeed = 16
  1556. attack = false
  1557. Hook:Destroy()
  1558. A:remove()
  1559. B:remove()
  1560. C:remove()
  1561. D:remove()
  1562. end
  1563. end
  1564. end
  1565. --------------------------------------------------------
  1566. --------------------------------------------------------
  1567. --------------------------------------------------------
  1568. --------------------------------------------------------
  1569. --------------------------------------------------------
  1570. --------------------------------------------------------
  1571. --------------------------------------------------------
  1572. function GIMME_THOSE()
  1573. if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1574. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1575. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1576. local HEAD = HUM.Parent:FindFirstChild("Head")
  1577. local RIGHTARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightLowerArm")
  1578. local LEFTARM = HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("LeftLowerArm")
  1579. if HEAD and TORSO and HUM.Health > 0 then
  1580. local GYRO = IT("BodyGyro",root)
  1581. GYRO.D = 275
  1582. GYRO.P = 20000
  1583. GYRO.MaxTorque = Vector3.new(0,40000,0)
  1584. attack = true
  1585. hum.WalkSpeed = 0
  1586. local hit,pos,hummie;
  1587. local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
  1588. local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
  1589. Hook.Transparency = 1
  1590. Hook2.Transparency = 1
  1591. local A = NewInstance("Attachment",Hook)
  1592. local B = NewInstance("Attachment",ra,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
  1593. local A2 = NewInstance("Attachment",Hook2)
  1594. local B2 = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
  1595. 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})
  1596. 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})
  1597. for i = 0, 2.3, .1 do
  1598. swait()
  1599. GYRO.cframe = CF(root.Position,TORSO.Position)
  1600. 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)
  1601. 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)
  1602. 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)
  1603. 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)
  1604. 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)
  1605. 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)
  1606. end
  1607. Cso("169105657", ra, 7, 1.2)
  1608. for i = 0, 5, .1 do
  1609. if(hit)then break end
  1610. swait()
  1611. GYRO.cframe = CF(root.Position,TORSO.Position)
  1612. Hook.CFrame = TORSO.CFrame
  1613. Hook2.CFrame = TORSO.CFrame
  1614. 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)
  1615. 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)
  1616. 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)
  1617. 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)
  1618. 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)
  1619. 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)
  1620. end
  1621. for _,v in next, getRegion(Hook.Position,1,{char}) do
  1622. if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then
  1623. hit = GetTorso(v.Parent);
  1624. hummie = v.Parent:FindFirstChildOfClass'Humanoid';
  1625. break;
  1626. end
  1627. end
  1628. Cso("169105657", ra, 5, .8)
  1629. Cso("1474367957", TORSO, 2, 1)
  1630. GYRO:remove()
  1631. TORSO:BreakJoints()
  1632. for i = 0, 6, .1 do
  1633. swait()
  1634. Hook.CFrame = Hook.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2)
  1635. if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new()
  1636. end
  1637. if((Hook.CFrame.p-tors.CFrame.p).magnitude < 2)then
  1638. break
  1639. end
  1640. Hook2.CFrame = Hook2.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2)
  1641. if(hit)then hit.CFrame = Hook2.CFrame; hit.Velocity = Vector3.new()
  1642. end
  1643. if((Hook2.CFrame.p-tors.CFrame.p).magnitude < 2)then
  1644. break
  1645. end
  1646. Chain.TextureLength = 4
  1647. Chain2.TextureLength = 4
  1648. 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)
  1649. 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)
  1650. 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)
  1651. 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)
  1652. 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)
  1653. 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)
  1654. end
  1655. hum.WalkSpeed = 16
  1656. attack = false
  1657. Hook2:Destroy()
  1658. Hook:Destroy()
  1659. end
  1660. end
  1661. end
  1662. -------------------------------------------------------
  1663. --End Attacks N Stuff--
  1664. -------------------------------------------------------
  1665. Mouse.KeyDown:connect(function(key)
  1666. if attack == false then
  1667. if key == 'b' then
  1668. DRAG_THEM_TO_HELL()
  1669. elseif key == 'v' then
  1670. DRAG_YOURSELF_TO_HELL()
  1671. elseif key == 'c' then
  1672. GIMME_THOSE()
  1673. end
  1674. end
  1675. end)
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683. -------------------------------------------------------
  1684. --Start Animations--
  1685. -------------------------------------------------------
  1686. print("By Makhail07")
  1687. while true do
  1688. swait()
  1689. sine = sine + change
  1690. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1691. local velderp = root.Velocity.y
  1692. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1693. if equipped == true or equipped == false then
  1694. if attack == false then
  1695. idle = idle + 1
  1696. else
  1697. idle = 0
  1698. end
  1699. if 1 < root.Velocity.y and hitfloor == nil then
  1700. Anim = "Jump"
  1701. if attack == false then
  1702. 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)
  1703. 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)
  1704. 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)
  1705. 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)
  1706. 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)
  1707. 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)
  1708. end
  1709. elseif -1 > root.Velocity.y and hitfloor == nil then
  1710. Anim = "Fall"
  1711. if attack == false then
  1712. 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)
  1713. 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)
  1714. 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)
  1715. 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)
  1716. 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)
  1717. 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)
  1718. end
  1719. elseif torvel < 1 and hitfloor ~= nil then
  1720. Anim = "Idle"
  1721. change = 1
  1722. if attack == false then
  1723. 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)
  1724. 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)
  1725. 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)
  1726. 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)
  1727. 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)
  1728. 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)
  1729. end
  1730. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1731. Anim = "Walk"
  1732. change = 1.1
  1733. if attack == false then
  1734. 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)
  1735. 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)
  1736. 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)
  1737. 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)
  1738. 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)
  1739. 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)
  1740. end
  1741. elseif torvel >= 25 and hitfloor ~= nil then
  1742. Anim = "Sprint"
  1743. change = 1.35
  1744. if attack == false then
  1745. 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)
  1746. 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)
  1747. 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)
  1748. 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)
  1749. 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)
  1750. 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)
  1751. end
  1752. end
  1753. end
  1754. Music.SoundId = "rbxassetid://"..SONG
  1755. Music.Looped = true
  1756. Music.Pitch = 1
  1757. Music.Volume = 1.5
  1758. Music.Parent = tors
  1759. Music:Resume()
  1760. if 0 < #Effects then
  1761. for e = 1, #Effects do
  1762. if Effects[e] ~= nil then
  1763. local Thing = Effects[e]
  1764. if Thing ~= nil then
  1765. local Part = Thing[1]
  1766. local Mode = Thing[2]
  1767. local Delay = Thing[3]
  1768. local IncX = Thing[4]
  1769. local IncY = Thing[5]
  1770. local IncZ = Thing[6]
  1771. if 1 >= Thing[1].Transparency then
  1772. if Thing[2] == "Block1" then
  1773. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1774. local Mesh = Thing[1].Mesh
  1775. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1776. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1777. elseif Thing[2] == "Block2" then
  1778. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1779. local Mesh = Thing[7]
  1780. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1781. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1782. elseif Thing[2] == "Block3" then
  1783. 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)
  1784. local Mesh = Thing[7]
  1785. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1786. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1787. elseif Thing[2] == "Cylinder" then
  1788. local Mesh = Thing[1].Mesh
  1789. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1790. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1791. elseif Thing[2] == "Blood" then
  1792. local Mesh = Thing[7]
  1793. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1794. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1795. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1796. elseif Thing[2] == "Elec" then
  1797. local Mesh = Thing[1].Mesh
  1798. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1799. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1800. elseif Thing[2] == "Disappear" then
  1801. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1802. elseif Thing[2] == "Shatter" then
  1803. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1804. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1805. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1806. Thing[6] = Thing[6] + Thing[5]
  1807. end
  1808. else
  1809. Part.Parent = nil
  1810. table.remove(Effects, e)
  1811. end
  1812. end
  1813. end
  1814. end
  1815. end
  1816. end
  1817. -------------------------------------------------------
  1818. --End Animations And Script--
  1819. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement