Advertisement
cubanmixed2

Justice Chain

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