SyntaxIsHere

Untitled

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