voyqgo

Test1

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