SHARE
TWEET

work script

Basykung7845 Apr 16th, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has been converted to FE by iPxter
  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 = 1
  99.     text.BackgroundTransparency = 1
  100.     text.TextTransparency = 1
  101.     text.TextStrokeTransparency = 0
  102.     text.Font = "Antique"
  103.     text.TextStrokeColor3 = Color3.new(1, 1, 1)
  104.         text.Text = "Fallen Angel"
  105. script.Name = "Banisher Gun V3 / 1"
  106. --//====================================================\\--
  107. --||               CREATED BY SHACKLUSTER
  108. --\\====================================================//--
  109. local Player_Size = 1
  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. for i,v in pairs(Character:GetChildren()) do
  136.     if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "CharacterMesh" then
  137.         v:Destroy()
  138.     end
  139. end
  140.  
  141. local Shirt = Instance.new("Shirt",Character)
  142. local Pants = Instance.new("Pants",Character)
  143. Shirt.ShirtTemplate = "rbxassetid://811066647"
  144. Pants.PantsTemplate = "rbxassetid://1088567690"
  145.  
  146. IT = Instance.new
  147. CF = CFrame.new
  148. VT = Vector3.new
  149. RAD = math.rad
  150. C3 = Color3.new
  151. UD2 = UDim2.new
  152. BRICKC = BrickColor.new
  153. ANGLES = CFrame.Angles
  154. EULER = CFrame.fromEulerAnglesXYZ
  155. COS = math.cos
  156. ACOS = math.acos
  157. SIN = math.sin
  158. ASIN = math.asin
  159. ABS = math.abs
  160. MRANDOM = math.random
  161. FLOOR = math.floor
  162. --//=================================\\
  163. --||          USEFUL VALUES
  164. --\\=================================//
  165.  
  166. Animation_Speed = 3
  167. local FORCERESET = false
  168. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  169. local Speed = 16
  170. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  171. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  172. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  173. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  174. local DAMAGEMULTIPLIER = 1
  175. local ANIM = "Idle"
  176. local ATTACK = false
  177. local EQUIPPED = false
  178. local HOLD = false
  179. local COMBO = 1
  180. local Rooted = false
  181. local SINE = 0
  182. local KEYHOLD = false
  183. local CHANGE = 2 / Animation_Speed
  184. local WALKINGANIM = false
  185. local VALUE1 = false
  186. local VALUE2 = false
  187. local ROBLOXIDLEANIMATION = IT("Animation")
  188. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  189. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  190. --ROBLOXIDLEANIMATION.Parent = Humanoid
  191. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  192. WEAPONGUI.Name = "BanishV3Gui"
  193. local Weapon = IT("Model")
  194. Weapon.Name = "Adds"
  195. local Effects = IT("Folder", Weapon)
  196. Effects.Name = "Effects"
  197. local ANIMATOR = Humanoid.Animator
  198. local ANIMATE = Character:FindFirstChild("Animate")
  199. local UNANCHOR = true
  200. local TOBANISH = {}
  201. script.Parent = PlayerGui
  202.  
  203. --//=================================\\
  204. --\\=================================//
  205.  
  206.  
  207. --//=================================\\
  208. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  209. --\\=================================//
  210.  
  211. ArtificialHB = Instance.new("BindableEvent", script)
  212. ArtificialHB.Name = "ArtificialHB"
  213.  
  214. script:WaitForChild("ArtificialHB")
  215.  
  216. frame = Frame_Speed
  217. tf = 0
  218. allowframeloss = false
  219. tossremainder = false
  220. lastframe = tick()
  221. script.ArtificialHB:Fire()
  222.  
  223. game:GetService("RunService").Heartbeat:connect(function(s, p)
  224.     tf = tf + s
  225.     if tf >= frame then
  226.         if allowframeloss then
  227.             script.ArtificialHB:Fire()
  228.             lastframe = tick()
  229.         else
  230.             for i = 1, math.floor(tf / frame) do
  231.                 script.ArtificialHB:Fire()
  232.             end
  233.         lastframe = tick()
  234.         end
  235.         if tossremainder then
  236.             tf = 0
  237.         else
  238.             tf = tf - frame * math.floor(tf / frame)
  239.         end
  240.     end
  241. end)
  242.  
  243. --//=================================\\
  244. --\\=================================//
  245.  
  246. --//=================================\\
  247. --||          SOME FUNCTIONS
  248. --\\=================================//
  249.  
  250. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  251.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  252. end
  253.  
  254. function PositiveAngle(NUMBER)
  255.     if NUMBER >= 0 then
  256.         NUMBER = 0
  257.     end
  258.     return NUMBER
  259. end
  260.  
  261. function NegativeAngle(NUMBER)
  262.     if NUMBER <= 0 then
  263.         NUMBER = 0
  264.     end
  265.     return NUMBER
  266. end
  267.  
  268. function Swait(NUMBER)
  269.     if NUMBER == 0 or NUMBER == nil then
  270.         ArtificialHB.Event:wait()
  271.     else
  272.         for i = 1, NUMBER do
  273.             ArtificialHB.Event:wait()
  274.         end
  275.     end
  276. end
  277.  
  278. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  279.     local NEWMESH = IT(MESH)
  280.     if MESH == "SpecialMesh" then
  281.         NEWMESH.MeshType = MESHTYPE
  282.         if MESHID ~= "nil" and MESHID ~= "" then
  283.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  284.         end
  285.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  286.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  287.         end
  288.     end
  289.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  290.     NEWMESH.Scale = SCALE
  291.     NEWMESH.Parent = PARENT
  292.     return NEWMESH
  293. end
  294.  
  295. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  296.     local NEWPART = IT("Part")
  297.     NEWPART.formFactor = FORMFACTOR
  298.     NEWPART.Reflectance = REFLECTANCE
  299.     NEWPART.Transparency = TRANSPARENCY
  300.     NEWPART.CanCollide = false
  301.     NEWPART.Locked = true
  302.     NEWPART.Anchored = true
  303.     if ANCHOR == false then
  304.         NEWPART.Anchored = false
  305.     end
  306.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  307.     NEWPART.Name = NAME
  308.     NEWPART.Size = SIZE
  309.     NEWPART.Position = Torso.Position
  310.     NEWPART.Material = MATERIAL
  311.     NEWPART:BreakJoints()
  312.     NEWPART.Parent = PARENT
  313.     return NEWPART
  314. end
  315.  
  316.     local function weldBetween(a, b)
  317.         local weldd = Instance.new("ManualWeld")
  318.         weldd.Part0 = a
  319.         weldd.Part1 = b
  320.         weldd.C0 = CFrame.new()
  321.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  322.         weldd.Parent = a
  323.         return weldd
  324.     end
  325.  
  326.  
  327. function QuaternionFromCFrame(cf)
  328.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  329.     local trace = m00 + m11 + m22
  330.     if trace > 0 then
  331.         local s = math.sqrt(1 + trace)
  332.         local recip = 0.5 / s
  333.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  334.     else
  335.         local i = 0
  336.         if m11 > m00 then
  337.             i = 1
  338.         end
  339.         if m22 > (i == 0 and m00 or m11) then
  340.             i = 2
  341.         end
  342.         if i == 0 then
  343.             local s = math.sqrt(m00 - m11 - m22 + 1)
  344.             local recip = 0.5 / s
  345.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  346.         elseif i == 1 then
  347.             local s = math.sqrt(m11 - m22 - m00 + 1)
  348.             local recip = 0.5 / s
  349.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  350.         elseif i == 2 then
  351.             local s = math.sqrt(m22 - m00 - m11 + 1)
  352.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  353.         end
  354.     end
  355. end
  356.  
  357. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  358.     local xs, ys, zs = x + x, y + y, z + z
  359.     local wx, wy, wz = w * xs, w * ys, w * zs
  360.     local xx = x * xs
  361.     local xy = x * ys
  362.     local xz = x * zs
  363.     local yy = y * ys
  364.     local yz = y * zs
  365.     local zz = z * zs
  366.     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))
  367. end
  368.  
  369. function QuaternionSlerp(a, b, t)
  370.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  371.     local startInterp, finishInterp;
  372.     if cosTheta >= 0.0001 then
  373.         if (1 - cosTheta) > 0.0001 then
  374.             local theta = ACOS(cosTheta)
  375.             local invSinTheta = 1 / SIN(theta)
  376.             startInterp = SIN((1 - t) * theta) * invSinTheta
  377.             finishInterp = SIN(t * theta) * invSinTheta
  378.         else
  379.             startInterp = 1 - t
  380.             finishInterp = t
  381.         end
  382.     else
  383.         if (1 + cosTheta) > 0.0001 then
  384.             local theta = ACOS(-cosTheta)
  385.             local invSinTheta = 1 / SIN(theta)
  386.             startInterp = SIN((t - 1) * theta) * invSinTheta
  387.             finishInterp = SIN(t * theta) * invSinTheta
  388.         else
  389.             startInterp = t - 1
  390.             finishInterp = t
  391.         end
  392.     end
  393.     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
  394. end
  395.  
  396. function Clerp(a, b, t)
  397.     local qa = {QuaternionFromCFrame(a)}
  398.     local qb = {QuaternionFromCFrame(b)}
  399.     local ax, ay, az = a.x, a.y, a.z
  400.     local bx, by, bz = b.x, b.y, b.z
  401.     local _t = 1 - t
  402.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  403. end
  404.  
  405. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  406.     local frame = IT("Frame")
  407.     frame.BackgroundTransparency = TRANSPARENCY
  408.     frame.BorderSizePixel = BORDERSIZEPIXEL
  409.     frame.Position = POSITION
  410.     frame.Size = SIZE
  411.     frame.BackgroundColor3 = COLOR
  412.     frame.BorderColor3 = BORDERCOLOR
  413.     frame.Name = NAME
  414.     frame.Parent = PARENT
  415.     return frame
  416. end
  417.  
  418. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  419.     local label = IT("TextLabel")
  420.     label.BackgroundTransparency = 1
  421.     label.Size = UD2(1, 0, 1, 0)
  422.     label.Position = UD2(0, 0, 0, 0)
  423.     label.TextColor3 = TEXTCOLOR
  424.     label.TextStrokeTransparency = STROKETRANSPARENCY
  425.     label.TextTransparency = TRANSPARENCY
  426.     label.FontSize = TEXTFONTSIZE
  427.     label.Font = TEXTFONT
  428.     label.BorderSizePixel = BORDERSIZEPIXEL
  429.     label.TextScaled = false
  430.     label.Text = TEXT
  431.     label.Name = NAME
  432.     label.Parent = PARENT
  433.     return label
  434. end
  435.  
  436. function NoOutlines(PART)
  437.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  438. end
  439.  
  440. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  441.     local NEWWELD = IT(TYPE)
  442.     NEWWELD.Part0 = PART0
  443.     NEWWELD.Part1 = PART1
  444.     NEWWELD.C0 = C0
  445.     NEWWELD.C1 = C1
  446.     NEWWELD.Parent = PARENT
  447.     return NEWWELD
  448. end
  449.  
  450. local S = IT("Sound")
  451. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  452.     local NEWSOUND
  453.     coroutine.resume(coroutine.create(function()
  454.         NEWSOUND = S:Clone()
  455.         NEWSOUND.Parent = PARENT
  456.         NEWSOUND.EmitterSize = VOLUME * 3
  457.         NEWSOUND.Volume = VOLUME
  458.         NEWSOUND.Pitch = PITCH
  459.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  460.         NEWSOUND:play()
  461.         if DOESLOOP == true then
  462.             NEWSOUND.Looped = true
  463.         else
  464.             repeat
  465.                 wait(1)
  466.             until NEWSOUND.Playing == false
  467.             NEWSOUND:remove()
  468.         end
  469.     end))
  470.     return NEWSOUND
  471. end
  472.  
  473. function CFrameFromTopBack(at, top, back)
  474.     local right = top:Cross(back)
  475.     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)
  476. end
  477.  
  478. local HATWELD = nil
  479. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  480.     PLAYMAINANIM = false
  481.     if WhichPose == "Cast1" then
  482.         for i=0, Time, 0.1 / Animation_Speed do
  483.             Swait()
  484.             if Magic == true then
  485.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  486.             end
  487.             if Gyro ~= nil and Gyro ~= false then
  488.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  489.             end
  490.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  491.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  492.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  493.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  494.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  495.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  496.         end
  497.     elseif WhichPose == "Cast2" then
  498.         for i=0, Time, 0.1 / Animation_Speed do
  499.             Swait()
  500.             if Magic == true then
  501.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  502.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  503.             end
  504.             if Gyro ~= nil and Gyro ~= false then
  505.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  506.             end
  507.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  508.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  509.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  510.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  511.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  512.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  513.         end
  514.     elseif WhichPose == "RightArmUp" then
  515.         for i=0, Time, 0.1 / Animation_Speed do
  516.             Swait()
  517.             if Magic == true then
  518.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  519.             end
  520.             if Gyro ~= nil and Gyro ~= false then
  521.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  522.             end
  523.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  524.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  525.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  526.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  527.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  528.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  529.         end
  530.     elseif WhichPose == "Taunt" then
  531.         for i=0, Time, 0.1 / Animation_Speed do
  532.             Swait()
  533.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  534.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  535.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  536.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  537.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  538.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  539.         end
  540.         HATWELD.Part0 = RightArm
  541.         HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  542.         CreateSound(137473066,Torso,10,1,false)
  543.         for i=0, Time*2, 0.1 / Animation_Speed do
  544.             Swait()
  545.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  546.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  547.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  548.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  549.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  550.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  551.         end
  552.         for i=0, Time, 0.1 / Animation_Speed do
  553.             Swait()
  554.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  555.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  556.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  557.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  558.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  559.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  560.             HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  561.         end
  562.         HATWELD.Part0 = Head
  563.         HATWELD.C0 = CF(0,0.35,0)
  564.     elseif WhichPose == "Prepare key" then
  565.         for i=0, Time, 0.1 / Animation_Speed do
  566.             Swait()
  567.             if Gyro ~= nil and Gyro ~= false then
  568.                 Gyro.cframe = CF(RootPart.Position,Tors.Position)
  569.             end
  570.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  571.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  572.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  573.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  574.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  575.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  576.         end
  577.     elseif WhichPose == "Turn key" then
  578.         for i=0, Time, 0.1 / Animation_Speed do
  579.             Swait()
  580.             if Gyro ~= nil and Gyro ~= false then
  581.                 Gyro.cframe = CF(RootPart.Position,Tors.Position)
  582.             end
  583.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  584.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  585.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  586.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  587.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  588.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  589.         end
  590.     end
  591.     PLAYMAINANIM = true
  592. end
  593.  
  594. --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})
  595. function WACKYEFFECT(Table)
  596.     local TYPE = (Table.EffectType or "Sphere")
  597.     local SIZE = (Table.Size or VT(1,1,1))
  598.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  599.     local TRANSPARENCY = (Table.Transparency or 0)
  600.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  601.     local CFRAME = (Table.CFrame or Torso.CFrame)
  602.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  603.     local ROTATION1 = (Table.RotationX or 0)
  604.     local ROTATION2 = (Table.RotationY or 0)
  605.     local ROTATION3 = (Table.RotationZ or 0)
  606.     local MATERIAL = (Table.Material or "Neon")
  607.     local COLOR = (Table.Color or C3(1,1,1))
  608.     local TIME = (Table.Time or 45)
  609.     local SOUNDID = (Table.SoundID or nil)
  610.     local SOUNDPITCH = (Table.SoundPitch or nil)
  611.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  612.     coroutine.resume(coroutine.create(function()
  613.         local PLAYSSOUND = false
  614.         local SOUND = nil
  615.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  616.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  617.             PLAYSSOUND = true
  618.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  619.         end
  620.         EFFECT.Color = COLOR
  621.         local MSH = nil
  622.         if TYPE == "Sphere" then
  623.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  624.         elseif TYPE == "Block" then
  625.             MSH = IT("BlockMesh",EFFECT)
  626.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  627.         elseif TYPE == "Wave" then
  628.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  629.         elseif TYPE == "Ring" then
  630.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  631.         elseif TYPE == "Slash" then
  632.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  633.         elseif TYPE == "Round Slash" then
  634.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  635.         elseif TYPE == "Swirl" then
  636.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  637.         elseif TYPE == "Skull" then
  638.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  639.         elseif TYPE == "Crystal" then
  640.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  641.         end
  642.         if MSH ~= nil then
  643.             local MOVESPEED = nil
  644.             if MOVEDIRECTION ~= nil then
  645.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  646.             end
  647.             local GROWTH = SIZE - ENDSIZE
  648.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  649.             if TYPE == "Block" then
  650.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  651.             else
  652.                 EFFECT.CFrame = CFRAME
  653.             end
  654.             for LOOP = 1, TIME+1 do
  655.                 Swait()
  656.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  657.                 if TYPE == "Wave" then
  658.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  659.                 end
  660.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  661.                 if TYPE == "Block" then
  662.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  663.                 else
  664.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  665.                 end
  666.                 if MOVEDIRECTION ~= nil then
  667.                     local ORI = EFFECT.Orientation
  668.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  669.                     EFFECT.Orientation = ORI
  670.                 end
  671.             end
  672.             if PLAYSSOUND == false then
  673.                 EFFECT:remove()
  674.             else
  675.                 SOUND.Stopped:Connect(function()
  676.                     EFFECT:remove()
  677.                 end)
  678.             end
  679.         else
  680.             if PLAYSSOUND == false then
  681.                 EFFECT:remove()
  682.             else
  683.                 repeat Swait() until SOUND.Playing == false
  684.                 EFFECT:remove()
  685.             end
  686.         end
  687.     end))
  688. end
  689.  
  690. function MakeForm(PART,TYPE)
  691.     if TYPE == "Cyl" then
  692.         local MSH = IT("CylinderMesh",PART)
  693.     elseif TYPE == "Ball" then
  694.         local MSH = IT("SpecialMesh",PART)
  695.         MSH.MeshType = "Sphere"
  696.     elseif TYPE == "Wedge" then
  697.         local MSH = IT("SpecialMesh",PART)
  698.         MSH.MeshType = "Wedge"
  699.     end
  700. end
  701.  
  702. function SpawnTrail(FROM,TO,BIG)
  703.     local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0))
  704.     MakeForm(TRAIL,"Cyl")
  705.     local DIST = (FROM - TO).Magnitude
  706.     if BIG == true then
  707.         TRAIL.Size = VT(0.5,DIST,0.5)
  708.     else
  709.         TRAIL.Size = VT(0.25,DIST,0.25)
  710.     end
  711.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  712.     coroutine.resume(coroutine.create(function()
  713.         for i = 1, 5 do
  714.             Swait()
  715.             TRAIL.Transparency = TRAIL.Transparency + 0.1
  716.         end
  717.         TRAIL:remove()
  718.     end))
  719. end
  720.  
  721. Debris = game:GetService("Debris")
  722.  
  723. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  724.     local DIRECTION = CF(StartPos,EndPos).lookVector
  725.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  726. end
  727.  
  728. function turnto(position)
  729.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  730. end
  731.  
  732. --//=================================\\
  733. --||         WEAPON CREATION
  734. --\\=================================//
  735.  
  736. local Particle = IT("ParticleEmitter",nil)
  737. Particle.Enabled = false
  738. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  739. Particle.LightEmission = 0.5
  740. Particle.Rate = 150
  741. Particle.ZOffset = 0.2
  742. Particle.Rotation = NumberRange.new(-180, 180)
  743. Particle.RotSpeed = NumberRange.new(-180, 180)
  744. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  745. Particle.Color = ColorSequence.new(C3(0,0,0),C3(0,0,0))
  746.  
  747. local HAT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Tophat", VT(1,1,1),false)
  748. local Hatweld = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT, CF(0,1,0), CF(0, 0, 0))
  749. CreateMesh("SpecialMesh", HAT, "FileMesh", "97094619", "97094572", VT(1,1,1), VT(0,0,0))
  750. for i = 1, 16 do
  751.     local FACE = CreatePart(3, Character, "Neon", 0, 0+(i-1)/16.2, "White", "FaceGradient", VT(1.01,0.65,1.01),false)
  752.     FACE.Color = C3(0,0,0)
  753.     Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  754.     CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  755. end
  756. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eyeball", VT(0.15,0.15,0.15),false)
  757. MakeForm(EYE,"Ball")
  758. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  759. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eyeball", VT(0.15,0.15,0.15),false)
  760. MakeForm(EYE2,"Ball")
  761. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  762.  
  763. local Particle = IT("ParticleEmitter",nil)
  764. Particle.Enabled = false
  765. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  766. Particle.LightEmission = 5
  767. Particle.Rate = 300
  768. Particle.ZOffset = 0.2
  769. Particle.Rotation = NumberRange.new(-180, 180)
  770. Particle.RotSpeed = NumberRange.new(-180, 180)
  771. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  772. Particle.Color = ColorSequence.new(C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1),C3(1,1,1))
  773.  
  774. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  775. function ParticleEmitter(Table)
  776.     local PRTCL = Particle:Clone()
  777.     local Speed = Table.Speed or 5
  778.     local Drag = Table.Drag or 0
  779.     local Size1 = Table.Size1 or 1
  780.     local Size2 = Table.Size2 or 5
  781.     local Lifetime1 = Table.Lifetime1 or 1
  782.     local Lifetime2 = Table.Lifetime2 or 1.5
  783.     local Parent = Table.Parent or Torso
  784.     local Emit = Table.Emit or 100
  785.     local Offset = Table.Offset or 360
  786.     local Acel = Table.Acel or VT(0,0,0)
  787.     local Enabled = Table.Enabled or false
  788.     PRTCL.Parent = Parent
  789.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  790.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  791.     PRTCL.Speed = NumberRange.new(Speed)
  792.     PRTCL.VelocitySpread = Offset
  793.     PRTCL.Drag = Drag
  794.     PRTCL.Acceleration = Acel
  795.     if Enabled == false then
  796.         PRTCL:Emit(Emit)
  797.         Debris:AddItem(PRTCL,Lifetime2)
  798.     else
  799.         PRTCL.Enabled = true
  800.     end
  801.     return PRTCL
  802. end
  803.  
  804. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false)
  805. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  806. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false)
  807. MakeForm(Part,"Wedge")
  808. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  809. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.3,0.2),false)
  810. MakeForm(Part,"Wedge")
  811. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  812. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.3,0.3),false)
  813. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  814. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.5,0.5),false)
  815. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  816. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.4,0.4,0.4),false)
  817. MakeForm(Part,"Cyl")
  818. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  819. for i = 1, 8 do
  820.     local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0,0.35,0.41),false)
  821.     CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  822. end
  823. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.38,0.41,0.38),false)
  824. MakeForm(Part,"Cyl")
  825. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  826. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.37,0.5,0.37),false)
  827. MakeForm(Part,"Ball")
  828. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  829. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.7,0.4),false)
  830. MakeForm(Part,"Wedge")
  831. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  832. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.4,0.2),false)
  833. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  834. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.35,0.35,0.35),false)
  835. MakeForm(Part,"Cyl")
  836. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  837. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.5),false)
  838. MakeForm(Part,"Cyl")
  839. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  840. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.45),false)
  841. MakeForm(Part,"Cyl")
  842. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  843. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
  844. MakeForm(Part,"Wedge")
  845. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  846. local LASTPART = Handle
  847. for i = 1, 10 do
  848.     if LASTPART == Handle then
  849.         local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.2,0),false)
  850.         LASTPART = Part
  851.         CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  852.     else
  853.         local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.05,0),false)
  854.         CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  855.         LASTPART = Part
  856.     end
  857. end
  858.  
  859. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.15,2,0.15),false)
  860. MakeForm(Barrel,"Cyl")
  861. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  862. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.25,1,0.25),false)
  863. MakeForm(Part,"Cyl")
  864. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  865. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0.1,0.2),false)
  866. MakeForm(Part,"Wedge")
  867. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  868. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.125,0,0.125),false)
  869. MakeForm(Hole,"Cyl")
  870. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  871. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0,0),false)
  872. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  873. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  874. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Brown", "Eye", VT(0,0,0),false)
  875. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  876. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  877. coroutine.resume(coroutine.create(function()
  878.     while wait() do
  879.         GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  880.         GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  881.     end
  882. end))
  883.  
  884. 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)})
  885. --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)})
  886.  
  887. for _, c in pairs(Weapon:GetDescendants()) do
  888.     if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  889.         c.Material = "Glass"
  890.         c.Color = C3(1,1,1)
  891.     elseif c.ClassName == "Part" and c.Name == "Eye" then
  892.         c.Color = C3(0,0,0)
  893.         c.Material = "Neon"
  894.     end
  895. end
  896.  
  897. Weapon.Parent = Character
  898. for _, c in pairs(Weapon:GetChildren()) do
  899.     if c.ClassName == "Part" then
  900.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  901.     end
  902. end
  903.  
  904. local SKILLTEXTCOLOR = C3(1,0,0)
  905. local SKILLFONT = "Antique"
  906. local SKILLTEXTSIZE = 7
  907.  
  908. Humanoid.Died:connect(function()
  909.     ATTACK = true
  910. end)
  911.  
  912. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  913. --[[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")
  914. 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")
  915. 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")
  916. 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")
  917. ]]
  918. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  919. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  920. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  921. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  922. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  923. ]]
  924. function printbye(Name)
  925.     local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  926.     warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  927. end
  928.  
  929. workspace.ChildAdded:connect(function(instance)
  930.     for BANISH = 1, #TOBANISH do
  931.         if TOBANISH[BANISH] ~= nil then
  932.             if instance.Name == TOBANISH[BANISH] then
  933.                 coroutine.resume(coroutine.create(function()
  934.                     printbye(instance.Name)
  935.                     instance:ClearAllChildren()
  936.                     Debris:AddItem(instance,0.0005)
  937.                 end))
  938.             end
  939.         end
  940.     end
  941. end)
  942.  
  943. --//=================================\\
  944. --||            DAMAGING
  945. --\\=================================//
  946.  
  947. function Banish(Foe)
  948.     if Foe then
  949.         coroutine.resume(coroutine.create(function()
  950.             --if game.Players:FindFirstChild(Foe.Name) then
  951.                 table.insert(TOBANISH,Foe.Name)
  952.                 printbye(Foe.Name)
  953.             --end
  954.             Foe.Archivable = true
  955.             local CLONE = Foe:Clone()
  956.             Foe:Destroy()
  957.             CLONE.Parent = Effects
  958.             CLONE:BreakJoints()
  959.             local MATERIALS = {"Glass","Neon"}
  960.             for _, c in pairs(CLONE:GetDescendants()) do
  961.                 if c:IsA("BasePart") then
  962.                     if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  963.                         CreateSound(340722848, c, 10, 1, false)
  964.                     end
  965.                     c.Anchored = true
  966.                     c.Transparency = c.Transparency + 0.2
  967.                     c.Material = MATERIALS[MRANDOM(1,2)]
  968.                     c.Color = C3(1,1,1)
  969.                     if c.ClassName == "MeshPart" then
  970.                         c.TextureID = ""
  971.                     end
  972.                     if c:FindFirstChildOfClass("SpecialMesh") then
  973.                         c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  974.                     end
  975.                     if c:FindFirstChildOfClass("Decal") then
  976.                         c:FindFirstChildOfClass("Decal"):remove()
  977.                     end
  978.                     c.Name = "Banished"
  979.                     c.CanCollide = false
  980.                 else
  981.                     c:remove()
  982.                 end
  983.             end
  984.             local A = false
  985.             for i = 1, 35 do
  986.                 if A == false then
  987.                     A = true
  988.                 elseif A == true then
  989.                     A = false
  990.                 end
  991.                 for _, c in pairs(CLONE:GetDescendants()) do
  992.                     if c:IsA("BasePart") then
  993.                         c.Anchored = true
  994.                         c.Material = MATERIALS[MRANDOM(1,2)]
  995.                         c.Transparency = c.Transparency + 0.8/35
  996.                         if A == false then
  997.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  998.                         elseif A == true then
  999.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)                       
  1000.                         end
  1001.                     end
  1002.                 end
  1003.                 Swait()
  1004.             end
  1005.             CLONE:remove()
  1006.         end))
  1007.     end
  1008. end
  1009.  
  1010. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1011.     local CHILDREN = workspace:GetDescendants()
  1012.     for index, CHILD in pairs(CHILDREN) do
  1013.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1014.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1015.             if HUM then
  1016.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1017.                 if TORSO then
  1018.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1019.                         if ISBANISH == true then
  1020.                             Banish(CHILD)
  1021.                         else
  1022.                             if ISBANISH == "Gravity" then
  1023.                                 HUM.PlatformStand = true
  1024.                                 if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1025.                                     local grav = Instance.new("BodyPosition",TORSO)
  1026.                                     grav.D = 15
  1027.                                     grav.P = 20000
  1028.                                     grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1029.                                     grav.position = TORSO.Position
  1030.                                     grav.Name = "V3BanishForce"..Player.Name
  1031.                                 else
  1032.                                     TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1033.                                     TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1034.                                 end
  1035.                             else
  1036.                                 HUM.PlatformStand = false
  1037.                             end
  1038.                         end
  1039.                     elseif ISBANISH == "Gravity" then
  1040.                         if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1041.                             TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1042.                             HUM.PlatformStand = false
  1043.                         end
  1044.                     end
  1045.                 end
  1046.             end
  1047.         end
  1048.     end
  1049. end
  1050.  
  1051. UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
  1052.  
  1053. --//=================================\\
  1054. --||    ATTACK FUNCTIONS AND STUFF
  1055. --\\=================================//
  1056.  
  1057. function Shot()
  1058.     ATTACK = true
  1059.     Rooted = false
  1060.     for i=0, 0.05, 0.1 / Animation_Speed do
  1061.         Swait()
  1062.         turnto(Mouse.Hit.p)
  1063.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1064.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1065.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1066.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1067.         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)
  1068.         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)
  1069.     end
  1070.     repeat
  1071.         for i=0, 0.05, 0.1 / Animation_Speed do
  1072.             Swait()
  1073.             turnto(Mouse.Hit.p)
  1074.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1075.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1076.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1077.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1078.             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)
  1079.             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)
  1080.         end
  1081.         local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1082.         SpawnTrail(Hole.Position,POS)
  1083.         if HIT ~= nil then
  1084.             if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1085.                 Banish(HIT.Parent)
  1086.             end
  1087.         end
  1088.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), 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(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1089.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1090.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1091.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1092.         for i=0, 0.05, 0.1 / Animation_Speed do
  1093.             Swait()
  1094.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1095.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1096.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1097.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1098.             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)
  1099.             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)
  1100.         end
  1101.     until KEYHOLD == false
  1102.     ATTACK = false
  1103.     Rooted = false
  1104. end
  1105.  
  1106. function AttackTemplate()
  1107.     ATTACK = true
  1108.     Rooted = false
  1109.     for i=0, 1, 0.1 / Animation_Speed do
  1110.         Swait()
  1111.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1112.         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.15 / Animation_Speed)
  1113.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1114.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1115.         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)
  1116.         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)
  1117.     end
  1118.     ATTACK = false
  1119.     Rooted = false
  1120. end
  1121.  
  1122. function chatfunc(text)
  1123.     local chat = coroutine.wrap(function()
  1124.     if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1125.         Character:FindFirstChild("TalkingBillBoard"):destroy()
  1126.     end
  1127.     local Bill = Instance.new("BillboardGui",Character)
  1128.     Bill.Size = UDim2.new(0,100,0,40)
  1129.     Bill.StudsOffset = Vector3.new(0,3,0)
  1130.     Bill.Adornee = Character.Head
  1131.     Bill.Name = "TalkingBillBoard"
  1132.     local Hehe = Instance.new("TextLabel",Bill)
  1133.     Hehe.BackgroundTransparency = 1
  1134.     Hehe.BorderSizePixel = 0
  1135.     Hehe.Text = ""
  1136.     Hehe.Font = "Bodoni"
  1137.     Hehe.TextSize = 40
  1138.     Hehe.TextStrokeTransparency = 0
  1139.     Hehe.Size = UDim2.new(1,0,0.5,0)
  1140.     coroutine.resume(coroutine.create(function()
  1141.         while Hehe ~= nil do
  1142.             swait()
  1143.             Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) 
  1144.             Hehe.Rotation = math.random(-5,5)
  1145.             Hehe.TextColor3 = Color3.new(196, 40, 28)
  1146.             Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1147.         end
  1148.     end))
  1149.     for i = 1,string.len(text),1 do
  1150.         swait()
  1151.         Hehe.Text = string.sub(text,1,i)
  1152.     end
  1153.     swait(90)--Re[math.random(1, 93)]
  1154.     for i = 0, 1, .025 do
  1155.         swait()
  1156.         Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1157.         Hehe.TextStrokeTransparency = i
  1158.         Hehe.TextTransparency = i
  1159.     end
  1160.     Bill:Destroy()
  1161.     end)
  1162. chat()
  1163. end
  1164.  
  1165. function onChatted(msg)
  1166.     chatfunc(msg)
  1167. end
  1168.  
  1169. Player.Chatted:connect(onChatted)
  1170.  
  1171. function Swait(NUMBER)
  1172.     if NUMBER == 0 or NUMBER == nil then
  1173.         ArtificialHB.Event:wait()
  1174.     else
  1175.         for i = 1, NUMBER do
  1176.             ArtificialHB.Event:wait()
  1177.         end
  1178.     end
  1179. end
  1180.  
  1181. function swait(num)
  1182.     if num == 0 or num == nil then
  1183.         ArtificialHB.Event:wait()
  1184.     else
  1185.         for i = 0, num do
  1186.             ArtificialHB.Event:wait()
  1187.         end
  1188.     end
  1189. end
  1190.  
  1191. local EYES = {}
  1192. function ApplyDamage9(Humanoid,Damage,TorsoPart)
  1193.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  1194.     defence.Name = ("HitBy"..Player.Name)
  1195.     game:GetService("Debris"):AddItem(defence, 0.001)
  1196.     Damage = Damage * DAMAGEMULTIPLIER
  1197.     if Humanoid.Health ~= 0 then
  1198.         local CritChance = MRANDOM(1,100)
  1199.         if Damage > Humanoid.Health then
  1200.             Damage = math.ceil(Humanoid.Health)
  1201.             if Damage == 0 then
  1202.                 Damage = 0.1
  1203.             end
  1204.         end
  1205.         Humanoid.Health = Humanoid.Health - Damage
  1206.     end
  1207. end
  1208.  
  1209. function ApplyAoE2(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
  1210.     local CHILDREN = workspace:GetDescendants()
  1211.     for index, CHILD in pairs(CHILDREN) do
  1212.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1213.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1214.             if HUM then
  1215.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1216.                 if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1217.                     if IZBANISH == true then
  1218.                         Banish(CHILD)
  1219.                     else
  1220.                         local DMG = MRANDOM(MINDMG, MAXDMG)
  1221.                         ApplyDamage9(HUM, DMG, TORSO)
  1222.                     end
  1223.                     if FLING > 0 then
  1224.                         for _, c in pairs(CHILD:GetChildren()) do
  1225.                             if c:IsA("BasePart") then
  1226.                                 local bv = Instance.new("BodyVelocity")
  1227.                                 bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1228.                                 bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1229.                                 bv.Parent = c
  1230.                                 Debris:AddItem(bv, 0.05)
  1231.                             end
  1232.                         end
  1233.                     end
  1234.                 end
  1235.             end
  1236.         end
  1237.     end
  1238. end
  1239.  
  1240. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  1241.     if FLOOR ~= nil then
  1242.         coroutine.resume(coroutine.create(function()
  1243.             local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  1244.             PART.CFrame = CF(POSITION)
  1245.             for i = 1, 45 do
  1246.                 local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1247.                 RingPiece.Material = FLOOR.Material
  1248.                 RingPiece.Color = FLOOR.Color
  1249.                 RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1250.                 Debris:AddItem(RingPiece, SWAIT)
  1251.             end
  1252.             PART:remove()
  1253.         end))
  1254.     end
  1255. end
  1256. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  1257.     if FLOOR ~= nil then
  1258.         for i = 1, AMOUNT do
  1259.             do
  1260.                 local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  1261.                 DEBREE.Material = FLOOR.Material
  1262.                 DEBREE.Color = FLOOR.Color
  1263.                 DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1264.                 DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  1265.                 coroutine.resume(coroutine.create(function()
  1266.                     Swait(15)
  1267.                     DEBREE.Parent = workspace
  1268.                     DEBREE.CanCollide = true
  1269.                     Debris:AddItem(DEBREE, SWAIT)
  1270.                 end))
  1271.             end
  1272.         end
  1273.     end
  1274. end
  1275.  
  1276. function Fire_At_Will()
  1277.     ATTACK = true
  1278.     Rooted = false
  1279.     local GYRO = IT("BodyGyro", RootPart)
  1280.     GYRO.D = 750
  1281.     GYRO.P = 2000
  1282.     GYRO.MaxTorque = VT(0, 40000, 0)
  1283.     for i = 0, 0.2, 0.1 / Animation_Speed do
  1284.         Swait()
  1285.         GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1286.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1287.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1288.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1289.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1290.         if ANIM == "Idle" then
  1291.             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)
  1292.             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)
  1293.         elseif ANIM == "Walk" then
  1294.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1295.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1296.         elseif ANIM == "Jump" or ANIM == "Fall" then
  1297.             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)
  1298.             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)
  1299.         end
  1300.     end
  1301.     local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "White", "Sphere", VT(1, 1, 1), false)
  1302.     MakeForm(BOMB, "Ball")
  1303.     BOMB.Mesh.Scale = VT(2, 2, 2)
  1304.     local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
  1305.     for i = 0, 1.5, 0.1 / Animation_Speed do
  1306.         Swait()
  1307.         if MRANDOM(1, 2) == 1 then
  1308.             for E = 1, #EYES do
  1309.                 if EYES[E] ~= nil then
  1310.                     local EY = EYES[E]
  1311.                     local LIGHTNING = Zap({
  1312.                         StartPosition = EY.Position,
  1313.                         TargetPosition = BOMB.Position,
  1314.                         Character = Character,
  1315.                         Color = "Really red",
  1316.                         Individual = false,
  1317.                         MaxRange = 7,
  1318.                         SegmentLength = 1,
  1319.                         Offset = 0.3,
  1320.                         SIZE = 0.05
  1321.                     })
  1322.                     Debris:AddItem(LIGHTNING.LightningModel, 0.05)
  1323.                 end
  1324.             end
  1325.         end
  1326.         BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
  1327.         GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1328.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1329.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1330.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1331.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1332.         if ANIM == "Idle" then
  1333.             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)
  1334.             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)
  1335.         elseif ANIM == "Walk" then
  1336.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1337.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1338.         elseif ANIM == "Jump" or ANIM == "Fall" then
  1339.             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)
  1340.             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)
  1341.         end
  1342.     end
  1343.     WACKYEFFECT({
  1344.         Time = 25,
  1345.         EffectType = "Ring",
  1346.         Size = VT(0, 0, 0),
  1347.         Size2 = VT(3.75, 3.75, 0),
  1348.         Transparency = 0.7,
  1349.         Transparency2 = 1,
  1350.         CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  1351.         MoveToPos = nil,
  1352.         RotationX = 0,
  1353.         RotationY = 0,
  1354.         RotationZ = 0,
  1355.         Material = "Neon",
  1356.         Color = BOMB.Color,
  1357.         SoundID = nil,
  1358.         SoundPitch = nil,
  1359.         SoundVolume = nil
  1360.     })
  1361.     WACKYEFFECT({
  1362.         Time = 50,
  1363.         EffectType = "Ring",
  1364.         Size = VT(0, 0, 0),
  1365.         Size2 = VT(75, 75, 0),
  1366.         Transparency = 0.7,
  1367.         Transparency2 = 1,
  1368.         CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  1369.         MoveToPos = nil,
  1370.         RotationX = 0,
  1371.         RotationY = 0,
  1372.         RotationZ = 0,
  1373.         Material = "Neon",
  1374.         Color = BOMB.Color,
  1375.         SoundID = nil,
  1376.         SoundPitch = nil,
  1377.         SoundVolume = nil
  1378.     })
  1379.     BOMB.Anchored = true
  1380.     WELD:remove()
  1381.     GYRO:remove()
  1382.     coroutine.resume(coroutine.create(function()
  1383.         BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
  1384.         for i = 1, 500 do
  1385.             Swait()
  1386.             BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
  1387.             local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
  1388.             if HITFLOOR ~= nil then
  1389.                 break
  1390.             end
  1391.         end
  1392.         ApplyAoE2(BOMB.Position, 75, 0, 0, 0, true)
  1393.         for i = 1, 3 do
  1394.             WACKYEFFECT({
  1395.                 Time = 35,
  1396.                 EffectType = "Swirl",
  1397.                 Size = VT(0, 0, 0),
  1398.                 Size2 = VT(250, 325, 250) + VT(50, 150, 50) * i,
  1399.                 Transparency = 0,
  1400.                 Transparency2 = 1,
  1401.                 CFrame = BOMB.CFrame,
  1402.                 MoveToPos = nil,
  1403.                 RotationX = 0,
  1404.                 RotationY = 5 * i,
  1405.                 RotationZ = 0,
  1406.                 Material = "Neon",
  1407.                 Color = BOMB.Color,
  1408.                 SoundID = nil,
  1409.                 SoundPitch = nil,
  1410.                 SoundVolume = nil
  1411.             })
  1412.         end
  1413.         for i = 1, 5 do
  1414.             WACKYEFFECT({
  1415.                 Time = 75,
  1416.                 EffectType = "Sphere",
  1417.                 Size = BOMB.Mesh.Scale,
  1418.                 Size2 = VT(100, 100, 100) * i,
  1419.                 Transparency = 0.5,
  1420.                 Transparency2 = 1,
  1421.                 CFrame = BOMB.CFrame,
  1422.                 MoveToPos = nil,
  1423.                 RotationX = 0,
  1424.                 RotationY = 0,
  1425.                 RotationZ = 0,
  1426.                 Material = "Neon",
  1427.                 Color = BOMB.Color,
  1428.                 SoundID = 1222405264,
  1429.                 SoundPitch = 1,
  1430.                 SoundVolume = 10
  1431.             })
  1432.         end
  1433.         local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character)
  1434.         if HITFLOOR then
  1435.             CreateDebreeRing(HITFLOOR, HITPOS, 15, VT(18, 18, 18), 5)
  1436.         end
  1437.         BOMB.Transparency = 1
  1438.         for i = 1, 35 do
  1439.             Swait()
  1440.             CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150)
  1441.         end
  1442.         BOMB:remove()
  1443.     end))
  1444.     ATTACK = false
  1445.     Rooted = false
  1446. end
  1447.  
  1448. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1449.     local defence = Instance.new("BoolValue", Humanoid.Parent)
  1450.     defence.Name = "HitBy" .. Player.Name
  1451.     game:GetService("Debris"):AddItem(defence, 0.001)
  1452.     Damage = Damage * DAMAGEMULTIPLIER
  1453.     if Humanoid.Health ~= 0 then
  1454.         local CritChance = MRANDOM(1, 100)
  1455.         if Damage > Humanoid.Health then
  1456.             Damage = math.ceil(Humanoid.Health)
  1457.             if Damage == 0 then
  1458.                 Damage = 0.1
  1459.             end
  1460.         end
  1461.         Humanoid.Health = Humanoid.Health - Damage
  1462.         StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1463.     end
  1464. end
  1465. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  1466.     local CHILDREN = workspace:GetDescendants()
  1467.     for index, CHILD in pairs(CHILDREN) do
  1468.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1469.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1470.             if HUM then
  1471.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1472.                 if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1473.                     if INSTAKILL == true then
  1474.                         CHILD:BreakJoints()
  1475.                     else
  1476.                         local DMG = MRANDOM(MINDMG, MAXDMG)
  1477.                         ApplyDamage(HUM, DMG, TORSO)
  1478.                     end
  1479.                     if FLING > 0 then
  1480.                         for _, c in pairs(CHILD:GetChildren()) do
  1481.                             if c:IsA("BasePart") then
  1482.                                 local bv = Instance.new("BodyVelocity")
  1483.                                 bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1484.                                 bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1485.                                 bv.Parent = c
  1486.                                 Debris:AddItem(bv, 0.05)
  1487.                             end
  1488.                         end
  1489.                     end
  1490.                 end
  1491.             end
  1492.         end
  1493.     end
  1494. end
  1495. function Extreme_Offset()
  1496.     local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 1, 0), Mouse.Hit.p - VT(0, 1, 0)).lookVector, 25, Character)
  1497.     if HITFLOOR then
  1498.         local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  1499.         CreateSound("1295446488", Torso, 5, 1)
  1500.         for i = 1, 5 do
  1501.             WACKYEFFECT({
  1502.                 Time = MRANDOM(15, 35),
  1503.                 EffectType = "Round Slash",
  1504.                 Size = VT(0, 0, 0),
  1505.                 Size2 = VT(0.3, 0, 0.3),
  1506.                 Transparency = 0.5,
  1507.                 Transparency2 = 1,
  1508.                 CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  1509.                 MoveToPos = nil,
  1510.                 RotationX = MRANDOM(-50, 50) / 10,
  1511.                 RotationY = MRANDOM(-50, 50) / 10,
  1512.                 RotationZ = MRANDOM(-50, 50) / 10,
  1513.                 Material = "Neon",
  1514.                 Color = C3(1, 1, 1),
  1515.                 SoundID = nil,
  1516.                 SoundPitch = nil,
  1517.                 SoundVolume = nil
  1518.             })
  1519.         end
  1520.         ATTACK = true
  1521.         Rooted = true
  1522.         UNANCHOR = false
  1523.         RootPart.Anchored = true
  1524.         RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  1525.         for i = 1, 5 do
  1526.             WACKYEFFECT({
  1527.                 Time = MRANDOM(15, 35),
  1528.                 EffectType = "Round Slash",
  1529.                 Size = VT(0, 0, 0),
  1530.                 Size2 = VT(0.3, 0, 0.3),
  1531.                 Transparency = 0.5,
  1532.                 Transparency2 = 1,
  1533.                 CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  1534.                 MoveToPos = nil,
  1535.                 RotationX = MRANDOM(-50, 50) / 10,
  1536.                 RotationY = MRANDOM(-50, 50) / 10,
  1537.                 RotationZ = MRANDOM(-50, 50) / 10,
  1538.                 Material = "Neon",
  1539.                 Color = C3(1, 1, 1),
  1540.                 SoundID = nil,
  1541.                 SoundPitch = nil,
  1542.                 SoundVolume = nil
  1543.             })
  1544.         end
  1545.         for i = 0, 0.2, 0.1 / Animation_Speed do
  1546.             Swait()
  1547.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  1548.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1549.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1550.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1551.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1552.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
  1553.         end
  1554.         for i = 0, 1, 0.1 / Animation_Speed do
  1555.             Swait()
  1556.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  1557.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  1558.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  1559.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  1560.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  1561.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  1562.         end
  1563.         for i = 1, 10 do
  1564.             Swait()
  1565.             RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  1566.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  1567.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  1568.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  1569.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  1570.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  1571.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  1572.         end
  1573.         for i = 0, 0.2, 0.1 / Animation_Speed do
  1574.             Swait()
  1575.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  1576.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  1577.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1578.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1579.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1580.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1581.         end
  1582.         local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  1583.         if HITFLOOR then
  1584.             if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1585.                 local CHILDREN = HITFLOOR.Parent:GetDescendants()
  1586.                 for index, CHILD in pairs(CHILDREN) do
  1587.                     if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  1588.                         for i = 1, 5 do
  1589.                             CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  1590.                             CHILD:remove()
  1591.                         end
  1592.                     end
  1593.                 end
  1594.                 local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1595.                 SOUNDPART.CFrame = CF(HITPOS)
  1596.                 Debris:AddItem(SOUNDPART, 5)
  1597.                 CreateSound("130972023", SOUNDPART, 6, 3)
  1598.                 CreateSound("182765513", SOUNDPART, 6, 1)
  1599.                 WACKYEFFECT({
  1600.                     EffectType = "Ring",
  1601.                     Size = VT(0, 0, 0),
  1602.                     Size2 = VT(1, 1, 0),
  1603.                     Transparency = 0.7,
  1604.                     Transparency2 = 1,
  1605.                     CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1606.                     MoveToPos = nil,
  1607.                     RotationX = 0,
  1608.                     RotationY = 0,
  1609.                     RotationZ = 0,
  1610.                     Material = "Neon",
  1611.                     Color = C3(1, 1, 1),
  1612.                     SoundID = nil,
  1613.                     SoundPitch = nil,
  1614.                     SoundVolume = nil
  1615.                 })
  1616.             elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1617.                 local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  1618.                 for index, CHILD in pairs(CHILDREN) do
  1619.                     if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  1620.                         for i = 1, 5 do
  1621.                             CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  1622.                             CHILD:remove()
  1623.                         end
  1624.                     end
  1625.                 end
  1626.                 local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1627.                 SOUNDPART.CFrame = CF(HITPOS)
  1628.                 Debris:AddItem(SOUNDPART, 5)
  1629.                 CreateSound("130972023", SOUNDPART, 6, 3)
  1630.                 CreateSound("182765513", SOUNDPART, 6, 1)
  1631.                 WACKYEFFECT({
  1632.                     EffectType = "Ring",
  1633.                     Size = VT(0, 0, 0),
  1634.                     Size2 = VT(1, 1, 0),
  1635.                     Transparency = 0.7,
  1636.                     Transparency2 = 1,
  1637.                     CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1638.                     MoveToPos = nil,
  1639.                     RotationX = 0,
  1640.                     RotationY = 0,
  1641.                     RotationZ = 0,
  1642.                     Material = "Neon",
  1643.                     Color = C3(1, 1, 1),
  1644.                     SoundID = nil,
  1645.                     SoundPitch = nil,
  1646.                     SoundVolume = nil
  1647.                 })
  1648.             elseif HITFLOOR.Anchored == false then
  1649.                 if HITFLOOR.Parent ~= workspace then
  1650.                     local CHILDREN = HITFLOOR.Parent:GetDescendants()
  1651.                     for index, CHILD in pairs(CHILDREN) do
  1652.                         if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  1653.                             for i = 1, 5 do
  1654.                                 CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  1655.                             end
  1656.                             CHILD:remove()
  1657.                         end
  1658.                     end
  1659.                 else
  1660.                     for i = 1, 5 do
  1661.                         CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  1662.                     end
  1663.                     HITFLOOR:remove()
  1664.                 end
  1665.                 local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1666.                 SOUNDPART.CFrame = CF(HITPOS)
  1667.                 Debris:AddItem(SOUNDPART, 5)
  1668.                 CreateSound("130972023", SOUNDPART, 10, 3)
  1669.                 CreateSound("178452217", SOUNDPART, 6, 1)
  1670.                 WACKYEFFECT({
  1671.                     EffectType = "Ring",
  1672.                     Size = VT(0, 0, 0),
  1673.                     Size2 = VT(1, 1, 0),
  1674.                     Transparency = 0.7,
  1675.                     Transparency2 = 1,
  1676.                     CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1677.                     MoveToPos = nil,
  1678.                     RotationX = 0,
  1679.                     RotationY = 0,
  1680.                     RotationZ = 0,
  1681.                     Material = "Neon",
  1682.                     Color = C3(1, 1, 1),
  1683.                     SoundID = nil,
  1684.                     SoundPitch = nil,
  1685.                     SoundVolume = nil
  1686.                 })
  1687.             else
  1688.                 local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1689.                 SOUNDPART.CFrame = CF(HITPOS)
  1690.                 Debris:AddItem(SOUNDPART, 5)
  1691.                 CreateSound("130972023", SOUNDPART, 10, 1)
  1692.                 CreateSound("130972023", SOUNDPART, 6, 0.7)
  1693.                 CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  1694.                 CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  1695.                 ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  1696.                 ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  1697.                 for i = 1, 5 do
  1698.                     CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  1699.                 end
  1700.                 for i = 1, 5 do
  1701.                     CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  1702.                 end
  1703.             end
  1704.         end
  1705.         for i = 0, 1.2, 0.1 / Animation_Speed do
  1706.             Swait()
  1707.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  1708.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  1709.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1710.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1711.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1712.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1713.         end
  1714.         ATTACK = false
  1715.         Rooted = false
  1716.         UNANCHOR = true
  1717.         RootPart.Anchored = false
  1718.     end
  1719. end
  1720.  
  1721. function idk()
  1722.         ATTACK = true
  1723.         Rooted = true
  1724.         coroutine.resume(coroutine.create(function()
  1725.             local PITS = {}
  1726.             local FRAME = RootPart.CFrame
  1727.             for i = 2, 120 do
  1728.                 Swait()
  1729.                 local CFRAME = FRAME*CF(MRANDOM(-10,10)/10,0,5-(i)).p
  1730.                 local HITFLOOR,HITPOS,NORMAL = Raycast(CFRAME, (CF(CFRAME, CFRAME + VT(0, -1, 0))).lookVector, 25, Character)
  1731.                 if HITFLOOR ~= nil then
  1732.                     if MRANDOM(1, 2) == 1 then
  1733.                         local ICICLE = IT("CornerWedgePart",Effects)
  1734.                         ICICLE.Locked = true
  1735.                         ICICLE.CanCollide = false
  1736.                         ICICLE.Anchored = true
  1737.                         ICICLE.BrickColor = BRICKC"Really black"
  1738.                         ICICLE.Material = "Marble"
  1739.                         ICICLE.Size = VT(i/10,i/2,i/10)
  1740.                         ICICLE.CFrame = CF(HITPOS)*CF(MRANDOM(-i/10,i/10),0,MRANDOM(-i/10,i/10))*ANGLES(RAD(MRANDOM(-25,25)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-25,25)))
  1741.                         table.insert(PITS,ICICLE)
  1742.                         ICICLE.Transparency = 1
  1743.                         PITS.Transparency = 1
  1744.                         --CreateSound("588693156", ICICLE, 3, MRANDOM(8,12)/10, false)
  1745.                         ApplyAoE(ICICLE.Position,ICICLE.Size.X,100,100,20,true)
  1746.                         WACKYEFFECT({EffectType = "Sphere", Size = VT(ICICLE.Size.X*3,2,ICICLE.Size.X*3), Size2 = VT(0,6,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Glass", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1747.                     end
  1748.                 else
  1749.                     break
  1750.                 end
  1751.             end
  1752.             wait(3)
  1753.             coroutine.resume(coroutine.create(function()
  1754.                 for i = 1, 10 do
  1755.                     Swait()
  1756.                     for e=1,#PITS do
  1757.                         if PITS[e]~=nil then
  1758.                             local E = PITS[e]
  1759.                             E.Transparency = E.Transparency + 0.1
  1760.                         end
  1761.                     end
  1762.                 end
  1763.                 for e=1,#PITS do
  1764.                     if PITS[e]~=nil then
  1765.                         local E = PITS[e]
  1766.                         E:remove()
  1767.                     end
  1768.                 end
  1769.             end))
  1770.         end))
  1771.         ATTACK = false
  1772.         Rooted = false
  1773. end
  1774.  
  1775. function Taunt()
  1776.     ATTACK = true
  1777.     Rooted = true
  1778.     CreateSound("907330011", Head, 10, 1.1)
  1779.     for i=0, 1, 0.1 / Animation_Speed do
  1780.         Swait()
  1781.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1782.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  1783.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1784.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1785.         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)), 2 / Animation_Speed)
  1786.         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)), 2 / Animation_Speed)
  1787.     end
  1788.     for i=0, 2, 0.1 / Animation_Speed do
  1789.         Swait()
  1790.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1791.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  1792.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1793.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1794.         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)), 2 / Animation_Speed)
  1795.         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)), 2 / Animation_Speed)
  1796.     end
  1797.     ATTACK = false
  1798.     Rooted = false
  1799. end
  1800.  
  1801. function TrustIssues()
  1802.     ATTACK = true
  1803.     Rooted = false
  1804.     CreateSound(649634100,Head,10,0.5,false)
  1805.     for i=1, 80 do
  1806.         Swait()
  1807.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15* COS(i / 5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1808.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
  1809.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(-15), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1810.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1811.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1812.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1813.     end
  1814.     ATTACK = false
  1815.     Rooted = false
  1816. end
  1817.  
  1818. function Supernova()
  1819.     local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1820.     if HITFLOOR ~= nil then
  1821.         local HITBODIES = {}
  1822.         ATTACK = true
  1823.         Rooted = true
  1824.         local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0))
  1825.         MakeForm(ABSOLUTE,"Ball")
  1826.         CreateSound("429459101", ABSOLUTE, 10, 1)
  1827.         for i=0, 4, 0.1 / Animation_Speed do
  1828.             Swait()
  1829.             ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  1830.             ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  1831.             ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  1832.             local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Star", VT(1,1,1))
  1833.             MakeForm(CHARGE,"Ball")
  1834.             CHARGE.Color = C3(255,0,0)
  1835.             CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  1836.             FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  1837.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1838.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1839.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1840.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1841.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1842.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1843.         end
  1844.         CreateSound("907330103", Head, 10, 1.2)
  1845.         for i = 1, 75 do
  1846.             Swait()
  1847.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1848.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1849.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1850.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1851.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1852.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1853.         end
  1854.         coroutine.resume(coroutine.create(function()
  1855.             for i = 1, 13 do
  1856.                 for e = 1, 8 do
  1857.                     Swait()
  1858.                     MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(255,0,0),VT(0,0,0))
  1859.                     CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Reakky red".Color,VT(i,0.3,i)*2)
  1860.                 end
  1861.                 for i = 1, 5 do
  1862.                     Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3)
  1863.                     Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(255,0,0),VT(0,0,0))
  1864.                 end
  1865.                 CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
  1866.                 CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(255,0,0),VT(i,i*2,i))
  1867.                 CreateSound("168586621", ABSOLUTE, 4, 0.8)
  1868.                 CreateSound("201858144", ABSOLUTE, 10, 0.8)
  1869.                 killnearest(ABSOLUTE.Position,i*18,i)
  1870.                 ABSOLUTE.Size = ABSOLUTE.Size*0.9
  1871.                 MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
  1872.                 MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(255,0,0),VT(i,i,i))
  1873.             end
  1874.             ABSOLUTE.Transparency = 1
  1875.             Debris:AddItem(ABSOLUTE,10)
  1876.         end))
  1877.         ATTACK = false
  1878.         Rooted = false
  1879.     end
  1880. end
  1881.  
  1882.  
  1883. local ENERGYSOUND = 1417051162
  1884. local BEAMSOUND = 1417056781
  1885. local EXPLOSIONSOUND = 1417056081
  1886. local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(1.01,0.3,1.01),false)
  1887.  
  1888. function Charge(TIME,GYRO)
  1889.     local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
  1890.     local G = nil
  1891.     if GYRO == true then
  1892.         G = IT("BodyGyro",RootPart)
  1893.         G.D = 250
  1894.         G.P = 200000
  1895.         G.MaxTorque = VT(math.huge,math.huge,math.huge)
  1896.     end
  1897.     for i=0, TIME, 0.1 / Animation_Speed do
  1898.         Swait()
  1899.         if G then
  1900.             G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1901.         end
  1902.         WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1903.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1904.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1905.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1906.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1907.         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)
  1908.         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)
  1909.     end
  1910.     SND:remove()
  1911.     if G then
  1912.         return G
  1913.     end
  1914. end
  1915.  
  1916. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  1917.     if DoesCourontine == false then
  1918.         local Direction = CF(Part.Position,ToLocation)
  1919.         local Distance = (Part.Position - ToLocation).magnitude
  1920.         for i = 1, AmountOfTime do
  1921.             Swait()
  1922.             Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1923.             Direction = Part.CFrame
  1924.         end
  1925.         Part:remove()
  1926.     elseif DoesCourontine == true then
  1927.         coroutine.resume(coroutine.create(function()
  1928.             local Direction = CF(Part.Position,ToLocation)
  1929.             local Distance = (Part.Position - ToLocation).magnitude
  1930.             for i = 1, AmountOfTime do
  1931.                 Swait()
  1932.                 Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1933.                 Direction = Part.CFrame
  1934.             end
  1935.             Part:remove()
  1936.         end))
  1937.     end
  1938. end
  1939.  
  1940. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1941.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1942.     wave.Color = COLOR
  1943.     local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1944.     wave.CFrame = CFRAME
  1945.     coroutine.resume(coroutine.create(function(PART)
  1946.         for i = 1, WAIT do
  1947.             Swait()
  1948.             mesh.Scale = mesh.Scale + GROW
  1949.             wave.Transparency = wave.Transparency + (1/WAIT)
  1950.             if wave.Transparency > 0.99 then
  1951.                 wave:remove()
  1952.             end
  1953.         end
  1954.     end))
  1955. end
  1956.  
  1957. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1958.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1959.     wave.Color = COLOR
  1960.     local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1961.     wave.CFrame = CFRAME
  1962.     coroutine.resume(coroutine.create(function(PART)
  1963.         for i = 1, WAIT do
  1964.             Swait()
  1965.             mesh.Scale = mesh.Scale + GROW
  1966.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1967.             if DOESROT == true then
  1968.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1969.             end
  1970.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  1971.             if wave.Transparency > 0.99 then
  1972.                 wave:remove()
  1973.             end
  1974.         end
  1975.     end))
  1976. end
  1977.  
  1978. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  1979.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1980.     local mesh = nil
  1981.     if KIND == "Base" then
  1982.         mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1983.     elseif KIND == "Thin" then
  1984.         mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1985.     elseif KIND == "Round" then
  1986.         mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1987.     end
  1988.     wave.CFrame = CFRAME
  1989.     coroutine.resume(coroutine.create(function(PART)
  1990.         for i = 1, WAIT do
  1991.             Swait()
  1992.             mesh.Scale = mesh.Scale + GROW/10
  1993.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  1994.             if wave.Transparency > 0.99 then
  1995.                 wave:remove()
  1996.             end
  1997.         end
  1998.     end))
  1999. end
  2000.  
  2001. function killnearest(position,range,maxstrength)
  2002.     for i,v in ipairs(workspace:GetChildren()) do
  2003.     local body = v:GetChildren()
  2004.         for part = 1, #body do
  2005.             if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2006.                 if(body[part].Position - position).Magnitude < range then
  2007.                     if v.ClassName == "Model" then
  2008.                         v:BreakJoints()
  2009.                     end
  2010.                     --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  2011.                     local bv = Instance.new("BodyVelocity")
  2012.                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2013.                     bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  2014.                     bv.Parent = body[part]
  2015.                     Debris:AddItem(bv,0.2)
  2016.                 end
  2017.             end
  2018.         end
  2019.         if v.ClassName == "Part" then
  2020.             if v.Anchored == false and (v.Position - position).Magnitude < range then
  2021.                 --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  2022.                 v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  2023.             end
  2024.         end
  2025.     end
  2026. end
  2027.  
  2028. --//=================================\\
  2029. --||      ASSIGN THINGS TO KEYS
  2030. --\\=================================//
  2031.  
  2032. function MouseDown(Mouse)
  2033.     if ATTACK == false then
  2034.     end
  2035. end
  2036.  
  2037. function MouseUp(Mouse)
  2038. HOLD = false
  2039. end
  2040.  
  2041. function KeyDown(Key)
  2042.     KEYHOLD = true
  2043.     if Key == "z" and ATTACK == false then
  2044.         Shot()
  2045.     end
  2046.  
  2047.     if Key == "x" and ATTACK == false then
  2048.             Fire_At_Will()
  2049.         end
  2050.  
  2051.     if Key == "b" and ATTACK == false then
  2052.                        chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  2053.                    TOBANISH = {}
  2054.     end
  2055.  
  2056.     if Key == "c" and ATTACK == false then
  2057.         Extreme_Offset()
  2058.     end
  2059.  
  2060.     if Key == "v" and ATTACK == false then
  2061.         idk()
  2062.     end
  2063.  
  2064.     if Key == "t" and ATTACK == false then
  2065.         Taunt()
  2066.     end
  2067.  
  2068.     if Key == "y" and ATTACK == false then
  2069.         TrustIssues()
  2070.     end
  2071.     if Key == "n" and ATTACK == false then
  2072.         Supernova()
  2073.     end
  2074. end
  2075.  
  2076. function KeyUp(Key)
  2077.     KEYHOLD = false
  2078. end
  2079.  
  2080.     Mouse.Button1Down:connect(function(NEWKEY)
  2081.         MouseDown(NEWKEY)
  2082.     end)
  2083.     Mouse.Button1Up:connect(function(NEWKEY)
  2084.         MouseUp(NEWKEY)
  2085.     end)
  2086.     Mouse.KeyDown:connect(function(NEWKEY)
  2087.         KeyDown(NEWKEY)
  2088.     end)
  2089.     Mouse.KeyUp:connect(function(NEWKEY)
  2090.         KeyUp(NEWKEY)
  2091.     end)
  2092.  
  2093. --//=================================\\
  2094. --\\=================================//
  2095.  
  2096.  
  2097. function unanchor()
  2098.     if UNANCHOR == true then
  2099.         g = Character:GetChildren()
  2100.         for i = 1, #g do
  2101.             if g[i].ClassName == "Part" then
  2102.                 g[i].Anchored = false
  2103.             end
  2104.         end
  2105.     end
  2106. end
  2107.  
  2108.  
  2109. --//=================================\\
  2110. --||    WRAP THE WHOLE SCRIPT UP
  2111. --\\=================================//
  2112.  
  2113. Humanoid.Changed:connect(function(Jump)
  2114.     if Jump == "Jump" and (Disable_Jump == true) then
  2115.         Humanoid.Jump = false
  2116.     end
  2117. end)
  2118.  
  2119. local CONNECT = nil
  2120.  
  2121. while true do
  2122.     Swait()
  2123.     ANIMATE.Parent = nil
  2124.     if Character:FindFirstChildOfClass("Humanoid") == nil then
  2125.         Humanoid = IT("Humanoid",Character)
  2126.     end
  2127.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2128.         v:Stop();
  2129.     end
  2130.     SINE = SINE + CHANGE
  2131.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2132.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2133.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2134.     local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2135.     if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2136.         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)
  2137.         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)
  2138.         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)
  2139.         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)
  2140.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2141.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2142.         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)
  2143.         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)
  2144.         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)
  2145.     end
  2146.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2147.         ANIM = "Jump"
  2148.         if ATTACK == false then
  2149.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2150.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2151.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2152.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2153.             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)
  2154.             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)
  2155.         end
  2156.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2157.         ANIM = "Fall"
  2158.         if ATTACK == false then
  2159.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2160.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2161.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2162.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2163.             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)
  2164.             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)
  2165.         end
  2166.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2167.         ANIM = "Idle"
  2168.         if ATTACK == false then
  2169.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  2170.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2171.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2172.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2173.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2174.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2175.         end
  2176.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2177.         ANIM = "Walk"
  2178.         if ATTACK == false then
  2179.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2180.             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)
  2181.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2182.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2183.             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)
  2184.             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)
  2185.         end
  2186.     end
  2187.     unanchor()
  2188.     Humanoid.MaxHealth = "inf"
  2189.     Humanoid.Health = "inf"
  2190.     if Rooted == false then
  2191.         Disable_Jump = false
  2192.         Humanoid.WalkSpeed = Speed
  2193.     elseif Rooted == true then
  2194.         Disable_Jump = true
  2195.         Humanoid.WalkSpeed = 0
  2196.     end
  2197.     sick.Playing = true
  2198.     sick.SoundId = "rbxassetid://292480358"
  2199.     sick.Looped = true
  2200.     sick.Pitch = 1
  2201.     sick.Volume = 3
  2202.     if sick.Parent ~= Torso then
  2203.         sick = IT("Sound", Torso)
  2204.     end
  2205. end
  2206.  
  2207. --//=================================\\
  2208. --\\=================================//
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214. --//====================================================\\--
  2215. --||                     END OF SCRIPT
  2216. --\\====================================================//--4
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