Advertisement
hjkook

0241

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