reset234567890

Untitled

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