Advertisement
Guest User

Untitled

a guest
Jul 11th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.67 KB | None | 0 0
  1. script.Name = "machine gun banisher v2 maded to destroy skids"
  2. warn'This Edit Is Made By UndeniableInfinity, Soins1, And VictoriaChristophe.'
  3. warn'please support the original script creator.'
  4. print'Just So You Know: this script was supposed to be named "The Final Skid Banisher"'
  5. print' but the tags ruined it. so it was named, The Final Judgement.'
  6. warn'===NEW UPDATE: VERSION 3.5!==='
  7. warn'>Made "Colorful Death"s Bullets bigger. now you can'
  8. warn'kill more skids.'
  9. --//====================================================\\--
  10. --|| Edited by IvanPortero1
  11. --\\====================================================//--
  12. script:ClearAllChildren()
  13. wait(0.2)
  14. Player = game:GetService("Players").LocalPlayer
  15. PlayerGui = Player.PlayerGui
  16. Cam = workspace.CurrentCamera
  17. Backpack = Player.Backpack
  18. Character = Player.Character
  19. Humanoid = Character.Humanoid
  20. Mouse = Player:GetMouse()
  21. RootPart = Character["HumanoidRootPart"]
  22. Torso = Character["Torso"]
  23. Head = Character["Head"]
  24. RightArm = Character["Right Arm"]
  25. LeftArm = Character["Left Arm"]
  26. RightLeg = Character["Right Leg"]
  27. LeftLeg = Character["Left Leg"]
  28. RootJoint = RootPart["RootJoint"]
  29. Neck = Torso["Neck"]
  30. RightShoulder = Torso["Right Shoulder"]
  31. LeftShoulder = Torso["Left Shoulder"]
  32. RightHip = Torso["Right Hip"]
  33. LeftHip = Torso["Left Hip"]
  34. local TIME = 0
  35.  
  36. IT = Instance.new
  37. CF = CFrame.new
  38. VT = Vector3.new
  39. RAD = math.rad
  40. C3 = Color3.new
  41. UD2 = UDim2.new
  42. BRICKC = BrickColor.new
  43. ANGLES = CFrame.Angles
  44. EULER = CFrame.fromEulerAnglesXYZ
  45. COS = math.cos
  46. ACOS = math.acos
  47. SIN = math.sin
  48. ASIN = math.asin
  49. ABS = math.abs
  50. MRANDOM = math.random
  51. FLOOR = math.floor
  52.  
  53. --//=================================\\
  54. --|| USEFUL VALUES
  55. --\\=================================//
  56.  
  57. Animation_Speed = 1.5
  58. local FORCERESET = false
  59. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  60. local Speed = 30
  61. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  62. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  63. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  64. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  65. local DAMAGEMULTIPLIER = 1
  66. local ANIM = "Idle"
  67. local ATTACK = false
  68. local EQUIPPED = false
  69. local HOLD = false
  70. local COMBO = 1
  71. local Rooted = false
  72. local SINE = 0
  73. local KEYHOLD = false
  74. local CHANGE = 2 / Animation_Speed
  75. local WALKINGANIM = false
  76. local VALUE1 = false
  77. local VALUE2 = false
  78. local ROBLOXIDLEANIMATION = IT("Animation")
  79. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  80. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  81. --ROBLOXIDLEANIMATION.Parent = Humanoid
  82. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  83. WEAPONGUI.Name = "BanishV3Gui"
  84. local Weapon = IT("Model")
  85. Weapon.Name = "Adds"
  86. local Effects = IT("Folder", Weapon)
  87. Effects.Name = "Effects"
  88. local ANIMATOR = Humanoid.Animator
  89. local ANIMATE = Character:FindFirstChild("Animate")
  90. local UNANCHOR = true
  91. local TOBANISH = {}
  92.  
  93. --//=================================\\
  94. --\\=================================//
  95.  
  96.  
  97. --//=================================\\
  98. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  99. --\\=================================//
  100.  
  101. ArtificialHB = Instance.new("BindableEvent", script)
  102. ArtificialHB.Name = "ArtificialHB"
  103.  
  104. script:WaitForChild("ArtificialHB")
  105.  
  106. frame = Frame_Speed
  107. tf = 0
  108. allowframeloss = false
  109. tossremainder = false
  110. lastframe = tick()
  111. script.ArtificialHB:Fire()
  112.  
  113. game:GetService("RunService").Heartbeat:connect(function(s, p)
  114. tf = tf + s
  115. if tf >= frame then
  116. if allowframeloss then
  117. script.ArtificialHB:Fire()
  118. lastframe = tick()
  119. else
  120. for i = 1, math.floor(tf / frame) do
  121. script.ArtificialHB:Fire()
  122. end
  123. lastframe = tick()
  124. end
  125. if tossremainder then
  126. tf = 0
  127. else
  128. tf = tf - frame * math.floor(tf / frame)
  129. end
  130. end
  131. end)
  132.  
  133. --//=================================\\
  134. --\\=================================//
  135.  
  136. --//=================================\\
  137. --|| SOME FUNCTIONS
  138. --\\=================================//
  139.  
  140. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  141. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  142. end
  143.  
  144. function PositiveAngle(NUMBER)
  145. if NUMBER >= 0 then
  146. NUMBER = 0
  147. end
  148. return NUMBER
  149. end
  150.  
  151. function NegativeAngle(NUMBER)
  152. if NUMBER <= 0 then
  153. NUMBER = 0
  154. end
  155. return NUMBER
  156. end
  157.  
  158. function Swait(NUMBER)
  159. if NUMBER == 0 or NUMBER == nil then
  160. ArtificialHB.Event:wait()
  161. else
  162. for i = 1, NUMBER do
  163. ArtificialHB.Event:wait()
  164. end
  165. end
  166. end
  167.  
  168. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  169. local NEWMESH = IT(MESH)
  170. if MESH == "SpecialMesh" then
  171. NEWMESH.MeshType = MESHTYPE
  172. if MESHID ~= "nil" and MESHID ~= "" then
  173. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  174. end
  175. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  176. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  177. end
  178. end
  179. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  180. NEWMESH.Scale = SCALE
  181. NEWMESH.Parent = PARENT
  182. return NEWMESH
  183. end
  184.  
  185. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  186. local NEWPART = IT("Part")
  187. NEWPART.formFactor = FORMFACTOR
  188. NEWPART.Reflectance = REFLECTANCE
  189. NEWPART.Transparency = TRANSPARENCY
  190. NEWPART.CanCollide = false
  191. NEWPART.Locked = true
  192. NEWPART.Anchored = true
  193. if ANCHOR == false then
  194. NEWPART.Anchored = false
  195. end
  196. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  197. NEWPART.Name = NAME
  198. NEWPART.Size = SIZE
  199. NEWPART.Position = Torso.Position
  200. NEWPART.Material = MATERIAL
  201. NEWPART:BreakJoints()
  202. NEWPART.Parent = PARENT
  203. return NEWPART
  204. end
  205.  
  206. local function weldBetween(a, b)
  207. local weldd = Instance.new("ManualWeld")
  208. weldd.Part0 = a
  209. weldd.Part1 = b
  210. weldd.C0 = CFrame.new()
  211. weldd.C1 = b.CFrame:inverse() * a.CFrame
  212. weldd.Parent = a
  213. return weldd
  214. end
  215.  
  216.  
  217. function QuaternionFromCFrame(cf)
  218. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  219. local trace = m00 + m11 + m22
  220. if trace > 0 then
  221. local s = math.sqrt(1 + trace)
  222. local recip = 0.5 / s
  223. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  224. else
  225. local i = 0
  226. if m11 > m00 then
  227. i = 1
  228. end
  229. if m22 > (i == 0 and m00 or m11) then
  230. i = 2
  231. end
  232. if i == 0 then
  233. local s = math.sqrt(m00 - m11 - m22 + 1)
  234. local recip = 0.5 / s
  235. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  236. elseif i == 1 then
  237. local s = math.sqrt(m11 - m22 - m00 + 1)
  238. local recip = 0.5 / s
  239. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  240. elseif i == 2 then
  241. local s = math.sqrt(m22 - m00 - m11 + 1)
  242. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  243. end
  244. end
  245. end
  246.  
  247. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  248. local xs, ys, zs = x + x, y + y, z + z
  249. local wx, wy, wz = w * xs, w * ys, w * zs
  250. local xx = x * xs
  251. local xy = x * ys
  252. local xz = x * zs
  253. local yy = y * ys
  254. local yz = y * zs
  255. local zz = z * zs
  256. 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))
  257. end
  258.  
  259. function QuaternionSlerp(a, b, t)
  260. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  261. local startInterp, finishInterp;
  262. if cosTheta >= 0.0001 then
  263. if (1 - cosTheta) > 0.0001 then
  264. local theta = ACOS(cosTheta)
  265. local invSinTheta = 1 / SIN(theta)
  266. startInterp = SIN((1 - t) * theta) * invSinTheta
  267. finishInterp = SIN(t * theta) * invSinTheta
  268. else
  269. startInterp = 1 - t
  270. finishInterp = t
  271. end
  272. else
  273. if (1 + cosTheta) > 0.0001 then
  274. local theta = ACOS(-cosTheta)
  275. local invSinTheta = 1 / SIN(theta)
  276. startInterp = SIN((t - 1) * theta) * invSinTheta
  277. finishInterp = SIN(t * theta) * invSinTheta
  278. else
  279. startInterp = t - 1
  280. finishInterp = t
  281. end
  282. end
  283. 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
  284. end
  285.  
  286. function Clerp(a, b, t)
  287. local qa = {QuaternionFromCFrame(a)}
  288. local qb = {QuaternionFromCFrame(b)}
  289. local ax, ay, az = a.x, a.y, a.z
  290. local bx, by, bz = b.x, b.y, b.z
  291. local _t = 1 - t
  292. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  293. end
  294.  
  295. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  296. local frame = IT("Frame")
  297. frame.BackgroundTransparency = TRANSPARENCY
  298. frame.BorderSizePixel = BORDERSIZEPIXEL
  299. frame.Position = POSITION
  300. frame.Size = SIZE
  301. frame.BackgroundColor3 = COLOR
  302. frame.BorderColor3 = BORDERCOLOR
  303. frame.Name = NAME
  304. frame.Parent = PARENT
  305. return frame
  306. end
  307.  
  308. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  309. local label = IT("TextLabel")
  310. label.BackgroundTransparency = 1
  311. label.Size = UD2(1, 0, 1, 0)
  312. label.Position = UD2(0, 0, 0, 0)
  313. label.TextColor3 = TEXTCOLOR
  314. label.TextStrokeTransparency = STROKETRANSPARENCY
  315. label.TextTransparency = TRANSPARENCY
  316. label.FontSize = TEXTFONTSIZE
  317. label.Font = TEXTFONT
  318. label.BorderSizePixel = BORDERSIZEPIXEL
  319. label.TextScaled = false
  320. label.Text = TEXT
  321. label.Name = NAME
  322. label.Parent = PARENT
  323. return label
  324. end
  325.  
  326. function NoOutlines(PART)
  327. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  328. end
  329.  
  330. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  331. local NEWWELD = IT(TYPE)
  332. NEWWELD.Part0 = PART0
  333. NEWWELD.Part1 = PART1
  334. NEWWELD.C0 = C0
  335. NEWWELD.C1 = C1
  336. NEWWELD.Parent = PARENT
  337. return NEWWELD
  338. end
  339.  
  340. local S = IT("Sound")
  341. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  342. local NEWSOUND = nil
  343. coroutine.resume(coroutine.create(function()
  344. NEWSOUND = S:Clone()
  345. NEWSOUND.Parent = PARENT
  346. NEWSOUND.Volume = VOLUME
  347. NEWSOUND.Pitch = PITCH
  348. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  349. NEWSOUND:play()
  350. if DOESLOOP == true then
  351. NEWSOUND.Looped = true
  352. else
  353. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  354. NEWSOUND:remove()
  355. end
  356. end))
  357. return NEWSOUND
  358. end
  359. local sick = Instance.new("Sound",Torso)
  360. sick.Parent = Torso
  361. sick:resume()
  362. sick.Volume = 4
  363. sick.Pitch = 1
  364. sick.SoundId = "rbxassetid://1504604335"
  365. sick.Name = "BanishV3Music"
  366. sick:play()
  367. wait(9.7)
  368.  
  369. Player = game:GetService("Players").LocalPlayer
  370. PlayerGui = Player:FindFirstChildOfClass("PlayerGui")
  371. Cam = workspace.CurrentCamera
  372. Backpack = Player:FindFirstChildOfClass("Backpack")
  373. Character = Player.Character
  374. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  375. Mouse = Player:GetMouse()
  376.  
  377. function chatfunc(text)
  378. local chat = coroutine.wrap(function()
  379. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  380. Character:FindFirstChild("TalkingBillBoard"):destroy()
  381. end
  382. local naeeym2 = Instance.new("BillboardGui",Character)
  383. naeeym2.Size = UDim2.new(0,100,0,40)
  384. naeeym2.StudsOffset = Vector3.new(0,3,0)
  385. naeeym2.Adornee = Character.Head
  386. naeeym2.Name = "TalkingBillBoard"
  387. local tecks3 = Instance.new("TextLabel",naeeym2)
  388. tecks3.BackgroundTransparency = 1
  389. tecks3.BorderSizePixel = 0
  390. tecks3.Text = ""
  391. tecks3.Font = "SciFi"
  392. tecks3.TextSize = 30
  393. tecks3.TextStrokeTransparency = 0
  394. tecks3.TextColor3 = Color3.new(3.15,0,0)
  395. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  396. tecks3.Size = UDim2.new(1,0,0.5,0)
  397. for i = 1,string.len(text),1 do
  398. tecks3.Text = string.sub(text,1,i)
  399. wait(0.01)
  400. end
  401. wait(3)
  402. for i = 1, 80 do
  403. Swait()
  404. tecks3.Position = tecks3.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  405. tecks3.Rotation = tecks3.Rotation + .8
  406. tecks3.TextStrokeTransparency = tecks3.TextStrokeTransparency +.03
  407. tecks3.TextTransparency = tecks3.TextTransparency + .03
  408. end
  409. end)
  410. chat()
  411. end
  412.  
  413.  
  414. function CFrameFromTopBack(at, top, back)
  415. local right = top:Cross(back)
  416. 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)
  417. end
  418.  
  419. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  420. local cR=255
  421. local cG=0
  422. local cB=0
  423. local flg5=1 local omgidk=1
  424. local add=15
  425. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  426. if omgidk>10000 then omgidk=0 end
  427. omgidk=omgidk+1
  428. if cR>=255 then flg5=1 end
  429. if cG>=255 then flg5=2 end
  430. if cB>=255 then flg5=3 end
  431. if flg5==1 then cR=cR-add cG=cG+add end
  432. if flg5==2 then cG=cG-add cB=cB+add end
  433. if flg5==3 then cB=cB-add cR=cR+add end
  434. color=Color3.fromRGB(cR,cG,cB)
  435. function WACKYEFFECT(Table)
  436. local TYPE = (Table.EffectType or "Sphere")
  437. local SIZE = (Table.Size or VT(6,6,6))
  438. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  439. local TRANSPARENCY = (Table.Transparency or 0)
  440. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  441. local CFRAME = (Table.CFrame or Torso.CFrame)
  442. local MOVEDIRECTION = (Table.MoveToPos or nil)
  443. local ROTATION1 = (Table.RotationX or 0)
  444. local ROTATION2 = (Table.RotationY or 0)
  445. local ROTATION3 = (Table.RotationZ or 0)
  446. local MATERIAL = "Neon"
  447. local COLOR = color
  448. local TIME = (Table.Time or 45)
  449. local SOUNDID = (Table.SoundID or nil)
  450. local SOUNDPITCH = (Table.SoundPitch or nil)
  451. local SOUNDVOLUME = (Table.SoundVolume or nil)
  452. coroutine.resume(coroutine.create(function()
  453. local PLAYSSOUND = false
  454. local SOUND = nil
  455. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  456. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  457. PLAYSSOUND = true
  458. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  459. end
  460. EFFECT.Color = color
  461. local MSH = nil
  462. if TYPE == "Sphere" then
  463. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  464. elseif TYPE == "Block" then
  465. MSH = IT("BlockMesh",EFFECT)
  466. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  467. elseif TYPE == "Wave" then
  468. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  469. elseif TYPE == "Ring" then
  470. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  471. elseif TYPE == "Slash" then
  472. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  473. elseif TYPE == "Round Slash" then
  474. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  475. elseif TYPE == "Swirl" then
  476. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  477. elseif TYPE == "Skull" then
  478. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  479. elseif TYPE == "Crystal" then
  480. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  481. end
  482. if MSH ~= nil then
  483. local MOVESPEED = nil
  484. if MOVEDIRECTION ~= nil then
  485. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  486. end
  487. local GROWTH = SIZE - ENDSIZE
  488. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  489. if TYPE == "Block" then
  490. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  491. else
  492. EFFECT.CFrame = CFRAME
  493. end
  494. for LOOP = 1, TIME+1 do
  495. Swait()
  496. MSH.Scale = MSH.Scale - GROWTH/TIME
  497. if TYPE == "Wave" then
  498. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  499. end
  500. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  501. if TYPE == "Block" then
  502. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  503. else
  504. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  505. end
  506. if MOVEDIRECTION ~= nil then
  507. local ORI = EFFECT.Orientation
  508. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  509. EFFECT.Orientation = ORI
  510. end
  511. end
  512. if PLAYSSOUND == false then
  513. EFFECT:remove()
  514. else
  515. SOUND.Stopped:Connect(function()
  516. EFFECT:remove()
  517. end)
  518. end
  519. else
  520. if PLAYSSOUND == false then
  521. EFFECT:remove()
  522. else
  523. repeat Swait() until SOUND.Playing == false
  524. EFFECT:remove()
  525. end
  526. end
  527. end))
  528. end
  529. end)
  530. function MakeForm(PART,TYPE)
  531. if TYPE == "Cyl" then
  532. local MSH = IT("CylinderMesh",PART)
  533. elseif TYPE == "Ball" then
  534. local MSH = IT("SpecialMesh",PART)
  535. MSH.MeshType = "Sphere"
  536. elseif TYPE == "Wedge" then
  537. local MSH = IT("SpecialMesh",PART)
  538. MSH.MeshType = "Wedge"
  539. end
  540. end
  541. function SpawnTrail(FROM,TO,BIG)
  542. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  543. MakeForm(TRAIL,"Cyl")
  544. local cR=255
  545. local cG=0
  546. local cB=0
  547. local flg5=1 local omgidk=1
  548. local add=15
  549. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  550. if omgidk>10000 then omgidk=0 end
  551. omgidk=omgidk+1
  552. if cR>=255 then flg5=1 end
  553. if cG>=255 then flg5=2 end
  554. if cB>=255 then flg5=3 end
  555. if flg5==1 then cR=cR-add cG=cG+add end
  556. if flg5==2 then cG=cG-add cB=cB+add end
  557. if flg5==3 then cB=cB-add cR=cR+add end
  558. color=Color3.fromRGB(cR,cG,cB)
  559. TRAIL.Color = color
  560. end)
  561. local DIST = (FROM - TO).Magnitude
  562. if BIG == true then
  563. TRAIL.Size = VT(5,DIST,5)
  564. else
  565. TRAIL.Size = VT(5,DIST,5)
  566. end
  567. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  568. coroutine.resume(coroutine.create(function()
  569. for i = 1, 55 do
  570. Swait()
  571. TRAIL.Transparency = TRAIL.Transparency + 0.01
  572. end
  573. TRAIL:remove()
  574. end))
  575. end
  576.  
  577. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  578. local DIRECTION = CF(StartPos,EndPos).lookVector
  579. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  580. end
  581.  
  582. function turnto(position)
  583. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  584. end
  585.  
  586. --//=================================\\
  587. --|| WEAPON CREATION
  588. --\\=================================//
  589.  
  590. local Particle = IT("ParticleEmitter",nil)
  591. Particle.Enabled = false
  592. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  593. Particle.LightEmission = 0.5
  594. Particle.Rate = 150
  595. Particle.ZOffset = 0.2
  596. Particle.Rotation = NumberRange.new(-180, 180)
  597. Particle.RotSpeed = NumberRange.new(-180, 180)
  598. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  599. Particle.Color = ColorSequence.new(C3(255,0,0),C3(255,128,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))
  600.  
  601. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  602. function ParticleEmitter(Table)
  603. local PRTCL = Particle:Clone()
  604. local Speed = Table.Speed or 5
  605. local Drag = Table.Drag or 0
  606. local Size1 = Table.Size1 or 1
  607. local Size2 = Table.Size2 or 5
  608. local Lifetime1 = Table.Lifetime1 or 9.5
  609. local Lifetime2 = Table.Lifetime2 or 10
  610. local Parent = Table.Parent or Torso
  611. local Emit = Table.Emit or 100
  612. local Offset = Table.Offset or 360
  613. local Acel = Table.Acel or VT(0,0,0)
  614. local Enabled = Table.Enabled or false
  615. PRTCL.Parent = Parent
  616. PRTCL.Size = NumberSequence.new(Size1,Size2)
  617. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  618. PRTCL.Speed = NumberRange.new(Speed)
  619. PRTCL.VelocitySpread = Offset
  620. PRTCL.Drag = Drag
  621. PRTCL.Acceleration = Acel
  622. if Enabled == false then
  623. PRTCL:Emit(Emit)
  624. Debris:AddItem(PRTCL,Lifetime2)
  625. else
  626. PRTCL.Enabled = true
  627. end
  628. return PRTCL
  629. end
  630. m = game.Players.LocalPlayer
  631. char = m.Character
  632. local txt = Instance.new("BillboardGui", char)
  633. txt.Adornee = char.Head
  634. txt.Name = "_status"
  635. txt.Size = UDim2.new(2, 0, 1.2, 0)
  636. txt.StudsOffset = Vector3.new(-9, 8, 0)
  637. local text = Instance.new("TextLabel", txt)
  638. text.Size = UDim2.new(10, 0, 7, 0)
  639. text.FontSize = "Size24"
  640. text.TextScaled = true
  641. text.TextTransparency = 0
  642. text.BackgroundTransparency = 1
  643. text.TextTransparency = 0
  644. text.TextStrokeTransparency = 0
  645. text.Font = "Bodoni"
  646. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  647. v = Instance.new("Part")
  648. v.Name = "ColorBrick"
  649. v.Parent = m.Character
  650. v.Anchored = true
  651. v.CanCollide = false
  652. v.BottomSurface = "Smooth"
  653. v.TopSurface = "Smooth"
  654. v.Size = Vector3.new(10, 5, 3)
  655. v.Transparency = 1
  656. v.CFrame = char.Torso.CFrame
  657. v.BrickColor = BrickColor.new("Really black")
  658. v.Transparency = 1
  659. v.Shape = "Block"
  660. spawn(function()
  661. local TweenService = game:GetService("TweenService")
  662. 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)}
  663. local Int = 0
  664. while wait(0.5) do
  665. if Int == #Colours then Int = 0 end
  666. Int = Int+1
  667. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  668. end
  669. end)
  670. text.Text = "The Final Judgement"
  671.  
  672. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  673. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  674. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  675. MakeForm(Part,"Wedge")
  676. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  677. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  678. MakeForm(Part,"Wedge")
  679. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  680. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  681. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  682. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  683. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  684. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  685. MakeForm(Part,"Cyl")
  686. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  687. for i = 1, 8 do
  688. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  689. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  690. end
  691. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  692. MakeForm(Part,"Cyl")
  693. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  694. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  695. MakeForm(Part,"Ball")
  696. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  697. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  698. MakeForm(Part,"Wedge")
  699. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  700. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  701. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  702. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  703. MakeForm(Part,"Cyl")
  704. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  705. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  706. MakeForm(Part,"Cyl")
  707. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  708. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  709. MakeForm(Part,"Cyl")
  710. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  711. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  712. MakeForm(Part,"Wedge")
  713. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  714. local LASTPART = Handle
  715. for i = 1, 10 do
  716. if LASTPART == Handle then
  717. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  718. LASTPART = Part
  719. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  720. else
  721. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  722. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  723. LASTPART = Part
  724. end
  725. end
  726.  
  727. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  728. MakeForm(Barrel,"Cyl")
  729. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  730. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  731. MakeForm(Part,"Cyl")
  732. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  733. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  734. MakeForm(Part,"Wedge")
  735. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  736. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  737. MakeForm(Hole,"Cyl")
  738. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  739. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  740. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  741. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  742. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  743. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  744. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  745. coroutine.resume(coroutine.create(function()
  746. while wait() do
  747. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  748. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  749. end
  750. end))
  751.  
  752. 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)})
  753. --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)})
  754.  
  755. local cR=255
  756. local cG=0
  757. local cB=0
  758. local flg5=1 local omgidk=1
  759. local add=15
  760. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  761. if omgidk>10000 then omgidk=0 end
  762. omgidk=omgidk+1
  763. if cR>=255 then flg5=1 end
  764. if cG>=255 then flg5=2 end
  765. if cB>=255 then flg5=3 end
  766. if flg5==1 then cR=cR-add cG=cG+add end
  767. if flg5==2 then cG=cG-add cB=cB+add end
  768. if flg5==3 then cB=cB-add cR=cR+add end
  769. color=Color3.fromRGB(cR,cG,cB)
  770. for _, c in pairs(Weapon:GetDescendants()) do
  771. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  772. c.Material = "Glass"
  773. c.Color = C3(0,0,0)
  774. elseif c.ClassName == "Part" and c.Name == "Eye" then
  775. c.Color = color
  776. c.Material = "Neon"
  777. end
  778. end
  779. end)
  780. Weapon.Parent = Character
  781. for _, c in pairs(Weapon:GetChildren()) do
  782. if c.ClassName == "Part" then
  783. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  784. end
  785. end
  786.  
  787. local SKILLTEXTCOLOR = C3(1,0,0)
  788. local SKILLFONT = "Antique"
  789. local SKILLTEXTSIZE = 7
  790.  
  791. Humanoid.Died:connect(function()
  792. ATTACK = true
  793. end)
  794.  
  795. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  796. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  797.  
  798. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Colorful Death", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
  799. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Forgiveness", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 2")
  800.  
  801. function printbye(Name)
  802. 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, "}
  803. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  804. end
  805. workspace.ChildAdded:connect(function(instance)
  806. for BANISH = 1, #TOBANISH do
  807. if TOBANISH[BANISH] ~= nil then
  808. if instance.Name == TOBANISH[BANISH] then
  809. coroutine.resume(coroutine.create(function()
  810. printbye(instance.Name)
  811. instance:ClearAllChildren()
  812. Debris:AddItem(instance,0.0005)
  813. end))
  814. end
  815. end
  816. end
  817. end)
  818.  
  819. --//=================================\\
  820. --|| DAMAGING
  821. --\\=================================//
  822.  
  823. function Banish(Foe)
  824. if Foe then
  825. coroutine.resume(coroutine.create(function()
  826. --if game.Players:FindFirstChild(Foe.Name) then
  827. table.insert(TOBANISH,Foe.Name)
  828. printbye(Foe.Name)
  829. --end
  830. Foe.Archivable = true
  831. local CLONE = Foe:Clone()
  832. Foe:Destroy()
  833. CLONE.Parent = Effects
  834. CLONE:BreakJoints()
  835. local MATERIALS = {"Glass","Neon"}
  836. for _, c in pairs(CLONE:GetDescendants()) do
  837. if c:IsA("BasePart") then
  838. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  839. CreateSound(340722848, c, 10, 1, false)
  840. end
  841. c.Anchored = true
  842. c.Transparency = c.Transparency + 0.2
  843. c.Material = MATERIALS[MRANDOM(1,2)]
  844. c.Color = C3(1,0,0)
  845. if c.ClassName == "MeshPart" then
  846. c.TextureID = ""
  847. end
  848. if c:FindFirstChildOfClass("SpecialMesh") then
  849. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  850. end
  851. if c:FindFirstChildOfClass("Decal") then
  852. c:FindFirstChildOfClass("Decal"):remove()
  853. end
  854. c.Name = "Banished"
  855. c.CanCollide = false
  856. else
  857. c:remove()
  858. end
  859. end
  860. local A = false
  861. for i = 1, 35 do
  862. if A == false then
  863. A = true
  864. elseif A == true then
  865. A = false
  866. end
  867. for _, c in pairs(CLONE:GetDescendants()) do
  868. if c:IsA("BasePart") then
  869. c.Anchored = true
  870. c.Material = MATERIALS[MRANDOM(1,2)]
  871. c.Transparency = c.Transparency + 0.8/35
  872. if A == false then
  873. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  874. elseif A == true then
  875. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  876. end
  877. end
  878. end
  879. Swait()
  880. end
  881. CLONE:remove()
  882. end))
  883. end
  884. end
  885.  
  886. function ApplyAoE(POSITION,RANGE,ISBANISH)
  887. local CHILDREN = workspace:GetDescendants()
  888. for index, CHILD in pairs(CHILDREN) do
  889. if CHILD.ClassName == "Model" and CHILD ~= Character then
  890. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  891. if HUM then
  892. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  893. if TORSO then
  894. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  895. if ISBANISH == true then
  896. Banish(CHILD)
  897. else
  898. if ISBANISH == "Gravity" then
  899. HUM.PlatformStand = true
  900. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  901. local grav = Instance.new("BodyPosition",TORSO)
  902. grav.D = 15
  903. grav.P = 20000
  904. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  905. grav.position = TORSO.Position
  906. grav.Name = "V3BanishForce"..Player.Name
  907. else
  908. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  909. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  910. end
  911. else
  912. HUM.PlatformStand = false
  913. end
  914. end
  915. elseif ISBANISH == "Gravity" then
  916. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  917. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  918. HUM.PlatformStand = false
  919. end
  920. end
  921. end
  922. end
  923. end
  924. end
  925. end
  926.  
  927.  
  928.  
  929. UnBanishTaunts = {"Forgiveness is a judgement's option.", "Mercy can be given anytime.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Why Not Be Merciful?"}
  930.  
  931.  
  932. --//=================================\\
  933. --|| ATTACK FUNCTIONS AND STUFF
  934. --\\=================================//
  935.  
  936. function Colorful_Death()
  937. ATTACK = true
  938. Rooted = false
  939. for i=0, 0.05, 0.1 / Animation_Speed do
  940. Swait()
  941. turnto(Mouse.Hit.p)
  942. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  943. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  944. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  945. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  946. 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)
  947. 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)
  948. end
  949. repeat
  950. for i=0, 0.05, 0.1 / Animation_Speed do
  951. Swait()
  952. turnto(Mouse.Hit.p)
  953. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  954. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  955. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  956. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  957. 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)
  958. 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)
  959. end
  960. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  961. SpawnTrail(Hole.Position,POS)
  962. if HIT ~= nil then
  963. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  964. Banish(HIT.Parent)
  965. end
  966. end
  967. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  968. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  969. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  970. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  971. for i=0, 0.05, 0.1 / Animation_Speed do
  972. Swait()
  973. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  974. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  975. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  976. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  977. 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)
  978. 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)
  979. end
  980. until KEYHOLD == false
  981. ATTACK = false
  982. Rooted = false
  983. end
  984.  
  985.  
  986.  
  987. --//=================================\\
  988. --|| ASSIGN THINGS TO KEYS
  989. --\\=================================//
  990.  
  991. function MouseDown(Mouse)
  992. if ATTACK == false then
  993. end
  994. end
  995.  
  996. function MouseUp(Mouse)
  997. HOLD = false
  998. end
  999.  
  1000. function KeyDown(Key)
  1001. KEYHOLD = true
  1002. if Key == "z" and ATTACK == false then
  1003. Colorful_Death()
  1004. end
  1005.  
  1006. if Key == "b" and ATTACK == false then
  1007. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  1008. TOBANISH = {}
  1009. end
  1010.  
  1011. if Key == "c" and ATTACK == false then
  1012.  
  1013. end
  1014.  
  1015. if Key == "v" and ATTACK == false then
  1016. end
  1017.  
  1018. if Key == "x" and ATTACK == false then
  1019. end
  1020. end
  1021.  
  1022. function KeyUp(Key)
  1023. KEYHOLD = false
  1024. end
  1025.  
  1026. Mouse.Button1Down:connect(function(NEWKEY)
  1027. MouseDown(NEWKEY)
  1028. end)
  1029. Mouse.Button1Up:connect(function(NEWKEY)
  1030. MouseUp(NEWKEY)
  1031. end)
  1032. Mouse.KeyDown:connect(function(NEWKEY)
  1033. KeyDown(NEWKEY)
  1034. end)
  1035. Mouse.KeyUp:connect(function(NEWKEY)
  1036. KeyUp(NEWKEY)
  1037. end)
  1038.  
  1039. --//=================================\\
  1040. --\\=================================//
  1041.  
  1042.  
  1043. function unanchor()
  1044. if UNANCHOR == true then
  1045. g = Character:GetChildren()
  1046. for i = 1, #g do
  1047. if g[i].ClassName == "Part" then
  1048. g[i].Anchored = false
  1049. end
  1050. end
  1051. end
  1052. end
  1053.  
  1054.  
  1055. --//=================================\\
  1056. --|| WRAP THE WHOLE SCRIPT UP
  1057. --\\=================================//
  1058.  
  1059. Humanoid.Changed:connect(function(Jump)
  1060. if Jump == "Jump" and (Disable_Jump == true) then
  1061. Humanoid.Jump = false
  1062. end
  1063. end)
  1064.  
  1065. local CONNECT = nil
  1066.  
  1067. while true do
  1068. Swait()
  1069. ANIMATE.Parent = nil
  1070. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1071. Humanoid = IT("Humanoid",Character)
  1072. end
  1073. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1074. v:Stop();
  1075. end
  1076. SINE = SINE + CHANGE
  1077. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1078. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1079. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1080. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 29)
  1081. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1082. 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)
  1083. 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)
  1084. 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)
  1085. 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)
  1086. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1087. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1088. 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)
  1089. 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)
  1090. 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)
  1091. end
  1092. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1093. ANIM = "Jump"
  1094. if ATTACK == false then
  1095. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1096. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1097. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1098. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1099. 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)
  1100. 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)
  1101. end
  1102. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1103. ANIM = "Fall"
  1104. if ATTACK == false then
  1105. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1106. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1107. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1108. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1109. 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)
  1110. 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)
  1111. end
  1112. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1113. ANIM = "Idle"
  1114. if ATTACK == false then
  1115. 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)
  1116. 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)
  1117. 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)
  1118. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3)
  1119. 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)
  1120. 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)
  1121. end
  1122. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1123. ANIM = "Walk"
  1124. if ATTACK == false then
  1125. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3)
  1126. 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)
  1127. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3)
  1128. 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)
  1129. 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)
  1130. 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)
  1131. end
  1132. end
  1133. unanchor()
  1134. Humanoid.MaxHealth = "inf"
  1135. Humanoid.Health = "inf"
  1136. if Rooted == false then
  1137. Disable_Jump = false
  1138. Humanoid.WalkSpeed = Speed
  1139. elseif Rooted == true then
  1140. Disable_Jump = true
  1141. Humanoid.WalkSpeed = 0
  1142. end
  1143. end
  1144. --//=================================\\
  1145. --\\=================================//
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151. --//====================================================\\--
  1152. --|| END OF SCRIPT
  1153. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement