SHARE
TWEET

MAD

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