Advertisement
GojiGaming1337

Untitled

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