pawsi

Untitled

Jun 23rd, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.52 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 NOOB DINO.'
  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]="bigsecretofind"WhiteList[7]="HankTheSkeleton"WhiteList[8]="soins1"WhiteList[9]="Mcisbetter111"WhiteList[10]="kermat161"WhiteList[11]="Kazuin"
  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 NOOB DINO"
  678.  
  679. local Handle = CreatePart(3, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "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, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  735. MakeForm(Barrel,"Cyl")
  736. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * 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.25,1,0.25),false)
  738. MakeForm(Part,"Cyl")
  739. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  740. local Part = CreatePart(3, Weapon, "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, Weapon, "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, 0.98, 0), CF(0, 0, 0))
  746. local Part = CreatePart(3, Weapon, "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, Weapon, "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(5))
  755. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  756. end
  757. end))
  758.  
  759. 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)})
  760. --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)})
  761.  
  762. local cR=255
  763. local cG=0
  764. local cB=0
  765. local flg5=1 local omgidk=1
  766. local add=15
  767. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  768. if omgidk>10000 then omgidk=0 end
  769. omgidk=omgidk+1
  770. if cR>=255 then flg5=1 end
  771. if cG>=255 then flg5=2 end
  772. if cB>=255 then flg5=3 end
  773. if flg5==1 then cR=cR-add cG=cG+add end
  774. if flg5==2 then cG=cG-add cB=cB+add end
  775. if flg5==3 then cB=cB-add cR=cR+add end
  776. color=Color3.fromRGB(cR,cG,cB)
  777. for _, c in pairs(Weapon:GetDescendants()) do
  778. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  779. c.Material = "Glass"
  780. c.Color = C3(0,0,0)
  781. elseif c.ClassName == "Part" and c.Name == "Eye" then
  782. c.Color = color
  783. c.Material = "Neon"
  784. end
  785. end
  786. end)
  787. Weapon.Parent = Character
  788. for _, c in pairs(Weapon:GetChildren()) do
  789. if c.ClassName == "Part" then
  790. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  791. end
  792. end
  793.  
  794. local SKILLTEXTCOLOR = C3(1,0,0)
  795. local SKILLFONT = "Antique"
  796. local SKILLTEXTSIZE = 7
  797.  
  798. Humanoid.Died:connect(function()
  799. ATTACK = true
  800. end)
  801.  
  802. 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")
  803. 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")
  804.  
  805. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Colorful Death", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
  806. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Forgiveness", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 2")
  807.  
  808. function printbye(Name)
  809. 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, "}
  810. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  811. end
  812. workspace.ChildAdded:connect(function(instance)
  813. for BANISH = 1, #TOBANISH do
  814. if TOBANISH[BANISH] ~= nil then
  815. if instance.Name == TOBANISH[BANISH] then
  816. coroutine.resume(coroutine.create(function()
  817. printbye(instance.Name)
  818. instance:ClearAllChildren()
  819. Debris:AddItem(instance,0.0005)
  820. end))
  821. end
  822. end
  823. end
  824. end)
  825.  
  826. --//=================================\\
  827. --|| DAMAGING
  828. --\\=================================//
  829.  
  830. function Banish(Foe)
  831. if Foe then
  832. coroutine.resume(coroutine.create(function()
  833. --if game.Players:FindFirstChild(Foe.Name) then
  834. table.insert(TOBANISH,Foe.Name)
  835. printbye(Foe.Name)
  836. --end
  837. Foe.Archivable = true
  838. local CLONE = Foe:Clone()
  839. Foe:Destroy()
  840. CLONE.Parent = Effects
  841. CLONE:BreakJoints()
  842. local MATERIALS = {"Glass","Neon"}
  843. for _, c in pairs(CLONE:GetDescendants()) do
  844. if c:IsA("BasePart") then
  845. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  846. CreateSound(340722848, c, 10, 1, false)
  847. end
  848. c.Anchored = true
  849. c.Transparency = c.Transparency + 0.2
  850. c.Material = MATERIALS[MRANDOM(1,2)]
  851. c.Color = C3(1,0,0)
  852. if c.ClassName == "MeshPart" then
  853. c.TextureID = ""
  854. end
  855. if c:FindFirstChildOfClass("SpecialMesh") then
  856. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  857. end
  858. if c:FindFirstChildOfClass("Decal") then
  859. c:FindFirstChildOfClass("Decal"):remove()
  860. end
  861. c.Name = "Banished"
  862. c.CanCollide = false
  863. else
  864. c:remove()
  865. end
  866. end
  867. local A = false
  868. for i = 1, 35 do
  869. if A == false then
  870. A = true
  871. elseif A == true then
  872. A = false
  873. end
  874. for _, c in pairs(CLONE:GetDescendants()) do
  875. if c:IsA("BasePart") then
  876. c.Anchored = true
  877. c.Material = MATERIALS[MRANDOM(1,2)]
  878. c.Transparency = c.Transparency + 0.8/35
  879. if A == false then
  880. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  881. elseif A == true then
  882. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  883. end
  884. end
  885. end
  886. Swait()
  887. end
  888. CLONE:remove()
  889. end))
  890. end
  891. end
  892.  
  893. function ApplyAoE(POSITION,RANGE,ISBANISH)
  894. local CHILDREN = workspace:GetDescendants()
  895. for index, CHILD in pairs(CHILDREN) do
  896. if CHILD.ClassName == "Model" and CHILD ~= Character then
  897. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  898. if HUM then
  899. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  900. if TORSO then
  901. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  902. if ISBANISH == true then
  903. Banish(CHILD)
  904. else
  905. if ISBANISH == "Gravity" then
  906. HUM.PlatformStand = true
  907. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  908. local grav = Instance.new("BodyPosition",TORSO)
  909. grav.D = 15
  910. grav.P = 20000
  911. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  912. grav.position = TORSO.Position
  913. grav.Name = "V3BanishForce"..Player.Name
  914. else
  915. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  916. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  917. end
  918. else
  919. HUM.PlatformStand = false
  920. end
  921. end
  922. elseif ISBANISH == "Gravity" then
  923. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  924. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  925. HUM.PlatformStand = false
  926. end
  927. end
  928. end
  929. end
  930. end
  931. end
  932. end
  933.  
  934.  
  935.  
  936. UnBanishTaunts = {"Forgiveness is a judgement's option.", "Mercy can be given anytime.", "Your Actions Have Been Forgiven.", "I seall 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?"}
  937.  
  938.  
  939. --//=================================\\
  940. --|| ATTACK FUNCTIONS AND STUFF
  941. --\\=================================//
  942.  
  943. function Colorful_Death()
  944. ATTACK = true
  945. Rooted = false
  946. for i=0, 0.05, 0.1 / Animation_Speed do
  947. Swait()
  948. turnto(Mouse.Hit.p)
  949. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  950. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  951. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  952. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  953. 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)
  954. 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)
  955. end
  956. repeat
  957. for i=0, 0.05, 0.1 / Animation_Speed do
  958. Swait()
  959. turnto(Mouse.Hit.p)
  960. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  961. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  962. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  963. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  964. 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)
  965. 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)
  966. end
  967. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  968. SpawnTrail(Hole.Position,POS)
  969. if HIT ~= nil then
  970. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  971. Banish(HIT.Parent)
  972. end
  973. end
  974. 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})
  975. 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})
  976. 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})
  977. 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})
  978. for i=0, 0.05, 0.1 / Animation_Speed do
  979. Swait()
  980. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  981. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  982. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  983. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  984. 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)
  985. 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)
  986. end
  987. until KEYHOLD == false
  988. ATTACK = false
  989. Rooted = false
  990. end
  991.  
  992.  
  993.  
  994. --//=================================\\
  995. --|| ASSIGN THINGS TO KEYS
  996. --\\=================================//
  997.  
  998. function MouseDown(Mouse)
  999. if ATTACK == false then
  1000. end
  1001. end
  1002.  
  1003. function MouseUp(Mouse)
  1004. HOLD = false
  1005. end
  1006.  
  1007. function KeyDown(Key)
  1008. KEYHOLD = true
  1009. if Key == "z" and ATTACK == false then
  1010. Colorful_Death()
  1011. end
  1012.  
  1013. if Key == "b" and ATTACK == false then
  1014. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  1015. TOBANISH = {}
  1016. end
  1017.  
  1018. if Key == "c" and ATTACK == false then
  1019.  
  1020. end
  1021.  
  1022. if Key == "v" and ATTACK == false then
  1023. end
  1024.  
  1025. if Key == "x" and ATTACK == false then
  1026. end
  1027. end
  1028.  
  1029. function KeyUp(Key)
  1030. KEYHOLD = false
  1031. end
  1032.  
  1033. Mouse.Button1Down:connect(function(NEWKEY)
  1034. MouseDown(NEWKEY)
  1035. end)
  1036. Mouse.Button1Up:connect(function(NEWKEY)
  1037. MouseUp(NEWKEY)
  1038. end)
  1039. Mouse.KeyDown:connect(function(NEWKEY)
  1040. KeyDown(NEWKEY)
  1041. end)
  1042. Mouse.KeyUp:connect(function(NEWKEY)
  1043. KeyUp(NEWKEY)
  1044. end)
  1045.  
  1046. --//=================================\\
  1047. --\\=================================//
  1048.  
  1049.  
  1050. function unanchor()
  1051. if UNANCHOR == true then
  1052. g = Character:GetChildren()
  1053. for i = 1, #g do
  1054. if g[i].ClassName == "Part" then
  1055. g[i].Anchored = false
  1056. end
  1057. end
  1058. end
  1059. end
  1060.  
  1061.  
  1062. --//=================================\\
  1063. --|| WRAP THE WHOLE SCRIPT UP
  1064. --\\=================================//
  1065.  
  1066. Humanoid.Changed:connect(function(Jump)
  1067. if Jump == "Jump" and (Disable_Jump == true) then
  1068. Humanoid.Jump = false
  1069. end
  1070. end)
  1071.  
  1072. local CONNECT = nil
  1073.  
  1074. while true do
  1075. Swait()
  1076. ANIMATE.Parent = nil
  1077. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1078. Humanoid = IT("Humanoid",Character)
  1079. end
  1080. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1081. v:Stop();
  1082. end
  1083. SINE = SINE + CHANGE
  1084. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1085. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1086. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1087. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 29)
  1088. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1089. 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)
  1090. 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)
  1091. 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)
  1092. 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)
  1093. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1094. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1095. 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)
  1096. 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)
  1097. 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)
  1098. end
  1099. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1100. ANIM = "Jump"
  1101. if ATTACK == false then
  1102. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1103. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1104. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1105. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1106. 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)
  1107. 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)
  1108. end
  1109. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1110. ANIM = "Fall"
  1111. if ATTACK == false then
  1112. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1113. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1114. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1115. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1116. 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)
  1117. 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)
  1118. end
  1119. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1120. ANIM = "Idle"
  1121. if ATTACK == false then
  1122. 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)
  1123. 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)
  1124. 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)
  1125. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3)
  1126. 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)
  1127. 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)
  1128. end
  1129. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1130. ANIM = "Walk"
  1131. if ATTACK == false then
  1132. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3)
  1133. 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)
  1134. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3)
  1135. 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)
  1136. 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)
  1137. 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)
  1138. end
  1139. end
  1140. unanchor()
  1141. Humanoid.MaxHealth = "inf"
  1142. Humanoid.Health = "inf"
  1143. if Rooted == false then
  1144. Disable_Jump = false
  1145. Humanoid.WalkSpeed = Speed
  1146. elseif Rooted == true then
  1147. Disable_Jump = true
  1148. Humanoid.WalkSpeed = 0
  1149. end
  1150. end
  1151. --//=================================\\
  1152. --\\=================================//
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158. --//====================================================\\--
  1159. --|| END OF SCRIPT
  1160. --\\====================================================//--
Add Comment
Please, Sign In to add comment