Advertisement
Zach_script_stealer2

Void stinger FE

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