Advertisement
fescripter159

Untitled

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