reset234567890

idk

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