Advertisement
voyqgo

TEST2

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