yabagaba

Untitled

Jul 1st, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.84 KB | None | 0 0
  1.  
  2.  
  3. --//====================================================\\--
  4. --|| CREATED BY SHACKLUSTER
  5. --\\====================================================//--
  6.  
  7. script:ClearAllChildren()
  8. wait(0.2)
  9.  
  10. Player = game:GetService("Players").LocalPlayer
  11. PlayerGui = Player.PlayerGui
  12. Cam = workspace.CurrentCamera
  13. Backpack = Player.Backpack
  14. Character = Player.Character
  15. Humanoid = Character.Humanoid
  16. RootPart = Character["HumanoidRootPart"]
  17. Torso = Character["Torso"]
  18. Head = Character["Head"]
  19. Mouse = Player:GetMouse()
  20. RightArm = Character["Right Arm"]
  21. LeftArm = Character["Left Arm"]
  22. RightLeg = Character["Right Leg"]
  23. LeftLeg = Character["Left Leg"]
  24. RootJoint = RootPart["RootJoint"]
  25. Neck = Torso["Neck"]
  26. RightShoulder = Torso["Right Shoulder"]
  27. LeftShoulder = Torso["Left Shoulder"]
  28. RightHip = Torso["Right Hip"]
  29. LeftHip = Torso["Left Hip"]
  30. local TIME = 0
  31. local sick = Instance.new("Sound",Torso)
  32.  
  33. IT = Instance.new
  34. CF = CFrame.new
  35. VT = Vector3.new
  36. RAD = math.rad
  37. C3 = Color3.new
  38. UD2 = UDim2.new
  39. BRICKC = BrickColor.new
  40. ANGLES = CFrame.Angles
  41. EULER = CFrame.fromEulerAnglesXYZ
  42. COS = math.cos
  43. ACOS = math.acos
  44. SIN = math.sin
  45. ASIN = math.asin
  46. ABS = math.abs
  47. MRANDOM = math.random
  48. FLOOR = math.floor
  49.  
  50. --//=================================\\
  51. --|| USEFUL VALUES
  52. --\\=================================//
  53.  
  54. Animation_Speed = 3
  55. local FORCERESET = false
  56. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  57. local Speed = 16
  58. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  59. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  60. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  61. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  62. local DAMAGEMULTIPLIER = 1
  63. local ANIM = "Idle"
  64. local ATTACK = false
  65. local EQUIPPED = false
  66. local Effects2 = {}
  67. local HOLD = false
  68. local COMBO = 1
  69. local Rooted = false
  70. local SINE = 0
  71. local KEYHOLD = false
  72. local CHANGE = 2 / Animation_Speed
  73. local WALKINGANIM = false
  74. local VALUE1 = false
  75. local LastBolt
  76. local LightningBolts = {}
  77. local GunPoint
  78. local VALUE2 = false
  79. local Player_Size = 1
  80. local ROBLOXIDLEANIMATION = IT("Animation")
  81. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  82. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  83. --ROBLOXIDLEANIMATION.Parent = Humanoid
  84. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  85. WEAPONGUI.Name = "BanishV3Gui"
  86. local Weapon = IT("Model")
  87. Weapon.Name = "Adds"
  88. local Effects = IT("Folder", Weapon)
  89. Effects.Name = "Effects"
  90. local Delete = IT("Model", Character)
  91. Delete.Name = "Those who must be banished."
  92. local ANIMATOR = Humanoid.Animator
  93. local ANIMATE = Character:FindFirstChild("Animate")
  94. local UNANCHOR = true
  95. local TOBANISH = {}
  96. local INSTANT = false
  97. local INTRO = false
  98. script.Parent = PlayerGui
  99. local sick = Instance.new("Sound",Character)
  100. sick.Parent = Torso
  101. sick.Playing = true
  102. sick.Looped = true
  103. sick.Volume = 1
  104. sick.Pitch = 1
  105. sick.TimePosition = 0
  106. sick.SoundId = "rbxassetid://1335404496"
  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 CastWarpOutlines(TARGET)
  263. coroutine.resume(coroutine.create(function()
  264. local T = TARGET:GetChildren()
  265. for i = 1, #T do
  266. local child = T[i]
  267. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  268. do
  269. local clone = child:Clone()
  270. clone.Parent = Effects
  271. clone.Anchored = true
  272. clone.CanCollide = false
  273. clone:ClearAllChildren()
  274. clone.CFrame = child.CFrame
  275. if clone.Name == "Head" then
  276. clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
  277. end
  278. if clone.ClassName == "MeshPart" then
  279. clone.TextureID = ""
  280. end
  281. clone.Color = C3(1, 0, 0)
  282. clone.Material = "Neon"
  283. coroutine.resume(coroutine.create(function()
  284. for i = 1, 100 do
  285. Swait()
  286. clone.Transparency = clone.Transparency + 0.01
  287. clone.Size = clone.Size + VT(0.001, 0.001, 0.001)
  288. end
  289. clone:remove()
  290. end))
  291. end
  292. end
  293. end
  294. end))
  295. end
  296. function killnearest(position, range, maxstrength)
  297. for i, v in ipairs(workspace:GetChildren()) do
  298. local body = v:GetChildren()
  299. for part = 1, #body do
  300. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
  301. CastWarpOutlines(v)
  302. v:remove()
  303. if game.Players:FindFirstChild(v.Name) then
  304. local Value = IT("BoolValue", Delete)
  305. Value.Name = v.Name
  306. end
  307. end
  308. end
  309. end
  310. end
  311.  
  312. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  313. local xs, ys, zs = x + x, y + y, z + z
  314. local wx, wy, wz = w * xs, w * ys, w * zs
  315. local xx = x * xs
  316. local xy = x * ys
  317. local xz = x * zs
  318. local yy = y * ys
  319. local yz = y * zs
  320. local zz = z * zs
  321. 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))
  322. end
  323.  
  324. function QuaternionSlerp(a, b, t)
  325. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  326. local startInterp, finishInterp;
  327. if cosTheta >= 0.0001 then
  328. if (1 - cosTheta) > 0.0001 then
  329. local theta = ACOS(cosTheta)
  330. local invSinTheta = 1 / SIN(theta)
  331. startInterp = SIN((1 - t) * theta) * invSinTheta
  332. finishInterp = SIN(t * theta) * invSinTheta
  333. else
  334. startInterp = 1 - t
  335. finishInterp = t
  336. end
  337. else
  338. if (1 + cosTheta) > 0.0001 then
  339. local theta = ACOS(-cosTheta)
  340. local invSinTheta = 1 / SIN(theta)
  341. startInterp = SIN((t - 1) * theta) * invSinTheta
  342. finishInterp = SIN(t * theta) * invSinTheta
  343. else
  344. startInterp = t - 1
  345. finishInterp = t
  346. end
  347. end
  348. 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
  349. end
  350.  
  351. function Clerp(a, b, t)
  352. local qa = {QuaternionFromCFrame(a)}
  353. local qb = {QuaternionFromCFrame(b)}
  354. local ax, ay, az = a.x, a.y, a.z
  355. local bx, by, bz = b.x, b.y, b.z
  356. local _t = 1 - t
  357. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  358. end
  359.  
  360. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  361. local frame = IT("Frame")
  362. frame.BackgroundTransparency = TRANSPARENCY
  363. frame.BorderSizePixel = BORDERSIZEPIXEL
  364. frame.Position = POSITION
  365. frame.Size = SIZE
  366. frame.BackgroundColor3 = COLOR
  367. frame.BorderColor3 = BORDERCOLOR
  368. frame.Name = NAME
  369. frame.Parent = PARENT
  370. return frame
  371. end
  372.  
  373. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  374. local label = IT("TextLabel")
  375. label.BackgroundTransparency = 1
  376. label.Size = UD2(1, 0, 1, 0)
  377. label.Position = UD2(0, 0, 0, 0)
  378. label.TextColor3 = C3(1,0,0)
  379. label.TextStrokeTransparency = STROKETRANSPARENCY
  380. label.TextTransparency = TRANSPARENCY
  381. label.FontSize = TEXTFONTSIZE
  382. label.Font = TEXTFONT
  383. label.BorderSizePixel = BORDERSIZEPIXEL
  384. label.TextScaled = false
  385. label.Text = TEXT
  386. label.Name = NAME
  387. label.Parent = PARENT
  388. return label
  389. end
  390.  
  391. function NoOutlines(PART)
  392. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  393. end
  394.  
  395. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  396. local NEWWELD = IT(TYPE)
  397. NEWWELD.Part0 = PART0
  398. NEWWELD.Part1 = PART1
  399. NEWWELD.C0 = C0
  400. NEWWELD.C1 = C1
  401. NEWWELD.Parent = PARENT
  402. return NEWWELD
  403. end
  404.  
  405. local S = IT("Sound")
  406. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  407. local NEWSOUND = nil
  408. coroutine.resume(coroutine.create(function()
  409. NEWSOUND = S:Clone()
  410. NEWSOUND.Parent = PARENT
  411. NEWSOUND.Volume = VOLUME
  412. NEWSOUND.Pitch = PITCH
  413. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  414. NEWSOUND:play()
  415. if DOESLOOP == true then
  416. NEWSOUND.Looped = true
  417. else
  418. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  419. NEWSOUND:remove()
  420. end
  421. end))
  422. return NEWSOUND
  423. end
  424.  
  425. function CFrameFromTopBack(at, top, back)
  426. local right = top:Cross(back)
  427. 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)
  428. end
  429.  
  430. function CreateSpikeball(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  431. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  432. local mesh = IT("SpecialMesh", wave)
  433. mesh.MeshType = "FileMesh"
  434. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  435. mesh.Scale = SIZE
  436. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  437. wave.CFrame = CFRAME
  438. coroutine.resume(coroutine.create(function(PART)
  439. for i = 1, WAIT do
  440. Swait()
  441. mesh.Scale = mesh.Scale + GROW
  442. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  443. if DOESROT == true then
  444. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  445. end
  446. wave.Transparency = wave.Transparency + 0.5 / WAIT
  447. if wave.Transparency > 0.99 then
  448. wave:remove()
  449. end
  450. end
  451. end))
  452. end
  453. function CreateSwirl(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  454. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  455. local mesh = IT("SpecialMesh", wave)
  456. mesh.MeshType = "FileMesh"
  457. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  458. mesh.Scale = SIZE
  459. wave.CFrame = CFRAME
  460. coroutine.resume(coroutine.create(function(PART)
  461. for i = 1, WAIT do
  462. Swait()
  463. mesh.Scale = mesh.Scale + GROW
  464. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  465. if DOESROT == true then
  466. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  467. end
  468. wave.Transparency = wave.Transparency + 0.5 / WAIT
  469. if wave.Transparency > 0.99 then
  470. wave:remove()
  471. end
  472. end
  473. end))
  474. end
  475. function CreateTornado(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  476. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  477. local mesh = IT("SpecialMesh", wave)
  478. mesh.MeshType = "FileMesh"
  479. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  480. mesh.Scale = SIZE
  481. wave.CFrame = CFRAME
  482. coroutine.resume(coroutine.create(function(PART)
  483. for i = 1, WAIT do
  484. Swait()
  485. mesh.Scale = mesh.Scale + GROW
  486. if DOESROT == true then
  487. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  488. end
  489. wave.Transparency = wave.Transparency + 0.5 / WAIT
  490. if wave.Transparency > 0.99 then
  491. wave:remove()
  492. end
  493. end
  494. end))
  495. end
  496. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  497. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  498. local mesh = IT("SpecialMesh", wave)
  499. mesh.MeshType = "FileMesh"
  500. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  501. mesh.Scale = SIZE
  502. mesh.Offset = VT(0, 0, 0)
  503. wave.CFrame = CFRAME
  504. coroutine.resume(coroutine.create(function(PART)
  505. for i = 1, WAIT do
  506. Swait()
  507. mesh.Scale = mesh.Scale + GROW
  508. if DOESROT == true then
  509. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  510. end
  511. wave.Transparency = wave.Transparency + 0.5 / WAIT
  512. if wave.Transparency > 0.99 then
  513. wave:remove()
  514. end
  515. end
  516. end))
  517. end
  518. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  519. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  520. local mesh = IT("SpecialMesh", wave)
  521. mesh.MeshType = "Sphere"
  522. mesh.Scale = SIZE
  523. mesh.Offset = VT(0, 0, 0)
  524. wave.CFrame = CFRAME
  525. coroutine.resume(coroutine.create(function(PART)
  526. for i = 1, WAIT do
  527. Swait()
  528. mesh.Scale = mesh.Scale + GROW
  529. wave.Transparency = wave.Transparency + 1 / WAIT
  530. if wave.Transparency > 0.99 then
  531. wave:remove()
  532. end
  533. end
  534. end))
  535. end
  536. function MagicBlock(SIZE, WAIT, CFRAME, COLOR, GROW)
  537. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE, SIZE, SIZE), true)
  538. local mesh = IT("BlockMesh", wave)
  539. wave.CFrame = CFRAME
  540. coroutine.resume(coroutine.create(function(PART)
  541. for i = 1, WAIT do
  542. Swait()
  543. mesh.Scale = mesh.Scale + GROW
  544. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360, 360)), RAD(math.random(-360, 360)), RAD(math.random(-360, 360)))
  545. wave.Transparency = wave.Transparency + 1 / WAIT
  546. if wave.Transparency > 0.99 then
  547. wave:remove()
  548. end
  549. end
  550. end))
  551. end
  552.  
  553. --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})
  554. function WACKYEFFECT(Table)
  555. local TYPE = (Table.EffectType or "Sphere")
  556. local SIZE = (Table.Size or VT(1,1,1))
  557. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  558. local TRANSPARENCY = (Table.Transparency or 0)
  559. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  560. local CFRAME = (Table.CFrame or Torso.CFrame)
  561. local MOVEDIRECTION = (Table.MoveToPos or nil)
  562. local ROTATION1 = (Table.RotationX or 0)
  563. local ROTATION2 = (Table.RotationY or 0)
  564. local ROTATION3 = (Table.RotationZ or 0)
  565. local MATERIAL = (Table.Material or "Neon")
  566. local COLOR = (Table.Color or C3(1,1,1))
  567. local TIME = (Table.Time or 45)
  568. local SOUNDID = (Table.SoundID or nil)
  569. local SOUNDPITCH = (Table.SoundPitch or nil)
  570. local SOUNDVOLUME = (Table.SoundVolume or nil)
  571. coroutine.resume(coroutine.create(function()
  572. local PLAYSSOUND = false
  573. local SOUND = nil
  574. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  575. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  576. PLAYSSOUND = true
  577. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  578. end
  579. EFFECT.Color = COLOR
  580. local MSH = nil
  581. if TYPE == "Sphere" then
  582. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  583. elseif TYPE == "Block" then
  584. MSH = IT("BlockMesh",EFFECT)
  585. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  586. elseif TYPE == "Wave" then
  587. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  588. elseif TYPE == "Ring" then
  589. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  590. elseif TYPE == "Slash" then
  591. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  592. elseif TYPE == "Round Slash" then
  593. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  594. elseif TYPE == "Swirl" then
  595. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  596. elseif TYPE == "Skull" then
  597. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  598. elseif TYPE == "Crystal" then
  599. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  600. end
  601. if MSH ~= nil then
  602. local MOVESPEED = nil
  603. if MOVEDIRECTION ~= nil then
  604. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  605. end
  606. local GROWTH = SIZE - ENDSIZE
  607. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  608. if TYPE == "Block" then
  609. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  610. else
  611. EFFECT.CFrame = CFRAME
  612. end
  613. for LOOP = 1, TIME+1 do
  614. Swait()
  615. MSH.Scale = MSH.Scale - GROWTH/TIME
  616. if TYPE == "Wave" then
  617. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  618. end
  619. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  620. if TYPE == "Block" then
  621. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  622. else
  623. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  624. end
  625. if MOVEDIRECTION ~= nil then
  626. local ORI = EFFECT.Orientation
  627. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  628. EFFECT.Orientation = ORI
  629. end
  630. end
  631. if PLAYSSOUND == false then
  632. EFFECT:remove()
  633. else
  634. SOUND.Stopped:Connect(function()
  635. EFFECT:remove()
  636. end)
  637. end
  638. else
  639. if PLAYSSOUND == false then
  640. EFFECT:remove()
  641. else
  642. repeat Swait() until SOUND.Playing == false
  643. EFFECT:remove()
  644. end
  645. end
  646. end))
  647. end
  648.  
  649. function MakeForm(PART,TYPE)
  650. if TYPE == "Cyl" then
  651. local MSH = IT("CylinderMesh",PART)
  652. elseif TYPE == "Ball" then
  653. local MSH = IT("SpecialMesh",PART)
  654. MSH.MeshType = "Sphere"
  655. elseif TYPE == "Wedge" then
  656. local MSH = IT("SpecialMesh",PART)
  657. MSH.MeshType = "Wedge"
  658. end
  659. end
  660.  
  661. function SpawnTrail(FROM,TO,BIG)
  662. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  663. MakeForm(TRAIL,"Cyl")
  664. local DIST = (FROM - TO).Magnitude
  665. if BIG == true then
  666. TRAIL.Size = VT(0.5,DIST,0.5)
  667. else
  668. TRAIL.Size = VT(0.25,DIST,0.25)
  669. end
  670. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  671. coroutine.resume(coroutine.create(function()
  672. for i = 1, 5 do
  673. Swait()
  674. TRAIL.Transparency = TRAIL.Transparency + 0.1
  675. end
  676. TRAIL:remove()
  677. end))
  678. end
  679.  
  680. Debris = game:GetService("Debris")
  681.  
  682. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  683. local DIRECTION = CF(StartPos,EndPos).lookVector
  684. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  685. end
  686.  
  687. function turnto(position)
  688. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  689. end
  690.  
  691. function Zap(Table)
  692. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  693. local Duration = Table.Duration or 2
  694. local FadeRate = Table.FadeRate or 0.05
  695. local Offset = Table.Offset or 2
  696. local Individualize = Table.Individualize or false
  697. local MaxRange = Table.MaxRange or 200
  698. local SegmentLength = Table.SegmentLength or 5
  699. local TimeToFade = Table.TimeToFade or 0.5
  700. local Ignore = Table.Ignore or {}
  701. local SIZE = Table.Size or 0.3
  702. if not (StartPos and TargetPos) or not Character then
  703. return
  704. end
  705. local LightningModel = IT("Folder", Effects)
  706. LightningModel.Name = "ZAPP"
  707. for i, v in pairs({Character, LightningModel}) do
  708. table.insert(Ignore, v)
  709. end
  710. local LastPos = StartPos
  711. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  712. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  713. local RayLength = (StartPos - RayPos).Magnitude
  714. local Struck = false
  715. local TotalSegments = math.ceil(RayLength / SegmentLength)
  716. Direction = CFrame.new(StartPos, RayPos).lookVector
  717. local LightningBolt = IT("Model", Effects)
  718. LightningBolt.Name = "Lightning"
  719. if not Individualize then
  720. table.insert(LightningBolts, LightningBolt)
  721. end
  722. LastBolt = LightningBolt
  723. Debris:AddItem(LightningBolt, Duration)
  724. LightningBolt.Parent = LightningModel
  725. for i = 1, TotalSegments do
  726. if not Struck then
  727. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  728. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  729. local SegmentVec = NewPos - LastPos
  730. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  731. local RayVec = LastPos - RayPos
  732. local LightningPart = BaseLightning:Clone()
  733. LightningPart.BrickColor = BrickColor.new(Color)
  734. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  735. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  736. table.insert(Effects2, {
  737. LightningPart,
  738. "Disappear",
  739. 0.025,
  740. 1,
  741. 1,
  742. 1,
  743. 2
  744. })
  745. local CylinderMesh = IT("CylinderMesh", LightningPart)
  746. local OrigCF = LightningPart.CFrame
  747. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  748. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  749. LightningPart.Parent = LightningBolt
  750. LastPos = NewPos
  751. end
  752. end
  753. return {
  754. RayHit = RayHit,
  755. RayPos = RayPos,
  756. RayNormal = RayNormal,
  757. LightningModel = LightningModel
  758. }
  759. end
  760. function turnto(position)
  761. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  762. end
  763.  
  764. --//=================================\\
  765. --|| WEAPON CREATION
  766. --\\=================================//
  767.  
  768. local Particle = IT("ParticleEmitter",nil)
  769. Particle.Enabled = false
  770. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  771. Particle.LightEmission = 0.5
  772. Particle.Rate = 150
  773. Particle.ZOffset = 0.2
  774. Particle.Rotation = NumberRange.new(-180, 180)
  775. Particle.RotSpeed = NumberRange.new(-180, 180)
  776. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  777. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  778.  
  779. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  780. function ParticleEmitter(Table)
  781. local PRTCL = Particle:Clone()
  782. local Speed = Table.Speed or 5
  783. local Drag = Table.Drag or 0
  784. local Size1 = Table.Size1 or 1
  785. local Size2 = Table.Size2 or 5
  786. local Lifetime1 = Table.Lifetime1 or 1
  787. local Lifetime2 = Table.Lifetime2 or 1.5
  788. local Parent = Table.Parent or Torso
  789. local Emit = Table.Emit or 100
  790. local Offset = Table.Offset or 360
  791. local Acel = Table.Acel or VT(0,0,0)
  792. local Enabled = Table.Enabled or false
  793. PRTCL.Parent = Parent
  794. PRTCL.Size = NumberSequence.new(Size1,Size2)
  795. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  796. PRTCL.Speed = NumberRange.new(Speed)
  797. PRTCL.VelocitySpread = Offset
  798. PRTCL.Drag = Drag
  799. PRTCL.Acceleration = Acel
  800. if Enabled == false then
  801. PRTCL:Emit(Emit)
  802. Debris:AddItem(PRTCL,Lifetime2)
  803. else
  804. PRTCL.Enabled = true
  805. end
  806. return PRTCL
  807. end
  808.  
  809. local Gun = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0), false)
  810. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430198390", "430198451", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
  811. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.7, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  812. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  813. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  814.  
  815. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  816. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  817.  
  818. for _, c in pairs(Weapon:GetDescendants()) do
  819. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  820. c.Material = "Glass"
  821. c.Color = C3(0,0,0)
  822. elseif c.ClassName == "Part" and c.Name == "Eye" then
  823. c.Color = C3(1,0,0)
  824. c.Material = "Neon"
  825. end
  826. end
  827.  
  828. Weapon.Parent = Character
  829. for _, c in pairs(Weapon:GetChildren()) do
  830. if c.ClassName == "Part" then
  831. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  832. end
  833. end
  834.  
  835. Humanoid.Died:connect(function()
  836. ATTACK = true
  837. end)
  838.  
  839. function printbye(Name)
  840. 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, "}
  841. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  842. end
  843.  
  844. workspace.ChildAdded:connect(function(instance)
  845. for BANISH = 1, #TOBANISH do
  846. if TOBANISH[BANISH] ~= nil then
  847. if instance.Name == TOBANISH[BANISH] then
  848. coroutine.resume(coroutine.create(function()
  849. printbye(instance.Name)
  850. instance:ClearAllChildren()
  851. Debris:AddItem(instance,0.0005)
  852. end))
  853. end
  854. end
  855. end
  856. end)
  857.  
  858. --//=================================\\
  859. --|| DAMAGING
  860. --\\=================================//
  861.  
  862. function BulletDetection(FROM,TO,BRUTAL)
  863. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  864. coroutine.resume(coroutine.create(function()
  865. if AIMHIT ~= nil then
  866. if AIMHIT.Parent ~= Character then
  867. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  868. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  869. if BRUTAL == true then
  870. Kill(AIMHIT.Parent)
  871. else
  872. getbloody(AIMHIT,15)
  873. AIMHIT.Parent:BreakJoints()
  874. if AIMHIT.Name == "Head" then
  875. AIMHIT.Name = "HEADSHOT"
  876. AIMHIT:remove()
  877. end
  878. end
  879. else
  880. if BRUTAL == true then
  881. Kill(AIMHIT.Parent.Parent)
  882. else
  883. AIMHIT.Parent.Parent:BreakJoints()
  884. end
  885. end
  886. end
  887. end
  888. end
  889. end))
  890. SpawnTrail(FROM,AIMPOS)
  891. return AIMHIT,AIMPOS,NORMAL
  892. end
  893.  
  894. function chatfunc(text, waitt)
  895. local chat = coroutine.wrap(function()
  896. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  897. Character:FindFirstChild("TalkingBillBoard").Parent = nil
  898. end
  899. local naeeym2 = Instance.new("BillboardGui", Character)
  900. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  901. naeeym2.StudsOffset = Vector3.new(0, 2, 0)
  902. naeeym2.Adornee = Character.Head
  903. naeeym2.Name = "TalkingBillBoard"
  904. naeeym2.AlwaysOnTop = true
  905. local tecks2 = Instance.new("TextLabel", naeeym2)
  906. tecks2.BackgroundTransparency = 1
  907. tecks2.BorderSizePixel = 0
  908. tecks2.Text = ""
  909. tecks2.Font = "Cartoon"
  910. tecks2.TextSize = 30
  911. tecks2.TextStrokeTransparency = 1
  912. tecks2.TextColor3 = C3(1,0,0)
  913. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  914. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  915. for i = 1, string.len(text) do
  916. if naeeym2.Parent ~= nil then
  917. CreateSound("418252437", Effects, 1, MRANDOM(9, 11) / 10)
  918. end
  919. tecks2.Text = string.sub(text, 1, i)
  920. Swait(3)
  921. end
  922. wait(waitt / 10)
  923. coroutine.resume(coroutine.create(function()
  924. for i = 1, 10 do
  925. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  926. Swait()
  927. end
  928. naeeym2:Destroy()
  929. end))
  930. end)
  931. chat()
  932. end
  933.  
  934. function KillChildren(v)
  935. v:BreakJoints()
  936. for _, c in pairs(v:GetChildren()) do
  937. if c.ClassName == "Part" or c.ClassName == "MesPart" then
  938. if c.Transparency < 1 then
  939. if c:FindFirstChildOfClass("Decal") then
  940. c:FindFirstChildOfClass("Decal"):remove()
  941. end
  942. particles(c)
  943. c.PE.Enabled = true
  944. c.Parent = Effects
  945. c.CanCollide = false
  946. c.Material = "Neon"
  947. c.Color = C3(1,0,0)
  948. c.Transparency = 0.5
  949. local grav = Instance.new("BodyPosition",c)
  950. grav.P = 20000
  951. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  952. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  953. grav.Name = "GravityForce"
  954. coroutine.resume(coroutine.create(function()
  955. for i = 1, 50 do
  956. Swait()
  957. c.Transparency = c.Transparency + 0.01
  958. end
  959. c.PE.Enabled = false
  960. Debris:AddItem(c,2)
  961. end))
  962. end
  963. end
  964. end
  965. end
  966.  
  967. local PE=Instance.new("ParticleEmitter",art)
  968. PE.LightEmission=.8
  969. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  970. PE.Lifetime=NumberRange.new(0.35,1.5)
  971. PE.Rotation=NumberRange.new(0,360)
  972. PE.Rate=999
  973. PE.VelocitySpread = 10000
  974. PE.Acceleration = Vector3.new(0,0,0)
  975. PE.Drag = 5
  976. PE.Speed = NumberRange.new(0,0,0)
  977. PE.Texture="http://www.roblox.com/asset/?id=833874434"
  978. PE.ZOffset = -1.5
  979. PE.Name = "PE"
  980. PE.Enabled = false
  981.  
  982.  
  983. function particles(art)
  984. local PARTICLES = PE:Clone()
  985. PARTICLES.Parent = art
  986. end
  987.  
  988. function killnearest(position,range)
  989. for i,v in ipairs(workspace:GetChildren()) do
  990. local body = v:GetChildren()
  991. for part = 1, #body do
  992. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  993. if(body[part].Position - position).Magnitude < range then
  994. if v.ClassName == "Model" then
  995. KillChildren(v)
  996. end
  997. end
  998. end
  999. end
  1000. end
  1001. end
  1002.  
  1003. function Kill(Char)
  1004. local NewCharacter = IT("Model",Effects)
  1005. NewCharacter.Name = "Ow im ded ;-;"
  1006. for _, c in pairs(Char:GetDescendants()) do
  1007. if c:IsA("BasePart") and c.Transparency == 0 then
  1008. if c.Parent == Char then
  1009. end
  1010. c:BreakJoints()
  1011. c.Material = "Neon"
  1012. c.Color = C3(1,1,1)
  1013. c.CanCollide = true
  1014. c.Transparency = 0.3
  1015. if c:FindFirstChildOfClass("SpecialMesh") then
  1016. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1017. end
  1018. if c.Name == "Head" then
  1019. c:ClearAllChildren()
  1020. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1021. end
  1022. if c.ClassName == "MeshPart" then
  1023. c.TextureID = ""
  1024. end
  1025. if c:FindFirstChildOfClass("BodyPosition") then
  1026. c:FindFirstChildOfClass("BodyPosition"):remove()
  1027. end
  1028. if c:FindFirstChildOfClass("ParticleEmitter") then
  1029. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1030. end
  1031. c.Parent = NewCharacter
  1032. c.Name = "DeadPart"
  1033. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1034. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1035. end
  1036. end
  1037. Char:remove()
  1038. Debris:AddItem(NewCharacter,5)
  1039. end
  1040.  
  1041.  
  1042. function Banish(Foe)
  1043. if Foe then
  1044. coroutine.resume(coroutine.create(function()
  1045. --if game.Players:FindFirstChild(Foe.Name) then
  1046. table.insert(TOBANISH,Foe.Name)
  1047. printbye(Foe.Name)
  1048. --end
  1049. Foe.Archivable = true
  1050. local CLONE = Foe:Clone()
  1051. Foe:Destroy()
  1052. CLONE.Parent = Effects
  1053. CLONE:BreakJoints()
  1054. local MATERIALS = {"Glass","Neon"}
  1055. for _, c in pairs(CLONE:GetDescendants()) do
  1056. if c:IsA("BasePart") then
  1057. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1058. CreateSound(340722848, c, 10, 1, false)
  1059. end
  1060. c.Anchored = true
  1061. c.Transparency = c.Transparency + 0.2
  1062. c.Material = MATERIALS[MRANDOM(1,2)]
  1063. c.Color = C3(1,0,0)
  1064. if c.ClassName == "MeshPart" then
  1065. c.TextureID = ""
  1066. end
  1067. if c:FindFirstChildOfClass("SpecialMesh") then
  1068. c:FindFirstChildOfClass("SpecialMesh").TextureId = "2476057140"
  1069. end
  1070. if c:FindFirstChildOfClass("Decal") then
  1071. c:FindFirstChildOfClass("Decal"):remove()
  1072. end
  1073. c.Name = "Banished"
  1074. c.CanCollide = false
  1075. else
  1076. c:remove()
  1077. end
  1078. end
  1079. local A = false
  1080. for i = 1, 35 do
  1081. if A == false then
  1082. A = true
  1083. elseif A == true then
  1084. A = false
  1085. end
  1086. for _, c in pairs(CLONE:GetDescendants()) do
  1087. if c:IsA("BasePart") then
  1088. c.Anchored = true
  1089. c.Material = MATERIALS[MRANDOM(1,2)]
  1090. c.Transparency = c.Transparency + 0.8/35
  1091. if A == false then
  1092. c.CFrame = c.CFrame*CF(MRANDOM(-1,1)/45,MRANDOM(-1,1)/45,MRANDOM(-1,1)/45)
  1093. elseif A == true then
  1094. c.CFrame = c.CFrame*CF(MRANDOM(-1,1)/45,MRANDOM(-1,1)/45,MRANDOM(-1,1)/45)
  1095. end
  1096. end
  1097. end
  1098. Swait()
  1099. end
  1100. CLONE:remove()
  1101. end))
  1102. end
  1103. end
  1104.  
  1105. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1106. local CHILDREN = workspace:GetDescendants()
  1107. for index, CHILD in pairs(CHILDREN) do
  1108. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1109. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1110. if HUM then
  1111. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1112. if TORSO then
  1113. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1114. if ISBANISH == true then
  1115. Banish(CHILD)
  1116. else
  1117. if ISBANISH == "Gravity" then
  1118. HUM.PlatformStand = true
  1119. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1120. local grav = Instance.new("BodyPosition",TORSO)
  1121. grav.D = 15
  1122. grav.P = 20000
  1123. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1124. grav.position = TORSO.Position
  1125. grav.Name = "V3BanishForce"..Player.Name
  1126. else
  1127. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0,0)
  1128. TORSO.RotVelocity = VT(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1))
  1129. end
  1130. else
  1131. HUM.PlatformStand = false
  1132. end
  1133. end
  1134. elseif ISBANISH == "Gravity" then
  1135. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1136. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1137. HUM.PlatformStand = false
  1138. end
  1139. end
  1140. end
  1141. end
  1142. end
  1143. end
  1144. end
  1145.  
  1146. --//=================================\\
  1147. --|| ATTACK FUNCTIONS AND STUFF
  1148. --\\=================================//
  1149.  
  1150.  
  1151. function Intro()
  1152. ATTACK = true
  1153. Rooted = true
  1154. for i = 0, 0.5, 0.1 / Animation_Speed do
  1155. Swait()
  1156. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1157. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1158. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 4 / Animation_Speed)
  1159. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 4 / Animation_Speed)
  1160. 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)), 4 / Animation_Speed)
  1161. 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)), 4 / Animation_Speed)
  1162. end
  1163. for i = 0, 0.5, 0.1 / Animation_Speed do
  1164. Swait()
  1165. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1166. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1167. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 4 / Animation_Speed)
  1168. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-30)) * LEFTSHOULDERC0, 4 / Animation_Speed)
  1169. 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)), 4 / Animation_Speed)
  1170. 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)), 4 / Animation_Speed)
  1171. end
  1172. for i = 0, 0.5, 0.1 / Animation_Speed do
  1173. Swait()
  1174. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1175. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1176. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 4 / Animation_Speed)
  1177. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 4 / Animation_Speed)
  1178. 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)), 4 / Animation_Speed)
  1179. 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)), 4 / Animation_Speed)
  1180. end
  1181. for i = 0, 0.5, 0.1 / Animation_Speed do
  1182. Swait()
  1183. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1184. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1185. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(70)) * RIGHTSHOULDERC0, 4 / Animation_Speed)
  1186. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-70)) * LEFTSHOULDERC0, 4 / Animation_Speed)
  1187. 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)), 4 / Animation_Speed)
  1188. 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)), 4 / Animation_Speed)
  1189. end
  1190. for i = 0, 0.5, 0.1 / Animation_Speed do
  1191. Swait()
  1192. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1193. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1194. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 4 / Animation_Speed)
  1195. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 4 / Animation_Speed)
  1196. 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)), 4 / Animation_Speed)
  1197. 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)), 4 / Animation_Speed)
  1198. end
  1199. for i = 0, 0.5, 0.1 / Animation_Speed do
  1200. Swait()
  1201. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1202. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1203. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 4 / Animation_Speed)
  1204. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 4 / Animation_Speed)
  1205. 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)), 4 / Animation_Speed)
  1206. 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)), 4 / Animation_Speed)
  1207. end
  1208. local Gun = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0), false)
  1209. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430198390", "430198451", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
  1210. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.7, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  1211. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  1212. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1213.  
  1214. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  1215. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  1216. TRANSFORMED = true
  1217. ATTACK = false
  1218. Rooted = false
  1219. end
  1220.  
  1221. function BanishingBullet()
  1222. ATTACK = true
  1223. Rooted = false
  1224. repeat
  1225. for i = 0, 0.3, 0.1 / Animation_Speed do
  1226. Swait()
  1227. turnto(Mouse.Hit.p)
  1228. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15 - 3.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.6 / Animation_Speed)
  1229. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 - 0.1 * COS(SINE / 12) + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.6 / Animation_Speed)
  1230. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70 - 3.5 * SIN(SINE / 12)), RAD(0 - 3.5 * SIN(SINE / 12)), RAD(0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  1231. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25 - 3.5 * SIN(SINE / 12)), RAD(0 - 3.5 * SIN(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 0.6 / Animation_Speed)
  1232. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15 - 3.5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.6 / Animation_Speed)
  1233. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15 - 3.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.6 / Animation_Speed)
  1234. end
  1235. CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  1236. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  1237. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  1238. local RayHit, Way = CastProperRay(GunPoint.Position, Mouse.Hit.p, 1500, Character)
  1239. local distance = (GunPoint.Position - Way).magnitude
  1240. local HIT,POS = CastProperRay(GunPoint.Position, Mouse.Hit.p, 1000, Character)
  1241. SpawnTrail(GunPoint.Position,POS)
  1242. if HIT ~= nil then
  1243. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1244. Banish(HIT.Parent)
  1245. end
  1246. end
  1247. for i = 1, 5 do
  1248. local laser = Instance.new("Part", Effects)
  1249. laser.Transparency = 0
  1250. laser.CanCollide = false
  1251. laser.Anchored = true
  1252. laser.Color = C3(1, 0, 0)
  1253. laser.Material = "Neon"
  1254. laser.formFactor = Enum.FormFactor.Custom
  1255. laser.Size = Vector3.new(0.15, 0.15, distance)
  1256. laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
  1257. MagicSphere(VT(0.1, 0.1, 0.1), 45, CF(Way), "Really red", VT(0.05, 0.05, 0.05))
  1258. for i = 1, 5 do
  1259. MagicSphere(VT(0.2, 0.2, 1), 65, CF(CF(Way) * CF(MRANDOM(-1, 1), MRANDOM(-1, 1), MRANDOM(-1, 1)).p, Way), "Really red", VT(0.001, 0.001, 0), 0.5)
  1260. end
  1261. table.insert(Effects2, {
  1262. laser,
  1263. "Disappear",
  1264. 0.1,
  1265. 1,
  1266. 1,
  1267. 1,
  1268. 2
  1269. })
  1270. if RayHit ~= nil then
  1271. local v = RayHit.Parent
  1272. if v ~= nil and v.ClassName == "Model" then
  1273. CastWarpOutlines(v)
  1274. v.Parent = nil
  1275. if game.Players:FindFirstChild(v.Name) then
  1276. local Value = IT("BoolValue", Delete)
  1277. Value.Name = v.Name
  1278. end
  1279. end
  1280. end
  1281. end
  1282. for i = 0, 0.4, 0.1 / Animation_Speed do
  1283. Swait()
  1284. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15 - 3.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.6 / Animation_Speed)
  1285. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 - 0.1 * COS(SINE / 12) + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.6 / Animation_Speed)
  1286. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90 - 3.5 * SIN(SINE / 12)), RAD(0 - 3.5 * SIN(SINE / 12)), RAD(0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  1287. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25 - 3.5 * SIN(SINE / 12)), RAD(0 - 3.5 * SIN(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 0.6 / Animation_Speed)
  1288. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15 - 3.5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.6 / Animation_Speed)
  1289. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15 - 3.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.6 / Animation_Speed)
  1290. end
  1291. until KEYHOLD == false
  1292. ATTACK = false
  1293. Rooted = false
  1294. end
  1295.  
  1296.  
  1297. function AttackTemplate()
  1298. ATTACK = true
  1299. Rooted = false
  1300. for i=0, 1, 0.1 / Animation_Speed do
  1301. Swait()
  1302. 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)
  1303. 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)
  1304. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1305. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1306. 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)
  1307. 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)
  1308. end
  1309. ATTACK = false
  1310. Rooted = false
  1311. end
  1312.  
  1313. function Taunt2()
  1314. ATTACK = true
  1315. Rooted = false
  1316. for i=0, 2, 0.1 / Animation_Speed do
  1317. Swait()
  1318. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1319. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  1320. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1321. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1322. 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)), 1 / Animation_Speed)
  1323. 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)), 1 / Animation_Speed)
  1324. end
  1325. CreateSound(300208779, Head, 5, 1, false)
  1326. for i=0, 4, 0.1 / Animation_Speed do
  1327. Swait()
  1328. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 - 0.1 * COS(SINE / 3) + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 0.5 / Animation_Speed)
  1329. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, - 0.1 * COS(SINE / 3)) * ANGLES(RAD(-21), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1330. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, - 0.1 * COS(SINE / 3)) * ANGLES(RAD(-21), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1331. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 4)) * ANGLES(RAD(-32), RAD(0), RAD(0)), 1 / Animation_Speed)
  1332. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(-32), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1333. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(-32), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1334. end
  1335. WACKYEFFECT({Time = 180, EffectType = "Block", Size = VT(4,4,4), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1336. WACKYEFFECT({Time = 180, EffectType = "Block", Size = VT(4,4,4), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = RootPart.CFrame*CF(1.2,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1337. WACKYEFFECT({Time = 180, EffectType = "Block", Size = VT(4,4,4), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = RootPart.CFrame*CF(-1.2,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1338. for i=0, 4, 0.1 / Animation_Speed do
  1339. Swait()
  1340. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1341. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.1) * ANGLES(RAD(-21), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1342. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0.1) * ANGLES(RAD(-21), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1343. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(-32), RAD(0), RAD(0)), 1 / Animation_Speed)
  1344. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0.01) * ANGLES(RAD(-32), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1345. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-32), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1346. end
  1347. killnearest(RootPart.Position, 55, 55)
  1348. WACKYEFFECT({Time = 80, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,1,150), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-5), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "444667859" , SoundPitch = 1.2, SoundVolume = 4})
  1349. WACKYEFFECT({Time = 80, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,1), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "444667859" , SoundPitch = 1.2, SoundVolume = 4})
  1350. ATTACK = false
  1351. Rooted = false
  1352. end
  1353.  
  1354. function Taunt()
  1355. ATTACK = true
  1356. Rooted = false
  1357. for i=0, 2, 0.1 / Animation_Speed do
  1358. Swait()
  1359. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1360. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  1361. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1362. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1363. 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)), 1 / Animation_Speed)
  1364. 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)), 1 / Animation_Speed)
  1365. end
  1366. CreateSound(300208779, Head, 5, 1, false)
  1367. for i=0, 4, 0.1 / Animation_Speed do
  1368. Swait()
  1369. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 - 0.1 * COS(SINE / 3) + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 0.5 / Animation_Speed)
  1370. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, - 0.1 * COS(SINE / 3)) * ANGLES(RAD(-21), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1371. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, - 0.1 * COS(SINE / 3)) * ANGLES(RAD(-21), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1372. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 4)) * ANGLES(RAD(-32), RAD(0), RAD(0)), 1 / Animation_Speed)
  1373. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(-32), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1374. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(-32), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1375. end
  1376. ATTACK = false
  1377. Rooted = false
  1378. end
  1379.  
  1380. function BanishingRampage()
  1381. ATTACK = true
  1382. Rooted = false
  1383. chatfunc("BE GONE...", 3)
  1384. for i = 0, 2, 0.1 / Animation_Speed do
  1385. Swait()
  1386. turnto(Mouse.Hit.p)
  1387. MagicBlock(0.1,58,GunPoint.CFrame*CF(MRANDOM(-20,20)/100,0,MRANDOM(-20,20)/100),"Really red",VT(0.1,0.3,0.1))
  1388. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1389. 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.5 / Animation_Speed)
  1390. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(0), RAD(32)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1391. 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, 0.5 / Animation_Speed)
  1392. 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)), 0.5 / Animation_Speed)
  1393. 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)), 0.5 / Animation_Speed)
  1394. end
  1395. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1396. repeat
  1397. Swait()
  1398. HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1399. until HITFLOOR ~= nil
  1400. CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  1401. local SOUND = CreateSound("415700134", Effects, 10, 1.6)
  1402. CreateSound("138677306", Effects, 7, 1.2)
  1403. coroutine.resume(coroutine.create(function()
  1404. local CFRAME = RootPart.CFrame * CF(0, -1.2, -3)
  1405. local SIZE = 1
  1406. while true do
  1407. Swait()
  1408. for i = 1, 2 do
  1409. MagicSphere(VT(SIZE / 5, SIZE / 5, SIZE * 2), 65, CF(CFRAME * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, CFRAME.p), "Really red", VT(0.001, 0.001, 0), 0.5)
  1410. end
  1411. do
  1412. local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
  1413. Part.CFrame = CFRAME * CF(SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  1414. coroutine.resume(coroutine.create(function()
  1415. Swait(200)
  1416. Part.Anchored = false
  1417. end))
  1418. local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
  1419. Part.CFrame = CFRAME * CF(-SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  1420. coroutine.resume(coroutine.create(function()
  1421. Swait(200)
  1422. Part.Anchored = false
  1423. end))
  1424. MagicSphere(VT(SIZE, SIZE, SIZE), 75, CFRAME, "Really red", VT(-SIZE / 75, -SIZE / 75, -SIZE / 75))
  1425. killnearest(CFRAME.p, SIZE, 0)
  1426. SIZE = SIZE + 2
  1427. CFRAME = CFRAME * CF(0, 0, -2)
  1428. if SOUND.Playing == false then
  1429. break
  1430. end
  1431. end
  1432. end
  1433. end))
  1434. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  1435. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  1436. for i = 0, 3, 0.1 / Animation_Speed do
  1437. Swait()
  1438. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 4 / Animation_Speed)
  1439. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(-45)), 4 / Animation_Speed)
  1440. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 4 / Animation_Speed)
  1441. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 4 / Animation_Speed)
  1442. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1443. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 4 / Animation_Speed)
  1444. end
  1445. ATTACK = false
  1446. Rooted = false
  1447. end
  1448.  
  1449. --//=================================\\
  1450. --|| ASSIGN THINGS TO KEYS
  1451. --\\=================================//
  1452.  
  1453. function MouseDown(Mouse)
  1454. if ATTACK == false then
  1455. end
  1456. end
  1457.  
  1458. function MouseUp(Mouse)
  1459. HOLD = false
  1460. end
  1461.  
  1462. function KeyDown(Key)
  1463. KEYHOLD = true
  1464. if Key == "z" and ATTACK == false then
  1465. BanishingBullet()
  1466. end
  1467.  
  1468. if Key == "t" and ATTACK == false then
  1469. Taunt()
  1470. end
  1471.  
  1472. if Key == "c" and ATTACK == false then
  1473. BanishingRampage()
  1474. end
  1475.  
  1476. if Key == "x" and ATTACK == false then
  1477. chatfunc("Yea Boi!", 2)
  1478. Delete:ClearAllChildren()
  1479. TOBANISH = {}
  1480. end
  1481.  
  1482. if Key == "x" and ATTACK == false then
  1483. Taunt2()
  1484. end
  1485. end
  1486.  
  1487. function KeyUp(Key)
  1488. KEYHOLD = false
  1489. end
  1490.  
  1491. Mouse.Button1Down:connect(function(NEWKEY)
  1492. MouseDown(NEWKEY)
  1493. end)
  1494. Mouse.Button1Up:connect(function(NEWKEY)
  1495. MouseUp(NEWKEY)
  1496. end)
  1497. Mouse.KeyDown:connect(function(NEWKEY)
  1498. KeyDown(NEWKEY)
  1499. end)
  1500. Mouse.KeyUp:connect(function(NEWKEY)
  1501. KeyUp(NEWKEY)
  1502. end)
  1503.  
  1504. --//=================================\\
  1505. --\\=================================//
  1506.  
  1507.  
  1508. function unanchor()
  1509. if UNANCHOR == true then
  1510. g = Character:GetChildren()
  1511. for i = 1, #g do
  1512. if g[i].ClassName == "Part" then
  1513. g[i].Anchored = false
  1514. end
  1515. end
  1516. end
  1517. end
  1518.  
  1519.  
  1520. --//=================================\\
  1521. --|| WRAP THE WHOLE SCRIPT UP
  1522. --\\=================================//
  1523.  
  1524. Humanoid.Changed:connect(function(Jump)
  1525. if Jump == "Jump" and (Disable_Jump == true) then
  1526. Humanoid.Jump = false
  1527. end
  1528. end)
  1529.  
  1530. local CONNECT = nil
  1531.  
  1532. while true do
  1533. Swait()
  1534. ANIMATE.Parent = nil
  1535. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1536. Humanoid = IT("Humanoid",Character)
  1537. end
  1538. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1539. v:Stop();
  1540. end
  1541. SINE = SINE + CHANGE
  1542. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1543. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1544. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1545. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1546. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1547. 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)
  1548. 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)
  1549. 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(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1550. 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(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1551. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1552. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1553. 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)
  1554. 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)
  1555. 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)
  1556. end
  1557. if HITFLOOR == nil then
  1558. ANIM = "Midair"
  1559. if ATTACK == false then
  1560. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1561. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1562. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1563. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1564. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1565. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2, -0.6) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1566. end
  1567. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1568. ANIM = "Idle"
  1569. if ATTACK == false then
  1570. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1571. 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)
  1572. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(10 - 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1573. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-10 + 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1574. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1575. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1576. end
  1577. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1578. ANIM = "Walk"
  1579. if ATTACK == false then
  1580. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1581. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1582. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  1583. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
  1584. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1585. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1586. end
  1587. end
  1588. unanchor()
  1589. Humanoid.MaxHealth = "inf"
  1590. Humanoid.Health = "inf"
  1591. if Rooted == false then
  1592. Disable_Jump = false
  1593. Humanoid.WalkSpeed = Speed
  1594. elseif Rooted == true then
  1595. Disable_Jump = true
  1596. Humanoid.WalkSpeed = 0
  1597. end
  1598. if #Effects2 > 0 then
  1599. for e = 1, #Effects2 do
  1600. if Effects2[e] ~= nil then
  1601. local Thing = Effects2[e]
  1602. if Thing ~= nil then
  1603. local Part = Thing[1]
  1604. local Mode = Thing[2]
  1605. local Delay = Thing[3]
  1606. local IncX = Thing[4]
  1607. local IncY = Thing[5]
  1608. local IncZ = Thing[6]
  1609. local Part2 = Thing[8]
  1610. if Thing[1].Transparency <= 1 then
  1611. if Thing[2] == "Block1" then
  1612. Thing[1].CFrame = Thing[1].CFrame
  1613. Mesh = Thing[1].Mesh
  1614. Mesh.Scale = Mesh.Scale + VT(Thing[4], Thing[5], Thing[6])
  1615. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1616. elseif Thing[2] == "Cylinder" then
  1617. Mesh = Thing[1].Mesh
  1618. Mesh.Scale = Mesh.Scale + VT(Thing[4], Thing[5], Thing[6])
  1619. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1620. elseif Thing[2] == "Blood" then
  1621. Mesh = Thing[7]
  1622. Thing[1].CFrame = Thing[1].CFrame * CF(0, 0.5, 0)
  1623. Mesh.Scale = Mesh.Scale + VT(Thing[4], Thing[5], Thing[6])
  1624. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1625. elseif Thing[2] == "Elec" then
  1626. Mesh = Thing[1].Mesh
  1627. Mesh.Scale = Mesh.Scale + VT(Thing[7], Thing[8], Thing[9])
  1628. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1629. elseif Thing[2] == "Disappear" then
  1630. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1631. end
  1632. else
  1633. Part.Parent = nil
  1634. table.remove(Effects2, e)
  1635. end
  1636. end
  1637. end
  1638. end
  1639. end
  1640. if INTRO == false and INSTANT == false then
  1641. INTRO = true
  1642. coroutine.resume(coroutine.create(function()
  1643. sick:Play()
  1644. Intro()
  1645. end))
  1646. end
  1647. if INSTANT == true then
  1648. if TRANSFORMED == false then
  1649. sick.TimePosition = 119
  1650. sick:Play()
  1651. Gun.Parent = Character
  1652. end
  1653. TRANSFORMED = true
  1654. end
  1655. if VALUE1 == true then
  1656. local RayData = Zap({
  1657. SegmentLength = 0.6,
  1658. Offset = 0.3,
  1659. Size = 0.05,
  1660. MaxRange = 1.5,
  1661. StartPosition = GunPoint.Position,
  1662. TargetPosition = RightArm.Position,
  1663. Character = workspace,
  1664. Color = "Really red",
  1665. Individual = true
  1666. })
  1667. BOLT = RayData.LightningModel
  1668. end
  1669. end
  1670.  
  1671. --//=================================\\
  1672. --\\=================================//
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678. --//====================================================\\--
  1679. --|| END OF SCRIPT
  1680. --\\====================================================//--
Add Comment
Please, Sign In to add comment