Advertisement
Guest User

KonaSuba Burning Hope

a guest
Jul 16th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.94 KB | None | 0 0
  1. script.Name = "machine gun banisher v2 maded to destroy skids"
  2. --//==============================================================================\\--
  3. --|| EDITED BY ZaBlazy_y Also edited by jon080908 CREATED BY SHACKLUSTER ||--
  4. --\\==============================================================================//--
  5.  
  6. warn("Load finished.")
  7. warn("Edited by InfiniteOneWithdank & also by jon080908.")
  8. warn("Tix doesn't want to die, It had enough rest.")
  9. warn("The song is The Great Strategy.")
  10.  
  11.  
  12.  
  13. script:ClearAllChildren()
  14. wait(0.2)
  15.  
  16. Player = game:GetService("Players").LocalPlayer
  17. PlayerGui = Player.PlayerGui
  18. Cam = workspace.CurrentCamera
  19. Backpack = Player.Backpack
  20. Character = Player.Character
  21. Humanoid = Character.Humanoid
  22. Mouse = Player:GetMouse()
  23. RootPart = Character["HumanoidRootPart"]
  24. Torso = Character["Torso"]
  25. Head = Character["Head"]
  26. RightArm = Character["Right Arm"]
  27. LeftArm = Character["Left Arm"]
  28. RightLeg = Character["Right Leg"]
  29. LeftLeg = Character["Left Leg"]
  30. RootJoint = RootPart["RootJoint"]
  31. Neck = Torso["Neck"]
  32. RightShoulder = Torso["Right Shoulder"]
  33. LeftShoulder = Torso["Left Shoulder"]
  34. RightHip = Torso["Right Hip"]
  35. LeftHip = Torso["Left Hip"]
  36. local TIME = 0
  37. local sick = Instance.new("Sound",Torso)
  38.  
  39. IT = Instance.new
  40. CF = CFrame.new
  41. VT = Vector3.new
  42. RAD = math.rad
  43. C3 = Color3.new
  44. UD2 = UDim2.new
  45. BRICKC = BrickColor.new
  46. ANGLES = CFrame.Angles
  47. EULER = CFrame.fromEulerAnglesXYZ
  48. COS = math.cos
  49. ACOS = math.acos
  50. SIN = math.sin
  51. ASIN = math.asin
  52. ABS = math.abs
  53. MRANDOM = math.random
  54. FLOOR = math.floor
  55.  
  56. -- Thingy To Make Song Work
  57.  
  58. p = game.Players.LocalPlayer
  59. char = p.Character
  60.  
  61. ---------------------------[[[ LOOPED SONG ]]]--------------------------
  62. local s = Instance.new("Sound",char)
  63. s.Name = "BGMusic"
  64. s.SoundId = "rbxassetid://526527549"
  65. s.Pitch = 1
  66. s.Volume = 40
  67. s.Looped = true
  68. s.archivable = false
  69. s.Parent = char.Head
  70. wait(0.1)
  71. s:play()
  72.  
  73. -- Rest of Script
  74. -- Want To Use This For Scripts With No Songs? Go Ahead Copy This InfiniteOneWithdank created the looped song thing that is in here anyways.
  75.  
  76. --//=================================\\
  77. --|| PARTICLES N STUFF
  78. --\\=================================//
  79.  
  80. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  81. particleemitter.VelocitySpread = 350
  82. particleemitter.Lifetime = NumberRange.new(1)
  83. particleemitter.Speed = NumberRange.new(0)
  84. cringememe= {}
  85. for i=0, 19 do
  86. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  87. end
  88. particleemitter.Size = NumberSequence.new(cringememe)
  89. particleemitter.Rate = 20
  90. particleemitter.LockedToPart = true
  91. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  92. particleemitter.LightEmission = 1
  93. particleemitter.Texture = "rbxassetid://"
  94. particleemitter.Color = ColorSequence.new(BrickColor.new("Bright yellow").Color)
  95.  
  96. local particleemitter = Instance.new('ParticleEmitter', Torso)
  97. particleemitter.VelocitySpread = 250
  98. particleemitter.Lifetime = NumberRange.new(3)
  99. particleemitter.Speed = NumberRange.new(1.5)
  100. youAreATHOT = {}
  101. for i=0, 19 do
  102. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  103. end
  104. particleemitter.Size = NumberSequence.new(youAreATHOT)
  105. particleemitter.Rate = 10
  106. particleemitter.LockedToPart = false
  107. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  108. particleemitter.LightEmission = 1
  109. particleemitter.Texture = "rbxassetid://"
  110. particleemitter.Color = ColorSequence.new(BrickColor.new("Bright yellow").Color)
  111.  
  112. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  113. particleemitter.VelocitySpread = 350
  114. particleemitter.Lifetime = NumberRange.new(1)
  115. particleemitter.Speed = NumberRange.new(0)
  116. cringememe2= {}
  117. for i=0, 19 do
  118. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  119. end
  120. particleemitter.Size = NumberSequence.new(cringememe2)
  121. particleemitter.Rate = 20
  122. particleemitter.LockedToPart = true
  123. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  124. particleemitter.LightEmission = 1
  125. particleemitter.Texture = "rbxassetid://"
  126. particleemitter.Color = ColorSequence.new(BrickColor.new("Bright yellow").Color)
  127.  
  128. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  129. particleemitter.VelocitySpread = 350
  130. particleemitter.Lifetime = NumberRange.new(1)
  131. particleemitter.Speed = NumberRange.new(0)
  132. cringememe3= {}
  133. for i=0, 19 do
  134. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  135. end
  136. particleemitter.Size = NumberSequence.new(cringememe3)
  137. particleemitter.Rate = 30
  138. particleemitter.LockedToPart = true
  139. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  140. particleemitter.LightEmission = 1
  141. particleemitter.Texture = "rbxassetid://"
  142. particleemitter.Color = ColorSequence.new(BrickColor.new("Bright yellow").Color)
  143.  
  144. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  145. particleemitter.VelocitySpread = 350
  146. particleemitter.Lifetime = NumberRange.new(1)
  147. particleemitter.Speed = NumberRange.new(0)
  148. cringememe4= {}
  149. for i=0, 19 do
  150. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  151. end
  152. particleemitter.Size = NumberSequence.new(cringememe4)
  153. particleemitter.Rate = 30
  154. particleemitter.LockedToPart = true
  155. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  156. particleemitter.LightEmission = 1
  157. particleemitter.Texture = "rbxassetid://"
  158. particleemitter.Color = ColorSequence.new(BrickColor.new("Bright yellow").Color)
  159.  
  160. --//=================================\\
  161. --|| USEFUL VALUES
  162. --\\=================================//
  163.  
  164. Animation_Speed = 1.5
  165. local FORCERESET = false
  166. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  167. local Speed = 16
  168. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  169. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  170. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  171. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  172. local DAMAGEMULTIPLIER = 1
  173. local ANIM = "Idle"
  174. local ATTACK = false
  175. local EQUIPPED = false
  176. local HOLD = false
  177. local COMBO = 1
  178. local Rooted = false
  179. local SINE = 0
  180. local KEYHOLD = false
  181. local CHANGE = 2 / Animation_Speed
  182. local WALKINGANIM = false
  183. local VALUE1 = false
  184. local VALUE2 = false
  185. local ROBLOXIDLEANIMATION = IT("Animation")
  186. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  187. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  188. --ROBLOXIDLEANIMATION.Parent = Humanoid
  189. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  190. WEAPONGUI.Name = "BanishV3Gui"
  191. local Weapon = IT("Model")
  192. Weapon.Name = "Adds"
  193. local Effects = IT("Folder", Weapon)
  194. Effects.Name = "Effects"
  195. local ANIMATOR = Humanoid.Animator
  196. local ANIMATE = Character:FindFirstChild("Animate")
  197. local UNANCHOR = true
  198. local TOBANISH = {}
  199. script.Parent = PlayerGui
  200.  
  201. --//=================================\\
  202. --\\=================================//
  203.  
  204.  
  205. --//=================================\\
  206. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  207. --\\=================================//
  208.  
  209. ArtificialHB = Instance.new("BindableEvent", script)
  210. ArtificialHB.Name = "ArtificialHB"
  211.  
  212. script:WaitForChild("ArtificialHB")
  213.  
  214. frame = Frame_Speed
  215. tf = 0
  216. allowframeloss = false
  217. tossremainder = false
  218. lastframe = tick()
  219. script.ArtificialHB:Fire()
  220.  
  221. game:GetService("RunService").Heartbeat:connect(function(s, p)
  222. tf = tf + s
  223. if tf >= frame then
  224. if allowframeloss then
  225. script.ArtificialHB:Fire()
  226. lastframe = tick()
  227. else
  228. for i = 1, math.floor(tf / frame) do
  229. script.ArtificialHB:Fire()
  230. end
  231. lastframe = tick()
  232. end
  233. if tossremainder then
  234. tf = 0
  235. else
  236. tf = tf - frame * math.floor(tf / frame)
  237. end
  238. end
  239. end)
  240.  
  241. --//=================================\\
  242. --\\=================================//
  243.  
  244. --//=================================\\
  245. --|| SOME TAG EDIT
  246. --\\=================================//
  247.  
  248. m = game.Players.LocalPlayer
  249. char = m.Character
  250. local txt = Instance.new("BillboardGui", char)
  251. txt.Adornee = char.Head
  252. txt.Name = "_status"
  253. txt.Size = UDim2.new(2, 0, 1.2, 0)
  254. txt.StudsOffset = Vector3.new(-9, 8, 0)
  255. local text = Instance.new("TextLabel", txt)
  256. text.Size = UDim2.new(10, 0, 7, 0)
  257. text.FontSize = "Size24"
  258. text.TextScaled = true
  259. text.TextTransparency = 0
  260. text.BackgroundTransparency = 1
  261. text.TextTransparency = 0
  262. text.TextStrokeTransparency = 0
  263. text.Font = "Arcade"
  264. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  265. v = Instance.new("Part")
  266. v.Name = "ColorBrick"
  267. v.Parent = m.Character
  268. v.FormFactor = "Symmetric"
  269. v.Anchored = true
  270. v.CanCollide = false
  271. v.BottomSurface = "Smooth"
  272. v.TopSurface = "Smooth"
  273. v.Size = Vector3.new(10, 5, 3)
  274. v.Transparency = 1
  275. v.CFrame = char.Torso.CFrame
  276. v.BrickColor = BrickColor.new("Really black")
  277. v.Transparency = 1
  278. v.Shape = "Block"
  279. spawn(function()
  280. local TweenService = game:GetService("TweenService")
  281. local Colours = {Color3.fromRGB(255,255,0)}
  282. local Int = 0
  283. while wait(0.5) do
  284. if Int == #Colours then Int = 0 end
  285. Int = Int+1
  286. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  287. end
  288. end)
  289. text.Text = "Tix's Comeback"
  290.  
  291. --//=================================\\
  292. --\\=================================//
  293.  
  294. --//=================================\\
  295. --|| SOME FUNCTIONS
  296. --\\=================================//
  297.  
  298. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  299. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  300. end
  301.  
  302. function PositiveAngle(NUMBER)
  303. if NUMBER >= 0 then
  304. NUMBER = 0
  305. end
  306. return NUMBER
  307. end
  308.  
  309. function NegativeAngle(NUMBER)
  310. if NUMBER <= 0 then
  311. NUMBER = 0
  312. end
  313. return NUMBER
  314. end
  315.  
  316. function Swait(NUMBER)
  317. if NUMBER == 0 or NUMBER == nil then
  318. ArtificialHB.Event:wait()
  319. else
  320. for i = 1, NUMBER do
  321. ArtificialHB.Event:wait()
  322. end
  323. end
  324. end
  325.  
  326. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  327. local NEWMESH = IT(MESH)
  328. if MESH == "SpecialMesh" then
  329. NEWMESH.MeshType = MESHTYPE
  330. if MESHID ~= "nil" and MESHID ~= "" then
  331. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  332. end
  333. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  334. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  335. end
  336. end
  337. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  338. NEWMESH.Scale = SCALE
  339. NEWMESH.Parent = PARENT
  340. return NEWMESH
  341. end
  342.  
  343. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  344. local NEWPART = IT("Part")
  345. NEWPART.formFactor = FORMFACTOR
  346. NEWPART.Reflectance = REFLECTANCE
  347. NEWPART.Transparency = TRANSPARENCY
  348. NEWPART.CanCollide = false
  349. NEWPART.Locked = true
  350. NEWPART.Anchored = true
  351. if ANCHOR == false then
  352. NEWPART.Anchored = false
  353. end
  354. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  355. NEWPART.Name = NAME
  356. NEWPART.Size = SIZE
  357. NEWPART.Position = Torso.Position
  358. NEWPART.Material = MATERIAL
  359. NEWPART:BreakJoints()
  360. NEWPART.Parent = PARENT
  361. return NEWPART
  362. end
  363.  
  364. local function weldBetween(a, b)
  365. local weldd = Instance.new("ManualWeld")
  366. weldd.Part0 = a
  367. weldd.Part1 = b
  368. weldd.C0 = CFrame.new()
  369. weldd.C1 = b.CFrame:inverse() * a.CFrame
  370. weldd.Parent = a
  371. return weldd
  372. end
  373.  
  374.  
  375. function QuaternionFromCFrame(cf)
  376. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  377. local trace = m00 + m11 + m22
  378. if trace > 0 then
  379. local s = math.sqrt(1 + trace)
  380. local recip = 0.5 / s
  381. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  382. else
  383. local i = 0
  384. if m11 > m00 then
  385. i = 1
  386. end
  387. if m22 > (i == 0 and m00 or m11) then
  388. i = 2
  389. end
  390. if i == 0 then
  391. local s = math.sqrt(m00 - m11 - m22 + 1)
  392. local recip = 0.5 / s
  393. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  394. elseif i == 1 then
  395. local s = math.sqrt(m11 - m22 - m00 + 1)
  396. local recip = 0.5 / s
  397. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  398. elseif i == 2 then
  399. local s = math.sqrt(m22 - m00 - m11 + 1)
  400. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  401. end
  402. end
  403. end
  404.  
  405. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  406. local xs, ys, zs = x + x, y + y, z + z
  407. local wx, wy, wz = w * xs, w * ys, w * zs
  408. local xx = x * xs
  409. local xy = x * ys
  410. local xz = x * zs
  411. local yy = y * ys
  412. local yz = y * zs
  413. local zz = z * zs
  414. 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))
  415. end
  416.  
  417. function QuaternionSlerp(a, b, t)
  418. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  419. local startInterp, finishInterp;
  420. if cosTheta >= 0.0001 then
  421. if (1 - cosTheta) > 0.0001 then
  422. local theta = ACOS(cosTheta)
  423. local invSinTheta = 1 / SIN(theta)
  424. startInterp = SIN((1 - t) * theta) * invSinTheta
  425. finishInterp = SIN(t * theta) * invSinTheta
  426. else
  427. startInterp = 1 - t
  428. finishInterp = t
  429. end
  430. else
  431. if (1 + cosTheta) > 0.0001 then
  432. local theta = ACOS(-cosTheta)
  433. local invSinTheta = 1 / SIN(theta)
  434. startInterp = SIN((t - 1) * theta) * invSinTheta
  435. finishInterp = SIN(t * theta) * invSinTheta
  436. else
  437. startInterp = t - 1
  438. finishInterp = t
  439. end
  440. end
  441. 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
  442. end
  443.  
  444. function Clerp(a, b, t)
  445. local qa = {QuaternionFromCFrame(a)}
  446. local qb = {QuaternionFromCFrame(b)}
  447. local ax, ay, az = a.x, a.y, a.z
  448. local bx, by, bz = b.x, b.y, b.z
  449. local _t = 1 - t
  450. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  451. end
  452.  
  453. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  454. local frame = IT("Frame")
  455. frame.BackgroundTransparency = TRANSPARENCY
  456. frame.BorderSizePixel = BORDERSIZEPIXEL
  457. frame.Position = POSITION
  458. frame.Size = SIZE
  459. frame.BackgroundColor3 = COLOR
  460. frame.BorderColor3 = BORDERCOLOR
  461. frame.Name = NAME
  462. frame.Parent = PARENT
  463. return frame
  464. end
  465.  
  466. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  467. local label = IT("TextLabel")
  468. label.BackgroundTransparency = 1
  469. label.Size = UD2(1, 0, 1, 0)
  470. label.Position = UD2(0, 0, 0, 0)
  471. label.TextColor3 = TEXTCOLOR
  472. label.TextStrokeTransparency = STROKETRANSPARENCY
  473. label.TextTransparency = TRANSPARENCY
  474. label.FontSize = TEXTFONTSIZE
  475. label.Font = TEXTFONT
  476. label.BorderSizePixel = BORDERSIZEPIXEL
  477. label.TextScaled = false
  478. label.Text = TEXT
  479. label.Name = NAME
  480. label.Parent = PARENT
  481. return label
  482. end
  483.  
  484. function NoOutlines(PART)
  485. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  486. end
  487.  
  488. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  489. local NEWWELD = IT(TYPE)
  490. NEWWELD.Part0 = PART0
  491. NEWWELD.Part1 = PART1
  492. NEWWELD.C0 = C0
  493. NEWWELD.C1 = C1
  494. NEWWELD.Parent = PARENT
  495. return NEWWELD
  496. end
  497.  
  498. local S = IT("Sound")
  499. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  500. local NEWSOUND = nil
  501. coroutine.resume(coroutine.create(function()
  502. NEWSOUND = S:Clone()
  503. NEWSOUND.Parent = PARENT
  504. NEWSOUND.Volume = VOLUME
  505. NEWSOUND.Pitch = PITCH
  506. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  507. NEWSOUND:play()
  508. if DOESLOOP == true then
  509. NEWSOUND.Looped = true
  510. else
  511. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  512. NEWSOUND:remove()
  513. end
  514. end))
  515. return NEWSOUND
  516. end
  517.  
  518. function CFrameFromTopBack(at, top, back)
  519. local right = top:Cross(back)
  520. 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)
  521. end
  522.  
  523. --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,255,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  524. function WACKYEFFECT(Table)
  525. local TYPE = (Table.EffectType or "Sphere")
  526. local SIZE = (Table.Size or VT(1,1,1))
  527. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  528. local TRANSPARENCY = (Table.Transparency or 0)
  529. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  530. local CFRAME = (Table.CFrame or Torso.CFrame)
  531. local MOVEDIRECTION = (Table.MoveToPos or nil)
  532. local ROTATION1 = (Table.RotationX or 0)
  533. local ROTATION2 = (Table.RotationY or 0)
  534. local ROTATION3 = (Table.RotationZ or 0)
  535. local MATERIAL = (Table.Material or "Neon")
  536. local COLOR = (Table.Color or C3(0,255,0))
  537. local TIME = (Table.Time or 45)
  538. local SOUNDID = (Table.SoundID or nil)
  539. local SOUNDPITCH = (Table.SoundPitch or nil)
  540. local SOUNDVOLUME = (Table.SoundVolume or nil)
  541. coroutine.resume(coroutine.create(function()
  542. local PLAYSSOUND = false
  543. local SOUND = nil
  544. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  545. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  546. PLAYSSOUND = true
  547. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  548. end
  549. EFFECT.Color = COLOR
  550. local MSH = nil
  551. if TYPE == "Sphere" then
  552. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  553. elseif TYPE == "Block" then
  554. MSH = IT("BlockMesh",EFFECT)
  555. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  556. elseif TYPE == "Wave" then
  557. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  558. elseif TYPE == "Ring" then
  559. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  560. elseif TYPE == "Slash" then
  561. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  562. elseif TYPE == "Round Slash" then
  563. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  564. elseif TYPE == "Swirl" then
  565. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  566. elseif TYPE == "Skull" then
  567. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  568. elseif TYPE == "Crystal" then
  569. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  570. end
  571. if MSH ~= nil then
  572. local MOVESPEED = nil
  573. if MOVEDIRECTION ~= nil then
  574. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  575. end
  576. local GROWTH = SIZE - ENDSIZE
  577. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  578. if TYPE == "Block" then
  579. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  580. else
  581. EFFECT.CFrame = CFRAME
  582. end
  583. for LOOP = 1, TIME+1 do
  584. Swait()
  585. MSH.Scale = MSH.Scale - GROWTH/TIME
  586. if TYPE == "Wave" then
  587. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  588. end
  589. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  590. if TYPE == "Block" then
  591. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  592. else
  593. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  594. end
  595. if MOVEDIRECTION ~= nil then
  596. local ORI = EFFECT.Orientation
  597. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  598. EFFECT.Orientation = ORI
  599. end
  600. end
  601. if PLAYSSOUND == false then
  602. EFFECT:remove()
  603. else
  604. SOUND.Stopped:Connect(function()
  605. EFFECT:remove()
  606. end)
  607. end
  608. else
  609. if PLAYSSOUND == false then
  610. EFFECT:remove()
  611. else
  612. repeat Swait() until SOUND.Playing == false
  613. EFFECT:remove()
  614. end
  615. end
  616. end))
  617. end
  618.  
  619. function MakeForm(PART,TYPE)
  620. if TYPE == "Cyl" then
  621. local MSH = IT("CylinderMesh",PART)
  622. elseif TYPE == "Ball" then
  623. local MSH = IT("SpecialMesh",PART)
  624. MSH.MeshType = "Sphere"
  625. elseif TYPE == "Wedge" then
  626. local MSH = IT("SpecialMesh",PART)
  627. MSH.MeshType = "Wedge"
  628. end
  629. end
  630.  
  631. function SpawnTrail(FROM,TO,BIG)
  632. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0))
  633. MakeForm(TRAIL,"Cyl")
  634. local DIST = (FROM - TO).Magnitude
  635. if BIG == true then
  636. TRAIL.Size = VT(0.5,DIST,0.5)
  637. else
  638. TRAIL.Size = VT(0.25,DIST,0.25)
  639. end
  640. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  641. coroutine.resume(coroutine.create(function()
  642. for i = 1, 5 do
  643. Swait()
  644. TRAIL.Transparency = TRAIL.Transparency + 0.1
  645. end
  646. TRAIL:remove()
  647. end))
  648. end
  649.  
  650. Debris = game:GetService("Debris")
  651.  
  652. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  653. local DIRECTION = CF(StartPos,EndPos).lookVector
  654. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  655. end
  656.  
  657. function turnto(position)
  658. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  659. end
  660.  
  661. --//=================================\\
  662. --|| WEAPON CREATION
  663. --\\=================================//
  664.  
  665. local Particle = IT("ParticleEmitter",nil)
  666. Particle.Enabled = false
  667. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  668. Particle.LightEmission = 0.5
  669. Particle.Rate = 150
  670. Particle.ZOffset = 0.2
  671. Particle.Rotation = NumberRange.new(-180, 180)
  672. Particle.RotSpeed = NumberRange.new(-180, 180)
  673. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  674. Particle.Color = ColorSequence.new(C3(255,255,0),C3(255,255,0),C3(255,255,0),C3(255,255,0),C3(255,255,0),C3(255,255,0),C3(255,255,0),C3(255,255,0))
  675.  
  676. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  677. function ParticleEmitter(Table)
  678. local PRTCL = Particle:Clone()
  679. local Speed = Table.Speed or 5
  680. local Drag = Table.Drag or 0
  681. local Size1 = Table.Size1 or 1
  682. local Size2 = Table.Size2 or 5
  683. local Lifetime1 = Table.Lifetime1 or 1
  684. local Lifetime2 = Table.Lifetime2 or 1.5
  685. local Parent = Table.Parent or Torso
  686. local Emit = Table.Emit or 100
  687. local Offset = Table.Offset or 360
  688. local Acel = Table.Acel or VT(0,0,0)
  689. local Enabled = Table.Enabled or false
  690. PRTCL.Parent = Parent
  691. PRTCL.Size = NumberSequence.new(Size1,Size2)
  692. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  693. PRTCL.Speed = NumberRange.new(Speed)
  694. PRTCL.VelocitySpread = Offset
  695. PRTCL.Drag = Drag
  696. PRTCL.Acceleration = Acel
  697. if Enabled == false then
  698. PRTCL:Emit(Emit)
  699. Debris:AddItem(PRTCL,Lifetime2)
  700. else
  701. PRTCL.Enabled = true
  702. end
  703. return PRTCL
  704. end
  705.  
  706. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  707. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  708. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  709. MakeForm(Part,"Wedge")
  710. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  711. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  712. MakeForm(Part,"Wedge")
  713. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  714. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  715. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  716. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  717. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  718. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  719. MakeForm(Part,"Cyl")
  720. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  721. for i = 1, 8 do
  722. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  723. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  724. end
  725. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  726. MakeForm(Part,"Cyl")
  727. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  728. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  729. MakeForm(Part,"Ball")
  730. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  731. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  732. MakeForm(Part,"Wedge")
  733. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  734. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  735. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  736. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  737. MakeForm(Part,"Cyl")
  738. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  739. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  740. MakeForm(Part,"Cyl")
  741. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  742. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  743. MakeForm(Part,"Cyl")
  744. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  745. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  746. MakeForm(Part,"Wedge")
  747. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  748. local LASTPART = Handle
  749. for i = 1, 10 do
  750. if LASTPART == Handle then
  751. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  752. LASTPART = Part
  753. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  754. else
  755. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  756. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  757. LASTPART = Part
  758. end
  759. end
  760.  
  761. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  762. MakeForm(Barrel,"Cyl")
  763. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  764. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  765. MakeForm(Part,"Cyl")
  766. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  767. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  768. MakeForm(Part,"Wedge")
  769. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  770. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  771. MakeForm(Hole,"Cyl")
  772. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  773. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  774. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  775. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  776. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  777. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  778. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  779. coroutine.resume(coroutine.create(function()
  780. while wait() do
  781. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  782. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  783. end
  784. end))
  785.  
  786. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  787. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.8, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  788.  
  789.  
  790. for _, c in pairs(Weapon:GetDescendants()) do
  791. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  792. c.Material = "Glass"
  793. c.Color = C3(0,0,0)
  794. elseif c.ClassName == "Part" and c.Name == "Eye" then
  795. c.Color = C3(0,255,0)
  796. c.Material = "Neon"
  797. end
  798. end
  799.  
  800. Weapon.Parent = Character
  801. for _, c in pairs(Weapon:GetChildren()) do
  802. if c.ClassName == "Part" then
  803. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  804. end
  805. end
  806.  
  807. function swait(num)
  808. if num == 0 or num == nil then
  809. ArtificialHB.Event:wait()
  810. else
  811. for i = 0, num do
  812. ArtificialHB.Event:wait()
  813. end
  814. end
  815. end
  816.  
  817. function chatfunc(text)
  818. local chat = coroutine.wrap(function()
  819. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  820. Character:FindFirstChild("TalkingBillBoard"):destroy()
  821. end
  822. local Bill = Instance.new("BillboardGui",Character)
  823. Bill.Size = UDim2.new(0,100,0,40)
  824. Bill.StudsOffset = Vector3.new(0,3,0)
  825. Bill.Adornee = Character.Head
  826. Bill.Name = "TalkingBillBoard"
  827. local Hehe = Instance.new("TextLabel",Bill)
  828. Hehe.BackgroundTransparency = 1
  829. Hehe.BorderSizePixel = 0
  830. Hehe.Text = ""
  831. Hehe.Font = "Arcade"
  832. Hehe.TextSize = 40
  833. Hehe.TextStrokeTransparency = 0
  834. Hehe.Size = UDim2.new(1,0,0.5,0)
  835. coroutine.resume(coroutine.create(function()
  836. while Hehe ~= nil do
  837. swait()
  838. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  839. Hehe.Rotation = math.random(-5,5)
  840. Hehe.TextColor3 = Color3.new(255,255,0)
  841. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  842. end
  843. end))
  844. for i = 1,string.len(text),1 do
  845. swait()
  846. Hehe.Text = string.sub(text,1,i)
  847. end
  848. swait(90)--Re[math.random(1, 93)]
  849. for i = 0, 1, .025 do
  850. swait()
  851. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  852. Hehe.TextStrokeTransparency = i
  853. Hehe.TextTransparency = i
  854. end
  855. Bill:Destroy()
  856. end)
  857. chat()
  858. end
  859.  
  860. function onChatted(msg)
  861. chatfunc(msg)
  862. end
  863.  
  864. Player.Chatted:connect(onChatted)
  865.  
  866. local BODY = {}
  867. for _, c in pairs(Character:GetDescendants()) do
  868. if c:IsA("BasePart") and c.Name ~= "Handle" then
  869. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  870. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  871. end
  872. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  873. elseif c:IsA("JointInstance") then
  874. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  875. end
  876. end
  877.  
  878. function refit()
  879. Character.Parent = workspace
  880. for e = 1, #BODY do
  881. if BODY[e] ~= nil then
  882. local STUFF = BODY[e]
  883. local PART = STUFF[1]
  884. local PARENT = STUFF[2]
  885. local MATERIAL = STUFF[3]
  886. local COLOR = STUFF[4]
  887. local TRANSPARENCY = STUFF[5]
  888. --local SIZE = STUFF[6]
  889. local NAME = STUFF[7]
  890. if PART.ClassName == "Part" and PART ~= RootPart then
  891. PART.Material = MATERIAL
  892. PART.Transparency = TRANSPARENCY
  893. PART.Name = NAME
  894. end
  895. if PART.Parent ~= PARENT then
  896. Humanoid:remove()
  897. PART.Parent = PARENT
  898. Humanoid = IT("Humanoid",Character)
  899. end
  900. end
  901. end
  902. end
  903.  
  904. local SKILLTEXTCOLOR = C3(255,255,0)
  905. local SKILLFONT = "Code"
  906. local SKILLTEXTSIZE = 7
  907.  
  908. Humanoid.Died:connect(function()
  909. refit()
  910. end)
  911.  
  912. 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")
  913. 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")
  914. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  915. --[[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")
  916. 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")
  917. ]]
  918. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] BrustBullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  919. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  920. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] DeathGround", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  921. --[[local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[B] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  922. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[C] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  923. ]]
  924. function printbye(Name)
  925. 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, "}
  926. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  927. end
  928.  
  929. workspace.ChildAdded:connect(function(instance)
  930. for BANISH = 1, #TOBANISH do
  931. if TOBANISH[BANISH] ~= nil then
  932. if instance.Name == TOBANISH[BANISH] then
  933. coroutine.resume(coroutine.create(function()
  934. printbye(instance.Name)
  935. instance:ClearAllChildren()
  936. Debris:AddItem(instance,0.0005)
  937. end))
  938. end
  939. end
  940. end
  941. end)
  942.  
  943. --//=================================\\
  944. --|| DAMAGING
  945. --\\=================================//
  946.  
  947. function Banish(Foe)
  948. if Foe then
  949. coroutine.resume(coroutine.create(function()
  950. --if game.Players:FindFirstChild(Foe.Name) then
  951. table.insert(TOBANISH,Foe.Name)
  952. printbye(Foe.Name)
  953. --end
  954. Foe.Archivable = true
  955. local CLONE = Foe:Clone()
  956. Foe:Destroy()
  957. CLONE.Parent = Effects
  958. CLONE:BreakJoints()
  959. local MATERIALS = {"Glass","Neon"}
  960. for _, c in pairs(CLONE:GetDescendants()) do
  961. if c:IsA("BasePart") then
  962. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  963. CreateSound(340722848, c, 10, 1, false)
  964. end
  965. c.Anchored = true
  966. c.Transparency = c.Transparency + 0.2
  967. c.Material = MATERIALS[MRANDOM(1,2)]
  968. c.Color = C3(0,255,0)
  969. if c.ClassName == "MeshPart" then
  970. c.TextureID = ""
  971. end
  972. if c:FindFirstChildOfClass("SpecialMesh") then
  973. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  974. end
  975. if c:FindFirstChildOfClass("Decal") then
  976. c:FindFirstChildOfClass("Decal"):remove()
  977. end
  978. c.Name = "Banished"
  979. c.CanCollide = false
  980. else
  981. c:remove()
  982. end
  983. end
  984. local A = false
  985. for i = 1, 35 do
  986. if A == false then
  987. A = true
  988. elseif A == true then
  989. A = false
  990. end
  991. for _, c in pairs(CLONE:GetDescendants()) do
  992. if c:IsA("BasePart") then
  993. c.Anchored = true
  994. c.Material = MATERIALS[MRANDOM(1,2)]
  995. c.Transparency = c.Transparency + 0.8/35
  996. if A == false then
  997. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  998. elseif A == true then
  999. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1000. end
  1001. end
  1002. end
  1003. Swait()
  1004. end
  1005. CLONE:remove()
  1006. end))
  1007. end
  1008. end
  1009.  
  1010. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1011. local CHILDREN = workspace:GetDescendants()
  1012. for index, CHILD in pairs(CHILDREN) do
  1013. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1014. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1015. if HUM then
  1016. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1017. if TORSO then
  1018. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1019. if ISBANISH == true then
  1020. Banish(CHILD)
  1021. else
  1022. if ISBANISH == "Gravity" then
  1023. HUM.PlatformStand = true
  1024. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1025. local grav = Instance.new("BodyPosition",TORSO)
  1026. grav.D = 15
  1027. grav.P = 20000
  1028. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1029. grav.position = TORSO.Position
  1030. grav.Name = "V3BanishForce"..Player.Name
  1031. else
  1032. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1033. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1034. end
  1035. else
  1036. HUM.PlatformStand = false
  1037. end
  1038. end
  1039. elseif ISBANISH == "Gravity" then
  1040. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1041. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1042. HUM.PlatformStand = false
  1043. end
  1044. end
  1045. end
  1046. end
  1047. end
  1048. end
  1049. end
  1050.  
  1051. --//=================================\\
  1052. --|| ATTACK FUNCTIONS AND STUFF
  1053. --\\=================================//
  1054. local LAUGHS = {"907329532"}
  1055.  
  1056. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1057. MakeForm(RightHole,"Cyl")
  1058. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1059. MakeForm(LeftHole,"Cyl")
  1060.  
  1061. function getbloody(victim,amount)
  1062. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1063. PART.CFrame = victim.CFrame
  1064. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1065. Debris:AddItem(PART,5)
  1066. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1067. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1068. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1069. local prtcl = asd:Clone()
  1070. prtcl.Parent = PART
  1071. prtcl:Emit(amount*10)
  1072. end
  1073.  
  1074. function Kill(Char)
  1075. local NewCharacter = IT("Model",Effects)
  1076. NewCharacter.Name = "Ow im ded ;-;"
  1077. for _, c in pairs(Char:GetDescendants()) do
  1078. if c:IsA("BasePart") and c.Transparency == 0 then
  1079. if c.Parent == Char then
  1080. getbloody(c,5)
  1081. end
  1082. c:BreakJoints()
  1083. c.Material = "Glass"
  1084. c.Color = C3(0.5,0,0)
  1085. c.CanCollide = true
  1086. c.Transparency = 0.3
  1087. if c:FindFirstChildOfClass("SpecialMesh") then
  1088. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1089. end
  1090. if c.Name == "Head" then
  1091. c:ClearAllChildren()
  1092. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1093. end
  1094. if c.ClassName == "MeshPart" then
  1095. c.TextureID = ""
  1096. end
  1097. if c:FindFirstChildOfClass("BodyPosition") then
  1098. c:FindFirstChildOfClass("BodyPosition"):remove()
  1099. end
  1100. if c:FindFirstChildOfClass("ParticleEmitter") then
  1101. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1102. end
  1103. c.Parent = NewCharacter
  1104. c.Name = "DeadPart"
  1105. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1106. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1107. end
  1108. end
  1109. Char:remove()
  1110. Debris:AddItem(NewCharacter,5)
  1111. end
  1112.  
  1113. function Banisher_Bullet()
  1114. ATTACK = true
  1115. Rooted = false
  1116. for i=0, 0.05, 0.1 / Animation_Speed do
  1117. Swait()
  1118. turnto(Mouse.Hit.p)
  1119. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1120. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1121. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1122. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1123. 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)
  1124. 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)
  1125. end
  1126. repeat
  1127. for i=0, 0.05, 0.1 / Animation_Speed do
  1128. Swait()
  1129. turnto(Mouse.Hit.p)
  1130. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1131. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1132. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1133. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1134. 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)
  1135. 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)
  1136. end
  1137. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1138. SpawnTrail(Hole.Position,POS)
  1139. if HIT ~= nil then
  1140. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1141. Banish(HIT.Parent)
  1142. end
  1143. end
  1144. 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,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1145. 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 = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1146. 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,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1147. 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,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1148. for i=0, 0.05, 0.1 / Animation_Speed do
  1149. Swait()
  1150. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1151. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1152. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1153. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1154. 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)
  1155. 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)
  1156. end
  1157. until KEYHOLD == false
  1158. ATTACK = false
  1159. Rooted = false
  1160. end
  1161. function Teleport()
  1162. ATTACK = true
  1163. Rooted = false
  1164. for i=0, 0.5, 0.1 / Animation_Speed do
  1165. Swait()
  1166. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1167. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1168. end
  1169. for e = 1, #BODY do
  1170. if BODY[e] ~= nil then
  1171. local STUFF = BODY[e]
  1172. local PART = STUFF[1]
  1173. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1174. local PRT = PART:Clone()
  1175. PRT.Anchored = true
  1176. PRT.CanCollide = false
  1177. PRT.Material = "Neon"
  1178. PRT.Color = C3(255,100,255)
  1179. PRT.Name = "WarpEffect"
  1180. PRT.Parent = Effects
  1181. PRT.CFrame = PART.CFrame
  1182. PRT:BreakJoints()
  1183. if PRT:FindFirstChildOfClass("Sound") then
  1184. PRT:FindFirstChildOfClass("Sound"):remove()
  1185. end
  1186. if PRT:FindFirstChildOfClass("Decal") then
  1187. PRT:FindFirstChildOfClass("Decal"):remove()
  1188. end
  1189. coroutine.resume(coroutine.create(function()
  1190. for i = 1, 100 do
  1191. Swait()
  1192. PRT.Transparency = PRT.Transparency + 1/100
  1193. end
  1194. PRT:remove()
  1195. end))
  1196. end
  1197. end
  1198. end
  1199. CreateSound(217767125, Torso, 10, 1)
  1200. local POS = RootPart.Orientation
  1201. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1202. RootPart.Orientation = POS
  1203. RootJoint.Parent = RootPart
  1204. for i=0, 0.5, 0.1 / Animation_Speed do
  1205. Swait()
  1206. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1207. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1208. end
  1209. for i=0, 0.1, 0.1 / Animation_Speed do
  1210. Swait()
  1211. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1212. end
  1213. ATTACK = false
  1214. Rooted = false
  1215. end
  1216. function Deathbound()
  1217. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1218. ATTACK = true
  1219. Rooted = true
  1220. for i=0, 1, 0.1 / Animation_Speed do
  1221. Swait()
  1222. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1223. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1224. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1225. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1226. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1227. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1228. end
  1229. local DONE = false
  1230. local GATE = nil
  1231. local GATESPIN = true
  1232. coroutine.resume(coroutine.create(function()
  1233. repeat
  1234. Swait()
  1235. if GATE ~= nil then
  1236. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1237. end
  1238. until GATESPIN == false
  1239. end))
  1240. coroutine.resume(coroutine.create(function()
  1241. repeat
  1242. Swait()
  1243. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1244. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1245. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1246. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1247. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1248. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1249. until DONE == true
  1250. Swait(50)
  1251. for i = 1, 35 do
  1252. Swait(4)
  1253. local FIRED = false
  1254. local CHILDREN = workspace:GetDescendants()
  1255. for index, CHILD in pairs(CHILDREN) do
  1256. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1257. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1258. if HUM then
  1259. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1260. if TORSO then
  1261. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1262. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1263. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1264. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1265. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1266. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1267. Banish(CHILD)
  1268. FIRED = true
  1269. break
  1270. end
  1271. end
  1272. end
  1273. end
  1274. end
  1275. if FIRED == false then
  1276. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1277. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1278. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1279. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1280. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1281. if HITBOD ~= nil then
  1282. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1283. Kill(HITBOD.Parent)
  1284. end
  1285. end
  1286. end
  1287. end
  1288. for i = 1, 45 do
  1289. Swait()
  1290. GATE.Size = GATE.Size - VT(3,0,3)
  1291. end
  1292. GATESPIN = false
  1293. GATE:remove()
  1294. end))
  1295. Swait(15)
  1296. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1297. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  1298. local DECAL = IT("Decal",GATE)
  1299. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  1300. DECAL.Face = "Top"
  1301. GATE.CFrame = CF(HITPOS)
  1302. CreateSound(160772554, GATE, 7, 1.3, false)
  1303. for i = 1, 45 do
  1304. Swait()
  1305. GATE.Size = GATE.Size + VT(3,0,3)
  1306. end
  1307. CreateSound(213603013, RightHole, 7, 1, false)
  1308. CreateSound(213603013, LeftHole, 7, 1, false)
  1309. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1310. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1311. ATTACK = false
  1312. Rooted = false
  1313. DONE = true
  1314. end
  1315.  
  1316.  
  1317. --//=================================\\
  1318. --|| ASSIGN THINGS TO KEYS
  1319. --\\=================================//
  1320.  
  1321. function MouseDown(Mouse)
  1322. if ATTACK == false then
  1323. end
  1324. end
  1325.  
  1326. function MouseUp(Mouse)
  1327. HOLD = false
  1328. end
  1329.  
  1330. function KeyDown(Key)
  1331. KEYHOLD = true
  1332. if Key == "x" and ATTACK == false then
  1333. Deathbound()
  1334. end
  1335.  
  1336. if Key == "b" and ATTACK == false then
  1337. end
  1338.  
  1339. if Key == "c" and ATTACK == false then
  1340. end
  1341.  
  1342. if Key == "v" and ATTACK == false then
  1343. Teleport()
  1344. end
  1345.  
  1346. if Key == "z" and ATTACK == false then
  1347. Banisher_Bullet()
  1348. end
  1349. end
  1350.  
  1351. function KeyUp(Key)
  1352. KEYHOLD = false
  1353. end
  1354.  
  1355. Mouse.Button1Down:connect(function(NEWKEY)
  1356. MouseDown(NEWKEY)
  1357. end)
  1358. Mouse.Button1Up:connect(function(NEWKEY)
  1359. MouseUp(NEWKEY)
  1360. end)
  1361. Mouse.KeyDown:connect(function(NEWKEY)
  1362. KeyDown(NEWKEY)
  1363. end)
  1364. Mouse.KeyUp:connect(function(NEWKEY)
  1365. KeyUp(NEWKEY)
  1366. end)
  1367.  
  1368. --//=================================\\
  1369. --\\=================================//
  1370.  
  1371.  
  1372. function unanchor()
  1373. if UNANCHOR == true then
  1374. g = Character:GetChildren()
  1375. for i = 1, #g do
  1376. if g[i].ClassName == "Part" then
  1377. g[i].Anchored = false
  1378. end
  1379. end
  1380. end
  1381. end
  1382.  
  1383.  
  1384. --//=================================\\
  1385. --|| WRAP THE WHOLE SCRIPT UP
  1386. --\\=================================//
  1387.  
  1388. Humanoid.Changed:connect(function(Jump)
  1389. if Jump == "Jump" and (Disable_Jump == true) then
  1390. Humanoid.Jump = false
  1391. end
  1392. end)
  1393.  
  1394. local CONNECT = nil
  1395.  
  1396. while true do
  1397. Swait()
  1398. ANIMATE.Parent = nil
  1399. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1400. Humanoid = IT("Humanoid",Character)
  1401. end
  1402. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1403. v:Stop();
  1404. end
  1405. SINE = SINE + CHANGE
  1406. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1407. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1408. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1409. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
  1410. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1411. 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) / 3)
  1412. 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) / 3)
  1413. 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) / 3)
  1414. 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) / 3)
  1415. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1416. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1417. 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 / 3)
  1418. 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 / 3)
  1419. 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 / 3)
  1420. end
  1421. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1422. ANIM = "Jump"
  1423. if ATTACK == false then
  1424. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1425. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1426. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1427. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1428. 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)
  1429. 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)
  1430. end
  1431. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1432. ANIM = "Fall"
  1433. if ATTACK == false then
  1434. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1435. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1436. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1437. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1438. 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)
  1439. 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)
  1440. end
  1441. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1442. ANIM = "Idle"
  1443. if ATTACK == false then
  1444. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / 3)
  1445. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 4.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / 3)
  1446. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45 + 2 * SIN(SINE / 12)), RAD(-25))* RIGHTSHOULDERC0, 0.15 / 3)
  1447. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3)
  1448. RightHip.C0 = Clerp(RightHip.C0, CF(1, -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 / 3)
  1449. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -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 / 3)
  1450. end
  1451. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1452. ANIM = "Walk"
  1453. if ATTACK == false then
  1454. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3)
  1455. 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 / 3)
  1456. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3)
  1457. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / 3)
  1458. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / 3)
  1459. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / 3)
  1460. end
  1461. end
  1462. unanchor()
  1463. Humanoid.MaxHealth = "inf"
  1464. Humanoid.Health = "inf"
  1465. if Rooted == false then
  1466. Disable_Jump = false
  1467. Humanoid.WalkSpeed = Speed
  1468. elseif Rooted == true then
  1469. Disable_Jump = true
  1470. Humanoid.WalkSpeed = 0
  1471. end
  1472. refit()
  1473. sick.Parent = Torso
  1474. sick:resume()
  1475. sick.Volume = 5
  1476. sick.Pitch = 0
  1477. sick.SoundId = "rbxassetid://384456431"
  1478. sick.Name = "BanishV3Music"
  1479. end
  1480.  
  1481. --//=================================\\
  1482. --\\=================================//
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488. --//====================================================\\--
  1489. --|| END OF SCRIPT
  1490. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement