SHARE
TWEET

virus 3

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