Advertisement
XSleepyDemonX_17

testing :I

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