Advertisement
Guest User

Untitled

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