Advertisement
Baldeagle22

Jooper (1)

Sep 15th, 2018
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 85.79 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. --//====================================================\\--
  88. --|| CREATED BY SHACKLUSTER
  89. --\\====================================================//--
  90.  
  91.  
  92.  
  93. wait(0.2)
  94.  
  95.  
  96.  
  97. Player = owner
  98. PlayerGui = Player.PlayerGui
  99. Cam = workspace.CurrentCamera
  100. Backpack = Player.Backpack
  101. Character = Player.Character
  102. Humanoid = Character.Humanoid
  103. RootPart = Character["HumanoidRootPart"]
  104. Torso = Character["Torso"]
  105. Head = Character["Head"]
  106. RightArm = Character["Right Arm"]
  107. LeftArm = Character["Left Arm"]
  108. RightLeg = Character["Right Leg"]
  109. LeftLeg = Character["Left Leg"]
  110. RootJoint = RootPart["RootJoint"]
  111. Neck = Torso["Neck"]
  112. RightShoulder = Torso["Right Shoulder"]
  113. LeftShoulder = Torso["Left Shoulder"]
  114. RightHip = Torso["Right Hip"]
  115. LeftHip = Torso["Left Hip"]
  116. local sick = Instance.new("Sound",Character)
  117. sick.SoundId = "rbxassetid://733414830"
  118. sick.Looped = true
  119. sick.Pitch = 1
  120. sick.Volume = 1
  121. sick:Play()
  122. Humanoid.HipHeight = 15
  123. Humanoid.DisplayDistanceType = "None"
  124. local LightningBolts = {}
  125. Humanoid.Name = "Sin"
  126.  
  127. IT = Instance.new
  128. CF = CFrame.new
  129. VT = Vector3.new
  130. RAD = math.rad
  131. C3 = Color3.new
  132. UD2 = UDim2.new
  133. BRICKC = BrickColor.new
  134. ANGLES = CFrame.Angles
  135. EULER = CFrame.fromEulerAnglesXYZ
  136. COS = math.cos
  137. ACOS = math.acos
  138. SIN = math.sin
  139. ASIN = math.asin
  140. ABS = math.abs
  141. MRANDOM = math.random
  142. FLOOR = math.floor
  143.  
  144. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  145. local NEWMESH = IT(MESH)
  146. if MESH == "SpecialMesh" then
  147. NEWMESH.MeshType = MESHTYPE
  148. if MESHID ~= "nil" and MESHID ~= "" then
  149. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  150. end
  151. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  152. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  153. end
  154. end
  155. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  156. NEWMESH.Scale = SCALE
  157. NEWMESH.Parent = PARENT
  158. return NEWMESH
  159. end
  160.  
  161. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHR)
  162. local NEWPART = IT("Part")
  163. NEWPART.formFactor = FORMFACTOR
  164. NEWPART.Reflectance = REFLECTANCE
  165. NEWPART.Transparency = TRANSPARENCY
  166. NEWPART.CanCollide = false
  167. NEWPART.Locked = true
  168. NEWPART.Anchored = true
  169. if ANCHR == false then
  170. NEWPART.Anchored = false
  171. end
  172. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  173. NEWPART.Name = NAME
  174. NEWPART.Size = SIZE
  175. NEWPART.Position = Torso.Position
  176. NEWPART.Material = MATERIAL
  177. NEWPART:BreakJoints()
  178. NEWPART.Parent = PARENT
  179. return NEWPART
  180. end
  181.  
  182.  
  183. --//=================================\\
  184. --|| CUSTOMIZATION
  185. --\\=================================//
  186.  
  187. Class_Name = "Sin Unleashed"
  188. Weapon_Name = "Add-ons"
  189.  
  190. Custom_Colors = {
  191. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  192. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  193.  
  194. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  195. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  196. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  197. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  198. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  199.  
  200. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  201. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  202. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  203. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  204. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  205. }
  206.  
  207.  
  208. Player_Size = 1 --Size of the player.
  209. Animation_Speed = 2
  210. Animation_Speed2 = 1
  211. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  212.  
  213. local Speed = 28
  214. Humanoid.JumpPower = 80
  215. local Effects2 = {}
  216.  
  217. --//=================================\\
  218. --|| END OF CUSTOMIZATION
  219. --\\=================================//
  220.  
  221. local function weldBetween(a, b)
  222. local weldd = Instance.new("ManualWeld")
  223. weldd.Part0 = a
  224. weldd.Part1 = b
  225. weldd.C0 = CFrame.new()
  226. weldd.C1 = b.CFrame:inverse() * a.CFrame
  227. weldd.Parent = a
  228. return weldd
  229. end
  230.  
  231. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  232. local acs = Instance.new("Part")
  233. acs.CanCollide = false
  234. acs.Anchored = false
  235. acs.Size = Vector3.new(0,0,0)
  236. acs.CFrame = attachmentpart.CFrame
  237. acs.Parent = Character
  238. acs.BrickColor = color
  239. local meshs = Instance.new("SpecialMesh")
  240. meshs.MeshId = mesh
  241. meshs.TextureId = texture
  242. meshs.Parent = acs
  243. meshs.Scale = scale
  244. meshs.Offset = offset
  245. weldBetween(attachmentpart,acs)
  246. end
  247.  
  248. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  249. if TYPE == "Gem" then
  250. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  251. acs.Anchored = false
  252. acs.CanCollide = false
  253. acs.CFrame = PART.CFrame
  254. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  255. weldBetween(PART,acs)
  256. elseif TYPE == "Skull" then
  257. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  258. acs.Anchored = false
  259. acs.CanCollide = false
  260. acs.CFrame = PART.CFrame
  261. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  262. weldBetween(PART,acs)
  263. elseif TYPE == "Eye" then
  264. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  265. acs.Anchored = false
  266. acs.CanCollide = false
  267. acs.CFrame = PART.CFrame
  268. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  269. weldBetween(PART,acs)
  270. end
  271. end
  272.  
  273. --//=================================\\
  274. --|| USEFUL VALUES
  275. --\\=================================//
  276.  
  277. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  278. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  279. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  280. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  281. local CO1 = 0
  282. local CO2 = 0
  283. local CO3 = 0
  284. local CO4 = 0
  285. local CHANGEDEFENSE = 0
  286. local CHANGEDAMAGE = 0
  287. local CHANGEMOVEMENT = 0
  288. local ANIM = "Idle"
  289. local ATTACK = false
  290. local EQUIPPED = false
  291. local HOLD = false
  292. local COMBO = 1
  293. local LASTPOINT = nil
  294. local BLCF = nil
  295. local SCFR = nil
  296. local STAGGERHITANIM = false
  297. local STAGGERANIM = false
  298. local STUNANIM = false
  299. local CRITCHANCENUMBER = 0
  300. local IDLENUMBER = 0
  301. local DONUMBER = 0
  302. local HANDIDLE = false
  303. local Rooted = false
  304. local KEYHOLD = false
  305. local SINE = 0
  306. local CHANGE = 2 / Animation_Speed
  307. local WALKINGANIM = false
  308. local WALK = 0
  309. local DEAD = false
  310. local ROBLOXIDLEANIMATION = IT("Animation")
  311. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  312. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  313. --ROBLOXIDLEANIMATION.Parent = Humanoid
  314. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  315. WEAPONGUI.Name = "Weapon GUI"
  316. local Weapon = IT("Model")
  317. Weapon.Name = Weapon_Name
  318. local Effects = IT("Folder", Weapon)
  319. Effects.Name = "Effects"
  320. local ANIMATOR = Humanoid.Animator
  321. local ANIMATE = Character.Animate
  322. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  323. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  324. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  325. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  326. local UNANCHOR = true
  327. local MAGICPARTICLE = "655109389"
  328.  
  329. local SKILLTEXTCOLOR = C3(0.7,0,0)
  330.  
  331. --//=================================\\
  332. --\\=================================//
  333.  
  334.  
  335. --//=================================\\
  336. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  337. --\\=================================//
  338.  
  339. ArtificialHB = Instance.new("BindableEvent", script)
  340. ArtificialHB.Name = "ArtificialHB"
  341.  
  342. script:WaitForChild("ArtificialHB")
  343.  
  344. frame = Frame_Speed
  345. tf = 0
  346. allowframeloss = false
  347. tossremainder = false
  348. lastframe = tick()
  349. script.ArtificialHB:Fire()
  350.  
  351. game:GetService("RunService").Heartbeat:connect(function(s, p)
  352. tf = tf + s
  353. if tf >= frame then
  354. if allowframeloss then
  355. script.ArtificialHB:Fire()
  356. lastframe = tick()
  357. else
  358. for i = 1, math.floor(tf / frame) do
  359. script.ArtificialHB:Fire()
  360. end
  361. lastframe = tick()
  362. end
  363. if tossremainder then
  364. tf = 0
  365. else
  366. tf = tf - frame * math.floor(tf / frame)
  367. end
  368. end
  369. end)
  370.  
  371. --//=================================\\
  372. --\\=================================//
  373.  
  374.  
  375.  
  376.  
  377.  
  378. --//=================================\\
  379. --|| SOME FUNCTIONS
  380. --\\=================================//
  381.  
  382. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  383. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  384. end
  385.  
  386. function PositiveAngle(NUMBER)
  387. if NUMBER >= 0 then
  388. NUMBER = 0
  389. end
  390. return NUMBER
  391. end
  392.  
  393. function NegativeAngle(NUMBER)
  394. if NUMBER <= 0 then
  395. NUMBER = 0
  396. end
  397. return NUMBER
  398. end
  399.  
  400. function Swait(NUMBER)
  401. if NUMBER == 0 or NUMBER == nil then
  402. ArtificialHB.Event:wait()
  403. else
  404. for i = 1, NUMBER do
  405. ArtificialHB.Event:wait()
  406. end
  407. end
  408. end
  409.  
  410. function QuaternionFromCFrame(cf)
  411. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  412. local trace = m00 + m11 + m22
  413. if trace > 0 then
  414. local s = math.sqrt(1 + trace)
  415. local recip = 0.5 / s
  416. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  417. else
  418. local i = 0
  419. if m11 > m00 then
  420. i = 1
  421. end
  422. if m22 > (i == 0 and m00 or m11) then
  423. i = 2
  424. end
  425. if i == 0 then
  426. local s = math.sqrt(m00 - m11 - m22 + 1)
  427. local recip = 0.5 / s
  428. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  429. elseif i == 1 then
  430. local s = math.sqrt(m11 - m22 - m00 + 1)
  431. local recip = 0.5 / s
  432. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  433. elseif i == 2 then
  434. local s = math.sqrt(m22 - m00 - m11 + 1)
  435. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  436. end
  437. end
  438. end
  439.  
  440. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  441. local xs, ys, zs = x + x, y + y, z + z
  442. local wx, wy, wz = w * xs, w * ys, w * zs
  443. local xx = x * xs
  444. local xy = x * ys
  445. local xz = x * zs
  446. local yy = y * ys
  447. local yz = y * zs
  448. local zz = z * zs
  449. 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))
  450. end
  451.  
  452. function QuaternionSlerp(a, b, t)
  453. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  454. local startInterp, finishInterp;
  455. if cosTheta >= 0.0001 then
  456. if (1 - cosTheta) > 0.0001 then
  457. local theta = ACOS(cosTheta)
  458. local invSinTheta = 1 / SIN(theta)
  459. startInterp = SIN((1 - t) * theta) * invSinTheta
  460. finishInterp = SIN(t * theta) * invSinTheta
  461. else
  462. startInterp = 1 - t
  463. finishInterp = t
  464. end
  465. else
  466. if (1 + cosTheta) > 0.0001 then
  467. local theta = ACOS(-cosTheta)
  468. local invSinTheta = 1 / SIN(theta)
  469. startInterp = SIN((t - 1) * theta) * invSinTheta
  470. finishInterp = SIN(t * theta) * invSinTheta
  471. else
  472. startInterp = t - 1
  473. finishInterp = t
  474. end
  475. end
  476. 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
  477. end
  478.  
  479. function Clerp(a, b, t)
  480. local qa = {QuaternionFromCFrame(a)}
  481. local qb = {QuaternionFromCFrame(b)}
  482. local ax, ay, az = a.x, a.y, a.z
  483. local bx, by, bz = b.x, b.y, b.z
  484. local _t = 1 - t
  485. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  486. end
  487.  
  488. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  489. local frame = IT("Frame")
  490. frame.BackgroundTransparency = TRANSPARENCY
  491. frame.BorderSizePixel = BORDERSIZEPIXEL
  492. frame.Position = POSITION
  493. frame.Size = SIZE
  494. frame.BackgroundColor3 = COLOR
  495. frame.BorderColor3 = BORDERCOLOR
  496. frame.Name = NAME
  497. frame.Parent = PARENT
  498. return frame
  499. end
  500.  
  501. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  502. local label = IT("TextLabel")
  503. label.BackgroundTransparency = 1
  504. label.Size = UD2(1, 0, 1, 0)
  505. label.Position = UD2(0, 0, 0, 0)
  506. label.TextColor3 = TEXTCOLOR
  507. label.TextStrokeTransparency = STROKETRANSPARENCY
  508. label.TextTransparency = TRANSPARENCY
  509. label.FontSize = TEXTFONTSIZE
  510. label.Font = TEXTFONT
  511. label.BorderSizePixel = BORDERSIZEPIXEL
  512. label.TextScaled = false
  513. label.Text = TEXT
  514. label.Name = NAME
  515. label.Parent = PARENT
  516. return label
  517. end
  518.  
  519. function NoOutlines(PART)
  520. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  521. end
  522.  
  523.  
  524. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  525. local NEWWELD = IT(TYPE)
  526. NEWWELD.Part0 = PART0
  527. NEWWELD.Part1 = PART1
  528. NEWWELD.C0 = C0
  529. NEWWELD.C1 = C1
  530. NEWWELD.Parent = PARENT
  531. return NEWWELD
  532. end
  533.  
  534. local sound = IT("Sound")
  535.  
  536. function CreateSound(ID, PARENT, VOLUME, PITCH)
  537. local NEWSOUND = nil
  538. coroutine.resume(coroutine.create(function()
  539. NEWSOUND = sound:Clone()
  540. NEWSOUND.Parent = PARENT
  541. NEWSOUND.Volume = VOLUME
  542. NEWSOUND.Pitch = PITCH
  543. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  544. Swait()
  545. NEWSOUND:play()
  546. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  547. end))
  548. return NEWSOUND
  549. end
  550.  
  551. function CFrameFromTopBack(at, top, back)
  552. local right = top:Cross(back)
  553. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  554. end
  555.  
  556. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,offset,color)
  557. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  558. local mesh = IT("SpecialMesh",wave)
  559. mesh.MeshType = "FileMesh"
  560. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  561. mesh.Scale = VT(size,size,size)
  562. mesh.Offset = VT(0,0,-size/8)
  563. wave.CFrame = cframe
  564. coroutine.resume(coroutine.create(function(PART)
  565. for i = 1, waitt do
  566. Swait()
  567. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  568. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  569. if doesrotate == true then
  570. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  571. end
  572. wave.Transparency = wave.Transparency + (0.5/waitt)
  573. if wave.Transparency > 0.99 then
  574. wave:remove()
  575. end
  576. end
  577. end))
  578. end
  579.  
  580. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,offset,color)
  581. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  582. local mesh = IT("SpecialMesh",wave)
  583. mesh.MeshType = "FileMesh"
  584. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  585. mesh.Scale = VT(size,size,size)
  586. wave.CFrame = cframe
  587. coroutine.resume(coroutine.create(function(PART)
  588. for i = 1, waitt do
  589. Swait()
  590. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  591. if doesrotate == true then
  592. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  593. end
  594. wave.Transparency = wave.Transparency + (0.5/waitt)
  595. if wave.Transparency > 0.99 then
  596. wave:remove()
  597. end
  598. end
  599. end))
  600. end
  601.  
  602. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  603. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  604. local mesh = IT("SpecialMesh",wave)
  605. mesh.MeshType = "FileMesh"
  606. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  607. mesh.Scale = VT(size,size,size)
  608. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  609. coroutine.resume(coroutine.create(function(PART)
  610. for i = 1, waitt do
  611. Swait()
  612. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  613. if doesrotate == true then
  614. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  615. end
  616. wave.Transparency = wave.Transparency + (0.5/waitt)
  617. if wave.Transparency > 0.99 then
  618. wave:remove()
  619. end
  620. end
  621. end))
  622. end
  623.  
  624. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,offset,spin1,spin2,color)
  625. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  626. local mesh = IT("SpecialMesh",wave)
  627. mesh.MeshType = "FileMesh"
  628. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  629. mesh.Scale = VT(size,size,size)
  630. mesh.Offset = VT(0,0,0)
  631. wave.CFrame = cframe
  632. coroutine.resume(coroutine.create(function(PART)
  633. for i = 1, waitt do
  634. Swait()
  635. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  636. if doesrotate == true then
  637. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  638. end
  639. wave.Transparency = wave.Transparency + (0.5/waitt)
  640. if wave.Transparency > 0.99 then
  641. wave:remove()
  642. end
  643. end
  644. end))
  645. end
  646.  
  647. function MagicSphere(size,waitt,part,offset,color)
  648. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  649. local mesh = IT("SpecialMesh",wave)
  650. mesh.MeshType = "Sphere"
  651. mesh.Scale = VT(size,size,size)
  652. mesh.Offset = VT(0,0,0)
  653. wave.CFrame = CF(part) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  654. coroutine.resume(coroutine.create(function(PART)
  655. for i = 1, waitt do
  656. Swait()
  657. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  658. wave.Transparency = wave.Transparency + (1/waitt)
  659. if wave.Transparency > 0.99 then
  660. wave:remove()
  661. end
  662. end
  663. end))
  664. end
  665.  
  666. local EyeSizes={
  667. NumberSequenceKeypoint.new(0,1,0),
  668. NumberSequenceKeypoint.new(1,0.2,0)
  669. }
  670. local EyeTrans={
  671. NumberSequenceKeypoint.new(0,0.8,0),
  672. NumberSequenceKeypoint.new(1,1,0)
  673. }
  674. local PE=Instance.new("ParticleEmitter")
  675. PE.LightEmission=0
  676. PE.Size=NumberSequence.new(EyeSizes)
  677. PE.Transparency=NumberSequence.new(EyeTrans)
  678. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  679. PE.Rotation=NumberRange.new(0,360)
  680. PE.Rate=15
  681. PE.Acceleration = Vector3.new(0,75,0)
  682. PE.Drag = 5
  683. PE.Enabled = false
  684. PE.Speed = NumberRange.new(0,0,0)
  685. PE.Texture="http://www.roblox.com/asset/?id=1179557490"
  686. PE.ZOffset = 0
  687. PE.Name = "Particles"
  688.  
  689. function CreateParticles(art,text,accel,drag,rate,type,isenabledbydefault)
  690. local particle = PE:Clone()
  691. particle.Parent = art
  692. particle.Acceleration = accel
  693. PE.Rate = rate
  694. if type == "Fire" then
  695. local EyeSizes={
  696. NumberSequenceKeypoint.new(0,1,0.3),
  697. NumberSequenceKeypoint.new(1,0.2,0.2)
  698. }
  699. PE.Size = NumberSequence.new(EyeSizes)
  700. elseif type == "Smoke" then
  701. local EyeSizes={
  702. NumberSequenceKeypoint.new(0,1,0),
  703. NumberSequenceKeypoint.new(1,5,0.5)
  704. }
  705. PE.Size = NumberSequence.new(EyeSizes)
  706. elseif type == "Solid" then
  707. local EyeSizes={
  708. NumberSequenceKeypoint.new(0,1,0),
  709. NumberSequenceKeypoint.new(1,1,0)
  710. }
  711. PE.Size = NumberSequence.new(EyeSizes)
  712. end
  713. PE.Drag = drag
  714. particle.Texture = "http://www.roblox.com/asset/?id="..text
  715. particle.Enabled = isenabledbydefault
  716. return particle
  717. end
  718.  
  719. --//=================================\\
  720. --|| BIG ZAPS
  721. --\\=================================//
  722.  
  723. BaseLightning = IT("Part")
  724. BaseLightning.Anchored = true
  725. BaseLightning.CanCollide = false
  726. BaseLightning.Material = "Neon"
  727.  
  728. function CheckTableForString(Table, String)
  729. for i, v in pairs(Table) do
  730. if string.find(string.lower(String), string.lower(v)) then
  731. return true
  732. end
  733. end
  734. return false
  735. end
  736.  
  737. function CheckIntangible(Hit)
  738. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  739. if Hit and Hit.Parent then
  740. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  741. return true
  742. end
  743. end
  744. return false
  745. end
  746.  
  747. Debris = game:GetService("Debris")
  748.  
  749. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  750. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  751. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  752. if RayHit and CheckIntangible(RayHit) then
  753. if DelayIfHit then
  754. wait()
  755. end
  756. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  757. end
  758. return RayHit, RayPos, RayNormal
  759. end
  760.  
  761. --Zap({StartPosition = Position, TargetPosition = Position, Character = Character, Color = "Color", Individual = true})
  762. function Zap(Table)
  763. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  764. local Duration = (Table.Duration or 2)
  765. local FadeRate = (Table.FadeRate or 0.05)
  766. local Offset = (Table.Offset or 2)
  767. local Individualize = (Table.Individualize or false)
  768. local MaxRange = (Table.MaxRange or 200)
  769. local SegmentLength = (Table.SegmentLength or 5)
  770. local TimeToFade = (Table.TimeToFade or 0.5)
  771. local Ignore = (Table.Ignore or {})
  772. local SIZE = (Table.Size or 0.3)
  773. if not StartPos or not TargetPos or not Character then
  774. return
  775. end
  776. local LightningModel = IT("Folder",Effects)
  777. LightningModel.Name = "ZAPP"
  778. for i, v in pairs({Character, LightningModel}) do
  779. table.insert(Ignore, v)
  780. end
  781. local LastPos = StartPos
  782. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  783. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  784. local RayLength = (StartPos - RayPos).Magnitude
  785. local Struck = false
  786. local TotalSegments = math.ceil(RayLength / SegmentLength)
  787. Direction = CFrame.new(StartPos, RayPos).lookVector
  788. local LightningBolt = IT("Model",Effects)
  789. LightningBolt.Name = "Lightning"
  790. if not Individualize then
  791. table.insert(LightningBolts, LightningBolt)
  792. end
  793. LastBolt = LightningBolt
  794. Debris:AddItem(LightningBolt, Duration)
  795. LightningBolt.Parent = LightningModel
  796. for i = 1, TotalSegments do
  797. if not Struck then
  798. local Entropy = Vector3.new(((math.random() * Offset*2.5) - Offset), ((math.random() * Offset*2.5) - Offset), ((math.random() * Offset*2.5) - Offset))
  799. local NewPos = (StartPos + (Direction * (RayLength * (i / TotalSegments))) + Entropy)
  800. local SegmentVec = (NewPos - LastPos)
  801. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  802. local RayVec = (LastPos - RayPos)
  803. local LightningPart = BaseLightning:Clone()
  804. LightningPart.BrickColor = BrickColor.new(Color)
  805. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  806. LightningPart.CFrame = (CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2)))
  807. table.insert(Effects2,{LightningPart,"Disappear",0.025,1,1,1,2})
  808. --Make circular
  809. local CylinderMesh = IT("CylinderMesh",LightningPart)
  810. local OrigCF = LightningPart.CFrame
  811. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  812. LightningPart.CFrame = (OrigCF * CFrame.Angles((math.pi / 2), 0, 0))
  813. LightningPart.Parent = LightningBolt
  814. LastPos = NewPos
  815. Spawn(function()
  816. local FadeRate = 0.05
  817. local OrigTransparency = LightningPart.Transparency
  818. for i = 1, (TimeToFade / FadeRate) do
  819. wait(FadeRate)
  820. LightningPart.Transparency = (OrigTransparency + (i / (TimeToFade / FadeRate)))
  821. end
  822. end)
  823. end
  824. end
  825. return {RayHit = RayHit, RayPos = RayPos, RayNormal = RayNormal, LightningModel = LightningModel}
  826. end
  827.  
  828. --//=================================\\
  829. --|| WEAPON CREATION
  830. --\\=================================//
  831.  
  832. Weapon.Parent = Character
  833.  
  834. Humanoid.Died:connect(function()
  835. ATTACK = true
  836. end)
  837.  
  838. print(Class_Name.." loaded.")
  839.  
  840. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  841. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  842. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  843. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  844. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  845.  
  846. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Claw force", SKILLTEXTCOLOR, 10, "Antique", 0, 2, 1, "Text 1")
  847. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Hell leash", SKILLTEXTCOLOR, 10, "Antique", 0, 2, 1, "Text 2")
  848. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Sinner wave", SKILLTEXTCOLOR, 10, "Antique", 0, 2, 1, "Text 3")
  849. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] From the depths", SKILLTEXTCOLOR, 10, "Antique", 0, 2, 1, "Text 4")
  850. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] The end", SKILLTEXTCOLOR, 10, "Antique", 0, 2, 1, "Text 5")
  851.  
  852. local naeeym2 = Instance.new("BillboardGui",Character)
  853. naeeym2.AlwaysOnTop = true
  854. naeeym2.Size = UDim2.new(5,35,2,35)
  855. naeeym2.StudsOffset = Vector3.new(0,3,0)
  856. naeeym2.Adornee = Character.Head
  857. naeeym2.Name = "Name"
  858. naeeym2.PlayerToHideFrom = Player
  859. local tecks2 = Instance.new("TextLabel",naeeym2)
  860. tecks2.BackgroundTransparency = 1
  861. tecks2.TextScaled = true
  862. tecks2.BorderSizePixel = 0
  863. tecks2.Text = "Sin unleashed"
  864. tecks2.Font = "Antique"
  865. tecks2.TextSize = 30
  866. tecks2.TextStrokeTransparency = 0.9
  867. tecks2.TextColor3 = Color3.new(0,0,0)
  868. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  869. tecks2.Size = UDim2.new(1,0,0.5,0)
  870. tecks2.Parent = naeeym2
  871.  
  872. local Shield = IT("Part",Weapon)
  873. Shield.Name = "Barrier"
  874. Shield.Shape = "Ball"
  875. Shield.Material = "Glass"
  876. Shield.Color = C3(1,0,0)
  877. Shield.Transparency = 0.5
  878. Shield.Size = VT(0.5,0.5,0.5)
  879. local mesh = IT("SpecialMesh",Shield)
  880. mesh.MeshType = "Sphere"
  881. mesh.Scale = VT(13,13,13)
  882. Shield.CFrame = RootPart.CFrame
  883. weldBetween(RootPart,Shield)
  884.  
  885. createbodypart("Eye","Really red",Head,VT(0.20, 0, -0.55),VT(2,6,2))
  886. createbodypart("Eye","Really red",Head,VT(-0.20, 0, -0.55),VT(2,6,2))
  887. createbodypart("Eye","Really red",Head,VT(0, 0, -0.6),VT(2,8,2))
  888.  
  889. local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  890. local mesh = Instance.new("SpecialMesh",gear)
  891. mesh.MeshType = "FileMesh"
  892. mesh.MeshId = "rbxassetid://156292343"
  893. mesh.Scale = VT(8,8,8)
  894. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 4 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)), CF(0, 0, 0))
  895.  
  896. local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  897. local mesh = Instance.new("SpecialMesh",gear)
  898. mesh.MeshType = "FileMesh"
  899. mesh.MeshId = "rbxassetid://156292343"
  900. mesh.Scale = VT(8,8,8)
  901. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 4 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  902.  
  903. local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  904. local mesh = Instance.new("SpecialMesh",gear)
  905. mesh.MeshType = "FileMesh"
  906. mesh.MeshId = "rbxassetid://156292343"
  907. mesh.Scale = VT(6,6,6)
  908. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  909. local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  910. local mesh = Instance.new("SpecialMesh",gear)
  911. mesh.MeshType = "FileMesh"
  912. mesh.MeshId = "rbxassetid://156292343"
  913. mesh.Scale = VT(4,4,4)
  914. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 6 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  915. local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  916. local mesh = Instance.new("SpecialMesh",gear)
  917. mesh.MeshType = "FileMesh"
  918. mesh.MeshId = "rbxassetid://156292343"
  919. mesh.Scale = VT(2,2,2)
  920. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 8 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  921. local BottomPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(1*Player_Size,6*Player_Size,1*Player_Size),false)
  922. local mesh = Instance.new("SpecialMesh",BottomPart)
  923. mesh.MeshType = "Sphere"
  924. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  925.  
  926. --//=================================\\
  927. --|| CREATING ARMS
  928. --\\=================================//
  929.  
  930. --RIGHT ARM--
  931.  
  932. local limb1a = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(2*Player_Size,2*Player_Size,2*Player_Size),false)
  933. local mesh = Instance.new("SpecialMesh",limb1a)
  934. mesh.MeshType = "Sphere"
  935. limb1a.Name = "Right Arm 01"
  936.  
  937. local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.8*Player_Size,3.5*Player_Size,0.8*Player_Size),false)
  938. LIMB.Name = "Right Arm part"
  939. local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb1a, LIMB, CF(0 * Player_Size, 2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  940. local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.8*Player_Size,3.5*Player_Size,0.8*Player_Size),false)
  941. LIMB.Name = "Right Arm part"
  942. local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb1a, LIMB, CF(0 * Player_Size, 6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  943. local LIMB = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.7*Player_Size,3.5*Player_Size,0.7*Player_Size),false)
  944. LIMB.Name = "Right Arm part"
  945. local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb1a, LIMB, CF(0 * Player_Size, 3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  946.  
  947. local limbweld1a = CreateWeldOrSnapOrMotor("Weld", limb1a, RootPart, limb1a, CF(4 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  948. local limb1b = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(2*Player_Size,2*Player_Size,2*Player_Size),false)
  949. local mesh = Instance.new("SpecialMesh",limb1b)
  950. mesh.MeshType = "Sphere"
  951. limb1b.Name = "Right Arm 02"
  952.  
  953. local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.8*Player_Size,3.5*Player_Size,0.8*Player_Size),false)
  954. LIMB.Name = "Right Arm part"
  955. local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb1b, LIMB, CF(0 * Player_Size, 2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  956. local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(1.5*Player_Size,3.5*Player_Size,1.5*Player_Size),false)
  957. LIMB.Name = "Right Arm part"
  958. local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb1b, LIMB, CF(0 * Player_Size, 6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  959. local LIMB = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.7*Player_Size,3.5*Player_Size,0.7*Player_Size),false)
  960. LIMB.Name = "Right Arm part"
  961. local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb1b, LIMB, CF(0 * Player_Size, 3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  962.  
  963. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  964. local mesh = Instance.new("SpecialMesh",part)
  965. mesh.MeshType = "FileMesh"
  966. mesh.MeshId = "rbxassetid://156292343"
  967. mesh.Scale = VT(10,10,10)
  968. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb1b, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  969.  
  970. local limbweld1b = CreateWeldOrSnapOrMotor("Weld", limb1b, limb1a, limb1b, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  971. local limb1c = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(4*Player_Size,4*Player_Size,4*Player_Size),false)
  972. local mesh = Instance.new("SpecialMesh",limb1c)
  973. mesh.MeshType = "Sphere"
  974. limb1c.Name = "Right Arm 03"
  975.  
  976. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  977. local mesh = Instance.new("SpecialMesh",part)
  978. mesh.MeshType = "FileMesh"
  979. mesh.MeshId = "rbxassetid://156292343"
  980. mesh.Scale = VT(15,15,15)
  981. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb1c, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  982. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  983. local mesh = Instance.new("SpecialMesh",part)
  984. mesh.MeshType = "FileMesh"
  985. mesh.MeshId = "rbxassetid://156292343"
  986. mesh.Scale = VT(10,10,10)
  987. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb1c, part, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  988. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  989. local mesh = Instance.new("SpecialMesh",part)
  990. mesh.MeshType = "FileMesh"
  991. mesh.MeshId = "rbxassetid://156292343"
  992. mesh.Scale = VT(10,10,10)
  993. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb1c, part, CF(0 * Player_Size, -2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  994.  
  995. local limbweld1c = CreateWeldOrSnapOrMotor("Weld", limb1c, limb1b, limb1c, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  996.  
  997. local hand1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Hand", VT(0*Player_Size,0*Player_Size,0*Player_Size),false)
  998. local mesh = Instance.new("SpecialMesh",hand1)
  999. mesh.MeshType = "FileMesh"
  1000. mesh.MeshId = "rbxassetid://1089939072"
  1001. mesh.Scale = VT(7,8,7)
  1002. local handweld1 = CreateWeldOrSnapOrMotor("Weld", limb1c, hand1, limb1c, CF(0 * Player_Size, 3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(90), RAD(0)), CF(0, 0, 0))
  1003.  
  1004. --LEFT ARM
  1005.  
  1006. local limb2a = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(2*Player_Size,2*Player_Size,2*Player_Size),false)
  1007. local mesh = Instance.new("SpecialMesh",limb2a)
  1008. mesh.MeshType = "Sphere"
  1009. limb2a.Name = "Left Arm 01"
  1010.  
  1011. local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.8*Player_Size,3.5*Player_Size,0.8*Player_Size),false)
  1012. LIMB.Name = "Left Arm part"
  1013. local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb2a, LIMB, CF(0 * Player_Size, 2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1014. local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(01*Player_Size,3.5*Player_Size,1*Player_Size),false)
  1015. LIMB.Name = "Left Arm part"
  1016. local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb2a, LIMB, CF(0 * Player_Size, 6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1017. local LIMB = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.7*Player_Size,3.5*Player_Size,0.7*Player_Size),false)
  1018. LIMB.Name = "Left Arm part"
  1019. local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb2a, LIMB, CF(0 * Player_Size, 3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1020.  
  1021. local limbweld2a = CreateWeldOrSnapOrMotor("Weld", limb2a, RootPart, limb2a, CF(-4 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1022. local limb2b = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(2.5*Player_Size,2.5*Player_Size,2.5*Player_Size),false)
  1023. local mesh = Instance.new("SpecialMesh",limb2b)
  1024. mesh.MeshType = "Sphere"
  1025. limb2b.Name = "Left Arm 02"
  1026.  
  1027. local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(1*Player_Size,3.5*Player_Size,1*Player_Size),false)
  1028. LIMB.Name = "Left Arm part"
  1029. local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb2b, LIMB, CF(0 * Player_Size, 2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1030. local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(1.5*Player_Size,3.5*Player_Size,1.5*Player_Size),false)
  1031. LIMB.Name = "Left Arm part"
  1032. local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb2b, LIMB, CF(0 * Player_Size, 6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1033. local LIMB = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.7*Player_Size,3.5*Player_Size,0.7*Player_Size),false)
  1034. LIMB.Name = "Left Arm part"
  1035. local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb2b, LIMB, CF(0 * Player_Size, 3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1036.  
  1037. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  1038. local mesh = Instance.new("SpecialMesh",part)
  1039. mesh.MeshType = "FileMesh"
  1040. mesh.MeshId = "rbxassetid://156292343"
  1041. mesh.Scale = VT(10,10,10)
  1042. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb2b, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1043.  
  1044. local limbweld2b = CreateWeldOrSnapOrMotor("Weld", limb2b, limb2a, limb2b, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1045. local limb2c = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(4*Player_Size,4*Player_Size,4*Player_Size),false)
  1046. local mesh = Instance.new("SpecialMesh",limb2c)
  1047. mesh.MeshType = "Sphere"
  1048. limb1c.Name = "Right Arm 03"
  1049.  
  1050. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  1051. local mesh = Instance.new("SpecialMesh",part)
  1052. mesh.MeshType = "FileMesh"
  1053. mesh.MeshId = "rbxassetid://156292343"
  1054. mesh.Scale = VT(15,15,15)
  1055. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb2c, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1056. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  1057. local mesh = Instance.new("SpecialMesh",part)
  1058. mesh.MeshType = "FileMesh"
  1059. mesh.MeshId = "rbxassetid://156292343"
  1060. mesh.Scale = VT(10,10,10)
  1061. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb2c, part, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1062. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  1063. local mesh = Instance.new("SpecialMesh",part)
  1064. mesh.MeshType = "FileMesh"
  1065. mesh.MeshId = "rbxassetid://156292343"
  1066. mesh.Scale = VT(10,10,10)
  1067. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb2c, part, CF(0 * Player_Size, -2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1068.  
  1069. local limbweld2c = CreateWeldOrSnapOrMotor("Weld", limb2c, limb2b, limb2c, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1070.  
  1071. local hand2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Hand", VT(0*Player_Size,0*Player_Size,0*Player_Size),false)
  1072. local mesh = Instance.new("SpecialMesh",hand2)
  1073. mesh.MeshType = "FileMesh"
  1074. mesh.MeshId = "rbxassetid://1089939056"
  1075. mesh.Scale = VT(7,8,7)
  1076. local handweld2 = CreateWeldOrSnapOrMotor("Weld", limb2c, hand2, limb2c, CF(0 * Player_Size, 3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  1077.  
  1078. for _, c in pairs(Weapon:GetChildren()) do
  1079. if c.ClassName == "Part" then
  1080. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1081. end
  1082. end
  1083.  
  1084. --//=================================\\
  1085. --|| SPEECH
  1086. --\\=================================//
  1087.  
  1088. function chatfunc(text,waitt)
  1089. local chat = coroutine.wrap(function()
  1090. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1091. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1092. end
  1093. local naeeym2 = Instance.new("BillboardGui",Character)
  1094. naeeym2.Size = UDim2.new(0,100,0,40)
  1095. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1096. naeeym2.Adornee = Character.Head
  1097. naeeym2.Name = "TalkingBillBoard"
  1098. naeeym2.AlwaysOnTop = true
  1099. local tecks2 = 30
  1100. tecks2.BackgroundTransparency = 1
  1101. tecks2.BorderSizePixel = 0
  1102. tecks2.Text = ""
  1103. tecks2.Font = "Fantasy"
  1104. tecks2.TextSize = 30
  1105. tecks2.TextStrokeTransparency = 1
  1106. tecks2.TextColor3 = SKILLTEXTCOLOR
  1107. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1108. tecks2.Size = UDim2.new(1,0,0.5,0)
  1109. local tecks3 = Instance.new("TextLabel",naeeym2)
  1110. tecks3.BackgroundTransparency = 1
  1111. tecks3.BorderSizePixel = 0
  1112. tecks3.Text = ""
  1113. tecks3.Font = "Fantasy"
  1114. tecks3.TextSizekeTransparency = 1
  1115. tecks3.TextColor3 = SKILLTEXTCOLOR
  1116. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1117. tecks3.Size = UDim2.new(1,0,0.5,0)
  1118. for i = 1,string.len(text),1 do
  1119. tecks2.Text = string.sub(text,1,i)
  1120. tecks3.Text = string.sub(text,1,i)
  1121. wait(0.01)
  1122. end
  1123. wait(waitt)
  1124. naeeym2:Destroy()
  1125. end)
  1126. chat()
  1127. end
  1128.  
  1129. --//=================================\\
  1130. --|| DAMAGE FUNCTIONS
  1131. --\\=================================//
  1132.  
  1133. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1134. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1135. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1136. local BODYGYRO = IT("BodyGyro", STATPART)
  1137. local BODYPOSITION = IT("BodyPosition", STATPART)
  1138. BODYPOSITION.P = 2000
  1139. BODYPOSITION.D = 100
  1140. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1141. if LABELTYPE == "Normal" then
  1142. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1143. elseif LABELTYPE == "Debuff" then
  1144. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1145. elseif LABELTYPE == "Interruption" then
  1146. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1147. end
  1148. game:GetService("Debris"):AddItem(STATPART ,5)
  1149. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1150. BILLBOARDGUI.Adornee = STATPART
  1151. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1152. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1153. BILLBOARDGUI.AlwaysOnTop = false
  1154. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1155. TEXTLABEL.BackgroundTransparency = 1
  1156. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1157. TEXTLABEL.Text = TEXT
  1158. TEXTLABEL.Font = "SciFi"
  1159. TEXTLABEL.FontSize="Size42"
  1160. TEXTLABEL.TextColor3 = COLOR
  1161. TEXTLABEL.TextStrokeTransparency = 1
  1162. TEXTLABEL.TextScaled = true
  1163. TEXTLABEL.TextWrapped = true
  1164. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1165. wait(0.2)
  1166. for i=1, 5 do
  1167. wait()
  1168. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1169. end
  1170. wait(1.2)
  1171. for i=1, 5 do
  1172. wait()
  1173. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1174. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1175. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1176. end
  1177. THEPART.Parent = nil
  1178. end),STATPART, BODYPOSITION, TEXTLABEL)
  1179. end
  1180.  
  1181. function CreatePentagram(size,doesrotate,rotatedirection,waitt,cframe,offset)
  1182. local sinkhole = IT("Part",Effects)
  1183. sinkhole.Size = VT(size,0,size)
  1184. sinkhole.CFrame = cframe * CF(0,offset,0)
  1185. sinkhole.Material = "Neon"
  1186. sinkhole.Color = C3(1,0,0)
  1187. sinkhole.Anchored = true
  1188. sinkhole.CanCollide = false
  1189. sinkhole.Transparency = 1
  1190. local decal = IT("Decal",sinkhole)
  1191. decal.Face = "Top"
  1192. decal.Texture = "http://www.roblox.com/asset/?id=818983932"
  1193. coroutine.resume(coroutine.create(function(PART)
  1194. for i = 1, waitt do
  1195. Swait()
  1196. if doesrotate == true then
  1197. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1198. end
  1199. if i > waitt-11 then
  1200. decal.Transparency = decal.Transparency + 0.1
  1201. end
  1202. end
  1203. sinkhole:remove()
  1204. end))
  1205. return sinkhole
  1206. end
  1207.  
  1208. --//=================================\\
  1209. --|| DAMAGING
  1210. --\\=================================//
  1211.  
  1212. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  1213. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  1214. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1215. local dmg = math.random(min,max)
  1216. if humanoid.Health > 0 then
  1217. if beserk == true then
  1218. humanoid.Health = 0
  1219. else
  1220. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  1221. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  1222. if math.random(1,100) < critrate+1 then
  1223. humanoid.Health = humanoid.Health - dmg*critmultiplier
  1224. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1225. else
  1226. humanoid.Health = humanoid.Health - dmg
  1227. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  1228. end
  1229. local defence = Instance.new("BoolValue",hit.Parent)
  1230. defence.Name = ("HitBy"..Player.Name)
  1231. game:GetService("Debris"):AddItem(defence, 0.5)
  1232. end
  1233. end
  1234. end
  1235. end
  1236.  
  1237. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  1238. local dmg = math.random(min,max)
  1239. for i,v in ipairs(workspace:GetChildren()) do
  1240. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1241. local body = v:GetChildren()
  1242. for part = 1, #body do
  1243. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1244. if(body[part].Position - position).Magnitude < radius then
  1245. if v.ClassName == "Model" then
  1246. if v:FindFirstChild("Humanoid") then
  1247. if v.Humanoid.Health ~= 0 then
  1248. if CanBeDodgedByJumping == true then
  1249. if body[part].Position.Y < position.Y+5 then
  1250. if math.random(1,100) < critrate+1 then
  1251. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1252. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1253. else
  1254. v.Humanoid.Health = v.Humanoid.Health - dmg
  1255. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1256. end
  1257. local defence = Instance.new("BoolValue",v)
  1258. defence.Name = ("HitBy"..Player.Name)
  1259. game:GetService("Debris"):AddItem(defence, 0.5)
  1260. end
  1261. else
  1262. if beserk == true then
  1263. v.Humanoid.Health = 0
  1264. end
  1265. if math.random(1,100) < critrate+1 then
  1266. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1267. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1268. else
  1269. v.Humanoid.Health = v.Humanoid.Health - dmg
  1270. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1271. end
  1272. local defence = Instance.new("BoolValue",v)
  1273. defence.Name = ("HitBy"..Player.Name)
  1274. game:GetService("Debris"):AddItem(defence, 0.5)
  1275. end
  1276. end
  1277. end
  1278. end
  1279. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1280. end
  1281. end
  1282. end
  1283. if v.ClassName == "Part" then
  1284. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1285. --v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1286. end
  1287. end
  1288. end
  1289. end
  1290. end
  1291.  
  1292. function killnearest(position,range,maxstrength)
  1293. for i,v in ipairs(workspace:GetChildren()) do
  1294. local body = v:GetChildren()
  1295. for part = 1, #body do
  1296. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1297. if(body[part].Position - position).Magnitude < range then
  1298. if v.ClassName == "Model" then
  1299. v:BreakJoints()
  1300. end
  1301. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1302. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1303. end
  1304. end
  1305. end
  1306. if v.ClassName == "Part" then
  1307. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1308. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1309. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1310. end
  1311. end
  1312. end
  1313. end
  1314.  
  1315. --//=================================\\
  1316. --|| ATTACK FUNCTIONS AND STUFF
  1317. --\\=================================//
  1318.  
  1319.  
  1320. function turnto(pos,part)
  1321. part.CFrame = CF(part.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
  1322. end
  1323.  
  1324. Humanoid.Died:connect(function()
  1325. q = workspace:GetChildren()
  1326. DEAD = true
  1327. CreatePentagram(1500,true,-0.1,150,CF(RootPart.Position),-15-3)
  1328. Head.Parent = nil
  1329. Head = nil
  1330. for i = 1, #q do
  1331. local child = q[i]
  1332. if child.ClassName == "Model" and child:FindFirstChild("Humanoid") then
  1333. child:BreakJoints()
  1334. end
  1335. end
  1336. local taunt = CreateSound("135009414", workspace, 10, 1)
  1337. local effect = IT("PitchShiftSoundEffect",taunt)
  1338. effect.Octave = 0.700
  1339. ATTACK = true
  1340. end)
  1341.  
  1342. function ClawForce()
  1343. ATTACK = true
  1344. for i=0, 2, 0.1 / Animation_Speed do
  1345. Swait()
  1346. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1347. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1348. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1349. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1350. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1351. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1352.  
  1353. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(8), RAD(-65)), 0.4 / Animation_Speed)
  1354. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-86), RAD(-5), RAD(0)), 0.4 / Animation_Speed)
  1355. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1356.  
  1357. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(-8), RAD(65)), 0.4 / Animation_Speed)
  1358. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-86), RAD(5), RAD(0)), 0.4 / Animation_Speed)
  1359. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1360. end
  1361. CreateSound("134012322", Effects, 2, 1)
  1362. for i=0, 1, 0.1 / Animation_Speed2 do
  1363. Swait()
  1364. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1365. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1366. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1367. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1368. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1369. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1370.  
  1371. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(8), RAD(-175)), 0.4 / Animation_Speed2)
  1372. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(-5), RAD(0)), 0.4 / Animation_Speed2)
  1373. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(-90), RAD(0)), 0.4 / Animation_Speed2)
  1374.  
  1375. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(-8), RAD(175)), 0.4 / Animation_Speed2)
  1376. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(5), RAD(0)), 0.4 / Animation_Speed2)
  1377. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(90), RAD(0)), 0.4 / Animation_Speed2)
  1378. end
  1379. killnearest(hand1.Position,15,60)
  1380. killnearest(hand2.Position,15,60)
  1381. CreateWave(0,15,false,0,15,CF(hand1.Position) * CF(0,-1,0),0,"Really black")
  1382. CreateWave(0,15,false,0,15,CF(hand2.Position) * CF(0,-1,0),0,"Really black")
  1383. CreateWave(0,10,false,0,15,CF(hand1.Position) * CF(0,-1,0),0,"Really black")
  1384. CreateWave(0,10,false,0,15,CF(hand2.Position) * CF(0,-1,0),0,"Really black")
  1385. CreateWave(0,5,false,0,15,CF(hand1.Position) * CF(0,-1,0),0,"Really black")
  1386. CreateWave(0,5,false,0,15,CF(hand2.Position) * CF(0,-1,0),0,"Really black")
  1387. CreateSound("1225807237", Effects, 4, 1)
  1388. for i=0, 0.5, 0.1 / Animation_Speed2 do
  1389. Swait()
  1390. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1391. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1392. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1393. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1394. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1395. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1396.  
  1397. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(8), RAD(-175)), 0.4 / Animation_Speed2)
  1398. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(-5), RAD(0)), 0.4 / Animation_Speed2)
  1399. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(-90), RAD(0)), 0.4 / Animation_Speed2)
  1400.  
  1401. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(-8), RAD(175)), 0.4 / Animation_Speed2)
  1402. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(5), RAD(0)), 0.4 / Animation_Speed2)
  1403. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(90), RAD(0)), 0.4 / Animation_Speed2)
  1404. end
  1405. ATTACK = false
  1406. end
  1407.  
  1408. function HellLeash()
  1409. ATTACK = true
  1410. Rooted = true
  1411. CreateSound("159882578", Effects, 10, 0.6)
  1412. for i=0, 2, 0.1 / Animation_Speed do
  1413. Swait()
  1414. turnto(Mouse.Hit.p,RootPart)
  1415. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1416. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1417. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1418. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1419. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1420. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1421.  
  1422. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-85), RAD(0), RAD(-95)) * ANGLES(RAD(0),RAD(0),RAD(90)), 0.4 / Animation_Speed)
  1423. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-6), RAD(-5 * COS(SINE / 30)), RAD(0)), 0.4 / Animation_Speed)
  1424. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1425.  
  1426. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(-8+(-5 * COS(SINE / 30))), RAD(135)), 0.4 / Animation_Speed)
  1427. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-36), RAD(5 * COS(SINE / 30)), RAD(-35)), 0.4 / Animation_Speed)
  1428. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1429. end
  1430. CreateSound("910988901", Effects, 4, 1)
  1431. local sphere = IT("Part",Effects)
  1432. sphere.Shape = "Ball"
  1433. sphere.Size = VT(0,0,0)
  1434. sphere.Material = "Neon"
  1435. sphere.Color = C3(1,0,0)
  1436. sphere.CFrame = hand1.CFrame*CF(0,0,0)
  1437. sphere.Anchored = true
  1438. for i = 1, 25 do
  1439. Swait()
  1440. turnto(Mouse.Hit.p,RootPart)
  1441. sphere.CFrame = hand1.CFrame*CF(-3.5,-2-sphere.Size.Y/2,0)
  1442. sphere.Size = sphere.Size + VT(1,1,1)
  1443. sphere.Anchored = true
  1444. end
  1445. for i = 1, 100 do
  1446. turnto(Mouse.Hit.p,RootPart)
  1447. local RayData = Zap({Offset = 2, Size = sphere.Size.Y/5 ,MaxRange = 150 ,StartPosition = sphere.Position, TargetPosition = Mouse.Hit.p, Character = Character, Color = "Really red", Individual = true})
  1448. MagicSphere(5,15,RayData.RayPos,0,"Really red")
  1449. killnearest(RayData.RayPos,15,100)
  1450. Swait()
  1451. sphere.CFrame = hand1.CFrame*CF(-3.5,-2-sphere.Size.Y/2,0)
  1452. sphere.Size = sphere.Size - VT(0.25,0.25,0.25)
  1453. sphere.Anchored = true
  1454. RayData.LightningModel:remove()
  1455. end
  1456. ATTACK = false
  1457. Rooted = false
  1458. end
  1459.  
  1460. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1461. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1462. end
  1463.  
  1464. function SinnerWave()
  1465. ATTACK = true
  1466. Rooted = true
  1467. for i=0, 2, 0.1 / Animation_Speed do
  1468. Swait()
  1469. turnto(Mouse.Hit.p,RootPart)
  1470. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1471. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1472. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1473. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1474. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1475. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1476.  
  1477. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(8), RAD(-65)), 0.4 / Animation_Speed)
  1478. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-86), RAD(-5), RAD(0)), 0.4 / Animation_Speed)
  1479. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1480.  
  1481. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(-8), RAD(65)), 0.4 / Animation_Speed)
  1482. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-86), RAD(5), RAD(0)), 0.4 / Animation_Speed)
  1483. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1484. end
  1485. CreateSound("971126018", Effects, 6, 1)
  1486. local angle = -60
  1487. for i = 1, 9 do
  1488. coroutine.resume(coroutine.create(function()
  1489. local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
  1490. local SpawnPosition = RayPos
  1491. local floor = RayHit
  1492. local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0))
  1493. local LastPosition = RayPos
  1494. local Delay = 1
  1495. for i = 1, 15 do
  1496. local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
  1497. local End = RayPos
  1498. LastPosition = End
  1499. local locatepart = Instance.new("Part",Effects)
  1500. locatepart.Size = VT(0.5,0.5,0.5)
  1501. locatepart.Position = End
  1502. locatepart.CanCollide = false
  1503. locatepart.Anchored = true
  1504. locatepart.Name = "Oof"
  1505. locatepart.Transparency = 1
  1506. if SpawnPosition then
  1507. CreateSound("971125740", locatepart.CFrame, 7, 1)
  1508. killnearest(End,15,50)
  1509. CreateWave(0,5,true,0.1,15,CF(locatepart.Position),0,"Really black")
  1510. CreateWave(0,2.5,true,-0.1,15,CF(locatepart.Position),0,"Really black")
  1511. CreateWave(0,2,true,0.1,15,CF(locatepart.Position),0,"Really black")
  1512. CreateWave(0,1.5,true,-0.1,15,CF(locatepart.Position),0,"Really black")
  1513. end
  1514. Swait(5)
  1515. game:GetService("Debris"):AddItem(locatepart, 5)
  1516. end
  1517. end))
  1518. angle = angle + 15
  1519. end
  1520. for i=0, 2, 0.1 / Animation_Speed do
  1521. Swait()
  1522. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1523. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1524. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(72)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1525. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(-72)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1526. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1527. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1528.  
  1529. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(8), RAD(-125)), 0.4 / Animation_Speed)
  1530. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(-5), RAD(0)), 0.4 / Animation_Speed)
  1531. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1532.  
  1533. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(-8), RAD(125)), 0.4 / Animation_Speed)
  1534. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(5), RAD(0)), 0.4 / Animation_Speed)
  1535. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1536. end
  1537. ATTACK = false
  1538. Rooted = false
  1539. end
  1540.  
  1541. function FromTheDepths()
  1542. ATTACK = true
  1543. Rooted = true
  1544. for i=0, 2, 0.1 / Animation_Speed do
  1545. Swait()
  1546. turnto(Mouse.Hit.p,RootPart)
  1547. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1548. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1549. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(72)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1550. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(-72)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1551. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1552. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1553.  
  1554. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(8), RAD(-125)), 0.4 / Animation_Speed)
  1555. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(-5), RAD(0)), 0.4 / Animation_Speed)
  1556. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1557.  
  1558. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(-8), RAD(125)), 0.4 / Animation_Speed)
  1559. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(5), RAD(0)), 0.4 / Animation_Speed)
  1560. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1561. end
  1562. local pos = nil
  1563. repeat
  1564. Swait()
  1565. local RayData = Zap({Offset = 2, Size = 0.2 ,MaxRange = 150 ,StartPosition = CF(BottomPart.Position)*CF(0,-3,0).p, TargetPosition = Mouse.Hit.p, Character = Character, Color = "Really red", Individual = true})
  1566. MagicSphere(2,15,RayData.RayPos,0,"Really red")
  1567. pos = RayData.RayPos
  1568. Swait()
  1569. RayData.LightningModel:remove()
  1570. turnto(Mouse.Hit.p,RootPart)
  1571. until KEYHOLD == false
  1572. coroutine.resume(coroutine.create(function()
  1573. local gate = IT("Part",Effects)
  1574. gate.Material = "Neon"
  1575. gate.Color = C3(1,0,0)
  1576. gate.CanCollide = false
  1577. gate.Anchored = true
  1578. gate.Transparency = 1
  1579. gate.Size = VT(65,0.3,65)
  1580. local mesh = IT("CylinderMesh",gate)
  1581. gate.CFrame = CF(pos)
  1582. local soundeffect = IT("Sound",gate)
  1583. soundeffect.SoundId = "rbxassetid://487186990"
  1584. soundeffect.Looped = true
  1585. soundeffect.Volume = 0
  1586. soundeffect.Playing = true
  1587. for i = 1, 10 do
  1588. soundeffect.Volume = i
  1589. gate.Transparency = gate.Transparency - 0.1
  1590. Swait()
  1591. end
  1592. for i = 1, 150 do
  1593. Swait(5)
  1594. killnearest(gate.Position,35,-10)
  1595. end
  1596. for i = 1, 10 do
  1597. soundeffect.Volume = soundeffect.Volume - 1
  1598. gate.Transparency = gate.Transparency + 0.1
  1599. Swait()
  1600. end
  1601. gate:remove()
  1602. end))
  1603. for i=0, 2, 0.1 / Animation_Speed do
  1604. Swait()
  1605. turnto(Mouse.Hit.p,RootPart)
  1606. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1607. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1608. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(165), RAD(0), RAD(52)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1609. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(165), RAD(0), RAD(-52)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1610. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1611. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1612.  
  1613. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(8), RAD(-55)), 0.4 / Animation_Speed)
  1614. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-66), RAD(-5), RAD(0)), 0.4 / Animation_Speed)
  1615. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  1616.  
  1617. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(-8), RAD(55)), 0.4 / Animation_Speed)
  1618. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-66), RAD(5), RAD(0)), 0.4 / Animation_Speed)
  1619. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.4 / Animation_Speed)
  1620. end
  1621. ATTACK = false
  1622. Rooted = false
  1623. end
  1624.  
  1625. function TheEnd()
  1626. local pos = RootPart.CFrame * CF(0,65,0).p
  1627. ATTACK = true
  1628. Rooted = true
  1629. for i=0, 2, 0.1 / Animation_Speed do
  1630. Swait()
  1631. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1632. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1633. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(165), RAD(0), RAD(52)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1634. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(165), RAD(0), RAD(-52)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1635. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1636. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1637.  
  1638. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(8), RAD(-55)), 0.4 / Animation_Speed)
  1639. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-66), RAD(-5), RAD(0)), 0.4 / Animation_Speed)
  1640. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  1641.  
  1642. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(-8), RAD(55)), 0.4 / Animation_Speed)
  1643. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-66), RAD(5), RAD(0)), 0.4 / Animation_Speed)
  1644. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.4 / Animation_Speed)
  1645. end
  1646. if DEAD == false then
  1647. local sphere = IT("Part",Effects)
  1648. sphere.Shape = "Ball"
  1649. sphere.Size = VT(0,0,0)
  1650. sphere.Material = "Neon"
  1651. sphere.Color = C3(1,0,0)
  1652. sphere.CFrame = CF(pos)
  1653. sphere.Anchored = true
  1654. sphere.CanCollide = false
  1655. local maxdist1 = (hand1.Position-pos).magnitude
  1656. local maxdist2 = (hand2.Position-pos).magnitude
  1657. local soundeffect = IT("Sound",RootPart)
  1658. soundeffect.SoundId = "rbxassetid://379557765"
  1659. soundeffect.Looped = true
  1660. soundeffect.Volume = 10
  1661. soundeffect.Playing = true
  1662. local hit = sphere.Touched:connect(function(hit)
  1663. if hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Anchored == false and hit.CanCollide == true then
  1664. hit:Destroy()
  1665. end
  1666. end)
  1667. CreateSwirl(0,1,true,0.5,300,sphere.CFrame,0,"Really red")
  1668. for i = 1, 250 do
  1669. --local RayData = Zap({Offset = 2, Size = 0.2 ,MaxRange = 1500 ,StartPosition = CF(BottomPart.Position)*CF(0,-3,0).p, TargetPosition = Mouse.Hit.p, Character = Character, Color = "Really red", Individual = true})
  1670. local RayData2 = Zap({Offset = 2, Size = 0.2 ,MaxRange = maxdist1 ,StartPosition = hand1.Position, TargetPosition = pos, Character = Character, Color = "Really red", Individual = true})
  1671. local RayData3 = Zap({Offset = 2, Size = 0.2 ,MaxRange = maxdist2 ,StartPosition = hand2.Position, TargetPosition = pos, Character = Character, Color = "Really red", Individual = true})
  1672. Swait()
  1673. --RayData.LightningModel:remove()
  1674. RayData2.LightningModel:remove()
  1675. RayData3.LightningModel:remove()
  1676. sphere.Size = sphere.Size + VT(0.2,0.2,0.2)
  1677. end
  1678. soundeffect:remove()
  1679. Swait(50)
  1680. for i = 1, 5 do
  1681. CreateSound("821439273", sphere, 10, 0.7)
  1682. --local RayData = Zap({Offset = 2, Size = 0.2 ,MaxRange = 1500 ,StartPosition = CF(BottomPart.Position)*CF(0,-3,0).p, TargetPosition = Mouse.Hit.p, Character = Character, Color = "Really red", Individual = true})
  1683. local RayData2 = Zap({Offset = 2, Size = 2 ,MaxRange = maxdist1 ,StartPosition = hand1.Position, TargetPosition = pos, Character = Character, Color = "Really red", Individual = true})
  1684. local RayData3 = Zap({Offset = 2, Size = 2 ,MaxRange = maxdist2 ,StartPosition = hand2.Position, TargetPosition = pos, Character = Character, Color = "Really red", Individual = true})
  1685. Swait()
  1686. sphere.Size = sphere.Size + VT(5,5,5)
  1687. Swait(15)
  1688. end
  1689. local laugh = CreateSound("160212892", Effects, 10, 0.7)
  1690. Swait(2)
  1691. repeat Swait() until laugh.Playing == false
  1692. local filter = IT("ColorCorrectionEffect",game.Lighting)
  1693. CreateSound("160745944", Effects, 10, 0.7)
  1694. for i = 1, 100 do
  1695. Swait()
  1696. MagicSphere(sphere.Size.Y/2,15,sphere.Position,0,"Really red")
  1697. MagicSphere(sphere.Size.Y/5,15,sphere.Position,0,"Really red")
  1698. MagicSphere(sphere.Size.Y/8,15,sphere.Position,0,"Really red")
  1699. sphere.Size = sphere.Size + VT(5,5,5)
  1700. filter.TintColor = C3(1,1-(i/100),1-(i/100))
  1701. end
  1702. for i = 1, 100 do
  1703. Swait()
  1704. MagicSphere(sphere.Size.Y/2,15,sphere.Position,0,"Really red")
  1705. MagicSphere(sphere.Size.Y/5,15,sphere.Position,0,"Really red")
  1706. MagicSphere(sphere.Size.Y/8,15,sphere.Position,0,"Really red")
  1707. sphere.Size = sphere.Size + VT(5,5,5)
  1708. filter.Brightness = filter.Brightness - (1/100)
  1709. end
  1710. --killnearest(sphere.Position,1000,100)
  1711. sphere:remove()
  1712. Swait(50)
  1713. ATTACK = false
  1714. Rooted = false
  1715. for i = 1, 50 do
  1716. Swait()
  1717. filter.TintColor = C3(1,0+(i/50),0+(i/50))
  1718. filter.Brightness = filter.Brightness + (1/50)
  1719. end
  1720. filter:remove()
  1721. end
  1722. end
  1723.  
  1724. Humanoid.HealthChanged:connect(function()
  1725. if Humanoid.Health == 0 then
  1726. Humanoid.MaxHealth = "inf"
  1727. Humanoid.Health = "inf"
  1728. if ATTACK == false then
  1729. if Humanoid.Health == 0 then
  1730. workspace:ClearAllChildren()
  1731. else
  1732. TheEnd()
  1733. end
  1734. end
  1735. end
  1736. end)
  1737.  
  1738. --//=================================\\
  1739. --|| ASSIGN THINGS TO KEYS
  1740. --\\=================================//
  1741.  
  1742. function MouseDown(Mouse)
  1743. if ATTACK == false then
  1744. end
  1745. end
  1746.  
  1747. function MouseUp(Mouse)
  1748. HOLD = false
  1749. end
  1750.  
  1751. function KeyDown(Key)
  1752. KEYHOLD = true
  1753. if Key == "z" and ATTACK == false then
  1754. ClawForce()
  1755. end
  1756.  
  1757. if Key == "b" and ATTACK == false then
  1758. HellLeash()
  1759. end
  1760.  
  1761. if Key == "c" and ATTACK == false then
  1762. SinnerWave()
  1763. end
  1764.  
  1765. if Key == "v" and ATTACK == false then
  1766. FromTheDepths()
  1767. end
  1768.  
  1769. if Key == "x" and ATTACK == false then
  1770. TheEnd()
  1771. end
  1772.  
  1773. if Key == "t" and ATTACK == false then
  1774. CreateSound("907329893", Head, 10, 0.85)
  1775. end
  1776. end
  1777.  
  1778. function KeyUp(Key)
  1779. KEYHOLD = false
  1780. end
  1781.  
  1782. Mouse.Button1Down:connect(function(NEWKEY)
  1783. MouseDown(NEWKEY)
  1784. end)
  1785. Mouse.Button1Up:connect(function(NEWKEY)
  1786. MouseUp(NEWKEY)
  1787. end)
  1788. Mouse.KeyDown:connect(function(NEWKEY)
  1789. KeyDown(NEWKEY)
  1790. end)
  1791. Mouse.KeyUp:connect(function(NEWKEY)
  1792. KeyUp(NEWKEY)
  1793. end)
  1794.  
  1795. --//=================================\\
  1796. --\\=================================//
  1797.  
  1798.  
  1799. function unanchor()
  1800. if UNANCHOR == true then
  1801. g = Character:GetChildren()
  1802. for i = 1, #g do
  1803. if g[i].ClassName == "Part" then
  1804. g[i].Anchored = false
  1805. end
  1806. end
  1807. end
  1808. end
  1809.  
  1810.  
  1811. --//=================================\\
  1812. --|| WRAP THE WHOLE SCRIPT UP
  1813. --\\=================================//
  1814.  
  1815. Humanoid.Changed:connect(function(Jump)
  1816. if Jump == "Jump" and (Disable_Jump == true) then
  1817. Humanoid.Jump = false
  1818. end
  1819. end)
  1820.  
  1821. ANIMATE.Parent = nil
  1822. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1823. IDLEANIMATION:Play()
  1824.  
  1825. while true do
  1826. Swait()
  1827. SINE = SINE + CHANGE
  1828. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1829. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1830. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1831. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1832. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1833. if ATTACK == false then
  1834. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1835. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1836. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1837. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1838. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1839. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1840.  
  1841. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(8+(5 * COS(SINE / 30))), RAD(-125)), 0.4 / Animation_Speed)
  1842. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-56), RAD(-5 * COS(SINE / 30)), RAD(0)), 0.4 / Animation_Speed)
  1843. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1844.  
  1845. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(-8+(-5 * COS(SINE / 30))), RAD(125)), 0.4 / Animation_Speed)
  1846. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-56), RAD(5 * COS(SINE / 30)), RAD(0)), 0.4 / Animation_Speed)
  1847. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1848. end
  1849. if #Effects2>0 then
  1850. for e=1,#Effects2 do
  1851. if Effects2[e]~=nil then
  1852. local Thing=Effects2[e]
  1853. if Thing~=nil then
  1854. local Part=Thing[1]
  1855. local Mode=Thing[2]
  1856. local Delay=Thing[3]
  1857. local IncX=Thing[4]
  1858. local IncY=Thing[5]
  1859. local IncZ=Thing[6]
  1860. local Part2=Thing[8]
  1861. if Thing[1].Transparency<=1 then
  1862. if Thing[2]=="Block1" then
  1863. Thing[1].CFrame=Thing[1].CFrame
  1864. Mesh=Thing[1].Mesh
  1865. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1866. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1867. elseif Thing[2]=="Cylinder" then
  1868. Mesh=Thing[1].Mesh
  1869. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1870. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1871. elseif Thing[2]=="Blood" then
  1872. Mesh=Thing[7]
  1873. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1874. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1875. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1876. elseif Thing[2]=="Elec" then
  1877. Mesh=Thing[1].Mesh
  1878. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1879. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1880. elseif Thing[2]=="Disappear" then
  1881. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1882. end
  1883. else
  1884. Part.Parent=nil
  1885. table.remove(Effects2,e)
  1886. end
  1887. end
  1888. end
  1889. end
  1890. end
  1891. unanchor()
  1892. Humanoid.MaxHealth = "inf"
  1893. Humanoid.Health = "inf"
  1894. if Rooted == false then
  1895. Disable_Jump = false
  1896. Humanoid.WalkSpeed = Speed
  1897. elseif Rooted == true then
  1898. Disable_Jump = true
  1899. Humanoid.WalkSpeed = 0
  1900. end
  1901. q = Character:GetChildren()
  1902. for u = 1, #q do
  1903. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1904. q[u]:remove()
  1905. elseif q[u].ClassName == "Shirt" then
  1906. q[u]:Destroy()
  1907. elseif q[u].ClassName == "Pants" then
  1908. q[u]:Destroy()
  1909. elseif q[u].ClassName == "CharacterMesh" then
  1910. q[u]:remove()
  1911. elseif q[u].ClassName == "ShirtGraphic" then
  1912. q[u]:remove()
  1913. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1914. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1915. end
  1916. end
  1917. if Head:FindFirstChild("face") then
  1918. Head.face:remove()
  1919. end
  1920. end
  1921.  
  1922. --//=================================\\
  1923. --\\=================================//
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929. --//====================================================\\--
  1930. --|| END OF SCRIPT
  1931. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement