Advertisement
Mediakiller7Cool

Weeee

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