SHARE
TWEET

Test

Basykung7845 Feb 23rd, 2019 136 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4.     print("FE Compatibility code by Mokiros | Translated to FE by Basykung7845")
  5.     print("Discord")
  6.     print("Dark side#3604")
  7.     script.Parent = Player.Character
  8.  
  9.     --RemoteEvent for communicating
  10.     local Event = Instance.new("RemoteEvent")
  11.     Event.Name = "UserInput_Event"
  12.  
  13.     --Fake event to make stuff like Mouse.KeyDown work
  14.     local function fakeEvent()
  15.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  16.         t.connect = t.Connect
  17.         return t
  18.     end
  19.  
  20.     --Creating fake input objects with fake variables
  21.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25.     end}
  26.     --Merged 2 functions into one by checking amount of arguments
  27.     CAS.UnbindAction = CAS.BindAction
  28.  
  29.     --This function will trigger the events that have been :Connect()'ed
  30.     local function te(self,ev,...)
  31.         local t = m[ev]
  32.         if t and t._fakeEvent and t.Function then
  33.             t.Function(...)
  34.         end
  35.     end
  36.     m.TrigEvent = te
  37.     UIS.TrigEvent = te
  38.  
  39.     Event.OnServerEvent:Connect(function(plr,io)
  40.         if plr~=Player then return end
  41.         if io.isMouse then
  42.             m.Target = io.Target
  43.             m.Hit = io.Hit
  44.         else
  45.             local b = io.UserInputState == Enum.UserInputState.Begin
  46.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  47.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  48.             end
  49.             for _,t in pairs(CAS.Actions) do
  50.                 for _,k in pairs(t.Keys) do
  51.                     if k==io.KeyCode then
  52.                         t.Function(t.Name,io.UserInputState,io)
  53.                     end
  54.                 end
  55.             end
  56.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  57.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  58.         end
  59.     end)
  60.     Event.Parent = NLS([==[
  61.     local Player = game:GetService("Players").LocalPlayer
  62.     local Event = script:WaitForChild("UserInput_Event")
  63.  
  64.     local UIS = game:GetService("UserInputService")
  65.     local input = function(io,a)
  66.         if a then return end
  67.         --Since InputObject is a client-side instance, we create and pass table instead
  68.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  69.     end
  70.     UIS.InputBegan:Connect(input)
  71.     UIS.InputEnded:Connect(input)
  72.  
  73.     local Mouse = Player:GetMouse()
  74.     local h,t
  75.     --Give the server mouse data 30 times every second, but only if the values changed
  76.     --If player is not moving their mouse, client won't fire events
  77.     while wait(1/30) do
  78.         if h~=Mouse.Hit or t~=Mouse.Target then
  79.             h,t=Mouse.Hit,Mouse.Target
  80.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  81.         end
  82.     end]==],Player.Character)
  83.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  84. end
  85.  
  86. wait(0.2)
  87.  
  88. Player = owner
  89. PlayerGui = Player.PlayerGui
  90. Cam = workspace.CurrentCamera
  91. Backpack = Player.Backpack
  92. Character = Player.Character
  93. Humanoid = Character.Humanoid
  94. RootPart = Character["HumanoidRootPart"]
  95. Torso = Character["Torso"]
  96. Head = Character["Head"]
  97. RightArm = Character["Right Arm"]
  98. LeftArm = Character["Left Arm"]
  99. RightLeg = Character["Right Leg"]
  100. LeftLeg = Character["Left Leg"]
  101. RootJoint = RootPart["RootJoint"]
  102. Neck = Torso["Neck"]
  103. RightShoulder = Torso["Right Shoulder"]
  104. LeftShoulder = Torso["Left Shoulder"]
  105. RightHip = Torso["Right Hip"]
  106. LeftHip = Torso["Left Hip"]
  107. local sick = Instance.new("Sound",Torso)
  108. sick.SoundId = "rbxassetid://1138145518"
  109. sick.Looped = true
  110. sick.Pitch = 1
  111. sick.Volume = 2
  112. sick.TimePosition = 110
  113. Character.Archivable = true
  114. Humanoid.DisplayDistanceType = "None"
  115.  
  116. local naeeym2 = Instance.new("BillboardGui",Character)
  117. naeeym2.AlwaysOnTop = true
  118. naeeym2.Size = UDim2.new(5,35,2,35)
  119. naeeym2.StudsOffset = Vector3.new(0,3,0)
  120. naeeym2.Adornee = Character.Head
  121. naeeym2.Name = "Name"
  122. local tecks2 = Instance.new("TextLabel",naeeym2)
  123. tecks2.BackgroundTransparency = 1
  124. tecks2.TextScaled = true
  125. tecks2.BorderSizePixel = 0
  126. tecks2.Text = "CREAM"
  127. tecks2.Font = "Code"
  128. tecks2.TextSize = 30
  129. tecks2.TextTransparency = 1
  130. tecks2.TextStrokeTransparency = 1
  131. tecks2.TextColor3 = Color3.new(1/0,0/1,1/0)
  132. tecks2.Size = UDim2.new(1,0,0.5,0)
  133. tecks2.Parent = naeeym2
  134.  
  135. IT = Instance.new
  136. CF = CFrame.new
  137. VT = Vector3.new
  138. RAD = math.rad
  139. C3 = Color3.new
  140. UD2 = UDim2.new
  141. BRICKC = BrickColor.new
  142. ANGLES = CFrame.Angles
  143. EULER = CFrame.fromEulerAnglesXYZ
  144. COS = math.cos
  145. ACOS = math.acos
  146. SIN = math.sin
  147. ASIN = math.asin
  148. ABS = math.abs
  149. MRANDOM = math.random
  150. FLOOR = math.floor
  151.  
  152. --//=================================\\
  153. --||          USEFUL VALUES
  154. --\\=================================//
  155.  
  156. Animation_Speed = 3
  157. local FORCERESET = false
  158. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  159. local Speed = 16
  160. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  161. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  162. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  163. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  164. local DAMAGEMULTIPLIER = 1
  165. local ANIM = "Idle"
  166. local ATTACK = false
  167. local EQUIPPED = false
  168. local HOLD = false
  169. local COMBO = 1
  170. local Rooted = false
  171. local INTRO = false
  172. local Gun = IT("Model")
  173. Gun.Name = "Gun"
  174. local SINE = 0
  175. local KEYHOLD = false
  176. local CHANGE = 2 / Animation_Speed
  177. local WALKINGANIM = false
  178. local VALUE1 = false
  179. local VALUE2 = false
  180. local ROBLOXIDLEANIMATION = IT("Animation")
  181. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  182. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  183. --ROBLOXIDLEANIMATION.Parent = Humanoid
  184. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  185. WEAPONGUI.Name = "BanishV3Gui"
  186. local Weapon = IT("Model")
  187. Weapon.Name = "Adds"
  188. local Effects = IT("Folder", Weapon)
  189. Effects.Name = "Effects"
  190. local ANIMATOR = Humanoid.Animator
  191. local ANIMATE = Character:FindFirstChild("Animate")
  192. local UNANCHOR = true
  193. local TOBANISH = {}
  194. script.Parent = PlayerGui
  195.  
  196. --//=================================\\
  197. --\\=================================//
  198.  
  199.  
  200. --//=================================\\
  201. --||          CUSTOMIZATION
  202. --\\=================================//
  203.  
  204. Class_Name = "Sharpshooter"
  205. Weapon_Name = "Add-ons"
  206.  
  207.     Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
  208.     Custom_Color_2 = BRICKC("Maroon"); --2nd color for the weapon.
  209.  
  210.     Custom_Color_3 = BRICKC("Really red"); --Color for the abilities.
  211.     Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  212.     Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  213.     Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  214.     Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  215.  
  216.     Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  217.     Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  218.     Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  219.     Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  220.     Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  221.  
  222.  
  223. Player_Size = 1 --Size of the player.
  224. Animation_Speed = 3
  225. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  226.  
  227. local Speed = 16
  228. local Effects2 = {}
  229.  
  230. --//=================================\\
  231. --||      END OF CUSTOMIZATION
  232. --\\=================================//
  233.  
  234.  
  235. --//=================================\\
  236. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  237. --\\=================================//
  238.  
  239. ArtificialHB = Instance.new("BindableEvent", script)
  240. ArtificialHB.Name = "ArtificialHB"
  241.  
  242. script:WaitForChild("ArtificialHB")
  243.  
  244. frame = Frame_Speed
  245. tf = 0
  246. allowframeloss = false
  247. tossremainder = false
  248. lastframe = tick()
  249. script.ArtificialHB:Fire()
  250.  
  251. game:GetService("RunService").Heartbeat:connect(function(s, p)
  252.     tf = tf + s
  253.     if tf >= frame then
  254.         if allowframeloss then
  255.             script.ArtificialHB:Fire()
  256.             lastframe = tick()
  257.         else
  258.             for i = 1, math.floor(tf / frame) do
  259.                 script.ArtificialHB:Fire()
  260.             end
  261.         lastframe = tick()
  262.         end
  263.         if tossremainder then
  264.             tf = 0
  265.         else
  266.             tf = tf - frame * math.floor(tf / frame)
  267.         end
  268.     end
  269. end)
  270.  
  271. --//=================================\\
  272. --\\=================================//
  273.  
  274. --//=================================\\
  275. --||          SOME FUNCTIONS
  276. --\\=================================//
  277.  
  278. function Clerp(a, b, t)
  279.     local qa = {QuaternionFromCFrame(a)}
  280.     local qb = {QuaternionFromCFrame(b)}
  281.     local ax, ay, az = a.x, a.y, a.z
  282.     local bx, by, bz = b.x, b.y, b.z
  283.     local _t = 1 - t
  284.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  285. end
  286.  
  287. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  288.     local frame = IT("Frame")
  289.     frame.BackgroundTransparency = TRANSPARENCY
  290.     frame.BorderSizePixel = BORDERSIZEPIXEL
  291.     frame.Position = POSITION
  292.     frame.Size = SIZE
  293.     frame.BackgroundColor3 = COLOR
  294.     frame.BorderColor3 = BORDERCOLOR
  295.     frame.Name = NAME
  296.     frame.Parent = PARENT
  297.     return frame
  298. end
  299.  
  300. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  301.     local label = IT("TextLabel")
  302.     label.BackgroundTransparency = 1
  303.     label.Size = UD2(1, 0, 1, 0)
  304.     label.Position = UD2(0, 0, 0, 0)
  305.     label.TextColor3 = TEXTCOLOR
  306.     label.TextStrokeTransparency = STROKETRANSPARENCY
  307.     label.TextTransparency = TRANSPARENCY
  308.     label.FontSize = TEXTFONTSIZE
  309.     label.Font = TEXTFONT
  310.     label.BorderSizePixel = BORDERSIZEPIXEL
  311.     label.TextScaled = false
  312.     label.Text = TEXT
  313.     label.Name = NAME
  314.     label.Parent = PARENT
  315.     return label
  316. end
  317.  
  318. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  319.     if FLOOR ~= nil then
  320.         coroutine.resume(coroutine.create(function()
  321.             local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  322.             PART.CFrame = CF(POSITION)
  323.             for i = 1, 45 do
  324.                 local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  325.                 RingPiece.Material = FLOOR.Material
  326.                 RingPiece.Color = FLOOR.Color
  327.                 RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  328.                 Debris:AddItem(RingPiece,SWAIT)
  329.             end
  330.             PART:remove()
  331.         end))
  332.     end
  333. end
  334.  
  335. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  336.     if FLOOR ~= nil then
  337.         for i = 1, AMOUNT do
  338.             local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  339.             DEBREE.Material = FLOOR.Material
  340.             DEBREE.Color = FLOOR.Color
  341.             DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  342.             DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  343.             coroutine.resume(coroutine.create(function()
  344.                 Swait(15)
  345.                 DEBREE.Parent = workspace
  346.                 DEBREE.CanCollide = true
  347.                 Debris:AddItem(DEBREE,SWAIT)
  348.             end))
  349.         end
  350.     end
  351. end
  352.  
  353. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  354.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  355. end
  356.  
  357. function PositiveAngle(NUMBER)
  358.     if NUMBER >= 0 then
  359.         NUMBER = 0
  360.     end
  361.     return NUMBER
  362. end
  363.  
  364. function NegativeAngle(NUMBER)
  365.     if NUMBER <= 0 then
  366.         NUMBER = 0
  367.     end
  368.     return NUMBER
  369. end
  370.  
  371. function Swait(NUMBER)
  372.     if NUMBER == 0 or NUMBER == nil then
  373.         ArtificialHB.Event:wait()
  374.     else
  375.         for i = 1, NUMBER do
  376.             ArtificialHB.Event:wait()
  377.         end
  378.     end
  379. end
  380.  
  381. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  382.     local NEWMESH = IT(MESH)
  383.     if MESH == "SpecialMesh" then
  384.         NEWMESH.MeshType = MESHTYPE
  385.         if MESHID ~= "nil" and MESHID ~= "" then
  386.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  387.         end
  388.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  389.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  390.         end
  391.     end
  392.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  393.     NEWMESH.Scale = SCALE
  394.     NEWMESH.Parent = PARENT
  395.     return NEWMESH
  396. end
  397.  
  398. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  399.     local NEWPART = IT("Part")
  400.     NEWPART.formFactor = FORMFACTOR
  401.     NEWPART.Reflectance = REFLECTANCE
  402.     NEWPART.Transparency = TRANSPARENCY
  403.     NEWPART.CanCollide = false
  404.     NEWPART.Locked = true
  405.     NEWPART.Anchored = true
  406.     if ANCHOR == false then
  407.         NEWPART.Anchored = false
  408.     end
  409.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  410.     NEWPART.Name = NAME
  411.     NEWPART.Size = SIZE
  412.     NEWPART.Position = Torso.Position
  413.     NEWPART.Material = MATERIAL
  414.     NEWPART:BreakJoints()
  415.     NEWPART.Parent = PARENT
  416.     return NEWPART
  417. end
  418.  
  419.     local function weldBetween(a, b)
  420.         local weldd = Instance.new("ManualWeld")
  421.         weldd.Part0 = a
  422.         weldd.Part1 = b
  423.         weldd.C0 = CFrame.new()
  424.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  425.         weldd.Parent = a
  426.         return weldd
  427.     end
  428.  
  429.  
  430. function QuaternionFromCFrame(cf)
  431.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  432.     local trace = m00 + m11 + m22
  433.     if trace > 0 then
  434.         local s = math.sqrt(1 + trace)
  435.         local recip = 0.5 / s
  436.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  437.     else
  438.         local i = 0
  439.         if m11 > m00 then
  440.             i = 1
  441.         end
  442.         if m22 > (i == 0 and m00 or m11) then
  443.             i = 2
  444.         end
  445.         if i == 0 then
  446.             local s = math.sqrt(m00 - m11 - m22 + 1)
  447.             local recip = 0.5 / s
  448.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  449.         elseif i == 1 then
  450.             local s = math.sqrt(m11 - m22 - m00 + 1)
  451.             local recip = 0.5 / s
  452.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  453.         elseif i == 2 then
  454.             local s = math.sqrt(m22 - m00 - m11 + 1)
  455.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  456.         end
  457.     end
  458. end
  459.  
  460. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  461.     local xs, ys, zs = x + x, y + y, z + z
  462.     local wx, wy, wz = w * xs, w * ys, w * zs
  463.     local xx = x * xs
  464.     local xy = x * ys
  465.     local xz = x * zs
  466.     local yy = y * ys
  467.     local yz = y * zs
  468.     local zz = z * zs
  469.     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))
  470. end
  471.  
  472. function QuaternionSlerp(a, b, t)
  473.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  474.     local startInterp, finishInterp;
  475.     if cosTheta >= 0.0001 then
  476.         if (1 - cosTheta) > 0.0001 then
  477.             local theta = ACOS(cosTheta)
  478.             local invSinTheta = 1 / SIN(theta)
  479.             startInterp = SIN((1 - t) * theta) * invSinTheta
  480.             finishInterp = SIN(t * theta) * invSinTheta
  481.         else
  482.             startInterp = 1 - t
  483.             finishInterp = t
  484.         end
  485.     else
  486.         if (1 + cosTheta) > 0.0001 then
  487.             local theta = ACOS(-cosTheta)
  488.             local invSinTheta = 1 / SIN(theta)
  489.             startInterp = SIN((t - 1) * theta) * invSinTheta
  490.             finishInterp = SIN(t * theta) * invSinTheta
  491.         else
  492.             startInterp = t - 1
  493.             finishInterp = t
  494.         end
  495.     end
  496.     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
  497. end
  498.  
  499. function Clerp(a, b, t)
  500.     local qa = {QuaternionFromCFrame(a)}
  501.     local qb = {QuaternionFromCFrame(b)}
  502.     local ax, ay, az = a.x, a.y, a.z
  503.     local bx, by, bz = b.x, b.y, b.z
  504.     local _t = 1 - t
  505.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  506. end
  507.  
  508. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  509.     local frame = IT("Frame")
  510.     frame.BackgroundTransparency = TRANSPARENCY
  511.     frame.BorderSizePixel = BORDERSIZEPIXEL
  512.     frame.Position = POSITION
  513.     frame.Size = SIZE
  514.     frame.BackgroundColor3 = COLOR
  515.     frame.BorderColor3 = BORDERCOLOR
  516.     frame.Name = NAME
  517.     frame.Parent = PARENT
  518.     return frame
  519. end
  520.  
  521. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  522.     local label = IT("TextLabel")
  523.     label.BackgroundTransparency = 1
  524.     label.Size = UD2(1, 0, 1, 0)
  525.     label.Position = UD2(0, 0, 0, 0)
  526.     label.TextColor3 = TEXTCOLOR
  527.     label.TextStrokeTransparency = STROKETRANSPARENCY
  528.     label.TextTransparency = TRANSPARENCY
  529.     label.FontSize = TEXTFONTSIZE
  530.     label.Font = TEXTFONT
  531.     label.BorderSizePixel = BORDERSIZEPIXEL
  532.     label.TextScaled = false
  533.     label.Text = TEXT
  534.     label.Name = NAME
  535.     label.Parent = PARENT
  536.     return label
  537. end
  538.  
  539. function NoOutlines(PART)
  540.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  541. end
  542.  
  543. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  544.     local NEWWELD = IT(TYPE)
  545.     NEWWELD.Part0 = PART0
  546.     NEWWELD.Part1 = PART1
  547.     NEWWELD.C0 = C0
  548.     NEWWELD.C1 = C1
  549.     NEWWELD.Parent = PARENT
  550.     return NEWWELD
  551. end
  552.  
  553. local S = IT("Sound")
  554. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  555.     local NEWSOUND = nil
  556.     coroutine.resume(coroutine.create(function()
  557.         NEWSOUND = S:Clone()
  558.         NEWSOUND.Parent = PARENT
  559.         NEWSOUND.Volume = VOLUME
  560.         NEWSOUND.Pitch = PITCH
  561.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  562.         NEWSOUND:play()
  563.         if DOESLOOP == true then
  564.             NEWSOUND.Looped = true
  565.         else
  566.             repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  567.             NEWSOUND:remove()
  568.         end
  569.     end))
  570.     return NEWSOUND
  571. end
  572.  
  573. function CFrameFromTopBack(at, top, back)
  574.     local right = top:Cross(back)
  575.     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)
  576. end
  577.  
  578. --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})
  579. function WACKYEFFECT(Table)
  580.     local TYPE = (Table.EffectType or "Sphere")
  581.     local SIZE = (Table.Size or VT(1,1,1))
  582.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  583.     local TRANSPARENCY = (Table.Transparency or 0)
  584.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  585.     local CFRAME = (Table.CFrame or Torso.CFrame)
  586.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  587.     local ROTATION1 = (Table.RotationX or 0)
  588.     local ROTATION2 = (Table.RotationY or 0)
  589.     local ROTATION3 = (Table.RotationZ or 0)
  590.     local MATERIAL = (Table.Material or "Neon")
  591.     local COLOR = (Table.Color or C3(1,1,1))
  592.     local TIME = (Table.Time or 45)
  593.     local SOUNDID = (Table.SoundID or nil)
  594.     local SOUNDPITCH = (Table.SoundPitch or nil)
  595.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  596.     coroutine.resume(coroutine.create(function()
  597.         local PLAYSSOUND = false
  598.         local SOUND = nil
  599.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  600.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  601.             PLAYSSOUND = true
  602.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  603.         end
  604.         EFFECT.Color = COLOR
  605.         local MSH = nil
  606.         if TYPE == "Sphere" then
  607.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  608.         elseif TYPE == "Block" then
  609.             MSH = IT("BlockMesh",EFFECT)
  610.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  611.         elseif TYPE == "Wave" then
  612.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  613.         elseif TYPE == "Ring" then
  614.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  615.         elseif TYPE == "Slash" then
  616.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  617.         elseif TYPE == "Round Slash" then
  618.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  619.         elseif TYPE == "Swirl" then
  620.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  621.         elseif TYPE == "Skull" then
  622.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  623.         elseif TYPE == "Crystal" then
  624.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  625.         end
  626.         if MSH ~= nil then
  627.             local MOVESPEED = nil
  628.             if MOVEDIRECTION ~= nil then
  629.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  630.             end
  631.             local GROWTH = SIZE - ENDSIZE
  632.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  633.             if TYPE == "Block" then
  634.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  635.             else
  636.                 EFFECT.CFrame = CFRAME
  637.             end
  638.             for LOOP = 1, TIME+1 do
  639.                 Swait()
  640.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  641.                 if TYPE == "Wave" then
  642.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  643.                 end
  644.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  645.                 if TYPE == "Block" then
  646.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  647.                 else
  648.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  649.                 end
  650.                 if MOVEDIRECTION ~= nil then
  651.                     local ORI = EFFECT.Orientation
  652.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  653.                     EFFECT.Orientation = ORI
  654.                 end
  655.             end
  656.             if PLAYSSOUND == false then
  657.                 EFFECT:remove()
  658.             else
  659.                 SOUND.Stopped:Connect(function()
  660.                     EFFECT:remove()
  661.                 end)
  662.             end
  663.         else
  664.             if PLAYSSOUND == false then
  665.                 EFFECT:remove()
  666.             else
  667.                 repeat Swait() until SOUND.Playing == false
  668.                 EFFECT:remove()
  669.             end
  670.         end
  671.     end))
  672. end
  673.  
  674. local DECAL = IT("Decal")
  675. function MakeRing()
  676.     local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Really red"), "MagicRing", VT(0, 0, 0), true)
  677.     local MSH = IT("BlockMesh", RING)
  678.     local TOP = DECAL:Clone()
  679.     local BOTTOM = DECAL:Clone()
  680.     TOP.Parent = RING
  681.     BOTTOM.Parent = RING
  682.     TOP.Face = "Top"
  683.     BOTTOM.Face = "Bottom"
  684.     TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  685.     BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  686.     local function REMOVE()
  687.         coroutine.resume(coroutine.create(function()
  688.             local SIZE = MSH.Scale.X
  689.             for i = 1, 35 do
  690.                 Swait()
  691.                 MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  692.                 TOP.Transparency = TOP.Transparency + 0.02857142857142857
  693.                 BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  694.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  695.             end
  696.             RING:remove()
  697.         end))
  698.     end
  699.     return RING, MSH, REMOVE
  700. end
  701.  
  702. function MakeForm(PART,TYPE)
  703.     if TYPE == "Cyl" then
  704.         local MSH = IT("CylinderMesh",PART)
  705.     elseif TYPE == "Ball" then
  706.         local MSH = IT("SpecialMesh",PART)
  707.         MSH.MeshType = "Sphere"
  708.     elseif TYPE == "Wedge" then
  709.         local MSH = IT("SpecialMesh",PART)
  710.         MSH.MeshType = "Wedge"
  711.     end
  712. end
  713.  
  714. function SpawnTrail(FROM,TO,BIG)
  715.     local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  716.     MakeForm(TRAIL,"Cyl")
  717.     local DIST = (FROM - TO).Magnitude
  718.     if BIG == true then
  719.         TRAIL.Size = VT(0.5,DIST,0.5)
  720.     else
  721.         TRAIL.Size = VT(0.25,DIST,0.25)
  722.     end
  723.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  724.     coroutine.resume(coroutine.create(function()
  725.         for i = 1, 5 do
  726.             Swait()
  727.             TRAIL.Transparency = TRAIL.Transparency + 0.1
  728.         end
  729.         TRAIL:remove()
  730.     end))
  731. end
  732. --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})
  733. function WACKYEFFECT(Table)
  734.     local TYPE = (Table.EffectType or "Sphere")
  735.     local SIZE = (Table.Size or VT(1,1,1))
  736.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  737.     local TRANSPARENCY = (Table.Transparency or 0)
  738.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  739.     local CFRAME = (Table.CFrame or Torso.CFrame)
  740.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  741.     local ROTATION1 = (Table.RotationX or 0)
  742.     local ROTATION2 = (Table.RotationY or 0)
  743.     local ROTATION3 = (Table.RotationZ or 0)
  744.     local MATERIAL = (Table.Material or "Neon")
  745.     local COLOR = (Table.Color or C3(1,1,1))
  746.     local TIME = (Table.Time or 45)
  747.     local SOUNDID = (Table.SoundID or nil)
  748.     local SOUNDPITCH = (Table.SoundPitch or nil)
  749.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  750.     coroutine.resume(coroutine.create(function()
  751.         local PLAYSSOUND = false
  752.         local SOUND = nil
  753.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
  754.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  755.             PLAYSSOUND = true
  756.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  757.         end
  758.         EFFECT.Color = COLOR
  759.         local MSH = nil
  760.         if TYPE == "Sphere" then
  761.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  762.         elseif TYPE == "Block" then
  763.             MSH = IT("BlockMesh",EFFECT)
  764.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  765.         elseif TYPE == "Wave" then
  766.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  767.         elseif TYPE == "Ring" then
  768.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  769.         elseif TYPE == "Slash" then
  770.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  771.         elseif TYPE == "Round Slash" then
  772.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  773.         elseif TYPE == "Swirl" then
  774.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  775.         elseif TYPE == "Skull" then
  776.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  777.         elseif TYPE == "Crystal" then
  778.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  779.         end
  780.         if MSH ~= nil then
  781.             local MOVESPEED = nil
  782.             if MOVEDIRECTION ~= nil then
  783.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  784.             end
  785.             local GROWTH = SIZE - ENDSIZE
  786.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  787.             if TYPE == "Block" then
  788.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  789.             else
  790.                 EFFECT.CFrame = CFRAME
  791.             end
  792.             for LOOP = 1, TIME+1 do
  793.                 Swait()
  794.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  795.                 if TYPE == "Wave" then
  796.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  797.                 end
  798.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  799.                 if TYPE == "Block" then
  800.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  801.                 else
  802.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  803.                 end
  804.                 if MOVEDIRECTION ~= nil then
  805.                     local ORI = EFFECT.Orientation
  806.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  807.                     EFFECT.Orientation = ORI
  808.                 end
  809.             end
  810.             if PLAYSSOUND == false then
  811.                 EFFECT:remove()
  812.             else
  813.                 SOUND.Stopped:Connect(function()
  814.                     EFFECT:remove()
  815.                 end)
  816.             end
  817.         else
  818.             if PLAYSSOUND == false then
  819.                 EFFECT:remove()
  820.             else
  821.                 repeat Swait() until SOUND.Playing == false
  822.                 EFFECT:remove()
  823.             end
  824.         end
  825.     end))
  826. end
  827.  
  828. function MakeForm(PART,TYPE)
  829.     if TYPE == "Cyl" then
  830.         local MSH = IT("CylinderMesh",PART)
  831.     elseif TYPE == "Ball" then
  832.         local MSH = IT("SpecialMesh",PART)
  833.         MSH.MeshType = "Sphere"
  834.     elseif TYPE == "Wedge" then
  835.         local MSH = IT("SpecialMesh",PART)
  836.         MSH.MeshType = "Wedge"
  837.     end
  838. end
  839.  
  840. function SpawnTrail(FROM,TO,BIG)
  841.     local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  842.     MakeForm(TRAIL,"Cyl")
  843.     local DIST = (FROM - TO).Magnitude
  844.     if BIG == true then
  845.         TRAIL.Size = VT(0.5,DIST,0.5)
  846.     else
  847.         TRAIL.Size = VT(0.25,DIST,0.25)
  848.     end
  849.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  850.     coroutine.resume(coroutine.create(function()
  851.         for i = 1, 5 do
  852.             Swait()
  853.             TRAIL.Transparency = TRAIL.Transparency + 0.1
  854.         end
  855.         TRAIL:remove()
  856.     end))
  857. end
  858.  
  859. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  860.     local TORSO = Torso
  861.     local HUM = Humanoid
  862.     if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  863.         coroutine.wrap(function()
  864.             VT = Vector3.new
  865.             MRANDOM = math.random
  866.             local A = TIME
  867.             local B = INTENSITY
  868.             local C = true
  869.             local HUMANOID = Humanoid
  870.             local TIMER = A or 35
  871.             local SHAKE = B or 5
  872.             local FADE = C or true
  873.             if HUMANOID then
  874.                 local FADER = SHAKE / TIMER
  875.                 for i = 1, TIMER do
  876.                     wait()
  877.                     HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  878.                 end
  879.                 HUMANOID.CameraOffset = VT(0, 0, 0)
  880.             end
  881.  
  882.         end)()
  883.     end
  884. end
  885.  
  886. function chatfunc(text)
  887.     local chat = coroutine.wrap(function()
  888.     if Character:FindFirstChild("TalkingBillBoard")~= nil then
  889.         Character:FindFirstChild("TalkingBillBoard"):destroy()
  890.     end
  891.     local Bill = Instance.new("BillboardGui",Character)
  892.     Bill.Size = UDim2.new(0,100,0,40)
  893.     Bill.StudsOffset = Vector3.new(0,3,0)
  894.     Bill.Adornee = Character.Head
  895.     Bill.Name = "TalkingBillBoard"
  896.     local Hehe = Instance.new("TextLabel",Bill)
  897.     Hehe.BackgroundTransparency = 1
  898.     Hehe.BorderSizePixel = 0
  899.     Hehe.Text = ""
  900.     Hehe.Font = "Bodoni"
  901.     Hehe.TextSize = 40
  902.     Hehe.TextStrokeTransparency = 0
  903.     Hehe.Size = UDim2.new(1,0,0.5,0)
  904.     coroutine.resume(coroutine.create(function()
  905.         while Hehe ~= nil do
  906.             Swait()
  907.             Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) 
  908.             Hehe.Rotation = math.random(-2.5,2.5)
  909.             Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
  910.             Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  911.         end
  912.     end))
  913.     for i = 1,string.len(text),1 do
  914.         Swait()
  915.         Hehe.Text = string.sub(text,1,i)
  916.     end
  917.     Swait(90)--Re[math.random(1, 93)]
  918.     for i = 0, 1, .025 do
  919.         Swait()
  920.         Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  921.         Hehe.TextStrokeTransparency = i
  922.         Hehe.TextTransparency = i
  923.     end
  924.     Bill:Destroy()
  925.     end)
  926. chat()
  927. end
  928.  
  929. Debris = game:GetService("Debris")
  930.  
  931. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  932.     local DIRECTION = CF(StartPos,EndPos).lookVector
  933.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  934. end
  935.  
  936. function turnto(position)
  937.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  938. end
  939.  
  940. --//=================================\\
  941. --||         RAGDOLL STUFF
  942. --\\=================================//
  943.  
  944. function recurse(root,callback,i)
  945.     i= i or 0
  946.     for _,v in pairs(root:GetChildren()) do
  947.         i = i + 1
  948.         callback(i,v)
  949.        
  950.         if #v:GetChildren() > 0 then
  951.             i = recurse(v,callback,i)
  952.         end
  953.     end
  954.    
  955.     return i
  956. end
  957.  
  958. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  959.     attachmentName = attachmentName.."RigAttachment"
  960.     local constraint = Instance.new(className.."Constraint")
  961.     constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  962.     constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  963.     constraint.Name = "RagdollConstraint"..part1.Name
  964.    
  965.     for _,propertyData in next,properties or {} do
  966.         constraint[propertyData[1]] = propertyData[2]
  967.     end
  968.    
  969.     constraint.Parent = character
  970. end
  971.  
  972. function getAttachment0(character, attachmentName)
  973.     for _,child in next,character:GetChildren() do
  974.         local attachment = child:FindFirstChild(attachmentName)
  975.         if attachment then
  976.             return attachment
  977.         end
  978.     end
  979. end
  980.  
  981. function ArtificialHitbox(Part)
  982.     local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  983.     HITBOX.CanCollide = true
  984.     HITBOX.CFrame = Part.CFrame
  985.     weldBetween(Part,HITBOX)
  986. end
  987.  
  988. function R15Ragdoll(character,KeepArms)
  989.     character:BreakJoints()
  990.     coroutine.resume(coroutine.create(function()
  991.         recurse(character, function(_,v)
  992.             if v:IsA("Attachment") then
  993.                 v.Axis = Vector3.new(0, 1, 0)
  994.                 v.SecondaryAxis = Vector3.new(0, 0, 1)
  995.                 v.Rotation = Vector3.new(0, 0, 0)
  996.             end
  997.         end)
  998.         for _,child in next,character:GetChildren() do
  999.             if child:IsA("Accoutrement") then
  1000.                 for _,part in next,child:GetChildren() do
  1001.                     if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  1002.                         local attachment1 = part:FindFirstChildOfClass("Attachment")
  1003.                         local attachment0 = getAttachment0(character,attachment1.Name)
  1004.                         if attachment0 and attachment1 then
  1005.                             local constraint = Instance.new("HingeConstraint")
  1006.                             constraint.Attachment0 = attachment0
  1007.                             constraint.Attachment1 = attachment1
  1008.                             constraint.LimitsEnabled = true
  1009.                             constraint.UpperAngle = 0
  1010.                             constraint.LowerAngle = 0
  1011.                             constraint.Parent = character
  1012.                         end
  1013.                         ArtificialHitbox(part)
  1014.                     elseif part.Name == "HumanoidRootPart" then
  1015.                         part:remove()
  1016.                     end
  1017.                 end
  1018.             end
  1019.         end
  1020.        
  1021.         ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  1022.             {"LimitsEnabled",true};
  1023.             {"UpperAngle",5};
  1024.         })
  1025.         if character:FindFirstChild("Head") then
  1026.             ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  1027.                 {"LimitsEnabled",true};
  1028.                 {"UpperAngle",15};
  1029.             })
  1030.         end
  1031.        
  1032.         local handProperties = {
  1033.             {"LimitsEnabled", true};
  1034.             {"UpperAngle",0};
  1035.             {"LowerAngle",0};
  1036.         }
  1037.         ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  1038.         ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  1039.        
  1040.         local shinProperties = {
  1041.             {"LimitsEnabled", true};
  1042.             {"UpperAngle", 0};
  1043.             {"LowerAngle", -75};
  1044.         }
  1045.         ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  1046.         ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  1047.        
  1048.         local footProperties = {
  1049.             {"LimitsEnabled", true};
  1050.             {"UpperAngle", 15};
  1051.             {"LowerAngle", -45};
  1052.         }
  1053.         ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  1054.         ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  1055.         if KeepArms == true then
  1056.             ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  1057.             ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  1058.             ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  1059.             ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  1060.         end
  1061.         ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  1062.         ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  1063.         Debris:AddItem(character,5)
  1064.     end))
  1065. end
  1066.  
  1067. function Ragdoll(Character2,CharTorso,KeepArms)
  1068.     coroutine.resume(coroutine.create(function()
  1069.         Character2:BreakJoints()
  1070.         local hum = Character2:findFirstChild("Humanoid")
  1071.         hum:remove()
  1072.         local function Scan(ch)
  1073.             local e
  1074.             for e = 1,#ch do
  1075.                 Scan(ch[e]:GetChildren())
  1076.                 if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1077.                     ch[e]:remove()
  1078.                 end
  1079.             end
  1080.         end
  1081.         local NEWHUM = IT("Humanoid")
  1082.         NEWHUM.Name = "Corpse"
  1083.         NEWHUM.Health = 0
  1084.         NEWHUM.MaxHealth = 0
  1085.         NEWHUM.PlatformStand = true
  1086.         NEWHUM.Parent = Character2
  1087.         NEWHUM.DisplayDistanceType = "None"
  1088.    
  1089.         local ch = Character2:GetChildren()
  1090.         local i
  1091.         for i = 1,#ch do
  1092.             if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1093.                 ch[i]:remove()
  1094.             end
  1095.         end
  1096.    
  1097.         local Torso2 = Character2.Torso
  1098.         local movevector = Vector3.new()
  1099.    
  1100.         if Torso2 then
  1101.             movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  1102.             local Head = Character2:FindFirstChild("Head")
  1103.             if Head then
  1104.                 local Neck = Instance.new("Weld")
  1105.                 Neck.Name = "Neck"
  1106.                 Neck.Part0 = Torso2
  1107.                 Neck.Part1 = Head
  1108.                 Neck.C0 = CFrame.new(0, 1.5, 0)
  1109.                 Neck.C1 = CFrame.new()
  1110.                 Neck.Parent = Torso2
  1111.    
  1112.             end
  1113.             local Limb = Character2:FindFirstChild("Right Arm")
  1114.             if Limb and KeepArms == true then
  1115.    
  1116.                 Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1117.                 local Joint = Instance.new("Glue")
  1118.                 Joint.Name = "RightShoulder"
  1119.                 Joint.Part0 = Torso2
  1120.                 Joint.Part1 = Limb
  1121.                 Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1122.                 Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1123.                 Joint.Parent = Torso2
  1124.    
  1125.                 local B = Instance.new("Part")
  1126.                 B.TopSurface = 0
  1127.                 B.BottomSurface = 0
  1128.                 B.formFactor = "Symmetric"
  1129.                 B.Size = Vector3.new(1, 1, 1)
  1130.                 B.Transparency = 1
  1131.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1132.                 B.Parent = Character2
  1133.                 local W = Instance.new("Weld")
  1134.                 W.Part0 = Limb
  1135.                 W.Part1 = B
  1136.                 W.C0 = CFrame.new(0, -0.5, 0)
  1137.                 W.Parent = Limb
  1138.    
  1139.             end
  1140.             local Limb = Character2:FindFirstChild("Left Arm")
  1141.             if Limb and KeepArms == true then
  1142.    
  1143.                 Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1144.                 local Joint = Instance.new("Glue")
  1145.                 Joint.Name = "LeftShoulder"
  1146.                 Joint.Part0 = Torso2
  1147.                 Joint.Part1 = Limb
  1148.                 Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1149.                 Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1150.                 Joint.Parent = Torso2
  1151.    
  1152.                 local B = Instance.new("Part")
  1153.                 B.TopSurface = 0
  1154.                 B.BottomSurface = 0
  1155.                 B.formFactor = "Symmetric"
  1156.                 B.Size = Vector3.new(1, 1, 1)
  1157.                 B.Transparency = 1
  1158.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1159.                 B.Parent = Character2
  1160.                 local W = Instance.new("Weld")
  1161.                 W.Part0 = Limb
  1162.                 W.Part1 = B
  1163.                 W.C0 = CFrame.new(0, -0.5, 0)
  1164.                 W.Parent = Limb
  1165.    
  1166.             end
  1167.             local Limb = Character2:FindFirstChild("Right Leg")
  1168.             if Limb then
  1169.    
  1170.                 Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1171.                 local Joint = Instance.new("Glue")
  1172.                 Joint.Name = "RightHip"
  1173.                 Joint.Part0 = Torso2
  1174.                 Joint.Part1 = Limb
  1175.                 Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1176.                 Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1177.                 Joint.Parent = Torso2
  1178.    
  1179.                 local B = Instance.new("Part")
  1180.                 B.TopSurface = 0
  1181.                 B.BottomSurface = 0
  1182.                 B.formFactor = "Symmetric"
  1183.                 B.Size = Vector3.new(1, 1, 1)
  1184.                 B.Transparency = 1
  1185.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1186.                 B.Parent = Character2
  1187.                 local W = Instance.new("Weld")
  1188.                 W.Part0 = Limb
  1189.                 W.Part1 = B
  1190.                 W.C0 = CFrame.new(0, -0.5, 0)
  1191.                 W.Parent = Limb
  1192.    
  1193.             end
  1194.             local Limb = Character2:FindFirstChild("Left Leg")
  1195.             if Limb then
  1196.    
  1197.                 Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1198.                 local Joint = Instance.new("Glue")
  1199.                 Joint.Name = "LeftHip"
  1200.                 Joint.Part0 = Torso2
  1201.                 Joint.Part1 = Limb
  1202.                 Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1203.                 Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1204.                 Joint.Parent = Torso2
  1205.    
  1206.                 local B = Instance.new("Part")
  1207.                 B.TopSurface = 0
  1208.                 B.BottomSurface = 0
  1209.                 B.formFactor = "Symmetric"
  1210.                 B.Size = Vector3.new(1, 1, 1)
  1211.                 B.Transparency = 1
  1212.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1213.                 B.Parent = Character2
  1214.                 local W = Instance.new("Weld")
  1215.                 W.Part0 = Limb
  1216.                 W.Part1 = B
  1217.                 W.C0 = CFrame.new(0, -0.5, 0)
  1218.                 W.Parent = Limb
  1219.    
  1220.             end
  1221.             --[
  1222.             local Bar = Instance.new("Part")
  1223.             Bar.TopSurface = 0
  1224.             Bar.BottomSurface = 0
  1225.             Bar.formFactor = "Symmetric"
  1226.             Bar.Size = Vector3.new(1, 1, 1)
  1227.             Bar.Transparency = 1
  1228.             Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1229.             Bar.Parent = Character2
  1230.             local Weld = Instance.new("Weld")
  1231.             Weld.Part0 = Torso2
  1232.             Weld.Part1 = Bar
  1233.             Weld.C0 = CFrame.new(0, 0.5, 0)
  1234.             Weld.Parent = Torso2
  1235.             --]]
  1236.         end
  1237.         Character2.Parent = workspace
  1238.         Debris:AddItem(Character2,5)
  1239.    
  1240.         return Character2,Torso2
  1241.     end))
  1242. end
  1243.  
  1244. --//=================================\\
  1245. --||         WEAPON CREATION
  1246. --\\=================================//
  1247.  
  1248. local Particle = IT("ParticleEmitter",nil)
  1249. Particle.Enabled = false
  1250. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1251. Particle.LightEmission = 0.5
  1252. Particle.Rate = 150
  1253. Particle.ZOffset = 0.2
  1254. Particle.Rotation = NumberRange.new(-180, 180)
  1255. Particle.RotSpeed = NumberRange.new(-180, 180)
  1256. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1257. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1258.  
  1259. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1260. function ParticleEmitter(Table)
  1261.     local PRTCL = Particle:Clone()
  1262.     local Speed = Table.Speed or 5
  1263.     local Drag = Table.Drag or 0
  1264.     local Size1 = Table.Size1 or 1
  1265.     local Size2 = Table.Size2 or 5
  1266.     local Lifetime1 = Table.Lifetime1 or 1
  1267.     local Lifetime2 = Table.Lifetime2 or 1.5
  1268.     local Parent = Table.Parent or Torso
  1269.     local Emit = Table.Emit or 100
  1270.     local Offset = Table.Offset or 360
  1271.     local Acel = Table.Acel or VT(0,0,0)
  1272.     local Enabled = Table.Enabled or false
  1273.     PRTCL.Parent = Parent
  1274.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  1275.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1276.     PRTCL.Speed = NumberRange.new(Speed)
  1277.     PRTCL.VelocitySpread = Offset
  1278.     PRTCL.Drag = Drag
  1279.     PRTCL.Acceleration = Acel
  1280.     if Enabled == false then
  1281.         PRTCL:Emit(Emit)
  1282.         Debris:AddItem(PRTCL,Lifetime2)
  1283.     else
  1284.         PRTCL.Enabled = true
  1285.     end
  1286.     return PRTCL
  1287. end
  1288.  
  1289. local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1290. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1291. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1292. MakeForm(Part,"Wedge")
  1293. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1294. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1295. MakeForm(Part,"Wedge")
  1296. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1297. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1298. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1299. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1300. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1301. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1302. MakeForm(Part,"Cyl")
  1303. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1304. for i = 1, 8 do
  1305.     local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1306.     CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1307. end
  1308. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1309. MakeForm(Part,"Cyl")
  1310. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1311. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1312. MakeForm(Part,"Ball")
  1313. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1314. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1315. MakeForm(Part,"Wedge")
  1316. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1317. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1318. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1319. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1320. MakeForm(Part,"Cyl")
  1321. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1322. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1323. MakeForm(Part,"Cyl")
  1324. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1325. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1326. MakeForm(Part,"Cyl")
  1327. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1328. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1329. MakeForm(Part,"Wedge")
  1330. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1331. local LASTPART = Handle
  1332. for i = 1, 10 do
  1333.     if LASTPART == Handle then
  1334.         local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1335.         LASTPART = Part
  1336.         CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1337.     else
  1338.         local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1339.         CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1340.         LASTPART = Part
  1341.     end
  1342. end
  1343.  
  1344. local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,4,0.15),false)
  1345. MakeForm(Barrel,"Cyl")
  1346. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.85) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1347. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,2,0.25),false)
  1348. MakeForm(Part,"Cyl")
  1349. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.2, 0), CF(0, 0, 0))
  1350. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1351. MakeForm(Part,"Wedge")
  1352. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1353. local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1354. MakeForm(Hole,"Cyl")
  1355. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2, 0), CF(0, 0, 0))
  1356. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1357. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1358. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1359. local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1360. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1361. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1362. coroutine.resume(coroutine.create(function()
  1363.     while wait() do
  1364.         GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(sick.PlaybackLoudness/60 + 0.05))
  1365.         GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-sick.PlaybackLoudness/60 - 0.05))
  1366.     end
  1367. end))
  1368.  
  1369. 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)})
  1370. --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)})
  1371.  
  1372. for _, c in pairs(Gun:GetDescendants()) do
  1373.     if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1374.         c.Material = "Glass"
  1375.         c.Color = C3(0,0,0)
  1376.     elseif c.ClassName == "Part" and c.Name == "Eye" then
  1377.         c.Color = C3(1,0,0)
  1378.         c.Material = "Neon"
  1379.     end
  1380. end
  1381.  
  1382. Weapon.Parent = Character
  1383. for _, c in pairs(Weapon:GetChildren()) do
  1384.     if c.ClassName == "Part" then
  1385.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1386.     end
  1387. end
  1388.  
  1389. Weapon.Parent = Character
  1390. Gun.Parent = nil
  1391.  
  1392. for _, c in pairs(Gun:GetChildren()) do
  1393.     if c.ClassName == "Part" then
  1394.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1395.     end
  1396. end
  1397.  
  1398. for _, c in pairs(Weapon:GetChildren()) do
  1399.     if c.ClassName == "Part" then
  1400.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1401.     end
  1402. end
  1403.  
  1404. local SKILLTEXTCOLOR = C3(1,0,0)
  1405. local SKILLFONT = "Antique"
  1406. local SKILLTEXTSIZE = 7
  1407.  
  1408. Humanoid.Died:connect(function()
  1409.     ATTACK = true
  1410. end)
  1411.  
  1412. 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")
  1413. 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")
  1414. 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")
  1415. 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")
  1416. 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")
  1417.  
  1418. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1419. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Kill", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1420. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Sleep", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1421. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Ultimate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1422. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1423.  
  1424. function printbye(Name)
  1425.     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, "}
  1426.     warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1427. end
  1428.     if INTRO == false and INSTANT == false then
  1429.         INTRO = true
  1430.         coroutine.resume(coroutine.create(function()
  1431.             sick:Play()
  1432.             Intro()
  1433.         end))
  1434.     end
  1435.  
  1436. workspace.ChildAdded:connect(function(instance)
  1437.     for BANISH = 1, #TOBANISH do
  1438.         if TOBANISH[BANISH] ~= nil then
  1439.             if instance.Name == TOBANISH[BANISH] then
  1440.                 coroutine.resume(coroutine.create(function()
  1441.                     printbye(instance.Name)
  1442.                     instance:ClearAllChildren()
  1443.                     Debris:AddItem(instance,0.0005)
  1444.                 end))
  1445.             end
  1446.         end
  1447.     end
  1448. end)
  1449.  
  1450. --//=================================\\
  1451. --||            DAMAGING
  1452. --\\=================================//
  1453.  
  1454. function ApplyDamage(Humanoid,Damage,OneShot)
  1455.     Damage = Damage * DAMAGEMULTIPLIER
  1456.     local DEAD = false
  1457.     if Humanoid.Health < 2000 and OneShot == false then
  1458.         if Humanoid.Health - Damage > 0 then
  1459.             Humanoid.Health = Humanoid.Health - Damage
  1460.         else
  1461.             Humanoid.Parent:BreakJoints()
  1462.             DEAD = true
  1463.         end
  1464.     else
  1465.         DEAD = true
  1466.         Humanoid.Parent:BreakJoints()
  1467.     end
  1468.     if DEAD == true then
  1469.         local PARTS = {}
  1470.         for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1471.             if CHILD:IsA("BasePart") then
  1472.                 table.insert(PARTS,CHILD)
  1473.             end
  1474.         end
  1475.         coroutine.resume(coroutine.create(function()
  1476.             wait(2)
  1477.             repeat
  1478.                 Swait()
  1479.                 local PIECE = nil
  1480.                 if MRANDOM(1,5) == 1 then
  1481.                     for E = 1, #PARTS do
  1482.                         if MRANDOM(1,5) == 1 then
  1483.                             PIECE = PARTS[E]
  1484.                             table.remove(PARTS,E)
  1485.                             break
  1486.                         end
  1487.                     end
  1488.                 end
  1489.                 if PIECE ~= nil then
  1490.                     if PIECE.Name == "Head" then
  1491.                         WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1492.                     else
  1493.                         WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1494.                     end
  1495.                     PIECE:remove()
  1496.                 end
  1497.             until #PARTS == 0
  1498.         end))
  1499.     end
  1500. end
  1501.  
  1502.  
  1503. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1504.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  1505.     defence.Name = ("HitBy"..Player.Name)
  1506.     game:GetService("Debris"):AddItem(defence, 0.001)
  1507.     Damage = Damage * DAMAGEMULTIPLIER
  1508.     if Humanoid.Health ~= 0 then
  1509.         local CritChance = MRANDOM(1,100)
  1510.         if Damage > Humanoid.Health then
  1511.             Damage = math.ceil(Humanoid.Health)
  1512.             if Damage == 0 then
  1513.                 Damage = 0.1
  1514.             end
  1515.         end
  1516.         Humanoid.Health = Humanoid.Health - Damage
  1517.     end
  1518. end
  1519.  
  1520. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1521.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  1522.     defence.Name = ("HitBy"..Player.Name)
  1523.     game:GetService("Debris"):AddItem(defence, 0.001)
  1524.     Damage = Damage * DAMAGEMULTIPLIER
  1525.     if Humanoid.Health ~= 0 then
  1526.         local CritChance = MRANDOM(1,100)
  1527.         if Damage > Humanoid.Health then
  1528.             Damage = math.ceil(Humanoid.Health)
  1529.             if Damage == 0 then
  1530.                 Damage = 0.1
  1531.             end
  1532.         end
  1533.         Humanoid.Health = Humanoid.Health - Damage
  1534.     end
  1535. end
  1536.  
  1537. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1538.     local CHILDREN = workspace:GetDescendants()
  1539.     for index, CHILD in pairs(CHILDREN) do
  1540.         if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1541.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1542.             if HUM then
  1543.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1544.                 if TORSO then
  1545.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1546.                         if INSTAKILL == true then
  1547.                             CHILD:BreakJoints()
  1548.                         else
  1549.                             local DMG = MRANDOM(MINDMG,MAXDMG)
  1550.                             ApplyDamage(HUM,DMG,TORSO)
  1551.                         end
  1552.                         if FLING > 0 then
  1553.                             for _, c in pairs(CHILD:GetChildren()) do
  1554.                                 if c:IsA("BasePart") then
  1555.                                     local bv = Instance.new("BodyVelocity")
  1556.                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1557.                                     bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1558.                                     bv.Parent = c
  1559.                                     Debris:AddItem(bv,0.05)
  1560.                                 end
  1561.                             end
  1562.                         end
  1563.                     end
  1564.                 end
  1565.             end
  1566.         end
  1567.     end
  1568. end
  1569.  
  1570. function CameraEnshaking(Length, Intensity)
  1571.     coroutine.resume(coroutine.create(function()
  1572.         local intensity = 1 * Intensity
  1573.         local rotM = 0.01 * Intensity
  1574.         for i = 0, Length, 0.1 do
  1575.             Swait()
  1576.             intensity = intensity - 0.05 * Intensity / Length
  1577.             rotM = rotM - 5.0E-4 * Intensity / Length
  1578.             Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  1579.             Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
  1580.         end
  1581.         Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  1582.     end))
  1583. end
  1584.  
  1585. function KillChildren(v)
  1586.     v:BreakJoints()
  1587.     for _, c in pairs(v:GetChildren()) do
  1588.         if c:IsA("BasePart") then
  1589.             if c.Transparency < 1 then
  1590.                 if c:FindFirstChildOfClass("Decal") then
  1591.                     c:FindFirstChildOfClass("Decal"):remove()
  1592.                 end
  1593.                 particles(c)
  1594.                 c.PE.Enabled = true
  1595.                 c.Parent = Effects
  1596.                 c.CanCollide = false
  1597.                 c.Material = "Neon"
  1598.                 c.Color = C3(1,0,0)
  1599.                 c.Transparency = 1
  1600.                 local grav = Instance.new("BodyPosition",c)
  1601.                 grav.P = 20000
  1602.                 grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1603.                 grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1604.                 grav.Name = "GravityForce"
  1605.                 coroutine.resume(coroutine.create(function()
  1606.                     for i = 1, 20 do
  1607.                         Swait()
  1608.                         c.Transparency = c.Transparency + 1/20
  1609.                     end
  1610.                     c.PE.Enabled = false
  1611.                     Debris:AddItem(c,2)
  1612.                 end))
  1613.             end
  1614.         end
  1615.     end
  1616. end
  1617.  
  1618. function ApplyAoE(POSITION,RANGE)
  1619.     local CHILDREN = workspace:GetDescendants()
  1620.     for index, CHILD in pairs(CHILDREN) do
  1621.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1622.             local LISTED = false
  1623.             for LIST = 1, #WHITELIST do
  1624.                 if WHITELIST[LIST] ~= nil then
  1625.                     if CHILD.Name == WHITELIST[LIST] then
  1626.                         LISTED = true
  1627.                     end
  1628.                 end
  1629.             end
  1630.             if LISTED == false then
  1631.                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1632.                 if HUM then
  1633.                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1634.                     if TORSO then
  1635.                         if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1636.                             KillChildren(CHILD)
  1637.                         end
  1638.                     end
  1639.                 end
  1640.             end
  1641.         end
  1642.     end
  1643. end
  1644.  
  1645. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1646.     coroutine.resume(coroutine.create(function()
  1647.         local METEOR = IT("Model",Effects)
  1648.         METEOR.Name = "Meteorite"
  1649.         local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1650.         METEOR.PrimaryPart = CENTER
  1651.         local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1652.         PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1653.         for i = 1, 15 do
  1654.             local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  1655.             FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1656.         end
  1657.         if ISDEBREE ~= true then
  1658.             METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1659.         else
  1660.             METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1661.         end
  1662.         local IMPACT = false
  1663.         CreateSound(463593339, CENTER, 10, 0.6)
  1664.         if SIZE >= 3.5 then
  1665.             for i = 1, MRANDOM(3,7) do
  1666.                 SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1667.             end
  1668.         end
  1669.         for i = 1, 200 do
  1670.             Swait()
  1671.             local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1672.             if HITFLOOR == nil then
  1673.                 local ORI = CENTER.Orientation
  1674.                 METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1675.             else
  1676.                 if HITFLOOR.Anchored == true then
  1677.                     CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1678.                     CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1679.                 end
  1680.                 IMPACT = true
  1681.                 break
  1682.             end
  1683.         end
  1684.         if IMPACT == true then
  1685.             WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1686.             WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1687.             WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1688.             ApplyAoE(CENTER.Position,30*SIZE)
  1689.         end
  1690.         METEOR:remove()
  1691.     end))
  1692. end
  1693.  
  1694. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  1695.     local CHILDREN = workspace:GetDescendants()
  1696.     for index, CHILD in pairs(CHILDREN) do
  1697.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1698.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1699.             if HUM then
  1700.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1701.                 if TORSO then
  1702.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1703.                         if BRUTAL == true then
  1704.                             Kill(CHILD)
  1705.                         else
  1706.                             CHILD:BreakJoints()
  1707.                         end
  1708.                     end
  1709.                 end
  1710.             end
  1711.         end
  1712.     end
  1713. end
  1714.  
  1715. function Kill(Char)
  1716.     local NewCharacter = IT("Model",Effects)
  1717.     NewCharacter.Name = "Ow im ded ;-;"
  1718.     for _, c in pairs(Char:GetDescendants()) do
  1719.         if c:IsA("BasePart") and c.Transparency == 0 then
  1720.             c:BreakJoints()
  1721.             c.Material = "Glass"
  1722.             c.Color = C3(1,0,0)
  1723.             c.CanCollide = true
  1724.             c.Transparency = 0.3
  1725.             if c:FindFirstChildOfClass("SpecialMesh") then
  1726.                 c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1727.             end
  1728.             if c.Name == "Head" then
  1729.                 c:ClearAllChildren()
  1730.                 c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1731.             end
  1732.             if c.ClassName == "MeshPart" then
  1733.                 c.TextureID = ""
  1734.             end
  1735.             if c:FindFirstChildOfClass("BodyPosition") then
  1736.                 c:FindFirstChildOfClass("BodyPosition"):remove()
  1737.             end
  1738.             if c:FindFirstChildOfClass("ParticleEmitter") then
  1739.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1740.             end
  1741.             c.Parent = NewCharacter
  1742.             c.Name = "DeadPart"
  1743.             c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1744.             c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1745.         end
  1746.     end
  1747.     Char:remove()
  1748.     Debris:AddItem(NewCharacter,5)
  1749. end
  1750.  
  1751. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1752.     local CHILDREN = workspace:GetDescendants()
  1753.     for index, CHILD in pairs(CHILDREN) do
  1754.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1755.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1756.             if HUM then
  1757.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1758.                 if TORSO then
  1759.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1760.                         if BRUTAL == true then
  1761.                             Kill(CHILD)
  1762.                         else
  1763.                             CHILD:BreakJoints()
  1764.                         end
  1765.                     end
  1766.                 end
  1767.             end
  1768.         end
  1769.     end
  1770. end
  1771.  
  1772. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1773.     local CHILDREN = workspace:GetDescendants()
  1774.     for index, CHILD in pairs(CHILDREN) do
  1775.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1776.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1777.             if HUM then
  1778.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1779.                 if TORSO then
  1780.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1781.                         if BRUTAL == true then
  1782.                             Kill(CHILD)
  1783.                         else
  1784.                             CHILD:BreakJoints()
  1785.                         end
  1786.                     end
  1787.                 end
  1788.             end
  1789.         end
  1790.     end
  1791. end
  1792.  
  1793. function Banish(Foe)
  1794.     if Foe then
  1795.         coroutine.resume(coroutine.create(function()
  1796.             --if game.Players:FindFirstChild(Foe.Name) then
  1797.                 table.insert(TOBANISH,Foe.Name)
  1798.                 printbye(Foe.Name)
  1799.             --end
  1800.             Foe.Archivable = true
  1801.             local CLONE = Foe:Clone()
  1802.             Foe:Destroy()
  1803.             CLONE.Parent = Effects
  1804.             CLONE:BreakJoints()
  1805.             local MATERIALS = {"Glass","Neon"}
  1806.             for _, c in pairs(CLONE:GetDescendants()) do
  1807.                 if c:IsA("BasePart") then
  1808.                     if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1809.                         CreateSound(138271815, c, 10, 1, false)
  1810.                     end
  1811.                     c.Anchored = true
  1812.                     c.Transparency = c.Transparency + 0.2
  1813.                     c.Material = MATERIALS[MRANDOM(1,2)]
  1814.                     c.Color = C3(1,0,0)
  1815.                     if c.ClassName == "MeshPart" then
  1816.                         c.TextureID = ""
  1817.                     end
  1818.                     if c:FindFirstChildOfClass("SpecialMesh") then
  1819.                         c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1820.                     end
  1821.                     if c:FindFirstChildOfClass("Decal") then
  1822.                         c:FindFirstChildOfClass("Decal"):remove()
  1823.                     end
  1824.                     c.Name = "Banished"
  1825.                     c.CanCollide = false
  1826.                 else
  1827.                     c:remove()
  1828.                 end
  1829.             end
  1830.             local A = false
  1831.             for i = 1, 35 do
  1832.                 if A == false then
  1833.                     A = true
  1834.                 elseif A == true then
  1835.                     A = false
  1836.                 end
  1837.                 for _, c in pairs(CLONE:GetDescendants()) do
  1838.                     if c:IsA("BasePart") then
  1839.                         c.Anchored = true
  1840.                         c.Material = MATERIALS[MRANDOM(1,2)]
  1841.                         c.Transparency = c.Transparency + 0.8/35
  1842.                         if A == false then
  1843.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1844.                         elseif A == true then
  1845.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)                       
  1846.                         end
  1847.                     end
  1848.                 end
  1849.                 Swait()
  1850.             end
  1851.             CLONE:remove()
  1852.         end))
  1853.     end
  1854. end
  1855.  
  1856.  
  1857. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1858.     local CHILDREN = workspace:GetDescendants()
  1859.     for index, CHILD in pairs(CHILDREN) do
  1860.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1861.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1862.             if HUM then
  1863.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1864.                 if TORSO then
  1865.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1866.                         if ISBANISH == true then
  1867.                             Banish(CHILD)
  1868.                         else
  1869.                             if ISBANISH == "Gravity" then
  1870.                                 HUM.PlatformStand = true
  1871.                                 if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1872.                                     local grav = Instance.new("BodyPosition",TORSO)
  1873.                                     grav.D = 15
  1874.                                     grav.P = 20000
  1875.                                     grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1876.                                     grav.position = TORSO.Position
  1877.                                     grav.Name = "V3BanishForce"..Player.Name
  1878.                                 else
  1879.                                     TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1880.                                     TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1881.                                 end
  1882.                             else
  1883.                                 HUM.PlatformStand = false
  1884.                             end
  1885.                         end
  1886.                     elseif ISBANISH == "Gravity" then
  1887.                         if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1888.                             TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1889.                             HUM.PlatformStand = false
  1890.                         end
  1891.                     end
  1892.                 end
  1893.             end
  1894.         end
  1895.     end
  1896. end
  1897.  
  1898. function SpawnSmite(POS)
  1899.     local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1900.     local EMITPOS = HITPOS
  1901.     if HITFLOOR ~= nil then
  1902.         if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1903.             HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1904.             EMITPOS = HITPOS
  1905.         elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1906.             HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1907.             EMITPOS = HITPOS
  1908.         end
  1909.     end
  1910.     if HITFLOOR ~= nil then
  1911.         ApplyAoE(EMITPOS,10)
  1912.         WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1913.         WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1914.         WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1915.         for i = 1, 5 do
  1916.             local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1917.             WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1918.         end
  1919.     end
  1920. end
  1921.  
  1922. --//=================================\\
  1923. --||    ATTACK FUNCTIONS AND STUFF
  1924. --\\=================================//
  1925.  
  1926. function eh()
  1927.     ATTACK = true
  1928.     Rooted = false
  1929.     Speed = 20
  1930.         Swait()
  1931.         local CHILDREN = workspace:GetDescendants()
  1932.         for index, CHILD in pairs(CHILDREN) do
  1933.             if CHILD.ClassName == "Model" and CHILD ~= Character then
  1934.                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1935.                 if HUM then
  1936.                     local TORSO = CHILD:FindFirstChild("Head")
  1937.                     if TORSO then
  1938.                         if (TORSO.Position - Head.Position).Magnitude <= 25 then
  1939.                             WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1940.                             TORSO:remove()
  1941.                             if CHILD:FindFirstChild("Torso") then
  1942.                                 Ragdoll(CHILD,Torso,true)
  1943.                             elseif CHILD:FindFirstChild("UpperTorso") then
  1944.                                 R15Ragdoll(CHILD,true)
  1945.                             end
  1946.                         end
  1947.                     end
  1948.                 end
  1949.             end
  1950.         end
  1951.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1952.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 1})
  1953.     for i=0, 0.3, 0.1 / Animation_Speed do
  1954.         Swait()
  1955.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  1956.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1957.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1958.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1959.         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.25 / Animation_Speed)
  1960.         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.25 / Animation_Speed)
  1961. end
  1962.     Speed = 20
  1963.     ATTACK = false
  1964.     Rooted = false
  1965. end
  1966.  
  1967. function Taunt()
  1968.     ATTACK = true
  1969.     Rooted = true
  1970.             CreateSound("1238240145", Torso, 6, 0.9)
  1971.         for i=0, 0.6, 0.1 / Animation_Speed do
  1972.             Swait()
  1973.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1974. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1975. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1976.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1977.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1978.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1979.         end
  1980.         for i=0, 0.6, 0.1 / Animation_Speed do
  1981.             Swait()
  1982.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1983. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1984. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1985.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1986.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1987.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1988.         end
  1989.         for i=0, 0.6, 0.1 / Animation_Speed do
  1990.             Swait()
  1991.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1992. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1993. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1994.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1995.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1996.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1997.         end
  1998.         for i=0, 0.6, 0.1 / Animation_Speed do
  1999.             Swait()
  2000.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2001. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2003.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2004.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2005.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2006.         end
  2007.         for i=0, 0.6, 0.1 / Animation_Speed do
  2008.             Swait()
  2009.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2010. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2011. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2012.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2013.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2014.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2015.         end
  2016.         for i=0, 0.6, 0.1 / Animation_Speed do
  2017.             Swait()
  2018.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2019. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2020. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2021.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2022.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2023.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2024.         end
  2025.     ATTACK = false
  2026.     Rooted = false
  2027. end
  2028.  
  2029. function TakeOnMe()
  2030.     Speed = 16
  2031.     local MEME = CreateSound(1171341451, Effects, 2, 1, false)
  2032.     ATTACK = true
  2033.     Rooted = false
  2034.     local DANCE = true
  2035.     local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  2036.         if NEWKEY == "p" then
  2037.             DANCE = false
  2038.         end
  2039.     end)
  2040.     PLAYSONG = false
  2041.     while true do
  2042.         for i = 1, 15 do
  2043.             Swait()
  2044.             MEME.Parent = Effects
  2045.         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)
  2046.         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)
  2047.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2048.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2049.         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)
  2050.         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)
  2051.         end
  2052.         if DANCE == false then
  2053.             break
  2054.         end
  2055.         for i = 1, 15 do
  2056.             Swait()
  2057.             MEME.Parent = Effects
  2058.         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)
  2059.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2060.             if MRANDOM(1,7) == 1 then
  2061.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2062.             end         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2063.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(65), RAD(85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2064.         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)
  2065.             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)
  2066.         end
  2067.     end
  2068.     PLAYSONG = true
  2069.     KEY:Disconnect()
  2070.     MEME:remove()
  2071.     Speed = 25
  2072.     ATTACK = false
  2073.     Rooted = false
  2074. end
  2075.  
  2076. function Intro()
  2077.     ATTACK = true
  2078.     Rooted = true
  2079.     repeat
  2080.         Swait()
  2081.         WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  2082.         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)
  2083.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2084.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  2085.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2086.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2087.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2088.     until sick.TimePosition > 114
  2089.     repeat
  2090.         Swait()
  2091.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2092.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2093.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2094.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2095.         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)
  2096.         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)
  2097.     until sick.TimePosition > 116
  2098.     repeat
  2099.         Swait()
  2100.         WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0.2,0.2), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  2101.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2102.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2103.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(45), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2104.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-90), RAD(45), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2105.         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)
  2106.         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)
  2107.     until sick.TimePosition >119
  2108.     Gun.Parent = Character
  2109.     tecks2.TextTransparency = 0
  2110.     for i = 1, 100 do
  2111.         Swait()
  2112.         for _, c in pairs(Character:GetChildren()) do
  2113.             if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  2114.                 c.Transparency = 0
  2115.             end
  2116.         end
  2117.         for _, c in pairs(Weapon:GetChildren()) do
  2118.             if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  2119.                 c.Transparency = 0
  2120.             end
  2121.         end
  2122. for _, c in pairs(Weapon:GetDescendants()) do
  2123.     if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2124.         c.Material = "Glass"
  2125.         c.Color = C3(0,0,0)
  2126.     elseif c.ClassName == "Part" and c.Name == "Eye" then
  2127.         c.Color = C3(1,0,0)
  2128.         c.Material = "Neon"
  2129.     end
  2130. end
  2131.     end
  2132.     TRANSFORMED = true
  2133.     ATTACK = false
  2134.     Rooted = false
  2135. end
  2136.  
  2137. function Shot()
  2138.     ATTACK = true
  2139.     Rooted = false
  2140.     for i=0, 0.2, 0.05 / Animation_Speed do
  2141.         Swait()
  2142.         turnto(Mouse.Hit.p)
  2143.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2144.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2145.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2146.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2147.         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)
  2148.         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)
  2149.     end
  2150.     repeat
  2151.         for i=0, 0.2, 0.05 / Animation_Speed do
  2152.             Swait()
  2153.             turnto(Mouse.Hit.p)
  2154.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2155.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2156.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2157.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2158.             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)
  2159.             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)
  2160.         end
  2161.         local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2162.         SpawnTrail(Hole.Position,POS)
  2163.         if HIT ~= nil then
  2164.             if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2165.                 Banish(HIT.Parent)
  2166.             end
  2167.         end
  2168.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2169.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2170.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2171.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2172.     Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2173.         for i=0, 0.2, 0.05 / Animation_Speed do
  2174.             Swait()
  2175.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2176.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2177.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2178.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2179.             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)
  2180.             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)
  2181.         end
  2182.     until KEYHOLD == false
  2183.     ATTACK = false
  2184.     Rooted = false
  2185. end
  2186.  
  2187. function Shot2()
  2188.     ATTACK = true
  2189.     Rooted = false
  2190.     for i=0, 0.2, 0.05 / Animation_Speed do
  2191.         Swait()
  2192.         turnto(Mouse.Hit.p)
  2193.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2194.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2195.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2196.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2197.         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)
  2198.         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)
  2199.     end
  2200.     repeat
  2201.         for i=0, 0.2, 0.05 / Animation_Speed do
  2202.             Swait()
  2203.             turnto(Mouse.Hit.p)
  2204.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2205.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2206.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2207.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2208.             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)
  2209.             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)
  2210.         end
  2211.         local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2212.         SpawnTrail(Hole.Position,POS)
  2213.         if HIT ~= nil then
  2214.             if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2215.                 Kill(HIT.Parent)
  2216.             end
  2217.         end
  2218.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2219.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2220.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2221.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2222.     Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2223.         for i=0, 0.2, 0.05 / Animation_Speed do
  2224.             Swait()
  2225.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2226.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2227.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2228.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2229.             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)
  2230.             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)
  2231.         end
  2232.     until KEYHOLD == false
  2233.     ATTACK = false
  2234.     Rooted = false
  2235. end
  2236.  
  2237. function AttackTemplate()
  2238.     ATTACK = true
  2239.     Rooted = false
  2240.     for i=0, 1, 0.1 / Animation_Speed do
  2241.         Swait()
  2242.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2243.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2244.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2245.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2246.         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)
  2247.         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)
  2248.     end
  2249.     ATTACK = false
  2250.     Rooted = false
  2251. end
  2252.  
  2253. function Finisher()
  2254.     local TARGET = Mouse.Target
  2255.     if TARGET ~= nil then
  2256.         if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  2257.             local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  2258.             local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  2259.             if ROOT and HUM.Health > 0 then
  2260.                 local FOE = Mouse.Target.Parent
  2261.                 ATTACK = true
  2262.                 Rooted = true
  2263.                 RootPart.CFrame = ROOT.CFrame*CF(-1.35,0,4)
  2264.                 ROOT.Anchored = true
  2265.                 CreateSound(670796769, Torso, 9999, 0.6, false)
  2266.                 CreateSound(159882598, Torso, 5, 0.9, false)
  2267.                 for i=0, 0.4, 0.1 / Animation_Speed do
  2268.                     Swait()
  2269.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2270.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2271.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2272.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2273.                     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 / Animation_Speed)
  2274.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2275.                 end
  2276.                 HUM.PlatformStand = true
  2277.                 ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  2278.                 coroutine.resume(coroutine.create(function()
  2279.                     Swait()
  2280.                     ROOT.Anchored = true
  2281.                 end))
  2282.                 RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
  2283.                 for i=0, 0.2, 0.1 / Animation_Speed do
  2284.                     Swait()
  2285.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2286.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2287.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2288.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2289.                     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 / Animation_Speed)
  2290.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2291.                 end
  2292.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2293.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2294.                 for i=0, 0.2, 0.1 / Animation_Speed do
  2295.                     Swait()
  2296.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  2297.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2298.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2299.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2300.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2301.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2302.                 end
  2303.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2304.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2305.                 local AMMO = 6
  2306.                 local FIRING = true
  2307.                 local SHOOTING = false
  2308.                 local TIMER = 70
  2309.                 CreateSound(147722227, GunPoint, 6, 1.3, false)
  2310.                 for i=0, 0.2, 0.1 / Animation_Speed do
  2311.                     Swait()
  2312.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2313.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2314.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2315.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2316.                     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 / Animation_Speed)
  2317.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2318.                 end
  2319.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2320.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2321.                 for i = 1, 6 do
  2322.                     local GUNPOS = Hole.CFrame*CF(0, 0, 0).p
  2323.                     local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude
  2324.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2325.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2326.                     HUM.Health = HUM.Health/1.5
  2327.                     for i=0, 0.2, 0.1 / Animation_Speed do
  2328.                         Swait()
  2329.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2330.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2331.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2332.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2333.                     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 / Animation_Speed)
  2334.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2335.                 end
  2336.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2337.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2338.                     for i=0, 0.2, 0.1 / Animation_Speed do
  2339.                         Swait()
  2340.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2341.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2342.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2343.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2344.                     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 / Animation_Speed)
  2345.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2346.                     end
  2347.                 end
  2348.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2349.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2350.                 ApplyDamage(HUM,0,true)
  2351.                 FOE:BreakJoints()
  2352.                 ROOT.Anchored = false
  2353.                 for i=0, 0.3, 0.1 / Animation_Speed do
  2354.                     Swait()
  2355.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2356.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  2357.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2358.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2359.                     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 / Animation_Speed)
  2360.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2361.                 end
  2362.                 ATTACK = false
  2363.                 Rooted = false
  2364.             end
  2365.         end
  2366.     end
  2367. end
  2368.  
  2369.  
  2370. --//=================================\\
  2371. --||      ASSIGN THINGS TO KEYS
  2372. --\\=================================//
  2373.  
  2374. function MouseDown(Mouse)
  2375.     if ATTACK == false then
  2376.     end
  2377. end
  2378.  
  2379. function MouseUp(Mouse)
  2380. HOLD = false
  2381. end
  2382.  
  2383. function KeyDown(Key)
  2384.     KEYHOLD = true
  2385.     if Key == "z" and ATTACK == false then
  2386.         Shot()
  2387.     end
  2388.  
  2389.     if Key == "v" and ATTACK == false then
  2390.         Shot2()
  2391.     end
  2392.  
  2393.     if Key == "x" and ATTACK == false then
  2394.                 Finisher()
  2395.     end
  2396.  
  2397.     if Key == "t" and ATTACK == false then
  2398.                Taunt()
  2399.     end
  2400.  
  2401.     if Key == "c" and ATTACK == false then
  2402.                 eh()
  2403.     end
  2404. end
  2405.  
  2406. function KeyUp(Key)
  2407.     KEYHOLD = false
  2408. end
  2409.  
  2410.     Mouse.Button1Down:connect(function(NEWKEY)
  2411.         MouseDown(NEWKEY)
  2412.     end)
  2413.     Mouse.Button1Up:connect(function(NEWKEY)
  2414.         MouseUp(NEWKEY)
  2415.     end)
  2416.     Mouse.KeyDown:connect(function(NEWKEY)
  2417.         KeyDown(NEWKEY)
  2418.     end)
  2419.     Mouse.KeyUp:connect(function(NEWKEY)
  2420.         KeyUp(NEWKEY)
  2421.     end)
  2422.  
  2423. --//=================================\\
  2424. --\\=================================//
  2425.  
  2426.  
  2427. function unanchor()
  2428.     if UNANCHOR == true then
  2429.         g = Character:GetChildren()
  2430.         for i = 1, #g do
  2431.             if g[i].ClassName == "Part" then
  2432.                 g[i].Anchored = false
  2433.             end
  2434.         end
  2435.     end
  2436. end
  2437.  
  2438.  
  2439. --//=================================\\
  2440. --||    WRAP THE WHOLE SCRIPT UP
  2441. --\\=================================//
  2442.  
  2443. Humanoid.Changed:connect(function(Jump)
  2444.     if Jump == "Jump" and (Disable_Jump == true) then
  2445.         Humanoid.Jump = false
  2446.     end
  2447. end)
  2448.  
  2449. local FF = IT("ForceField",Character)
  2450. FF.Visible = false
  2451.  
  2452. INSTANT = false
  2453. Speed = 20
  2454.  
  2455. while true do
  2456.     Swait()
  2457.     SINE = SINE + CHANGE
  2458.         ANIMATE.Parent = nil
  2459.         local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2460.         IDLEANIMATION:Play()
  2461.         if TRANSFORMED == true then
  2462.             tecks2.TextTransparency = 0
  2463.             for _, c in pairs(Character:GetChildren()) do
  2464.                 if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  2465.                     c.Anchored = false
  2466.                     c.Transparency = 0
  2467.                 end
  2468.             end
  2469.             for _, c in pairs(Weapon:GetChildren()) do
  2470.                 if c.ClassName == "Part" then
  2471.                     c.Transparency = 0
  2472.                 end
  2473.             end
  2474.             local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2475.             local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2476.             local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2477.             local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2478.             local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2479.             if ATTACK == false and VALUE2 == false then
  2480.                             end
  2481.             if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2482.                 RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2483.                 Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  2484.                 RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  2485.                 LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  2486.             elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2487.                 RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2488.                 Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2489.                 RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2490.                 LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2491.             end
  2492.             if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2493.                 ANIM = "Jump"
  2494.                 if ATTACK == false then
  2495.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2496.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2497.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2498.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2499.                     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)
  2500.                     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)
  2501.                    end
  2502.             elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2503.                 ANIM = "Fall"
  2504.                 if ATTACK == false then
  2505.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2506.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2507.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2508.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2509.                     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)
  2510.                     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)
  2511.                 end
  2512.             elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2513.                 ANIM = "Idle"
  2514.                 if ATTACK == false then
  2515.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2516.             if MRANDOM(1,7) == 1 then
  2517.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2518.             end    
  2519.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2520.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2521.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2522.         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.25 / Animation_Speed)
  2523.         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.25 / Animation_Speed)
  2524.                 end
  2525.             elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2526.                 ANIM = "Walk"
  2527.                 if ATTACK == false then
  2528.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2529.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2530.             if MRANDOM(1,7) == 1 then
  2531.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2532.             end
  2533.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2534.                     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)
  2535.                     RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2536.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2537.                 end
  2538.             end
  2539.         end
  2540.     --end
  2541.     Humanoid.DisplayDistanceType = "None"
  2542.     unanchor()
  2543.     tecks2.TextColor3 = BrickColor.Random().Color
  2544.     tecks2.TextStrokeColor3 = BrickColor.Random().Color
  2545.     Humanoid.MaxHealth = "inf"
  2546.     Humanoid.Health = "inf"
  2547.     if Rooted == false then
  2548.         Disable_Jump = false
  2549.         Humanoid.WalkSpeed = Speed
  2550.     elseif Rooted == true then
  2551.         Disable_Jump = true
  2552.         Humanoid.WalkSpeed = 0
  2553.     end
  2554.     if Head:FindFirstChild("face") then
  2555.         Head.face.Texture = "rbxassetid://403870689"
  2556.     end
  2557.     local MATHS = {"0","1"}
  2558.     Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  2559.     Humanoid.PlatformStand = false
  2560.     if INTRO == false and INSTANT == false then
  2561.         INTRO = true
  2562.         coroutine.resume(coroutine.create(function()
  2563.             sick:Play()
  2564.             Intro()
  2565.         end))
  2566.     end
  2567.     if INSTANT == true then
  2568.         if TRANSFORMED == false then
  2569.             sick.TimePosition = 60
  2570.             sick:Play()
  2571.         end
  2572.         TRANSFORMED = true
  2573.     end
  2574.     script.Parent = PlayerGui
  2575.     Character.Parent = workspace
  2576.     Humanoid.Parent = Character
  2577. end
  2578. --//=================================\\
  2579. --\\=================================//
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585. --//====================================================\\--
  2586. --||                     END OF SCRIPT
  2587. --\\====================================================//--
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top