Advertisement
Guest User

Untitled

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