Advertisement
WaverlyCoal

FE Sin Unleashed

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