Advertisement
gecksad

The Stalker

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