Advertisement
Rider_Lol

Untitled

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