Advertisement
Mz_TH_edit

Untitled

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