scriptshocasereditor

Untitled

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