Christoffer07700Extr

Test

Aug 14th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.40 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. --|| CREATED BY SHACKLUSTER
  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. local WhiteList={}WhiteList[1]="boss_kiddos"WhiteList[2]="Frepix"WhiteList[3]="xXXNickGamerYTXXx"WhiteList[4]="VictoriaChristophe"WhiteList[5]="Houjou_Reisuke,"WhiteList[6]="Shackluster"WhiteList[7]="UndeniableInfinity"WhiteList[8]="soins1"WhiteList[9]="Mcisbetter111"WhiteList[10]="kermat161"WhiteList[11]="Kazuin"WhiteList[11]="Christoffer077002"
  93. local flg=false
  94. for i=1,#WhiteList do
  95. if WhiteList[i]==Player.Name then
  96. flg=true end end
  97. if not flg then error("Sorry.(Your Not Whitelisted!)")end
  98. script.Parent = PlayerGui
  99.  
  100. --//=================================\\
  101. --\\=================================//
  102.  
  103.  
  104. --//=================================\\
  105. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  106. --\\=================================//
  107.  
  108. ArtificialHB = Instance.new("BindableEvent", script)
  109. ArtificialHB.Name = "ArtificialHB"
  110.  
  111. script:WaitForChild("ArtificialHB")
  112.  
  113. frame = Frame_Speed
  114. tf = 0
  115. allowframeloss = false
  116. tossremainder = false
  117. lastframe = tick()
  118. script.ArtificialHB:Fire()
  119.  
  120. game:GetService("RunService").Heartbeat:connect(function(s, p)
  121. tf = tf + s
  122. if tf >= frame then
  123. if allowframeloss then
  124. script.ArtificialHB:Fire()
  125. lastframe = tick()
  126. else
  127. for i = 1, math.floor(tf / frame) do
  128. script.ArtificialHB:Fire()
  129. end
  130. lastframe = tick()
  131. end
  132. if tossremainder then
  133. tf = 0
  134. else
  135. tf = tf - frame * math.floor(tf / frame)
  136. end
  137. end
  138. end)
  139.  
  140. --//=================================\\
  141. --\\=================================//
  142.  
  143. --//=================================\\
  144. --|| SOME FUNCTIONS
  145. --\\=================================//
  146.  
  147. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  148. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  149. end
  150.  
  151. function PositiveAngle(NUMBER)
  152. if NUMBER >= 0 then
  153. NUMBER = 0
  154. end
  155. return NUMBER
  156. end
  157.  
  158. function NegativeAngle(NUMBER)
  159. if NUMBER <= 0 then
  160. NUMBER = 0
  161. end
  162. return NUMBER
  163. end
  164.  
  165. function Swait(NUMBER)
  166. if NUMBER == 0 or NUMBER == nil then
  167. ArtificialHB.Event:wait()
  168. else
  169. for i = 1, NUMBER do
  170. ArtificialHB.Event:wait()
  171. end
  172. end
  173. end
  174.  
  175. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  176. local NEWMESH = IT(MESH)
  177. if MESH == "SpecialMesh" then
  178. NEWMESH.MeshType = MESHTYPE
  179. if MESHID ~= "nil" and MESHID ~= "" then
  180. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  181. end
  182. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  183. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  184. end
  185. end
  186. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  187. NEWMESH.Scale = SCALE
  188. NEWMESH.Parent = PARENT
  189. return NEWMESH
  190. end
  191.  
  192. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  193. local NEWPART = IT("Part")
  194. NEWPART.formFactor = FORMFACTOR
  195. NEWPART.Reflectance = REFLECTANCE
  196. NEWPART.Transparency = TRANSPARENCY
  197. NEWPART.CanCollide = false
  198. NEWPART.Locked = true
  199. NEWPART.Anchored = true
  200. if ANCHOR == false then
  201. NEWPART.Anchored = false
  202. end
  203. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  204. NEWPART.Name = NAME
  205. NEWPART.Size = SIZE
  206. NEWPART.Position = Torso.Position
  207. NEWPART.Material = MATERIAL
  208. NEWPART:BreakJoints()
  209. NEWPART.Parent = PARENT
  210. return NEWPART
  211. end
  212.  
  213. local function weldBetween(a, b)
  214. local weldd = Instance.new("ManualWeld")
  215. weldd.Part0 = a
  216. weldd.Part1 = b
  217. weldd.C0 = CFrame.new()
  218. weldd.C1 = b.CFrame:inverse() * a.CFrame
  219. weldd.Parent = a
  220. return weldd
  221. end
  222.  
  223.  
  224. function QuaternionFromCFrame(cf)
  225. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  226. local trace = m00 + m11 + m22
  227. if trace > 0 then
  228. local s = math.sqrt(1 + trace)
  229. local recip = 0.5 / s
  230. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  231. else
  232. local i = 0
  233. if m11 > m00 then
  234. i = 1
  235. end
  236. if m22 > (i == 0 and m00 or m11) then
  237. i = 2
  238. end
  239. if i == 0 then
  240. local s = math.sqrt(m00 - m11 - m22 + 1)
  241. local recip = 0.5 / s
  242. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  243. elseif i == 1 then
  244. local s = math.sqrt(m11 - m22 - m00 + 1)
  245. local recip = 0.5 / s
  246. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  247. elseif i == 2 then
  248. local s = math.sqrt(m22 - m00 - m11 + 1)
  249. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  250. end
  251. end
  252. end
  253.  
  254. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  255. local xs, ys, zs = x + x, y + y, z + z
  256. local wx, wy, wz = w * xs, w * ys, w * zs
  257. local xx = x * xs
  258. local xy = x * ys
  259. local xz = x * zs
  260. local yy = y * ys
  261. local yz = y * zs
  262. local zz = z * zs
  263. 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))
  264. end
  265.  
  266. function QuaternionSlerp(a, b, t)
  267. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  268. local startInterp, finishInterp;
  269. if cosTheta >= 0.0001 then
  270. if (1 - cosTheta) > 0.0001 then
  271. local theta = ACOS(cosTheta)
  272. local invSinTheta = 1 / SIN(theta)
  273. startInterp = SIN((1 - t) * theta) * invSinTheta
  274. finishInterp = SIN(t * theta) * invSinTheta
  275. else
  276. startInterp = 1 - t
  277. finishInterp = t
  278. end
  279. else
  280. if (1 + cosTheta) > 0.0001 then
  281. local theta = ACOS(-cosTheta)
  282. local invSinTheta = 1 / SIN(theta)
  283. startInterp = SIN((t - 1) * theta) * invSinTheta
  284. finishInterp = SIN(t * theta) * invSinTheta
  285. else
  286. startInterp = t - 1
  287. finishInterp = t
  288. end
  289. end
  290. 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
  291. end
  292.  
  293. function Clerp(a, b, t)
  294. local qa = {QuaternionFromCFrame(a)}
  295. local qb = {QuaternionFromCFrame(b)}
  296. local ax, ay, az = a.x, a.y, a.z
  297. local bx, by, bz = b.x, b.y, b.z
  298. local _t = 1 - t
  299. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  300. end
  301.  
  302. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  303. local frame = IT("Frame")
  304. frame.BackgroundTransparency = TRANSPARENCY
  305. frame.BorderSizePixel = BORDERSIZEPIXEL
  306. frame.Position = POSITION
  307. frame.Size = SIZE
  308. frame.BackgroundColor3 = COLOR
  309. frame.BorderColor3 = BORDERCOLOR
  310. frame.Name = NAME
  311. frame.Parent = PARENT
  312. return frame
  313. end
  314.  
  315. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  316. local label = IT("TextLabel")
  317. label.BackgroundTransparency = 1
  318. label.Size = UD2(1, 0, 1, 0)
  319. label.Position = UD2(0, 0, 0, 0)
  320. label.TextColor3 = TEXTCOLOR
  321. label.TextStrokeTransparency = STROKETRANSPARENCY
  322. label.TextTransparency = TRANSPARENCY
  323. label.FontSize = TEXTFONTSIZE
  324. label.Font = TEXTFONT
  325. label.BorderSizePixel = BORDERSIZEPIXEL
  326. label.TextScaled = false
  327. label.Text = TEXT
  328. label.Name = NAME
  329. label.Parent = PARENT
  330. return label
  331. end
  332.  
  333. function NoOutlines(PART)
  334. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  335. end
  336.  
  337. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  338. local NEWWELD = IT(TYPE)
  339. NEWWELD.Part0 = PART0
  340. NEWWELD.Part1 = PART1
  341. NEWWELD.C0 = C0
  342. NEWWELD.C1 = C1
  343. NEWWELD.Parent = PARENT
  344. return NEWWELD
  345. end
  346.  
  347. local S = IT("Sound")
  348. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  349. local NEWSOUND = nil
  350. coroutine.resume(coroutine.create(function()
  351. NEWSOUND = S:Clone()
  352. NEWSOUND.Parent = PARENT
  353. NEWSOUND.Volume = VOLUME
  354. NEWSOUND.Pitch = PITCH
  355. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  356. NEWSOUND:play()
  357. if DOESLOOP == true then
  358. NEWSOUND.Looped = true
  359. else
  360. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  361. NEWSOUND:remove()
  362. end
  363. end))
  364. return NEWSOUND
  365. end
  366. local sick = Instance.new("Sound",Torso)
  367. sick.Parent = Torso
  368. sick:resume()
  369. sick.Volume = 4
  370. sick.Pitch = 1
  371. sick.SoundId = "rbxassetid://1504604335"
  372. sick.Name = "BanishV3Music"
  373. sick:play()
  374. wait(9.7)
  375.  
  376. Player = game:GetService("Players").LocalPlayer
  377. PlayerGui = Player:FindFirstChildOfClass("PlayerGui")
  378. Cam = workspace.CurrentCamera
  379. Backpack = Player:FindFirstChildOfClass("Backpack")
  380. Character = Player.Character
  381. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  382. Mouse = Player:GetMouse()
  383.  
  384. function chatfunc(text)
  385. local chat = coroutine.wrap(function()
  386. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  387. Character:FindFirstChild("TalkingBillBoard"):destroy()
  388. end
  389. local naeeym2 = Instance.new("BillboardGui",Character)
  390. naeeym2.Size = UDim2.new(0,100,0,40)
  391. naeeym2.StudsOffset = Vector3.new(0,3,0)
  392. naeeym2.Adornee = Character.Head
  393. naeeym2.Name = "TalkingBillBoard"
  394. local tecks3 = Instance.new("TextLabel",naeeym2)
  395. tecks3.BackgroundTransparency = 1
  396. tecks3.BorderSizePixel = 0
  397. tecks3.Text = ""
  398. tecks3.Font = "SciFi"
  399. tecks3.TextSize = 30
  400. tecks3.TextStrokeTransparency = 0
  401. tecks3.TextColor3 = Color3.new(3.15,0,0)
  402. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  403. tecks3.Size = UDim2.new(1,0,0.5,0)
  404. for i = 1,string.len(text),1 do
  405. tecks3.Text = string.sub(text,1,i)
  406. wait(0.01)
  407. end
  408. wait(3)
  409. for i = 1, 80 do
  410. Swait()
  411. tecks3.Position = tecks3.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  412. tecks3.Rotation = tecks3.Rotation + .8
  413. tecks3.TextStrokeTransparency = tecks3.TextStrokeTransparency +.03
  414. tecks3.TextTransparency = tecks3.TextTransparency + .03
  415. end
  416. end)
  417. chat()
  418. end
  419.  
  420.  
  421. function CFrameFromTopBack(at, top, back)
  422. local right = top:Cross(back)
  423. 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)
  424. end
  425.  
  426. --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})
  427. local cR=255
  428. local cG=0
  429. local cB=0
  430. local flg5=1 local omgidk=1
  431. local add=15
  432. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  433. if omgidk>10000 then omgidk=0 end
  434. omgidk=omgidk+1
  435. if cR>=255 then flg5=1 end
  436. if cG>=255 then flg5=2 end
  437. if cB>=255 then flg5=3 end
  438. if flg5==1 then cR=cR-add cG=cG+add end
  439. if flg5==2 then cG=cG-add cB=cB+add end
  440. if flg5==3 then cB=cB-add cR=cR+add end
  441. color=Color3.fromRGB(cR,cG,cB)
  442. function WACKYEFFECT(Table)
  443. local TYPE = (Table.EffectType or "Sphere")
  444. local SIZE = (Table.Size or VT(6,6,6))
  445. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  446. local TRANSPARENCY = (Table.Transparency or 0)
  447. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  448. local CFRAME = (Table.CFrame or Torso.CFrame)
  449. local MOVEDIRECTION = (Table.MoveToPos or nil)
  450. local ROTATION1 = (Table.RotationX or 0)
  451. local ROTATION2 = (Table.RotationY or 0)
  452. local ROTATION3 = (Table.RotationZ or 0)
  453. local MATERIAL = "Neon"
  454. local COLOR = color
  455. local TIME = (Table.Time or 45)
  456. local SOUNDID = (Table.SoundID or nil)
  457. local SOUNDPITCH = (Table.SoundPitch or nil)
  458. local SOUNDVOLUME = (Table.SoundVolume or nil)
  459. coroutine.resume(coroutine.create(function()
  460. local PLAYSSOUND = false
  461. local SOUND = nil
  462. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  463. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  464. PLAYSSOUND = true
  465. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  466. end
  467. EFFECT.Color = color
  468. local MSH = nil
  469. if TYPE == "Sphere" then
  470. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  471. elseif TYPE == "Block" then
  472. MSH = IT("BlockMesh",EFFECT)
  473. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  474. elseif TYPE == "Wave" then
  475. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  476. elseif TYPE == "Ring" then
  477. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  478. elseif TYPE == "Slash" then
  479. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  480. elseif TYPE == "Round Slash" then
  481. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  482. elseif TYPE == "Swirl" then
  483. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  484. elseif TYPE == "Skull" then
  485. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  486. elseif TYPE == "Crystal" then
  487. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  488. end
  489. if MSH ~= nil then
  490. local MOVESPEED = nil
  491. if MOVEDIRECTION ~= nil then
  492. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  493. end
  494. local GROWTH = SIZE - ENDSIZE
  495. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  496. if TYPE == "Block" then
  497. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  498. else
  499. EFFECT.CFrame = CFRAME
  500. end
  501. for LOOP = 1, TIME+1 do
  502. Swait()
  503. MSH.Scale = MSH.Scale - GROWTH/TIME
  504. if TYPE == "Wave" then
  505. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  506. end
  507. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  508. if TYPE == "Block" then
  509. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  510. else
  511. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  512. end
  513. if MOVEDIRECTION ~= nil then
  514. local ORI = EFFECT.Orientation
  515. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  516. EFFECT.Orientation = ORI
  517. end
  518. end
  519. if PLAYSSOUND == false then
  520. EFFECT:remove()
  521. else
  522. SOUND.Stopped:Connect(function()
  523. EFFECT:remove()
  524. end)
  525. end
  526. else
  527. if PLAYSSOUND == false then
  528. EFFECT:remove()
  529. else
  530. repeat Swait() until SOUND.Playing == false
  531. EFFECT:remove()
  532. end
  533. end
  534. end))
  535. end
  536. end)
  537. function MakeForm(PART,TYPE)
  538. if TYPE == "Cyl" then
  539. local MSH = IT("CylinderMesh",PART)
  540. elseif TYPE == "Ball" then
  541. local MSH = IT("SpecialMesh",PART)
  542. MSH.MeshType = "Sphere"
  543. elseif TYPE == "Wedge" then
  544. local MSH = IT("SpecialMesh",PART)
  545. MSH.MeshType = "Wedge"
  546. end
  547. end
  548. function SpawnTrail(FROM,TO,BIG)
  549. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  550. MakeForm(TRAIL,"Cyl")
  551. local cR=255
  552. local cG=0
  553. local cB=0
  554. local flg5=1 local omgidk=1
  555. local add=15
  556. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  557. if omgidk>10000 then omgidk=0 end
  558. omgidk=omgidk+1
  559. if cR>=255 then flg5=1 end
  560. if cG>=255 then flg5=2 end
  561. if cB>=255 then flg5=3 end
  562. if flg5==1 then cR=cR-add cG=cG+add end
  563. if flg5==2 then cG=cG-add cB=cB+add end
  564. if flg5==3 then cB=cB-add cR=cR+add end
  565. color=Color3.fromRGB(cR,cG,cB)
  566. TRAIL.Color = color
  567. end)
  568. local DIST = (FROM - TO).Magnitude
  569. if BIG == true then
  570. TRAIL.Size = VT(5,DIST,5)
  571. else
  572. TRAIL.Size = VT(5,DIST,5)
  573. end
  574. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  575. coroutine.resume(coroutine.create(function()
  576. for i = 1, 55 do
  577. Swait()
  578. TRAIL.Transparency = TRAIL.Transparency + 0.01
  579. end
  580. TRAIL:remove()
  581. end))
  582. end
  583.  
  584. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  585. local DIRECTION = CF(StartPos,EndPos).lookVector
  586. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  587. end
  588.  
  589. function turnto(position)
  590. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  591. end
  592.  
  593. --//=================================\\
  594. --|| WEAPON CREATION
  595. --\\=================================//
  596.  
  597. local Particle = IT("ParticleEmitter",nil)
  598. Particle.Enabled = false
  599. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  600. Particle.LightEmission = 0.5
  601. Particle.Rate = 150
  602. Particle.ZOffset = 0.2
  603. Particle.Rotation = NumberRange.new(-180, 180)
  604. Particle.RotSpeed = NumberRange.new(-180, 180)
  605. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  606. 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))
  607.  
  608. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  609. function ParticleEmitter(Table)
  610. local PRTCL = Particle:Clone()
  611. local Speed = Table.Speed or 5
  612. local Drag = Table.Drag or 0
  613. local Size1 = Table.Size1 or 1
  614. local Size2 = Table.Size2 or 5
  615. local Lifetime1 = Table.Lifetime1 or 9.5
  616. local Lifetime2 = Table.Lifetime2 or 10
  617. local Parent = Table.Parent or Torso
  618. local Emit = Table.Emit or 100
  619. local Offset = Table.Offset or 360
  620. local Acel = Table.Acel or VT(0,0,0)
  621. local Enabled = Table.Enabled or false
  622. PRTCL.Parent = Parent
  623. PRTCL.Size = NumberSequence.new(Size1,Size2)
  624. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  625. PRTCL.Speed = NumberRange.new(Speed)
  626. PRTCL.VelocitySpread = Offset
  627. PRTCL.Drag = Drag
  628. PRTCL.Acceleration = Acel
  629. if Enabled == false then
  630. PRTCL:Emit(Emit)
  631. Debris:AddItem(PRTCL,Lifetime2)
  632. else
  633. PRTCL.Enabled = true
  634. end
  635. return PRTCL
  636. end
  637. m = game.Players.LocalPlayer
  638. char = m.Character
  639. local txt = Instance.new("BillboardGui", char)
  640. txt.Adornee = char.Head
  641. txt.Name = "_status"
  642. txt.Size = UDim2.new(2, 0, 1.2, 0)
  643. txt.StudsOffset = Vector3.new(-9, 8, 0)
  644. local text = Instance.new("TextLabel", txt)
  645. text.Size = UDim2.new(10, 0, 7, 0)
  646. text.FontSize = "Size24"
  647. text.TextScaled = true
  648. text.TextTransparency = 0
  649. text.BackgroundTransparency = 1
  650. text.TextTransparency = 0
  651. text.TextStrokeTransparency = 0
  652. text.Font = "Bodoni"
  653. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  654. v = Instance.new("Part")
  655. v.Name = "ColorBrick"
  656. v.Parent = m.Character
  657. v.Anchored = true
  658. v.CanCollide = false
  659. v.BottomSurface = "Smooth"
  660. v.TopSurface = "Smooth"
  661. v.Size = Vector3.new(10, 5, 3)
  662. v.Transparency = 1
  663. v.CFrame = char.Torso.CFrame
  664. v.BrickColor = BrickColor.new("Really black")
  665. v.Transparency = 1
  666. v.Shape = "Block"
  667. spawn(function()
  668. local TweenService = game:GetService("TweenService")
  669. 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)}
  670. local Int = 0
  671. while wait(0.5) do
  672. if Int == #Colours then Int = 0 end
  673. Int = Int+1
  674. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  675. end
  676. end)
  677. text.Text = "The Final Judgement"
  678.  
  679. local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  680. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  681. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  682. MakeForm(Part,"Wedge")
  683. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  684. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  685. MakeForm(Part,"Wedge")
  686. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  687. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  688. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  689. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  690. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  691. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),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. for i = 1, 8 do
  695. local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  696. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  697. end
  698. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  699. MakeForm(Part,"Cyl")
  700. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  701. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  702. MakeForm(Part,"Ball")
  703. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  704. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  705. MakeForm(Part,"Wedge")
  706. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  707. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  708. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  709. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  710. MakeForm(Part,"Cyl")
  711. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  712. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  713. MakeForm(Part,"Cyl")
  714. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  715. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  716. MakeForm(Part,"Cyl")
  717. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  718. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  719. MakeForm(Part,"Wedge")
  720. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  721. local LASTPART = Handle
  722. for i = 1, 10 do
  723. if LASTPART == Handle then
  724. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  725. LASTPART = Part
  726. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  727. else
  728. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  729. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  730. LASTPART = Part
  731. end
  732. end
  733.  
  734. local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,4,0.15),false)
  735. MakeForm(Barrel,"Cyl")
  736. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.85) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  737. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,2,0.25),false)
  738. MakeForm(Part,"Cyl")
  739. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.2, 0), CF(0, 0, 0))
  740. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  741. MakeForm(Part,"Wedge")
  742. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  743. local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  744. MakeForm(Hole,"Cyl")
  745. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2, 0), CF(0, 0, 0))
  746. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  747. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  748. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  749. local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  750. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  751. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  752. coroutine.resume(coroutine.create(function()
  753. while wait() do
  754. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(sick.PlaybackLoudness/60 + 0.05))
  755. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-sick.PlaybackLoudness/60 - 0.05))
  756. end
  757. end))
  758.  
  759. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  760. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  761.  
  762. for _, c in pairs(Gun:GetDescendants()) do
  763. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  764. c.Material = "Glass"
  765. c.Color = C3(0,0,0)
  766. elseif c.ClassName == "Part" and c.Name == "Eye" then
  767. c.Color = C3(1,0,0)
  768. c.Material = "Neon"
  769. end
  770. end
  771.  
  772. Weapon.Parent = Character
  773. Gun.Parent = nil
  774.  
  775. for _, c in pairs(Gun:GetChildren()) do
  776. if c.ClassName == "Part" then
  777. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  778. end
  779. end
  780.  
  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. --\\====================================================//--
Add Comment
Please, Sign In to add comment