voyqgo

TEST2

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