DontDoItIDareU

Sin Unleashed [FE]

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