Advertisement
9Simplicity9

fixd6

Feb 16th, 2018
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local FinalInboxLink = "rbxassetid://195916147"
  32. local NormalMusicLink = "rbxassetid://596220347"
  33. local sick = Instance.new("Sound",Character)
  34. sick.SoundId = "rbxassetid://596220347"
  35. sick.Looped = true
  36. sick.Pitch = 1
  37. sick.Volume = 0.6
  38. sick:Play()
  39.  
  40. IT = Instance.new
  41. CF = CFrame.new
  42. VT = Vector3.new
  43. RAD = math.rad
  44. C3 = Color3.new
  45. UD2 = UDim2.new
  46. BRICKC = BrickColor.new
  47. ANGLES = CFrame.Angles
  48. EULER = CFrame.fromEulerAnglesXYZ
  49. COS = math.cos
  50. ACOS = math.acos
  51. SIN = math.sin
  52. ASIN = math.asin
  53. ABS = math.abs
  54. MRANDOM = math.random
  55. FLOOR = math.floor
  56.  
  57. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  58. local NEWMESH = IT(MESH)
  59. if MESH == "SpecialMesh" then
  60. NEWMESH.MeshType = MESHTYPE
  61. if MESHID ~= "nil" and MESHID ~= "" then
  62. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  63. end
  64. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  65. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  66. end
  67. end
  68. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  69. NEWMESH.Scale = SCALE
  70. NEWMESH.Parent = PARENT
  71. return NEWMESH
  72. end
  73.  
  74. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  75. local NEWPART = IT("Part")
  76. NEWPART.formFactor = FORMFACTOR
  77. NEWPART.Reflectance = REFLECTANCE
  78. NEWPART.Transparency = TRANSPARENCY
  79. NEWPART.CanCollide = false
  80. NEWPART.Locked = true
  81. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  82. NEWPART.Name = NAME
  83. NEWPART.Size = SIZE
  84. NEWPART.Position = Torso.Position
  85. NEWPART.Material = MATERIAL
  86. NEWPART:BreakJoints()
  87. NEWPART.Parent = PARENT
  88. return NEWPART
  89. end
  90.  
  91.  
  92. --//=================================\\
  93. --|| CUSTOMIZATION
  94. --\\=================================//
  95.  
  96. Class_Name = "Template"
  97. Weapon_Name = "Add-ons"
  98.  
  99. Custom_Colors = {
  100. Custom_Color_1 = BRICKC("Really red"); --1st color for the weapon.
  101. Custom_Color_2 = BRICKC("Really blue"); --2nd color for the weapon.
  102.  
  103. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  104. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  105. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  106. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  107. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  108.  
  109. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  110. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  111. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  112. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  113. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  114. }
  115.  
  116.  
  117. Player_Size = 1 --Size of the player.
  118. Animation_Speed = 3
  119. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  120.  
  121. local Speed = 100
  122. local Effects2 = {}
  123.  
  124. --//=================================\\
  125. --|| END OF CUSTOMIZATION
  126. --\\=================================//
  127.  
  128. local function weldBetween(a, b)
  129. local weldd = Instance.new("ManualWeld")
  130. weldd.Part0 = a
  131. weldd.Part1 = b
  132. weldd.C0 = CFrame.new()
  133. weldd.C1 = b.CFrame:inverse() * a.CFrame
  134. weldd.Parent = a
  135. return weldd
  136. end
  137.  
  138. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  139. local acs = Instance.new("Part")
  140. acs.CanCollide = false
  141. acs.Anchored = false
  142. acs.Size = Vector3.new(0,0,0)
  143. acs.CFrame = attachmentpart.CFrame
  144. acs.Parent = Character
  145. acs.BrickColor = color
  146. local meshs = Instance.new("SpecialMesh")
  147. meshs.MeshId = mesh
  148. meshs.TextureId = texture
  149. meshs.Parent = acs
  150. meshs.Scale = scale
  151. meshs.Offset = offset
  152. weldBetween(attachmentpart,acs)
  153. end
  154.  
  155. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  156. if TYPE == "Gem" then
  157. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  158. acs.Anchored = false
  159. acs.CanCollide = false
  160. acs.CFrame = PART.CFrame
  161. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  162. weldBetween(PART,acs)
  163. elseif TYPE == "Skull" then
  164. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  165. acs.Anchored = false
  166. acs.CanCollide = false
  167. acs.CFrame = PART.CFrame
  168. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  169. weldBetween(PART,acs)
  170. elseif TYPE == "Eye" then
  171. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  172. acs.Anchored = false
  173. acs.CanCollide = false
  174. acs.CFrame = PART.CFrame
  175. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  176. weldBetween(PART,acs)
  177. end
  178. end
  179.  
  180. --//=================================\\
  181. --|| USEFUL VALUES
  182. --\\=================================//
  183.  
  184. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  185. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  186. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  187. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  188. local CO1 = 0
  189. local CO2 = 0
  190. local CO3 = 0
  191. local CO4 = 0
  192. local CHANGEDEFENSE = 0
  193. local CHANGEDAMAGE = 0
  194. local CHANGEMOVEMENT = 0
  195. local ANIM = "Idle"
  196. local ATTACK = false
  197. local EQUIPPED = false
  198. local HOLD = false
  199. local COMBO = 999
  200. local LASTPOINT = nil
  201. local BLCF = nil
  202. local SCFR = nil
  203. local STAGGERHITANIM = false
  204. local STAGGERANIM = false
  205. local STUNANIM = false
  206. local CRITCHANCENUMBER = 0
  207. local IDLENUMBER = 0
  208. local DONUMBER = 0
  209. local HANDIDLE = false
  210. local SINE = 0
  211. local CHANGE = 2 / Animation_Speed
  212. local WALKINGANIM = false
  213. local WALK = 0
  214. local DISABLEJUMPING = false
  215. local HASBEENBLOCKED = false
  216. local STUNDELAYNUMBER = 0
  217. local MANADELAYNUMBER = 0
  218. local SECONDARYMANADELAYNUMBER = 0
  219. local ROBLOXIDLEANIMATION = IT("Animation")
  220. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  221. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  222. --ROBLOXIDLEANIMATION.Parent = Humanoid
  223. local WEAPONGUI = IT("ScreenGui", nil)
  224. WEAPONGUI.Name = "Weapon GUI"
  225. local WEAPONTOOL = IT("HopperBin", nil)
  226. WEAPONTOOL.Name = Weapon_Name
  227. local Weapon = IT("Model")
  228. Weapon.Name = Weapon_Name
  229. local Effects = IT("Folder", Weapon)
  230. Effects.Name = "Effects"
  231. local ANIMATOR = Humanoid.Animator
  232. local ANIMATE = Character.Animate
  233. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  234. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  235. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  236. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  237. local UNANCHOR = true
  238.  
  239. --//=================================\\
  240. --\\=================================//
  241.  
  242. --//=================================\\
  243. --|| STATS
  244. --\\=================================//
  245.  
  246. if Character:FindFirstChild("Stats") ~= nil then
  247. Character:FindFirstChild("Stats").Parent = nil
  248. end
  249.  
  250. local Stats = IT("Folder", nil)
  251. Stats.Name = "Stats"
  252. local ChangeStat = IT("Folder", Stats)
  253. ChangeStat.Name = "ChangeStat"
  254. local Defense = IT("NumberValue", Stats)
  255. Defense.Name = "Defense"
  256. Defense.Value = 1
  257. local Movement = IT("NumberValue", Stats)
  258. Movement.Name = "Movement"
  259. Movement.Value = 1
  260. local Damage = IT("NumberValue", Stats)
  261. Damage.Name = "Damage"
  262. Damage.Value = math.huge
  263. local Mana = IT("NumberValue", Stats)
  264. Mana.Name = "Mana"
  265. Mana.Value = 0
  266. local SecondaryMana = IT("NumberValue", Stats)
  267. SecondaryMana.Name = "SecondaryMana"
  268. SecondaryMana.Value = 0
  269. local CanCrit = IT("BoolValue", Stats)
  270. CanCrit.Name = "CanCrit"
  271. CanCrit.Value = false
  272. local CritChance = IT("NumberValue", Stats)
  273. CritChance.Name = "CritChance"
  274. CritChance.Value = 20
  275. local CanPenetrateArmor = IT("BoolValue", Stats)
  276. CanPenetrateArmor.Name = "CanPenetrateArmor"
  277. CanPenetrateArmor.Value = false
  278. local AntiTeamKill = IT("BoolValue", Stats)
  279. AntiTeamKill.Name = "AntiTeamKill"
  280. AntiTeamKill.Value = false
  281. local Rooted = IT("BoolValue", Stats)
  282. Rooted.Name = "Rooted"
  283. Rooted.Value = false
  284. local Block = IT("BoolValue", Stats)
  285. Block.Name = "Block"
  286. Block.Value = false
  287. local RecentEnemy = IT("ObjectValue", Stats)
  288. RecentEnemy.Name = "RecentEnemy"
  289. RecentEnemy.Value = nil
  290. local StaggerHit = IT("BoolValue", Stats)
  291. StaggerHit.Name = "StaggerHit"
  292. StaggerHit.Value = false
  293. local Stagger = IT("BoolValue", Stats)
  294. Stagger.Name = "Stagger"
  295. Stagger.Value = false
  296. local Stun = IT("BoolValue", Stats)
  297. Stun.Name = "Stun"
  298. Stun.Value = false
  299. local StunValue = IT("NumberValue", Stats)
  300. StunValue.Name = "StunValue"
  301. StunValue.Value = 0
  302.  
  303.  
  304. --//=================================\\
  305. --\\=================================//
  306.  
  307.  
  308.  
  309.  
  310.  
  311. --//=================================\\
  312. --|| DEBUFFS / BUFFS
  313. --\\=================================//
  314.  
  315. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  316. DEFENSECHANGE1.Name = "ChangeDefense"
  317. DEFENSECHANGE1.Value = 0
  318.  
  319. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  320. MOVEMENTCHANGE1.Name = "ChangeMovement"
  321. MOVEMENTCHANGE1.Value = 0
  322.  
  323. --//=================================\\
  324. --\\=================================//
  325.  
  326.  
  327.  
  328.  
  329.  
  330. --//=================================\\
  331. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  332. --\\=================================//
  333.  
  334. ArtificialHB = Instance.new("BindableEvent", script)
  335. ArtificialHB.Name = "ArtificialHB"
  336.  
  337. script:WaitForChild("ArtificialHB")
  338.  
  339. frame = Frame_Speed
  340. tf = 0
  341. allowframeloss = false
  342. tossremainder = false
  343. lastframe = tick()
  344. script.ArtificialHB:Fire()
  345.  
  346. game:GetService("RunService").Heartbeat:connect(function(s, p)
  347. tf = tf + s
  348. if tf >= frame then
  349. if allowframeloss then
  350. script.ArtificialHB:Fire()
  351. lastframe = tick()
  352. else
  353. for i = 1, math.floor(tf / frame) do
  354. script.ArtificialHB:Fire()
  355. end
  356. lastframe = tick()
  357. end
  358. if tossremainder then
  359. tf = 0
  360. else
  361. tf = tf - frame * math.floor(tf / frame)
  362. end
  363. end
  364. end)
  365.  
  366. --//=================================\\
  367. --\\=================================//
  368.  
  369.  
  370.  
  371.  
  372.  
  373. --//=================================\\
  374. --|| SOME FUNCTIONS
  375. --\\=================================//
  376.  
  377. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  378. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  379. end
  380.  
  381. function PositiveAngle(NUMBER)
  382. if NUMBER >= 0 then
  383. NUMBER = 0
  384. end
  385. return NUMBER
  386. end
  387.  
  388. function NegativeAngle(NUMBER)
  389. if NUMBER <= 0 then
  390. NUMBER = 0
  391. end
  392. return NUMBER
  393. end
  394.  
  395. function Swait(NUMBER)
  396. if NUMBER == 0 or NUMBER == nil then
  397. ArtificialHB.Event:wait()
  398. else
  399. for i = 1, NUMBER do
  400. ArtificialHB.Event:wait()
  401. end
  402. end
  403. end
  404.  
  405. function QuaternionFromCFrame(cf)
  406. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  407. local trace = m00 + m11 + m22
  408. if trace > 0 then
  409. local s = math.sqrt(1 + trace)
  410. local recip = 0.5 / s
  411. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  412. else
  413. local i = 0
  414. if m11 > m00 then
  415. i = 1
  416. end
  417. if m22 > (i == 0 and m00 or m11) then
  418. i = 2
  419. end
  420. if i == 0 then
  421. local s = math.sqrt(m00 - m11 - m22 + 1)
  422. local recip = 0.5 / s
  423. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  424. elseif i == 1 then
  425. local s = math.sqrt(m11 - m22 - m00 + 1)
  426. local recip = 0.5 / s
  427. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  428. elseif i == 2 then
  429. local s = math.sqrt(m22 - m00 - m11 + 1)
  430. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  431. end
  432. end
  433. end
  434.  
  435. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  436. local xs, ys, zs = x + x, y + y, z + z
  437. local wx, wy, wz = w * xs, w * ys, w * zs
  438. local xx = x * xs
  439. local xy = x * ys
  440. local xz = x * zs
  441. local yy = y * ys
  442. local yz = y * zs
  443. local zz = z * zs
  444. 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))
  445. end
  446.  
  447. function QuaternionSlerp(a, b, t)
  448. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  449. local startInterp, finishInterp;
  450. if cosTheta >= 0.0001 then
  451. if (1 - cosTheta) > 0.0001 then
  452. local theta = ACOS(cosTheta)
  453. local invSinTheta = 1 / SIN(theta)
  454. startInterp = SIN((1 - t) * theta) * invSinTheta
  455. finishInterp = SIN(t * theta) * invSinTheta
  456. else
  457. startInterp = 1 - t
  458. finishInterp = t
  459. end
  460. else
  461. if (1 + cosTheta) > 0.0001 then
  462. local theta = ACOS(-cosTheta)
  463. local invSinTheta = 1 / SIN(theta)
  464. startInterp = SIN((t - 1) * theta) * invSinTheta
  465. finishInterp = SIN(t * theta) * invSinTheta
  466. else
  467. startInterp = t - 1
  468. finishInterp = t
  469. end
  470. end
  471. 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
  472. end
  473.  
  474. function Clerp(a, b, t)
  475. local qa = {QuaternionFromCFrame(a)}
  476. local qb = {QuaternionFromCFrame(b)}
  477. local ax, ay, az = a.x, a.y, a.z
  478. local bx, by, bz = b.x, b.y, b.z
  479. local _t = 1 - t
  480. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  481. end
  482.  
  483. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  484. local frame = IT("Frame")
  485. frame.BackgroundTransparency = TRANSPARENCY
  486. frame.BorderSizePixel = BORDERSIZEPIXEL
  487. frame.Position = POSITION
  488. frame.Size = SIZE
  489. frame.BackgroundColor3 = COLOR
  490. frame.BorderColor3 = BORDERCOLOR
  491. frame.Name = NAME
  492. frame.Parent = PARENT
  493. return frame
  494. end
  495.  
  496. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  497. local label = IT("TextLabel")
  498. label.BackgroundTransparency = 1
  499. label.Size = UD2(1, 0, 1, 0)
  500. label.Position = UD2(0, 0, 0, 0)
  501. label.TextColor3 = C3(255, 255, 255)
  502. label.TextStrokeTransparency = STROKETRANSPARENCY
  503. label.TextTransparency = TRANSPARENCY
  504. label.FontSize = TEXTFONTSIZE
  505. label.Font = TEXTFONT
  506. label.BorderSizePixel = BORDERSIZEPIXEL
  507. label.TextScaled = true
  508. label.Text = TEXT
  509. label.Name = NAME
  510. label.Parent = PARENT
  511. return label
  512. end
  513.  
  514. function NoOutlines(PART)
  515. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  516. end
  517.  
  518.  
  519. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  520. local NEWWELD = IT(TYPE)
  521. NEWWELD.Part0 = PART0
  522. NEWWELD.Part1 = PART1
  523. NEWWELD.C0 = C0
  524. NEWWELD.C1 = C1
  525. NEWWELD.Parent = PARENT
  526. return NEWWELD
  527. end
  528.  
  529. function CreateSound(ID, PARENT, VOLUME, PITCH)
  530. coroutine.resume(coroutine.create(function()
  531. local NEWSOUND = IT("Sound", PARENT)
  532. NEWSOUND.Volume = VOLUME
  533. NEWSOUND.Pitch = PITCH
  534. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  535. Swait()
  536. NEWSOUND:play()
  537. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  538. end))
  539. end
  540.  
  541.  
  542. --//=================================\\
  543. --\\=================================//
  544.  
  545.  
  546. --//=================================\\
  547. --|| WEAPON CREATION
  548. --\\=================================//
  549.  
  550. local Handle = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(1.8,3.5,1.8))
  551. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0 * Player_Size, -1.5 * Player_Size, 1 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  552. local HandlePart = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(2.2,1,2.2))
  553. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Handle, HandlePart, CF(0 * Player_Size, 2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  554. local HandlePart = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(2,0.3,2))
  555. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Handle, HandlePart, CF(0 * Player_Size, -0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  556. local HandlePart = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(2,0.3,2))
  557. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Handle, HandlePart, CF(0 * Player_Size, -1.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  558. local Opening = CreatePart(3, Weapon, "Plastic", 0, 0, "Really black", "Handle", VT(1.2,0.6,0.1))
  559. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Opening, Handle, Opening, CF(0 * Player_Size, -0.8 * Player_Size, 0.9 * Player_Size) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  560. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Stone grey", "Handle", VT(1,1,0.1))
  561. local decal = Instance.new("Decal",HandlePart)
  562. decal.Texture = "http://www.roblox.com/asset/?id=140490792"
  563. decal.Face = "Back"
  564. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Handle, HandlePart, CF(0 * Player_Size, 0.6 * Player_Size, 0.9 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  565.  
  566. for _, c in pairs(Weapon:GetChildren()) do
  567. if c.ClassName == "Part" then
  568. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  569. end
  570. end
  571.  
  572. local chuck = Instance.new("Sound",Effects)
  573. chuck.SoundId = "rbxassetid://11900833"
  574. chuck.Pitch = 2
  575. chuck.Volume = 1
  576.  
  577. Weapon.Parent = Character
  578.  
  579. Humanoid.Died:connect(function()
  580. ATTACK = true
  581. end)
  582.  
  583. print(Class_Name.." loaded.")
  584.  
  585. --//=================================\\
  586. --\\=================================//
  587.  
  588. function dealdamage(hit,min,max,maxstrength,beserk)
  589. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  590. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  591. local dmg = math.random(min,max)
  592. if humanoid.Health > 0 then
  593. if beserk == true then
  594. humanoid.Health = 0
  595. else
  596. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  597. --hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  598. humanoid.Health = humanoid.Health - dmg
  599. --StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(255/255, 0, 0))
  600. local defence = Instance.new("BoolValue",hit.Parent)
  601. defence.Name = ("HitBy"..Player.Name)
  602. game:GetService("Debris"):AddItem(defence, 0.05)
  603. end
  604. end
  605. end
  606. end
  607.  
  608. --//=================================\\
  609. --\\=================================//
  610.  
  611. function chatfunc(text)
  612. local chat = coroutine.wrap(function()
  613. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  614. Character:FindFirstChild("TalkingBillBoard"):destroy()
  615. end
  616. local naeeym2 = Instance.new("BillboardGui",Character)
  617. naeeym2.Size = UDim2.new(0,100,0,40)
  618. naeeym2.StudsOffset = Vector3.new(0,3,0)
  619. naeeym2.Adornee = Character.Head
  620. naeeym2.Name = "TalkingBillBoard"
  621. local tecks2 = Instance.new("TextLabel",naeeym2)
  622. tecks2.BackgroundTransparency = 1
  623. tecks2.BorderSizePixel = 0
  624. tecks2.Text = ""
  625. tecks2.Font = "SciFi"
  626. tecks2.TextSize = 30
  627. tecks2.TextStrokeTransparency = 1
  628. tecks2.TextColor3 = Color3.new(0,0,0)
  629. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  630. tecks2.Size = UDim2.new(1,0,0.5,0)
  631. local tecks3 = Instance.new("TextLabel",naeeym2)
  632. tecks3.BackgroundTransparency = 1
  633. tecks3.BorderSizePixel = 0
  634. tecks3.Text = ""
  635. tecks3.Font = "SciFi"
  636. tecks3.TextSize = 30
  637. tecks3.TextStrokeTransparency = 1
  638. tecks3.TextColor3 = Color3.new(0,0,0)
  639. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  640. tecks3.Size = UDim2.new(1,0,0.5,0)
  641. for i = 1,string.len(text),1 do
  642. tecks2.Text = string.sub(text,1,i)
  643. tecks3.Text = string.sub(text,1,i)
  644. wait(0.01)
  645. end
  646. wait(2)
  647. for i = 1, 50 do
  648. Swait()
  649. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  650. tecks2.Rotation = tecks2.Rotation - .8
  651. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  652. tecks2.TextTransparency = tecks2.TextTransparency + .04
  653. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  654. tecks3.Rotation = tecks2.Rotation + .8
  655. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  656. tecks3.TextTransparency = tecks2.TextTransparency + .04
  657. end
  658. naeeym2:Destroy()
  659. end)
  660. chat()
  661. end
  662.  
  663. function onChatted(msg)
  664. if msg == "1" then
  665. chatfunc("Spell card! Mailman's Wrath!")
  666. StartPosition()
  667. Swait(70)
  668. MailmansWrath()
  669. elseif msg == "2" then
  670. StartPosition()
  671. chatfunc("Spell card! Papercut Chaos!")
  672. Swait(70)
  673. PapercutChaos()
  674. elseif msg == "3" then
  675. StartPosition()
  676. chatfunc("Spell card! Mailbox Madness!")
  677. MailboxMadness()
  678. elseif msg == "4" then
  679. StartPosition()
  680. chatfunc("SUPER SPELL CARD! MAIL FRENZY!!")
  681. Swait(80)
  682. sick.SoundId = FinalInboxLink
  683. sick.Volume = 3
  684. sick:Play()
  685. chatfunc("TASTE THE MAIL RUSH!")
  686. FinalInbox()
  687. sick.SoundId = NormalMusicLink
  688. sick.Volume = 0.6
  689. sick:Play()
  690. elseif msg == "5" then
  691. StartPosition()
  692. chatfunc("SUPER SPELL CARD! SONIC MAIL FRENZY!!")
  693. SonicMail()
  694. end
  695. end
  696. Player.Chatted:connect(onChatted)
  697.  
  698. --//=================================\\
  699. --|| DANMAKU MADNESS
  700. --\\=================================//
  701.  
  702. local Mail = Instance.new("Part")
  703. Mail.Size = Vector3.new(2, 0.05, 1)
  704. Mail.Color = Color3.new(1,1,1)
  705. Mail.CanCollide = false
  706. local maildecal = Instance.new("Decal",Mail)
  707. maildecal.Face = "Top"
  708. maildecal.Texture = "http://www.roblox.com/asset/?id=8052441"
  709. Mail.BottomSurface = "Smooth"
  710. Mail.Name = "Mail"
  711.  
  712. function ShootMail(part,strength,debris)
  713. local mail = Mail:Clone()
  714. mail.CFrame = part.CFrame
  715. mail.Parent = Effects
  716. game:GetService("Debris"):AddItem(mail ,debris)
  717. local bv = Instance.new("BodyVelocity")
  718. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  719. bv.velocity = part.CFrame.lookVector*strength
  720. bv.Parent = mail
  721. bv.Name = "DASH"
  722. local hit = mail.Touched:connect(function(hit)
  723. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  724. dealdamage(hit,15,45,40)
  725. end
  726. end)
  727. return mail
  728. end
  729.  
  730. function MagicSphere(BRICKCOLOR, MATERIAL, PART, CFRAME, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  731. end
  732.  
  733.  
  734. function StartPosition()
  735. ATTACK = true
  736. Rooted = true
  737. for i=0, 1, 0.1 / Animation_Speed/1.2 do
  738. Swait()
  739. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0 * Player_Size, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.15 / Animation_Speed)
  740. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), 0.15 / Animation_Speed)
  741. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  742. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  743. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size -0.25, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  744. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.25, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  745. end
  746. end
  747.  
  748. function MailmansWrath()
  749. local twist = 0
  750. local twist2 = false
  751. local twist3 = 1
  752. local spinpart = Instance.new("Part",Weapon)
  753. spinpart.Anchored = true
  754. spinpart.CanCollide = false
  755. spinpart.Transparency = 1
  756. spinpart.CFrame = Opening.CFrame
  757. local spinpart2 = Instance.new("Part",Weapon)
  758. spinpart2.Anchored = true
  759. spinpart2.CanCollide = false
  760. spinpart2.Transparency = 1
  761. spinpart2.CFrame = Opening.CFrame
  762. for i = 1, 30 do
  763. chuck:Play()
  764. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  765. twist = twist + 1
  766. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  767. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  768. if twist == 10 then
  769. spinpart.CFrame = Opening.CFrame
  770. spinpart2.CFrame = Opening.CFrame
  771. twist = 0
  772. end
  773. ShootMail(spinpart,65,2)
  774. ShootMail(spinpart2,65,2)
  775. Swait(5)
  776. end
  777. spinpart.CFrame = Opening.CFrame
  778. spinpart2.CFrame = Opening.CFrame
  779. twist = 10
  780. for i = 1, 40 do
  781. chuck:Play()
  782. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  783. twist = twist + 1
  784. if twist2 == true then
  785. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  786. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  787. elseif twist2 == false then
  788. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  789. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  790. end
  791. if twist == 20 then
  792. if twist2 == false then
  793. twist2 = true
  794. elseif twist2 == true then
  795. twist2 = false
  796. end
  797. twist = 0
  798. end
  799. ShootMail(spinpart,65,2)
  800. ShootMail(spinpart2,65,2)
  801. Swait(5)
  802. end
  803. spinpart.CFrame = Opening.CFrame
  804. spinpart2.CFrame = Opening.CFrame
  805. twist = 0
  806. for i = 1, 30 do
  807. chuck:Play()
  808. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  809. twist = twist + 1
  810. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.15, 0)
  811. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.15, 0)
  812. if twist == 10 then
  813. spinpart.CFrame = Opening.CFrame
  814. spinpart2.CFrame = Opening.CFrame
  815. twist = 0
  816. end
  817. ShootMail(spinpart,75,2)
  818. ShootMail(spinpart2,75,2)
  819. Swait(5)
  820. end
  821. spinpart:remove()
  822. spinpart2:remove()
  823. ATTACK = false
  824. Rooted = false
  825. end
  826.  
  827. function PapercutChaos()
  828. local twist = 0
  829. for i = 1, 5 do
  830. chuck:Play()
  831. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  832. local mail = ShootMail(Opening,25,20)
  833. for i = 1, 15 do
  834. chuck:Play()
  835. local spinpart = Instance.new("Part",Weapon)
  836. spinpart.Anchored = true
  837. spinpart.CanCollide = false
  838. spinpart.Transparency = 1
  839. spinpart.CFrame = mail.CFrame
  840. local spinpart2 = Instance.new("Part",Weapon)
  841. spinpart2.Anchored = true
  842. spinpart2.CanCollide = false
  843. spinpart2.Transparency = 1
  844. spinpart2.CFrame = mail.CFrame
  845. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 70, 0)
  846. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -70, 0)
  847. MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  848. ShootMail(spinpart,35,2)
  849. ShootMail(spinpart2,35,2)
  850. spinpart:remove()
  851. spinpart2:remove()
  852. Swait(5)
  853. end
  854. mail:remove()
  855. end
  856. for i = 1, 2 do
  857. chuck:Play()
  858. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  859. local mail = ShootMail(Opening,45,20)
  860. for i = 1, 20 do
  861. twist = twist + 1
  862. chuck:Play()
  863. local spinpart = Instance.new("Part",Weapon)
  864. spinpart.Anchored = true
  865. spinpart.CanCollide = false
  866. spinpart.Transparency = 1
  867. spinpart.CFrame = mail.CFrame
  868. local spinpart2 = Instance.new("Part",Weapon)
  869. spinpart2.Anchored = true
  870. spinpart2.CanCollide = false
  871. spinpart2.Transparency = 1
  872. spinpart2.CFrame = mail.CFrame
  873. spinpart.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  874. spinpart2.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  875. MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  876. ShootMail(spinpart,35,2)
  877. ShootMail(spinpart2,35,2)
  878. spinpart:remove()
  879. spinpart2:remove()
  880. Swait(5)
  881. end
  882. twist = 0
  883. mail:remove()
  884. end
  885. ATTACK = false
  886. Rooted = false
  887. end
  888.  
  889. function MailboxMadness()
  890. for i = 1, 15 do
  891. chuck:Play()
  892. local part = Instance.new("Part")
  893. part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
  894. part.Orientation = RootPart.Orientation
  895. part.CanCollide = false
  896. part.Anchored = true
  897. MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  898. local spinpart = Instance.new("Part",Weapon)
  899. spinpart.Anchored = true
  900. spinpart.CanCollide = false
  901. spinpart.Transparency = 1
  902. spinpart.CFrame = part.CFrame
  903. local spinpart2 = Instance.new("Part",Weapon)
  904. spinpart2.Anchored = true
  905. spinpart2.CanCollide = false
  906. spinpart2.Transparency = 1
  907. spinpart2.CFrame = part.CFrame
  908. MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  909. part:remove()
  910. for i = 1, 15 do
  911. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  912. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  913. ShootMail(spinpart,50,2)
  914. ShootMail(spinpart2,50,2)
  915. end
  916. spinpart:remove()
  917. spinpart2:remove()
  918. Swait(35)
  919. end
  920. ATTACK = false
  921. Rooted = false
  922. end
  923.  
  924. function FinalInbox()
  925. local twist = 0
  926. local twist2 = false
  927. for i = 1, 5 do
  928. local part = Instance.new("Part")
  929. part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
  930. part.Orientation = RootPart.Orientation
  931. part.CanCollide = false
  932. part.Anchored = true
  933. MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  934. local spinpart = Instance.new("Part",Weapon)
  935. spinpart.Anchored = true
  936. spinpart.CanCollide = false
  937. spinpart.Transparency = 1
  938. spinpart.CFrame = part.CFrame
  939. local spinpart2 = Instance.new("Part",Weapon)
  940. spinpart2.Anchored = true
  941. spinpart2.CanCollide = false
  942. spinpart2.Transparency = 1
  943. spinpart2.CFrame = part.CFrame
  944. MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  945. part:remove()
  946. local spinpart3 = Instance.new("Part",Weapon)
  947. spinpart3.Anchored = true
  948. spinpart3.CanCollide = false
  949. spinpart3.Transparency = 1
  950. spinpart3.CFrame = RootPart.CFrame * CF(0,0,-50)
  951. local spinpart4 = Instance.new("Part",Weapon)
  952. spinpart4.Anchored = true
  953. spinpart4.CanCollide = false
  954. spinpart4.Transparency = 1
  955. spinpart4.CFrame = RootPart.CFrame * CF(0,0,-50)
  956. for i = 1, 30 do
  957. chuck:Play()
  958. spinpart3.CFrame = spinpart3.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  959. spinpart4.CFrame = spinpart4.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  960. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  961. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  962. ShootMail(spinpart,50,2)
  963. ShootMail(spinpart2,-50,2)
  964. ShootMail(spinpart3,100,1)
  965. ShootMail(spinpart4,-100,1)
  966. Swait(10)
  967. end
  968. spinpart:remove()
  969. spinpart2:remove()
  970. spinpart3:remove()
  971. spinpart4:remove()
  972. end
  973. chuck:Play()
  974. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  975. for i = 1, 2 do
  976. twist = 10
  977. local spinpart = Instance.new("Part",Weapon)
  978. spinpart.Anchored = true
  979. spinpart.CanCollide = false
  980. spinpart.Transparency = 1
  981. spinpart.CFrame = Opening.CFrame
  982. local spinpart2 = Instance.new("Part",Weapon)
  983. spinpart2.Anchored = true
  984. spinpart2.CanCollide = false
  985. spinpart2.Transparency = 1
  986. spinpart2.CFrame = Opening.CFrame
  987. local mail = ShootMail(Opening,25,20)
  988. for i = 1, 50 do
  989. chuck:Play()
  990. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  991. twist = twist + 1
  992. if twist2 == true then
  993. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  994. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  995. elseif twist2 == false then
  996. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  997. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  998. end
  999. if twist == 20 then
  1000. if twist2 == false then
  1001. twist2 = true
  1002. elseif twist2 == true then
  1003. twist2 = false
  1004. end
  1005. twist = 0
  1006. end
  1007. ShootMail(spinpart,125,1)
  1008. ShootMail(spinpart2,125,1)
  1009. local spinpart3 = Instance.new("Part",Weapon)
  1010. spinpart3.Anchored = true
  1011. spinpart3.CanCollide = false
  1012. spinpart3.Transparency = 1
  1013. spinpart3.CFrame = mail.CFrame
  1014. local spinpart4 = Instance.new("Part",Weapon)
  1015. spinpart4.Anchored = true
  1016. spinpart4.CanCollide = false
  1017. spinpart4.Transparency = 1
  1018. spinpart4.CFrame = mail.CFrame
  1019. spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  1020. spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  1021. MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1022. ShootMail(spinpart3,85,1)
  1023. ShootMail(spinpart4,85,1)
  1024. spinpart3:remove()
  1025. spinpart4:remove()
  1026. Swait(10)
  1027. end
  1028. spinpart:remove()
  1029. spinpart2:remove()
  1030. twist = 0
  1031. mail:remove()
  1032. end
  1033. for i = 1, 4 do
  1034. twist = 10
  1035. local spinpart = Instance.new("Part",Weapon)
  1036. spinpart.Anchored = true
  1037. spinpart.CanCollide = false
  1038. spinpart.Transparency = 1
  1039. spinpart.CFrame = Opening.CFrame
  1040. local spinpart2 = Instance.new("Part",Weapon)
  1041. spinpart2.Anchored = true
  1042. spinpart2.CanCollide = false
  1043. spinpart2.Transparency = 1
  1044. spinpart2.CFrame = Opening.CFrame
  1045. local spinpart5 = Instance.new("Part",Weapon)
  1046. spinpart5.Anchored = true
  1047. spinpart5.CanCollide = false
  1048. spinpart5.Transparency = 1
  1049. spinpart5.CFrame = RootPart.CFrame * CF(0,0,-50)
  1050. local spinpart6 = Instance.new("Part",Weapon)
  1051. spinpart6.Anchored = true
  1052. spinpart6.CanCollide = false
  1053. spinpart6.Transparency = 1
  1054. spinpart6.CFrame = RootPart.CFrame * CF(0,0,-50)
  1055. local mail = ShootMail(Opening,25,20)
  1056. for i = 1, 50 do
  1057. chuck:Play()
  1058. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1059. twist = twist + 1
  1060. spinpart5.CFrame = spinpart5.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
  1061. spinpart6.CFrame = spinpart6.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
  1062. if twist2 == true then
  1063. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1064. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  1065. elseif twist2 == false then
  1066. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  1067. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  1068. end
  1069. if twist == 20 then
  1070. if twist2 == false then
  1071. twist2 = true
  1072. elseif twist2 == true then
  1073. twist2 = false
  1074. end
  1075. twist = 0
  1076. end
  1077. ShootMail(spinpart,125,1)
  1078. ShootMail(spinpart2,125,1)
  1079. ShootMail(spinpart5,100,1)
  1080. ShootMail(spinpart6,-100,1)
  1081. local spinpart3 = Instance.new("Part",Weapon)
  1082. spinpart3.Anchored = true
  1083. spinpart3.CanCollide = false
  1084. spinpart3.Transparency = 1
  1085. spinpart3.CFrame = mail.CFrame
  1086. local spinpart4 = Instance.new("Part",Weapon)
  1087. spinpart4.Anchored = true
  1088. spinpart4.CanCollide = false
  1089. spinpart4.Transparency = 1
  1090. spinpart4.CFrame = mail.CFrame
  1091. spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  1092. spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  1093. MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1094. ShootMail(spinpart3,85,1)
  1095. ShootMail(spinpart4,85,1)
  1096. spinpart3:remove()
  1097. spinpart4:remove()
  1098. Swait(10)
  1099. end
  1100. spinpart:remove()
  1101. spinpart2:remove()
  1102. spinpart5:remove()
  1103. spinpart6:remove()
  1104. twist = 0
  1105. mail:remove()
  1106. end
  1107. ATTACK = false
  1108. Rooted = false
  1109. end
  1110.  
  1111. function SonicMail()
  1112. local twist = 0
  1113. local twist2 = false
  1114. for i = 1, 5 do
  1115. local part = Instance.new("Part")
  1116. part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
  1117. part.Orientation = RootPart.Orientation
  1118. part.CanCollide = false
  1119. part.Anchored = true
  1120. MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1121. local spinpart = Instance.new("Part",Weapon)
  1122. spinpart.Anchored = true
  1123. spinpart.CanCollide = false
  1124. spinpart.Transparency = 1
  1125. spinpart.CFrame = part.CFrame
  1126. local spinpart2 = Instance.new("Part",Weapon)
  1127. spinpart2.Anchored = true
  1128. spinpart2.CanCollide = false
  1129. spinpart2.Transparency = 1
  1130. spinpart2.CFrame = part.CFrame
  1131. MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1132. part:remove()
  1133. local spinpart3 = Instance.new("Part",Weapon)
  1134. spinpart3.Anchored = true
  1135. spinpart3.CanCollide = false
  1136. spinpart3.Transparency = 1
  1137. spinpart3.CFrame = RootPart.CFrame * CF(0,0,-50)
  1138. local spinpart4 = Instance.new("Part",Weapon)
  1139. spinpart4.Anchored = true
  1140. spinpart4.CanCollide = false
  1141. spinpart4.Transparency = 1
  1142. spinpart4.CFrame = RootPart.CFrame * CF(0,0,-50)
  1143. for i = 1, 30 do
  1144. chuck:Play()
  1145. spinpart3.CFrame = spinpart3.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1146. spinpart4.CFrame = spinpart4.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1147. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1148. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1149. ShootMail(spinpart,50,2)
  1150. ShootMail(spinpart2,-50,2)
  1151. ShootMail(spinpart3,100,1)
  1152. ShootMail(spinpart4,-100,1)
  1153. Swait(2)
  1154. end
  1155. spinpart:remove()
  1156. spinpart2:remove()
  1157. spinpart3:remove()
  1158. spinpart4:remove()
  1159. end
  1160. chuck:Play()
  1161. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1162. for i = 1, 2 do
  1163. twist = 10
  1164. local spinpart = Instance.new("Part",Weapon)
  1165. spinpart.Anchored = true
  1166. spinpart.CanCollide = false
  1167. spinpart.Transparency = 1
  1168. spinpart.CFrame = Opening.CFrame
  1169. local spinpart2 = Instance.new("Part",Weapon)
  1170. spinpart2.Anchored = true
  1171. spinpart2.CanCollide = false
  1172. spinpart2.Transparency = 1
  1173. spinpart2.CFrame = Opening.CFrame
  1174. local mail = ShootMail(Opening,25,20)
  1175. for i = 1, 50 do
  1176. chuck:Play()
  1177. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1178. twist = twist + 1
  1179. if twist2 == true then
  1180. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1181. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  1182. elseif twist2 == false then
  1183. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  1184. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  1185. end
  1186. if twist == 20 then
  1187. if twist2 == false then
  1188. twist2 = true
  1189. elseif twist2 == true then
  1190. twist2 = false
  1191. end
  1192. twist = 0
  1193. end
  1194. ShootMail(spinpart,125,1)
  1195. ShootMail(spinpart2,125,1)
  1196. local spinpart3 = Instance.new("Part",Weapon)
  1197. spinpart3.Anchored = true
  1198. spinpart3.CanCollide = false
  1199. spinpart3.Transparency = 1
  1200. spinpart3.CFrame = mail.CFrame
  1201. local spinpart4 = Instance.new("Part",Weapon)
  1202. spinpart4.Anchored = true
  1203. spinpart4.CanCollide = false
  1204. spinpart4.Transparency = 1
  1205. spinpart4.CFrame = mail.CFrame
  1206. spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  1207. spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  1208. MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1209. ShootMail(spinpart3,85,1)
  1210. ShootMail(spinpart4,85,1)
  1211. spinpart3:remove()
  1212. spinpart4:remove()
  1213. Swait(2)
  1214. end
  1215. spinpart:remove()
  1216. spinpart2:remove()
  1217. twist = 0
  1218. mail:remove()
  1219. end
  1220. for i = 1, 4 do
  1221. twist = 10
  1222. local spinpart = Instance.new("Part",Weapon)
  1223. spinpart.Anchored = true
  1224. spinpart.CanCollide = false
  1225. spinpart.Transparency = 1
  1226. spinpart.CFrame = Opening.CFrame
  1227. local spinpart2 = Instance.new("Part",Weapon)
  1228. spinpart2.Anchored = true
  1229. spinpart2.CanCollide = false
  1230. spinpart2.Transparency = 1
  1231. spinpart2.CFrame = Opening.CFrame
  1232. local spinpart5 = Instance.new("Part",Weapon)
  1233. spinpart5.Anchored = true
  1234. spinpart5.CanCollide = false
  1235. spinpart5.Transparency = 1
  1236. spinpart5.CFrame = RootPart.CFrame * CF(0,0,-50)
  1237. local spinpart6 = Instance.new("Part",Weapon)
  1238. spinpart6.Anchored = true
  1239. spinpart6.CanCollide = false
  1240. spinpart6.Transparency = 1
  1241. spinpart6.CFrame = RootPart.CFrame * CF(0,0,-50)
  1242. local mail = ShootMail(Opening,25,20)
  1243. for i = 1, 50 do
  1244. chuck:Play()
  1245. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1246. twist = twist + 1
  1247. spinpart5.CFrame = spinpart5.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
  1248. spinpart6.CFrame = spinpart6.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
  1249. if twist2 == true then
  1250. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1251. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  1252. elseif twist2 == false then
  1253. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  1254. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  1255. end
  1256. if twist == 20 then
  1257. if twist2 == false then
  1258. twist2 = true
  1259. elseif twist2 == true then
  1260. twist2 = false
  1261. end
  1262. twist = 0
  1263. end
  1264. ShootMail(spinpart,125,1)
  1265. ShootMail(spinpart2,125,1)
  1266. ShootMail(spinpart5,100,1)
  1267. ShootMail(spinpart6,-100,1)
  1268. local spinpart3 = Instance.new("Part",Weapon)
  1269. spinpart3.Anchored = true
  1270. spinpart3.CanCollide = false
  1271. spinpart3.Transparency = 1
  1272. spinpart3.CFrame = mail.CFrame
  1273. local spinpart4 = Instance.new("Part",Weapon)
  1274. spinpart4.Anchored = true
  1275. spinpart4.CanCollide = false
  1276. spinpart4.Transparency = 1
  1277. spinpart4.CFrame = mail.CFrame
  1278. spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  1279. spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  1280. MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1281. ShootMail(spinpart3,85,1)
  1282. ShootMail(spinpart4,85,1)
  1283. spinpart3:remove()
  1284. spinpart4:remove()
  1285. Swait(2)
  1286. end
  1287. spinpart:remove()
  1288. spinpart2:remove()
  1289. spinpart5:remove()
  1290. spinpart6:remove()
  1291. twist = 0
  1292. mail:remove()
  1293. end
  1294. ATTACK = false
  1295. Rooted = false
  1296. end
  1297. --//=================================\\
  1298. --|| ASSIGN THINGS TO KEYS
  1299. --\\=================================//
  1300.  
  1301. Humanoid.Changed:connect(function(Jump)
  1302. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1303. Humanoid.Jump = false
  1304. end
  1305. end)
  1306.  
  1307. --//=================================\\
  1308. --\\=================================//
  1309.  
  1310.  
  1311. function unanchor()
  1312. if UNANCHOR == true then
  1313. g = Character:GetChildren()
  1314. for i = 1, #g do
  1315. if g[i].ClassName == "Part" then
  1316. g[i].Anchored = false
  1317. end
  1318. end
  1319. end
  1320. end
  1321.  
  1322.  
  1323. --//=================================\\
  1324. --|| WRAP THE WHOLE SCRIPT UP
  1325. --\\=================================//
  1326.  
  1327. Humanoid.Changed:connect(function(Jump)
  1328. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1329. Humanoid.Jump = false
  1330. end
  1331. end)
  1332.  
  1333. ANIMATE.Parent = nil
  1334. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1335. IDLEANIMATION:Play()
  1336. Swait()
  1337. ANIMATOR.Parent = nil
  1338. Disable_Jump = true
  1339.  
  1340. while true do
  1341. Swait()
  1342. SINE = SINE + CHANGE
  1343. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1344. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1345. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1346. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1347. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1348. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1349. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1350. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  1351. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1352. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1353. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1354. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1355. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1356. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1357. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1358. end
  1359. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1360. ANIM = "Jump"
  1361. if ATTACK == false then
  1362. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1363. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1364. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1365. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1366. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1367. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1368. end
  1369. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1370. ANIM = "Fall"
  1371. if ATTACK == false then
  1372. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1373. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1374. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1375. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1376. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1377. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1378. end
  1379. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1380. ANIM = "Idle"
  1381. if ATTACK == false then
  1382. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0 * Player_Size, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1383. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1384. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1385. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1386. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size -0.25, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1387. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.25, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1388. end
  1389. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1390. ANIM = "Walk"
  1391. WALK = WALK + 1 / Animation_Speed
  1392. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1393. WALK = 0
  1394. if WALKINGANIM == true then
  1395. WALKINGANIM = false
  1396. elseif WALKINGANIM == false then
  1397. WALKINGANIM = true
  1398. end
  1399. end
  1400. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1401. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1402. if ATTACK == false then
  1403. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1404. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1405. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1406. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1407. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1408. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1409. end
  1410. end
  1411. if #Effects2>0 then
  1412. for e=1,#Effects2 do
  1413. if Effects2[e]~=nil then
  1414. local Thing=Effects2[e]
  1415. if Thing~=nil then
  1416. local Part=Thing[1]
  1417. local Mode=Thing[2]
  1418. local Delay=Thing[3]
  1419. local IncX=Thing[4]
  1420. local IncY=Thing[5]
  1421. local IncZ=Thing[6]
  1422. local Part2=Thing[8]
  1423. if Thing[1].Transparency<=1 then
  1424. if Thing[2]=="Block1" then
  1425. Thing[1].CFrame=Part2.CFrame
  1426. Mesh=Thing[1].Mesh
  1427. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1428. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1429. elseif Thing[2]=="Cylinder" then
  1430. Mesh=Thing[1].Mesh
  1431. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1432. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1433. elseif Thing[2]=="Blood" then
  1434. Mesh=Thing[7]
  1435. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1436. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1437. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1438. elseif Thing[2]=="Elec" then
  1439. Mesh=Thing[1].Mesh
  1440. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1441. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1442. elseif Thing[2]=="Disappear" then
  1443. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1444. end
  1445. else
  1446. Part.Parent=nil
  1447. table.remove(Effects2,e)
  1448. end
  1449. end
  1450. end
  1451. end
  1452. end
  1453. unanchor()
  1454. Humanoid.MaxHealth = "inf"
  1455. Humanoid.Health = "inf"
  1456. if Rooted == false then
  1457. --Disable_Jump = false
  1458. Humanoid.WalkSpeed = Speed
  1459. elseif Rooted == true then
  1460. Disable_Jump = true
  1461. Humanoid.WalkSpeed = 0
  1462. end
  1463. --print(TORSOVELOCITY)
  1464. end
  1465.  
  1466. --//=================================\\
  1467. --\\=================================//
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473. --//====================================================\\--
  1474. --|| END OF SCRIPT
  1475. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement