Advertisement
loleristhegoat

Untitled

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