Advertisement
Mediakiller7Cool

LOL

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