sawgamer1

Untitled

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