Advertisement
Guest User

Untitled

a guest
Oct 20th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. --//====================================================\\--
  3. --|| CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6. script:ClearAllChildren()
  7. wait(0.2)
  8.  
  9. Player = game:GetService("Players").LocalPlayer
  10. PlayerGui = Player.PlayerGui
  11. Cam = workspace.CurrentCamera
  12. Backpack = Player.Backpack
  13. Character = Player.Character
  14. Humanoid = Character.Humanoid
  15. Mouse = Player:GetMouse()
  16. RootPart = Character["HumanoidRootPart"]
  17. Torso = Character["Torso"]
  18. Head = Character["Head"]
  19. RightArm = Character["Right Arm"]
  20. LeftArm = Character["Left Arm"]
  21. RightLeg = Character["Right Leg"]
  22. LeftLeg = Character["Left Leg"]
  23. RootJoint = RootPart["RootJoint"]
  24. Neck = Torso["Neck"]
  25. RightShoulder = Torso["Right Shoulder"]
  26. LeftShoulder = Torso["Left Shoulder"]
  27. RightHip = Torso["Right Hip"]
  28. LeftHip = Torso["Left Hip"]
  29. local TIME = 0
  30. local sick = Instance.new("Sound",Torso)
  31.  
  32. IT = Instance.new
  33. CF = CFrame.new
  34. VT = Vector3.new
  35. RAD = math.rad
  36. C3 = Color3.new
  37. UD2 = UDim2.new
  38. BRICKC = BrickColor.new
  39. ANGLES = CFrame.Angles
  40. EULER = CFrame.fromEulerAnglesXYZ
  41. COS = math.cos
  42. ACOS = math.acos
  43. SIN = math.sin
  44. ASIN = math.asin
  45. ABS = math.abs
  46. MRANDOM = math.random
  47. FLOOR = math.floor
  48.  
  49. --//=================================\\
  50. --|| USEFUL VALUES
  51. --\\=================================//
  52.  
  53. Animation_Speed = 3
  54. local FORCERESET = false
  55. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  56. local Speed = 16
  57. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  58. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  59. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  60. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  61. local DAMAGEMULTIPLIER = 1
  62. local ANIM = "Idle"
  63. local ATTACK = false
  64. local EQUIPPED = false
  65. local HOLD = false
  66. local COMBO = 1
  67. local Rooted = false
  68. local SINE = 0
  69. local KEYHOLD = false
  70. local CHANGE = 2 / Animation_Speed
  71. local WALKINGANIM = false
  72. local VALUE1 = false
  73. local VALUE2 = false
  74. local ROBLOXIDLEANIMATION = IT("Animation")
  75. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  76. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  77. --ROBLOXIDLEANIMATION.Parent = Humanoid
  78. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  79. WEAPONGUI.Name = "BanishV3Gui"
  80. local Weapon = IT("Model")
  81. Weapon.Name = "Adds"
  82. local Effects = IT("Folder", Weapon)
  83. Effects.Name = "Effects"
  84. local ANIMATOR = Humanoid.Animator
  85. local ANIMATE = Character:FindFirstChild("Animate")
  86. local UNANCHOR = true
  87. local TOBANISH = {}
  88. script.Parent = PlayerGui
  89. local LAUGHS = {834001699,834001752,834001797,834001828}
  90. local VOCALS_ENRAGES = {528589078,528589175,528589274,528589382}
  91. local VOCALS_TAUNT = {468973055,468973159}
  92. local VOCALS_BASIC = {468972244,468972378,468972711,468972944}
  93. local VOCAL_GROWL = 468971411
  94.  
  95. --//=================================\\
  96. --\\=================================//
  97.  
  98.  
  99. --//=================================\\
  100. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  101. --\\=================================//
  102.  
  103. ArtificialHB = Instance.new("BindableEvent", script)
  104. ArtificialHB.Name = "ArtificialHB"
  105.  
  106. script:WaitForChild("ArtificialHB")
  107.  
  108. frame = Frame_Speed
  109. tf = 0
  110. allowframeloss = false
  111. tossremainder = false
  112. lastframe = tick()
  113. script.ArtificialHB:Fire()
  114.  
  115. game:GetService("RunService").Heartbeat:connect(function(s, p)
  116. tf = tf + s
  117. if tf >= frame then
  118. if allowframeloss then
  119. script.ArtificialHB:Fire()
  120. lastframe = tick()
  121. else
  122. for i = 1, math.floor(tf / frame) do
  123. script.ArtificialHB:Fire()
  124. end
  125. lastframe = tick()
  126. end
  127. if tossremainder then
  128. tf = 0
  129. else
  130. tf = tf - frame * math.floor(tf / frame)
  131. end
  132. end
  133. end)
  134.  
  135. --//=================================\\
  136. --\\=================================//
  137.  
  138. --//=================================\\
  139. --|| SOME FUNCTIONS
  140. --\\=================================//
  141.  
  142. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  143. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  144. end
  145.  
  146. function PositiveAngle(NUMBER)
  147. if NUMBER >= 0 then
  148. NUMBER = 0
  149. end
  150. return NUMBER
  151. end
  152.  
  153. function NegativeAngle(NUMBER)
  154. if NUMBER <= 0 then
  155. NUMBER = 0
  156. end
  157. return NUMBER
  158. end
  159.  
  160. function Swait(NUMBER)
  161. if NUMBER == 0 or NUMBER == nil then
  162. ArtificialHB.Event:wait()
  163. else
  164. for i = 1, NUMBER do
  165. ArtificialHB.Event:wait()
  166. end
  167. end
  168. end
  169.  
  170. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  171. local NEWMESH = IT(MESH)
  172. if MESH == "SpecialMesh" then
  173. NEWMESH.MeshType = MESHTYPE
  174. if MESHID ~= "nil" and MESHID ~= "" then
  175. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  176. end
  177. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  178. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  179. end
  180. end
  181. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  182. NEWMESH.Scale = SCALE
  183. NEWMESH.Parent = PARENT
  184. return NEWMESH
  185. end
  186.  
  187. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  188. local NEWPART = IT("Part")
  189. NEWPART.formFactor = FORMFACTOR
  190. NEWPART.Reflectance = REFLECTANCE
  191. NEWPART.Transparency = TRANSPARENCY
  192. NEWPART.CanCollide = false
  193. NEWPART.Locked = true
  194. NEWPART.Anchored = true
  195. if ANCHOR == false then
  196. NEWPART.Anchored = false
  197. end
  198. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  199. NEWPART.Name = NAME
  200. NEWPART.Size = SIZE
  201. NEWPART.Position = Torso.Position
  202. NEWPART.Material = MATERIAL
  203. NEWPART:BreakJoints()
  204. NEWPART.Parent = PARENT
  205. return NEWPART
  206. end
  207.  
  208. local function weldBetween(a, b)
  209. local weldd = Instance.new("ManualWeld")
  210. weldd.Part0 = a
  211. weldd.Part1 = b
  212. weldd.C0 = CFrame.new()
  213. weldd.C1 = b.CFrame:inverse() * a.CFrame
  214. weldd.Parent = a
  215. return weldd
  216. end
  217.  
  218.  
  219. function QuaternionFromCFrame(cf)
  220. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  221. local trace = m00 + m11 + m22
  222. if trace > 0 then
  223. local s = math.sqrt(1 + trace)
  224. local recip = 0.5 / s
  225. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  226. else
  227. local i = 0
  228. if m11 > m00 then
  229. i = 1
  230. end
  231. if m22 > (i == 0 and m00 or m11) then
  232. i = 2
  233. end
  234. if i == 0 then
  235. local s = math.sqrt(m00 - m11 - m22 + 1)
  236. local recip = 0.5 / s
  237. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  238. elseif i == 1 then
  239. local s = math.sqrt(m11 - m22 - m00 + 1)
  240. local recip = 0.5 / s
  241. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  242. elseif i == 2 then
  243. local s = math.sqrt(m22 - m00 - m11 + 1)
  244. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  245. end
  246. end
  247. end
  248.  
  249. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  250. local xs, ys, zs = x + x, y + y, z + z
  251. local wx, wy, wz = w * xs, w * ys, w * zs
  252. local xx = x * xs
  253. local xy = x * ys
  254. local xz = x * zs
  255. local yy = y * ys
  256. local yz = y * zs
  257. local zz = z * zs
  258. 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))
  259. end
  260.  
  261. function QuaternionSlerp(a, b, t)
  262. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  263. local startInterp, finishInterp;
  264. if cosTheta >= 0.0001 then
  265. if (1 - cosTheta) > 0.0001 then
  266. local theta = ACOS(cosTheta)
  267. local invSinTheta = 1 / SIN(theta)
  268. startInterp = SIN((1 - t) * theta) * invSinTheta
  269. finishInterp = SIN(t * theta) * invSinTheta
  270. else
  271. startInterp = 1 - t
  272. finishInterp = t
  273. end
  274. else
  275. if (1 + cosTheta) > 0.0001 then
  276. local theta = ACOS(-cosTheta)
  277. local invSinTheta = 1 / SIN(theta)
  278. startInterp = SIN((t - 1) * theta) * invSinTheta
  279. finishInterp = SIN(t * theta) * invSinTheta
  280. else
  281. startInterp = t - 1
  282. finishInterp = t
  283. end
  284. end
  285. 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
  286. end
  287.  
  288. function Clerp(a, b, t)
  289. local qa = {QuaternionFromCFrame(a)}
  290. local qb = {QuaternionFromCFrame(b)}
  291. local ax, ay, az = a.x, a.y, a.z
  292. local bx, by, bz = b.x, b.y, b.z
  293. local _t = 1 - t
  294. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  295. end
  296.  
  297. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  298. local frame = IT("Frame")
  299. frame.BackgroundTransparency = TRANSPARENCY
  300. frame.BorderSizePixel = BORDERSIZEPIXEL
  301. frame.Position = POSITION
  302. frame.Size = SIZE
  303. frame.BackgroundColor3 = COLOR
  304. frame.BorderColor3 = BORDERCOLOR
  305. frame.Name = NAME
  306. frame.Parent = PARENT
  307. return frame
  308. end
  309.  
  310. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  311. local label = IT("TextLabel")
  312. label.BackgroundTransparency = 1
  313. label.Size = UD2(1, 0, 1, 0)
  314. label.Position = UD2(0, 0, 0, 0)
  315. label.TextColor3 = TEXTCOLOR
  316. label.TextStrokeTransparency = STROKETRANSPARENCY
  317. label.TextTransparency = TRANSPARENCY
  318. label.FontSize = TEXTFONTSIZE
  319. label.Font = TEXTFONT
  320. label.BorderSizePixel = BORDERSIZEPIXEL
  321. label.TextScaled = false
  322. label.Text = TEXT
  323. label.Name = NAME
  324. label.Parent = PARENT
  325. return label
  326. end
  327.  
  328. function NoOutlines(PART)
  329. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  330. end
  331.  
  332. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  333. local NEWWELD = IT(TYPE)
  334. NEWWELD.Part0 = PART0
  335. NEWWELD.Part1 = PART1
  336. NEWWELD.C0 = C0
  337. NEWWELD.C1 = C1
  338. NEWWELD.Parent = PARENT
  339. return NEWWELD
  340. end
  341.  
  342. local S = IT("Sound")
  343. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  344. local NEWSOUND = nil
  345. coroutine.resume(coroutine.create(function()
  346. NEWSOUND = S:Clone()
  347. NEWSOUND.Parent = PARENT
  348. NEWSOUND.Volume = VOLUME
  349. NEWSOUND.Pitch = PITCH
  350. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  351. NEWSOUND:play()
  352. if DOESLOOP == true then
  353. NEWSOUND.Looped = true
  354. else
  355. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  356. NEWSOUND:remove()
  357. end
  358. end))
  359. return NEWSOUND
  360. end
  361.  
  362. function CFrameFromTopBack(at, top, back)
  363. local right = top:Cross(back)
  364. 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)
  365. end
  366.  
  367. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  368. function WACKYEFFECT(Table)
  369. local TYPE = (Table.EffectType or "Sphere")
  370. local SIZE = (Table.Size or VT(1,1,1))
  371. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  372. local TRANSPARENCY = (Table.Transparency or 0)
  373. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  374. local CFRAME = (Table.CFrame or Torso.CFrame)
  375. local MOVEDIRECTION = (Table.MoveToPos or nil)
  376. local ROTATION1 = (Table.RotationX or 0)
  377. local ROTATION2 = (Table.RotationY or 0)
  378. local ROTATION3 = (Table.RotationZ or 0)
  379. local MATERIAL = (Table.Material or "Neon")
  380. local COLOR = (Table.Color or C3(1,1,1))
  381. local TIME = (Table.Time or 45)
  382. local SOUNDID = (Table.SoundID or nil)
  383. local SOUNDPITCH = (Table.SoundPitch or nil)
  384. local SOUNDVOLUME = (Table.SoundVolume or nil)
  385. coroutine.resume(coroutine.create(function()
  386. local PLAYSSOUND = false
  387. local SOUND = nil
  388. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  389. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  390. PLAYSSOUND = true
  391. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  392. end
  393. EFFECT.Color = COLOR
  394. local MSH = nil
  395. if TYPE == "Sphere" then
  396. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  397. elseif TYPE == "Block" then
  398. MSH = IT("BlockMesh",EFFECT)
  399. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  400. elseif TYPE == "Wave" then
  401. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  402. elseif TYPE == "Ring" then
  403. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  404. elseif TYPE == "Slash" then
  405. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  406. elseif TYPE == "Round Slash" then
  407. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  408. elseif TYPE == "Swirl" then
  409. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  410. elseif TYPE == "Skull" then
  411. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  412. elseif TYPE == "Crystal" then
  413. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  414. end
  415. if MSH ~= nil then
  416. local MOVESPEED = nil
  417. if MOVEDIRECTION ~= nil then
  418. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  419. end
  420. local GROWTH = SIZE - ENDSIZE
  421. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  422. if TYPE == "Block" then
  423. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  424. else
  425. EFFECT.CFrame = CFRAME
  426. end
  427. for LOOP = 1, TIME+1 do
  428. Swait()
  429. MSH.Scale = MSH.Scale - GROWTH/TIME
  430. if TYPE == "Wave" then
  431. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  432. end
  433. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  434. if TYPE == "Block" then
  435. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  436. else
  437. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  438. end
  439. if MOVEDIRECTION ~= nil then
  440. local ORI = EFFECT.Orientation
  441. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  442. EFFECT.Orientation = ORI
  443. end
  444. end
  445. if PLAYSSOUND == false then
  446. EFFECT:remove()
  447. else
  448. SOUND.Stopped:Connect(function()
  449. EFFECT:remove()
  450. end)
  451. end
  452. else
  453. if PLAYSSOUND == false then
  454. EFFECT:remove()
  455. else
  456. repeat Swait() until SOUND.Playing == false
  457. EFFECT:remove()
  458. end
  459. end
  460. end))
  461. end
  462.  
  463. function MakeForm(PART,TYPE)
  464. if TYPE == "Cyl" then
  465. local MSH = IT("CylinderMesh",PART)
  466. elseif TYPE == "Ball" then
  467. local MSH = IT("SpecialMesh",PART)
  468. MSH.MeshType = "Sphere"
  469. elseif TYPE == "Wedge" then
  470. local MSH = IT("SpecialMesh",PART)
  471. MSH.MeshType = "Wedge"
  472. end
  473. end
  474.  
  475. function CreateDebreeRing1(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  476. if FLOOR ~= nil then
  477. coroutine.resume(coroutine.create(function()
  478. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  479. PART.CFrame = CF(POSITION)
  480. for i = 1, 45 do
  481. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  482. RingPiece.Material = FLOOR.Material
  483. RingPiece.Color = FLOOR.Color
  484. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  485. Debris:AddItem(RingPiece,SWAIT)
  486. end
  487. PART:remove()
  488. end))
  489. end
  490. end
  491.  
  492. function CreateFlyingDebree1(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  493. if FLOOR ~= nil then
  494. for i = 1, AMOUNT do
  495. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  496. DEBREE.Material = FLOOR.Material
  497. DEBREE.Color = FLOOR.Color
  498. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  499. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  500. coroutine.resume(coroutine.create(function()
  501. Swait(15)
  502. DEBREE.Parent = workspace
  503. DEBREE.CanCollide = true
  504. Debris:AddItem(DEBREE,SWAIT)
  505. end))
  506. end
  507. end
  508. end
  509.  
  510. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  511. if FLOOR ~= nil then
  512. coroutine.resume(coroutine.create(function()
  513. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really black", "DebreeCenter", VT(0,0,0))
  514. PART.CFrame = CF(POSITION)
  515. for i = 1, 45 do
  516. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really black", "DebreePart", BLOCKSIZE)
  517. RingPiece.Material = FLOOR.Material
  518. RingPiece.Color = FLOOR.Color
  519. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  520. Debris:AddItem(RingPiece,SWAIT)
  521. end
  522. PART:remove()
  523. end))
  524. end
  525. end
  526.  
  527. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  528. if FLOOR ~= nil then
  529. for i = 1, AMOUNT do
  530. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Debree", BLOCKSIZE, false)
  531. DEBREE.Material = FLOOR.Material
  532. DEBREE.Color = FLOOR.Color
  533. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  534. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  535. coroutine.resume(coroutine.create(function()
  536. Swait(15)
  537. DEBREE.Parent = workspace
  538. DEBREE.CanCollide = true
  539. Debris:AddItem(DEBREE,SWAIT)
  540. end))
  541. end
  542. end
  543. end
  544.  
  545. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  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 = SIZE
  551. mesh.Offset = VT(0,0,0)
  552. wave.CFrame = CFRAME
  553. coroutine.resume(coroutine.create(function(PART)
  554. for i = 1, WAIT do
  555. Swait()
  556. mesh.Scale = mesh.Scale + GROW
  557. if DOESROT == true then
  558. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  559. end
  560. wave.Transparency = wave.Transparency + (0.5/WAIT)
  561. if wave.Transparency > 0.99 then
  562. wave:remove()
  563. end
  564. end
  565. end))
  566. end
  567.  
  568. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  569. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  570. local mesh = IT("SpecialMesh",wave)
  571. mesh.MeshType = "Sphere"
  572. mesh.Scale = SIZE
  573. mesh.Offset = VT(0,0,0)
  574. wave.CFrame = CFRAME
  575. coroutine.resume(coroutine.create(function(PART)
  576. for i = 1, WAIT do
  577. Swait()
  578. mesh.Scale = mesh.Scale + GROW
  579. wave.Transparency = wave.Transparency + (1/WAIT)
  580. if wave.Transparency > 0.99 then
  581. wave:remove()
  582. end
  583. end
  584. end))
  585. end
  586. function MagicSpheres(size,waitt,cframe,color)
  587. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  588. local mesh = IT("SpecialMesh",wave)
  589. mesh.MeshType = "Sphere"
  590. mesh.Scale = VT(size,size,size)
  591. mesh.Offset = VT(0,0,0)
  592. wave.CFrame = cframe
  593. coroutine.resume(coroutine.create(function(PART)
  594. for i = 1, waitt do
  595. Swait()
  596. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  597. wave.Transparency = wave.Transparency + (1/waitt)
  598. if wave.Transparency > 0.99 then
  599. wave:remove()
  600. end
  601. end
  602. end))
  603. end
  604.  
  605. function MagicSpheres2(size,waitt,cframe,color)
  606. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  607. local mesh = IT("SpecialMesh",wave)
  608. mesh.MeshType = "Sphere"
  609. mesh.Scale = VT(size,size,size)
  610. mesh.Offset = VT(0,0,0)
  611. wave.CFrame = cframe
  612. coroutine.resume(coroutine.create(function(PART)
  613. for i = 1, waitt do
  614. Swait()
  615. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  616. wave.Transparency = wave.Transparency - (1/waitt)
  617. end
  618. wave:remove()
  619. end))
  620. end
  621.  
  622. function MagicBlock(size,waitt,part,offset,color)
  623. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  624. local mesh = IT("BlockMesh",wave)
  625. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  626. coroutine.resume(coroutine.create(function(PART)
  627. for i = 1, waitt do
  628. Swait()
  629. mesh.Scale = mesh.Scale + VT(size/15,size/15,size/15)
  630. wave.CFrame = CF(wave.Position) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  631. wave.Transparency = wave.Transparency + (1/waitt)
  632. if wave.Transparency > 0.99 then
  633. wave:remove()
  634. end
  635. end
  636. end))
  637. end
  638.  
  639. function SpawnTrail(FROM,TO,BIG)
  640. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Trail", VT(0,0,0))
  641. MakeForm(TRAIL,"Cyl")
  642. local DIST = (FROM - TO).Magnitude
  643. if BIG == true then
  644. TRAIL.Size = VT(0.5,DIST,0.5)
  645. else
  646. TRAIL.Size = VT(0.25,DIST,0.25)
  647. end
  648. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  649. coroutine.resume(coroutine.create(function()
  650. for i = 1, 5 do
  651. Swait()
  652. TRAIL.Transparency = TRAIL.Transparency + 0.1
  653. end
  654. TRAIL:remove()
  655. end))
  656. end
  657.  
  658. Debris = game:GetService("Debris")
  659.  
  660. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  661. local DIRECTION = CF(StartPos,EndPos).lookVector
  662. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  663. end
  664.  
  665. function turnto(position)
  666. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  667. end
  668.  
  669. --//=================================\\
  670. --|| WEAPON CREATION
  671. --\\=================================//
  672.  
  673. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  674. PRT.Color = C3(0,0,0)
  675. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  676. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  677. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  678. PRT.Color = C3(0,0,0)
  679. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  680. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  681. for i = 1, 16 do
  682. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  683. FACE.Color = C3(0,0,0)
  684. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  685. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  686. end
  687. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Institutional White", "Eye", VT(0.1,1,1)/2,false)
  688. MakeForm(Eye,"Ball")
  689. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  690. local LASTPART = Head
  691. for i = 1, 20 do
  692. local MATH = (1-(i/25))
  693. if LASTPART == Head then
  694. local Horn = CreatePart(3, Character, "Neon", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  695. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  696. LASTPART = Horn
  697. Horn.Color = C3((i*3-3)/255,0,0)
  698. else
  699. local Horn = CreatePart(3, Character, "Neon", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  700. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  701. LASTPART = Horn
  702. Horn.Color = C3((i*3-3)/255,0,0)
  703. end
  704. end
  705.  
  706. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  707. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  708. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  709. MakeForm(Part,"Wedge")
  710. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  711. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  712. MakeForm(Part,"Wedge")
  713. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  714. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  715. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  716. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  717. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  718. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  719. MakeForm(Part,"Cyl")
  720. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  721. for i = 1, 8 do
  722. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  723. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  724. end
  725. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  726. MakeForm(Part,"Cyl")
  727. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  728. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  729. MakeForm(Part,"Ball")
  730. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  731. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  732. MakeForm(Part,"Wedge")
  733. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  734. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  735. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  736. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  737. MakeForm(Part,"Cyl")
  738. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  739. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  740. MakeForm(Part,"Cyl")
  741. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  742. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  743. MakeForm(Part,"Cyl")
  744. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  745. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  746. MakeForm(Part,"Wedge")
  747. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  748. local LASTPART = Handle
  749. for i = 1, 10 do
  750. if LASTPART == Handle then
  751. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  752. LASTPART = Part
  753. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  754. else
  755. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  756. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  757. LASTPART = Part
  758. end
  759. end
  760.  
  761. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  762. MakeForm(Barrel,"Cyl")
  763. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  764. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  765. MakeForm(Part,"Cyl")
  766. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  767. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  768. MakeForm(Part,"Wedge")
  769. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  770. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  771. MakeForm(Hole,"Cyl")
  772. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  773. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  774. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  775. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  776. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  777. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  778. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  779. coroutine.resume(coroutine.create(function()
  780. while wait() do
  781. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  782. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  783. end
  784. end))
  785.  
  786. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  787. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  788. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  789. MakeForm(Part,"Wedge")
  790. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  791. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  792. MakeForm(Part,"Wedge")
  793. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  794. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  795. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  796. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  797. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  798. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  799. MakeForm(Part,"Cyl")
  800. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  801. for i = 1, 8 do
  802. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  803. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  804. end
  805. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  806. MakeForm(Part,"Cyl")
  807. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  808. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  809. MakeForm(Part,"Ball")
  810. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  811. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  812. MakeForm(Part,"Wedge")
  813. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  814. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  815. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  816. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  817. MakeForm(Part,"Cyl")
  818. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  819. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  820. MakeForm(Part,"Cyl")
  821. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  822. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  823. MakeForm(Part,"Cyl")
  824. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  825. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  826. MakeForm(Part,"Wedge")
  827. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  828. local LASTPART = Handle
  829. for i = 1, 10 do
  830. if LASTPART == Handle then
  831. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  832. LASTPART = Part
  833. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  834. else
  835. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  836. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  837. LASTPART = Part
  838. end
  839. end
  840.  
  841. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  842. MakeForm(Barrel,"Cyl")
  843. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  844. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  845. MakeForm(Part,"Cyl")
  846. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  847. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  848. MakeForm(Part,"Wedge")
  849. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  850. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  851. MakeForm(Hole,"Cyl")
  852. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  853. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  854. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  855. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  856. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  857. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  858. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  859. coroutine.resume(coroutine.create(function()
  860. while wait() do
  861. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  862. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  863. end
  864. end))
  865.  
  866. for _, c in pairs(Weapon:GetDescendants()) do
  867. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  868. c.Material = "Glass"
  869. c.Color = C3(0,0,0)
  870. elseif c.ClassName == "Part" and c.Name == "Eye" then
  871. c.Color = C3(1,1,1)
  872. c.Material = "Neon"
  873. end
  874. end
  875.  
  876. Weapon.Parent = Character
  877. for _, c in pairs(Weapon:GetChildren()) do
  878. if c.ClassName == "Part" then
  879. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  880. end
  881. end
  882.  
  883. local SKILLTEXTCOLOR = C3(0,0,0)
  884. local SKILLFONT = "Antique"
  885. local SKILLTEXTSIZE = 7.3
  886.  
  887. Humanoid.Died:connect(function()
  888. ATTACK = true
  889. end)
  890.  
  891. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  892. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  893. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  894. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  895. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  896. --]]
  897. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Night Shot", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  898. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  899. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Oblivion of Doom", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  900. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Pure Night", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  901. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Nightfall", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  902. --]]
  903. function printbye(Name)
  904. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  905. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  906. end
  907.  
  908. workspace.ChildAdded:connect(function(instance)
  909. for BANISH = 1, #TOBANISH do
  910. if TOBANISH[BANISH] ~= nil then
  911. if instance.Name == TOBANISH[BANISH] then
  912. coroutine.resume(coroutine.create(function()
  913. printbye(instance.Name)
  914. instance:ClearAllChildren()
  915. Debris:AddItem(instance,0.0005)
  916. end))
  917. end
  918. end
  919. end
  920. end)
  921.  
  922. --//=================================\\
  923. --|| DAMAGING
  924. --\\=================================//
  925.  
  926. function Banish(Foe)
  927. if Foe then
  928. coroutine.resume(coroutine.create(function()
  929. --if game.Players:FindFirstChild(Foe.Name) then
  930. table.insert(TOBANISH,Foe.Name)
  931. printbye(Foe.Name)
  932. --end
  933. Foe.Archivable = true
  934. local CLONE = Foe:Clone()
  935. Foe:Destroy()
  936. CLONE.Parent = Effects
  937. CLONE:BreakJoints()
  938. local MATERIALS = {"Glass","Neon"}
  939. for _, c in pairs(CLONE:GetDescendants()) do
  940. if c:IsA("BasePart") then
  941. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  942. CreateSound(340722848, c, 10, 1, false)
  943. end
  944. c.Anchored = true
  945. c.Transparency = c.Transparency + 0.2
  946. c.Material = MATERIALS[MRANDOM(1,2)]
  947. c.Color = C3(1,1,1)
  948. if c.ClassName == "MeshPart" then
  949. c.TextureID = ""
  950. end
  951. if c:FindFirstChildOfClass("SpecialMesh") then
  952. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  953. end
  954. if c:FindFirstChildOfClass("Decal") then
  955. c:FindFirstChildOfClass("Decal"):remove()
  956. end
  957. c.Name = "Banished"
  958. c.CanCollide = false
  959. else
  960. c:remove()
  961. end
  962. end
  963. local A = false
  964. for i = 1, 35 do
  965. if A == false then
  966. A = true
  967. elseif A == true then
  968. A = false
  969. end
  970. for _, c in pairs(CLONE:GetDescendants()) do
  971. if c:IsA("BasePart") then
  972. c.Anchored = true
  973. c.Material = MATERIALS[MRANDOM(1,2)]
  974. c.Transparency = c.Transparency + 0.8/35
  975. if A == false then
  976. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  977. elseif A == true then
  978. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  979. end
  980. end
  981. end
  982. Swait()
  983. end
  984. CLONE:remove()
  985. end))
  986. end
  987. end
  988.  
  989. function ApplyAoE(POSITION,RANGE,ISBANISH)
  990. local CHILDREN = workspace:GetDescendants()
  991. for index, CHILD in pairs(CHILDREN) do
  992. if CHILD.ClassName == "Model" and CHILD ~= Character then
  993. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  994. if HUM then
  995. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  996. if TORSO then
  997. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  998. if ISBANISH == true then
  999. Banish(CHILD)
  1000. else
  1001. if ISBANISH == "Gravity" then
  1002. HUM.PlatformStand = true
  1003. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1004. local grav = Instance.new("BodyPosition",TORSO)
  1005. grav.D = 15
  1006. grav.P = 20000
  1007. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1008. grav.position = TORSO.Position
  1009. grav.Name = "V3BanishForce"..Player.Name
  1010. else
  1011. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1012. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1013. end
  1014. else
  1015. HUM.PlatformStand = false
  1016. end
  1017. end
  1018. elseif ISBANISH == "Gravity" then
  1019. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1020. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1021. HUM.PlatformStand = false
  1022. end
  1023. end
  1024. end
  1025. end
  1026. end
  1027. end
  1028. end
  1029.  
  1030. --//=================================\\
  1031. --|| ATTACK FUNCTIONS AND STUFF
  1032. --\\=================================//
  1033.  
  1034. function Ground_Star()
  1035. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1036. if HITFLOOR then
  1037. ATTACK = true
  1038. Rooted = true
  1039. FULL = true
  1040. local GYRO = IT("BodyGyro",RootPart)
  1041. GYRO.D = 25
  1042. GYRO.P = 20000
  1043. GYRO.MaxTorque = VT(0,math.huge,0)
  1044. for i=0, 0.3, 0.1 / Animation_Speed do
  1045. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1046. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1047. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1048. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1049. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1050. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-35)), 1 / Animation_Speed)
  1051. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(5)), 1 / Animation_Speed)
  1052. end
  1053. GYRO:remove()
  1054. CreateSound(12222200, RightArm, 10, 1)
  1055. for i=0, 0.4, 0.1 / Animation_Speed do
  1056. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  1057. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1058. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1059. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1060. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  1061. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1062. end
  1063. CreateSound(289842971, RightArm, 10, 1)
  1064. coroutine.resume(coroutine.create(function()
  1065. local HIT,POS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(Mouse.Hit.p+VT(0,1,0), Mouse.Hit.p-VT(0,1,0))).lookVector, 45, Character)
  1066. local ECHO = POS
  1067. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1068. HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1069. ECHO = POS
  1070. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1071. HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1072. ECHO = POS
  1073. end
  1074. if ECHO.Y == HITPOS.Y then
  1075. local DISTANCE = (HITPOS - ECHO).Magnitude/3
  1076. local CFRAME = CF(HITPOS,ECHO)
  1077. local RANGE = math.ceil(DISTANCE)
  1078. for i = 1, RANGE-1 do
  1079. Swait(3)
  1080. local A = CFRAME*CF(0,0,-i*3)
  1081. ApplyAoE(A.p,4)
  1082. CreateFlyingDebree1(HITFLOOR,A,2,VT(2,2,2),2,65)
  1083. end
  1084. local SIZE = 3
  1085. local POS = CFRAME*CF(0,0,-RANGE*3).p
  1086. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(55,0,55)*SIZE, Size2 = VT(55,15,55)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 130972023, SoundPitch = 0.8, SoundVolume = 10})
  1087. WACKYEFFECT({EffectType = "Sphere", Size = VT(10,250,10)*SIZE, Size2 = VT(20,1000,20)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  1088. WACKYEFFECT({EffectType = "Sphere", Size = VT(30,150,30)*SIZE, Size2 = VT(50,300,50)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  1089. for i = 1, 9 do
  1090. WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  1091. end
  1092. for i = 1, 9 do
  1093. WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  1094. end
  1095. ApplyAoE(POS,30*SIZE)
  1096. CreateDebreeRing1(HITFLOOR,POS,30*SIZE,VT(8,8,8)*SIZE,5)
  1097. CreateDebreeRing1(HITFLOOR,POS,50*SIZE,VT(2,2,2)*SIZE,5)
  1098. end
  1099. end))
  1100. for i=0, 0.6, 0.1 / Animation_Speed do
  1101. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  1102. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1103. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1104. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1105. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  1106. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1107. end
  1108. FULL = false
  1109. ATTACK = false
  1110. Rooted = false
  1111. end
  1112. end
  1113.  
  1114. function Shot()
  1115. ATTACK = true
  1116. Rooted = false
  1117. for i=0, 0.4, 0.1 / Animation_Speed do
  1118. Swait()
  1119. turnto(Mouse.Hit.p)
  1120. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1121. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1122. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1123. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1124. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1125. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1126. end
  1127. repeat
  1128. for i=0, 0.2, 0.1 / Animation_Speed do
  1129. Swait()
  1130. turnto(Mouse.Hit.p)
  1131. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1132. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1133. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1134. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1135. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1136. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1137. end
  1138. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1139. SpawnTrail(Hole.Position,POS)
  1140. if HIT ~= nil then
  1141. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1142. Banish(HIT.Parent)
  1143. end
  1144. end
  1145. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1146. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1147. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1148. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1149. for i=0, 0.3, 0.1 / Animation_Speed do
  1150. Swait()
  1151. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1152. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1153. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1154. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1155. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1156. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1157. end
  1158. until KEYHOLD == false
  1159. ATTACK = false
  1160. Rooted = false
  1161. end
  1162.  
  1163. function SpawnSmite(POS)
  1164. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1165. local EMITPOS = HITPOS
  1166. if HITFLOOR ~= nil then
  1167. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1168. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1169. EMITPOS = HITPOS
  1170. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1171. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1172. EMITPOS = HITPOS
  1173. end
  1174. end
  1175. if HITFLOOR ~= nil then
  1176. ApplyAoE(EMITPOS,10)
  1177. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1178. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1179. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1180. for i = 1, 5 do
  1181. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1182. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1183. end
  1184. end
  1185. end
  1186.  
  1187. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1188. coroutine.resume(coroutine.create(function()
  1189. local METEOR = IT("Model",Effects)
  1190. METEOR.Name = "Meteorite"
  1191. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1192. METEOR.PrimaryPart = CENTER
  1193. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1194. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1195. for i = 1, 15 do
  1196. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE)
  1197. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1198. end
  1199. if ISDEBREE ~= true then
  1200. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1201. else
  1202. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1203. end
  1204. local IMPACT = false
  1205. CreateSound(463593339, CENTER, 10, 0.6)
  1206. if SIZE >= 3.5 then
  1207. for i = 1, MRANDOM(3,7) do
  1208. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1209. end
  1210. end
  1211. for i = 1, 200 do
  1212. Swait()
  1213. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1214. if HITFLOOR == nil then
  1215. local ORI = CENTER.Orientation
  1216. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1217. else
  1218. if HITFLOOR.Anchored == true then
  1219. CreateDebreeRing1(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1220. CreateFlyingDebree1(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1221. end
  1222. IMPACT = true
  1223. break
  1224. end
  1225. end
  1226. if IMPACT == true then
  1227. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1228. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1229. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1230. ApplyAoE(CENTER.Position,30*SIZE)
  1231. end
  1232. METEOR:remove()
  1233. end))
  1234. end
  1235.  
  1236. function Oblivion_of_Doom()
  1237. ATTACK = true
  1238. Rooted = false
  1239. CreateSound(1368573150, RightArm, 3, 1.5)
  1240. for i=0, 0.6, 0.1 / Animation_Speed do
  1241. Swait()
  1242. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1243. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1244. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1245. end
  1246. local POWER = 0
  1247. repeat
  1248. Swait()
  1249. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1250. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1251. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1252. POWER = POWER + 0.5
  1253. if POWER >= 85 then
  1254. POWER = 85
  1255. end
  1256. until KEYHOLD == false
  1257. if POWER < 0.6 then
  1258. SpawnSmite(Mouse.Hit.p)
  1259. else
  1260. if POWER < 15 then
  1261. POWER = 15
  1262. end
  1263. SpawnMeteor(Mouse.Hit.p,POWER/15)
  1264. end
  1265. ATTACK = false
  1266. Rooted = false
  1267. end
  1268.  
  1269. function Pure_Night()
  1270. ATTACK = true
  1271. Rooted = true
  1272. local AIMPOS = Mouse.Hit.p
  1273. local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
  1274. coroutine.resume(coroutine.create(function()
  1275. local RAYS = {}
  1276. for i = 1, 4 do
  1277. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Ray", VT(50,2000,50))
  1278. MakeForm(RAY,"Cyl")
  1279. RAY.Mesh.Scale = VT(1,1.1,1)
  1280. table.insert(RAYS,RAY)
  1281. end
  1282. CreateSound(348663022, Effects, 2, 1.2, false)
  1283. for i = 1, 100 do
  1284. Swait()
  1285. for e = 1, #RAYS do
  1286. if RAYS[e] ~= nil then
  1287. local RAY = RAYS[e]
  1288. RAY.CFrame = CF(AIMPOS+VT(0,1000,0))*ANGLES(RAD(0),RAD(90*e),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(50-(i/2)))*CF(0,-1000,0)
  1289. RAY.Transparency = RAY.Transparency - 0.01
  1290. end
  1291. end
  1292. end
  1293. for i = 1, 20 do
  1294. Swait()
  1295. for e = 1, #RAYS do
  1296. if RAYS[e] ~= nil then
  1297. local RAY = RAYS[e]
  1298. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  1299. end
  1300. end
  1301. end
  1302. wait(0.3)
  1303. for i = 1, 16 do
  1304. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  1305. SpawnTrail(POS+VT(0,200,0),POS)
  1306. end
  1307. for i = 1, 4 do
  1308. CreateDebreeRing2(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
  1309. end
  1310.  
  1311. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  1312. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
  1313. CreateSound(130972023, Effects, 2, 1, false)
  1314. local POS = Mouse.Hit.p
  1315. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,0,0))
  1316. MakeForm(RAY,"Cyl")
  1317. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(130,130,130))
  1318. MakeForm(SPHERE,"Ball")
  1319. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(120,120,120))
  1320. MakeForm(SHIELD,"Ball")
  1321. SHIELD.CFrame = CF(AIMPOS)
  1322. RAY.CFrame = CF(AIMPOS)
  1323. SPHERE.CFrame = CF(AIMPOS)
  1324. local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1325. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1326. for i = 1, 200 do
  1327. Swait()
  1328. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(SPHERE.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = CF(RAY.Position), RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,1,1), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  1329. MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really black",VT(5,20,5))
  1330. RAY.Size = RAY.Size + VT(0,0,0)
  1331. SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  1332. SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  1333. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1334. end
  1335. for i = 1, 45 do
  1336. Swait()
  1337. RAY.Transparency = RAY.Transparency + 1/45
  1338. SPHERE.Transparency = RAY.Transparency
  1339. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1340. end
  1341. RAY:remove()
  1342. SHIELD:remove()
  1343. SPHERE:remove()
  1344. end))
  1345. ATTACK = false
  1346. Rooted = false
  1347. end
  1348.  
  1349. function Nightfall()
  1350. ATTACK = true
  1351. Rooted = true
  1352. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 0.64, false)
  1353. for i=0, 1, 0.1 / Animation_Speed do
  1354. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1355. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1356. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1357. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1358. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1359. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1360. end
  1361. coroutine.resume(coroutine.create(function()
  1362. local POS = Mouse.Hit.p
  1363. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Black", "Strike", VT(0,2000,0))
  1364. MakeForm(RAY,"Cyl")
  1365. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,0,0))
  1366. MakeForm(SPHERE,"Ball")
  1367. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Black", "Strike", VT(0,0,0))
  1368. MakeForm(SHIELD,"Ball")
  1369. SHIELD.CFrame = CF(POS)
  1370. RAY.CFrame = CF(POS)
  1371. SPHERE.CFrame = CF(POS)
  1372. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1373. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1374. for i = 1, 200 do
  1375. Swait()
  1376. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1377. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1378. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1379. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1380. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1381. end
  1382. for i = 1, 45 do
  1383. Swait()
  1384. RAY.Transparency = RAY.Transparency + 1/45
  1385. SPHERE.Transparency = RAY.Transparency
  1386. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1387. end
  1388. RAY:remove()
  1389. SHIELD:remove()
  1390. SPHERE:remove()
  1391. end))
  1392. for i=0, 1, 0.1 / Animation_Speed do
  1393. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1394. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1395. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1396. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1397. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1398. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1399. end
  1400. ATTACK = false
  1401. Rooted = false
  1402. end
  1403.  
  1404. --//=================================\\
  1405. --|| ASSIGN THINGS TO KEYS
  1406. --\\=================================//
  1407.  
  1408. function MouseDown(Mouse)
  1409. if ATTACK == false then
  1410. Click()
  1411. end
  1412. end
  1413.  
  1414. function MouseUp(Mouse)
  1415. HOLD = false
  1416. end
  1417.  
  1418. function KeyDown(Key)
  1419. KEYHOLD = true
  1420. if Key == "z" and ATTACK == false then
  1421. Shot()
  1422. end
  1423.  
  1424. if Key == "b" and ATTACK == false then
  1425. Vanish()
  1426. end
  1427.  
  1428. if Key == "c" and ATTACK == false then
  1429. Oblivion_of_Doom()
  1430. end
  1431.  
  1432. if Key == "v" and ATTACK == false then
  1433. Pure_Night()
  1434. end
  1435.  
  1436. if Key == "x" and ATTACK == false then
  1437. Nightfall()
  1438. end
  1439.  
  1440. if Key == "t" and ATTACK == false then
  1441. CreateSound(VOCALS_TAUNT[MRANDOM(1,#VOCALS_TAUNT)], Head, 20, 0.60, false)
  1442. end
  1443.  
  1444. if Key == "p" and ATTACK == false then
  1445. Ground_Star()
  1446. end
  1447.  
  1448. if Key == "1" and ATTACK == false then
  1449. CreateSound(VOCALS_ENRAGES[MRANDOM(1,#VOCALS_ENRAGES)], Head, 20, 0.70, false)
  1450. end
  1451.  
  1452. if Key == "f" and ATTACK == false then
  1453. CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, 20, 0.50, false)
  1454. end
  1455.  
  1456. if Key == "2" and ATTACK == false then
  1457. CreateSound(468971411, Head, 20, 0.40, false)
  1458. end
  1459. end
  1460.  
  1461. function KeyUp(Key)
  1462. KEYHOLD = false
  1463. end
  1464.  
  1465. Mouse.Button1Down:connect(function(NEWKEY)
  1466. MouseDown(NEWKEY)
  1467. end)
  1468. Mouse.Button1Up:connect(function(NEWKEY)
  1469. MouseUp(NEWKEY)
  1470. end)
  1471. Mouse.KeyDown:connect(function(NEWKEY)
  1472. KeyDown(NEWKEY)
  1473. end)
  1474. Mouse.KeyUp:connect(function(NEWKEY)
  1475. KeyUp(NEWKEY)
  1476. end)
  1477.  
  1478. --//=================================\\
  1479. --\\=================================//
  1480.  
  1481.  
  1482. function unanchor()
  1483. if UNANCHOR == true then
  1484. g = Character:GetChildren()
  1485. for i = 1, #g do
  1486. if g[i].ClassName == "Part" then
  1487. g[i].Anchored = false
  1488. end
  1489. end
  1490. end
  1491. end
  1492.  
  1493.  
  1494. --//=================================\\
  1495. --|| WRAP THE WHOLE SCRIPT UP
  1496. --\\=================================//
  1497.  
  1498. Humanoid.Changed:connect(function(Jump)
  1499. if Jump == "Jump" and (Disable_Jump == true) then
  1500. Humanoid.Jump = false
  1501. end
  1502. end)
  1503.  
  1504. local CONNECT = nil
  1505.  
  1506. while true do
  1507. Swait()
  1508. ANIMATE.Parent = nil
  1509. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1510. Humanoid = IT("Humanoid",Character)
  1511. end
  1512. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1513. v:Stop();
  1514. end
  1515. SINE = SINE + CHANGE
  1516. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1517. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1518. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1519. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1520. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1521. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1522. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1523. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1524. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1525. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1526. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1527. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1528. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1529. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1530. end
  1531. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1532. ANIM = "Jump"
  1533. if ATTACK == false then
  1534. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1535. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1536. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1537. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, -0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(-25))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1538. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1539. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1540. end
  1541. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1542. ANIM = "Fall"
  1543. if ATTACK == false then
  1544. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1545. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1546. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1547. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, -0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1548. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1549. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1550. end
  1551. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1552. ANIM = "Idle"
  1553. if ATTACK == false then
  1554. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1555. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1556. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1557. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -0.4) * ANGLES(RAD(75), RAD(45), RAD(25))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1558. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1559. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1560. end
  1561. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1562. ANIM = "Walk"
  1563. if ATTACK == false then
  1564. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1565. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1566. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1567. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1568. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1569. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1570. end
  1571. end
  1572.  
  1573. if Head:FindFirstChild("face") then
  1574. Head.face.Texture = "rbxassetid://900134257"
  1575. end
  1576.  
  1577. unanchor()
  1578. Humanoid.MaxHealth = "inf"
  1579. Humanoid.Health = "inf"
  1580. if Rooted == false then
  1581. Disable_Jump = false
  1582. Humanoid.WalkSpeed = Speed
  1583. elseif Rooted == true then
  1584. Disable_Jump = true
  1585. Humanoid.WalkSpeed = 0
  1586. end
  1587. sick.Parent = Torso
  1588. sick:resume()
  1589. sick.Volume = 6.5
  1590. sick.Pitch = 1
  1591. sick.SoundId = "rbxassetid://590936038"
  1592. sick.Name = "Nightfall"
  1593. end
  1594.  
  1595. --//=================================\\
  1596. --\\=================================//
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602. --//====================================================\\--
  1603. --|| END OF SCRIPT
  1604. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement