Advertisement
Guest User

Untitled

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