Advertisement
GojiGaming1337

Untitled

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