Advertisement
voyqgo

TEST6

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