DarkScriptZEditors

Flamingo Banisher

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