Advertisement
Animescapetower

why this script

Mar 9th, 2018
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 80.45 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4. --//====================================================\\--
  5. --|| EDITED BY ANIME
  6. --\\====================================================//--
  7.  
  8.  
  9. wait(0.2)
  10.  
  11.  
  12.  
  13. Player = game:GetService("Players").LocalPlayer
  14. print("Hello ".. Player.Name.." ".. Player.Name.." ".. Player.Name.." ".. Player.Name.." ")
  15. PlayerGui = Player.PlayerGui
  16. Cam = workspace.CurrentCamera
  17. Backpack = Player.Backpack
  18. Character = Player.Character
  19. Humanoid = Character.Humanoid
  20. Mouse = Player:GetMouse()
  21. RootPart = Character["HumanoidRootPart"]
  22. Torso = Character["Torso"]
  23. Head = Character["Head"]
  24. RightArm = Character["Right Arm"]
  25. LeftArm = Character["Left Arm"]
  26. RightLeg = Character["Right Leg"]
  27. LeftLeg = Character["Left Leg"]
  28. RootJoint = RootPart["RootJoint"]
  29. Neck = Torso["Neck"]
  30. RightShoulder = Torso["Right Shoulder"]
  31. LeftShoulder = Torso["Left Shoulder"]
  32. RightHip = Torso["Right Hip"]
  33. LeftHip = Torso["Left Hip"]
  34. local FinalInboxLink = "rbxassetid://162459362"
  35. local NormalMusicLink = "rbxassetid://490205608"
  36. local sick = Instance.new("Sound",Character.HumanoidRootPart)
  37. sick.SoundId = "rbxassetid://490205608"
  38. sick.Looped = true
  39. sick.Pitch = 1
  40. sick.Volume = 10
  41. sick:Play()
  42.  
  43. IT = Instance.new
  44. CF = CFrame.new
  45. VT = Vector3.new
  46. RAD = math.rad
  47. C3 = Color3.new
  48. UD2 = UDim2.new
  49. BRICKC = BrickColor.new
  50. ANGLES = CFrame.Angles
  51. EULER = CFrame.fromEulerAnglesXYZ
  52. COS = math.cos
  53. ACOS = math.acos
  54. SIN = math.sin
  55. ASIN = math.asin
  56. ABS = math.abs
  57. MRANDOM = math.random
  58. FLOOR = math.floor
  59.  
  60. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  61. local NEWMESH = IT(MESH)
  62. if MESH == "SpecialMesh" then
  63. NEWMESH.MeshType = MESHTYPE
  64. if MESHID ~= "nil" and MESHID ~= "" then
  65. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  66. end
  67. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  68. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  69. end
  70. end
  71. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  72. NEWMESH.Scale = SCALE
  73. NEWMESH.Parent = PARENT
  74. return NEWMESH
  75. end
  76.  
  77. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  78. local NEWPART = IT("Part")
  79. NEWPART.formFactor = FORMFACTOR
  80. NEWPART.Reflectance = REFLECTANCE
  81. NEWPART.Transparency = TRANSPARENCY
  82. NEWPART.CanCollide = false
  83. NEWPART.Locked = true
  84. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  85. NEWPART.Name = NAME
  86. NEWPART.Size = SIZE
  87. NEWPART.Position = Torso.Position
  88. NEWPART.Material = "Neon"
  89. NEWPART:BreakJoints()
  90. NEWPART.Parent = PARENT
  91. local meshs2 = Instance.new("SpecialMesh")
  92. meshs2.MeshId = "http://www.roblox.com/asset?id=130099641"
  93. meshs2.TextureId = "rbxassetid://140942725"
  94. meshs2.Parent = NEWPART
  95. meshs2.Scale = Vector3.new(-1,-1,-1)
  96. return NEWPART
  97. end
  98.  
  99.  
  100. --//=================================\\
  101. --|| CUSTOMIZATION
  102. --\\=================================//
  103.  
  104. Class_Name = "Template"
  105. Weapon_Name = "Add-ons"
  106.  
  107. Custom_Colors = {
  108. Custom_Color_1 = BRICKC("Really red"); --1st color for the weapon.
  109. Custom_Color_2 = BRICKC("Really blue"); --2nd color for the weapon.
  110.  
  111. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  112. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  113. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  114. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  115. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  116.  
  117. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  118. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  119. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  120. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  121. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  122. }
  123.  
  124.  
  125. Player_Size = 1 --Size of the player.
  126. Animation_Speed = 7
  127. Frame_Speed = 1 / 90 -- (1 / 30) OR (1 / 60)
  128.  
  129. local Speed = 13
  130. local Effects2 = {}
  131.  
  132. --//=================================\\
  133. --|| END OF CUSTOMIZATION
  134. --\\=================================//
  135.  
  136. local function weldBetween(a, b)
  137. local weldd = Instance.new("ManualWeld")
  138. weldd.Part0 = a
  139. weldd.Part1 = b
  140. weldd.C0 = CFrame.new()
  141. weldd.C1 = b.CFrame:inverse() * a.CFrame
  142. weldd.Parent = a
  143. return weldd
  144. end
  145.  
  146. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  147. local acs = Instance.new("Part")
  148. acs.CanCollide = false
  149. acs.Anchored = false
  150. acs.Size = Vector3.new(0,0,0)
  151.  
  152. acs.CFrame = attachmentpart.CFrame
  153. acs.Parent = Character
  154. acs.BrickColor = color
  155. local meshs = Instance.new("SpecialMesh")
  156. meshs.MeshId = "http://www.roblox.com/asset?id=130099641"
  157. meshs.TextureId = "rbxassetid://140942725"
  158. meshs.Parent = acs
  159. meshs.Scale = Vector2.new(4,4,4)
  160.  
  161. weldBetween(attachmentpart,acs)
  162. end
  163.  
  164. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  165. if TYPE == "Gem" then
  166. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  167. acs.Anchored = false
  168. acs.CanCollide = false
  169. acs.CFrame = PART.CFrame
  170. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  171. weldBetween(PART,acs)
  172. elseif TYPE == "Skull" then
  173. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  174. acs.Anchored = false
  175. acs.CanCollide = false
  176. acs.CFrame = PART.CFrame
  177. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  178. weldBetween(PART,acs)
  179. elseif TYPE == "Eye" then
  180. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  181. acs.Anchored = false
  182. acs.CanCollide = false
  183. acs.CFrame = PART.CFrame
  184. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  185. weldBetween(PART,acs)
  186. end
  187. end
  188.  
  189. --//=================================\\
  190. --|| USEFUL VALUES
  191. --\\=================================//
  192.  
  193. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  194. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  195. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  196. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  197. local CO1 = 0
  198. local CO2 = 0
  199. local CO3 = 0
  200. local CO4 = 0
  201. local CHANGEDEFENSE = 0
  202. local CHANGEDAMAGE = 0
  203. local CHANGEMOVEMENT = 0
  204. local ANIM = "Idle"
  205. local ATTACK = false
  206. local EQUIPPED = false
  207. local HOLD = false
  208. local COMBO = 999
  209. local LASTPOINT = nil
  210. local BLCF = nil
  211. local SCFR = nil
  212. local STAGGERHITANIM = false
  213. local STAGGERANIM = false
  214. local STUNANIM = false
  215. local CRITCHANCENUMBER = 0
  216. local IDLENUMBER = 0
  217. local DONUMBER = 0
  218. local HANDIDLE = false
  219. local SINE = 0
  220. local CHANGE = 2 / Animation_Speed
  221. local WALKINGANIM = false
  222. local WALK = 0
  223. local DISABLEJUMPING = false
  224. local HASBEENBLOCKED = false
  225. local STUNDELAYNUMBER = 0
  226. local MANADELAYNUMBER = 0
  227. local SECONDARYMANADELAYNUMBER = 0
  228. local ROBLOXIDLEANIMATION = IT("Animation")
  229. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  230. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  231. --ROBLOXIDLEANIMATION.Parent = Humanoid
  232. local WEAPONGUI = IT("ScreenGui", nil)
  233. WEAPONGUI.Name = "Weapon GUI"
  234. local WEAPONTOOL = IT("HopperBin", nil)
  235. WEAPONTOOL.Name = Weapon_Name
  236. local Weapon = IT("Model")
  237. Weapon.Name = Weapon_Name
  238. local Effects = IT("Folder", Weapon)
  239. Effects.Name = "Effects"
  240. local ANIMATOR = Humanoid.Animator
  241. local ANIMATE = Character.Animate
  242. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  243. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  244. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  245. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  246. local UNANCHOR = true
  247.  
  248. --//=================================\\
  249. --\\=================================//
  250.  
  251. --//=================================\\
  252. --|| STATS
  253. --\\=================================//
  254.  
  255. if Character:FindFirstChild("Stats") ~= nil then
  256. Character:FindFirstChild("Stats").Parent = nil
  257. end
  258.  
  259. local Stats = IT("Folder", nil)
  260. Stats.Name = "Stats"
  261. local ChangeStat = IT("Folder", Stats)
  262. ChangeStat.Name = "ChangeStat"
  263. local Defense = IT("NumberValue", Stats)
  264. Defense.Name = "Defense"
  265. Defense.Value = 1
  266. local Movement = IT("NumberValue", Stats)
  267. Movement.Name = "Movement"
  268. Movement.Value = 1
  269. local Damage = IT("NumberValue", Stats)
  270. Damage.Name = "Damage"
  271. Damage.Value = math.huge
  272. local Mana = IT("NumberValue", Stats)
  273. Mana.Name = "Mana"
  274. Mana.Value = 0
  275. local SecondaryMana = IT("NumberValue", Stats)
  276. SecondaryMana.Name = "SecondaryMana"
  277. SecondaryMana.Value = 0
  278. local CanCrit = IT("BoolValue", Stats)
  279. CanCrit.Name = "CanCrit"
  280. CanCrit.Value = false
  281. local CritChance = IT("NumberValue", Stats)
  282. CritChance.Name = "CritChance"
  283. CritChance.Value = 20
  284. local CanPenetrateArmor = IT("BoolValue", Stats)
  285. CanPenetrateArmor.Name = "CanPenetrateArmor"
  286. CanPenetrateArmor.Value = false
  287. local AntiTeamKill = IT("BoolValue", Stats)
  288. AntiTeamKill.Name = "AntiTeamKill"
  289. AntiTeamKill.Value = true
  290. local Rooted = IT("BoolValue", Stats)
  291. Rooted.Name = "Rooted"
  292. Rooted.Value = false
  293. local Block = IT("BoolValue", Stats)
  294. Block.Name = "Block"
  295. Block.Value = false
  296. local RecentEnemy = IT("ObjectValue", Stats)
  297. RecentEnemy.Name = "RecentEnemy"
  298. RecentEnemy.Value = nil
  299. local StaggerHit = IT("BoolValue", Stats)
  300. StaggerHit.Name = "StaggerHit"
  301. StaggerHit.Value = false
  302. local Stagger = IT("BoolValue", Stats)
  303. Stagger.Name = "Stagger"
  304. Stagger.Value = false
  305. local Stun = IT("BoolValue", Stats)
  306. Stun.Name = "Stun"
  307. Stun.Value = false
  308. local StunValue = IT("NumberValue", Stats)
  309. StunValue.Name = "StunValue"
  310. StunValue.Value = 0
  311.  
  312.  
  313. --//=================================\\
  314. --\\=================================//
  315.  
  316.  
  317.  
  318.  
  319.  
  320. --//=================================\\
  321. --|| DEBUFFS / BUFFS
  322. --\\=================================//
  323.  
  324. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  325. DEFENSECHANGE1.Name = "ChangeDefense"
  326. DEFENSECHANGE1.Value = 0
  327.  
  328. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  329. MOVEMENTCHANGE1.Name = "ChangeMovement"
  330. MOVEMENTCHANGE1.Value = 0
  331.  
  332. --//=================================\\
  333. --\\=================================//
  334.  
  335.  
  336.  
  337.  
  338.  
  339. --//=================================\\
  340. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  341. --\\=================================//
  342.  
  343. ArtificialHB = Instance.new("BindableEvent", script)
  344. ArtificialHB.Name = "ArtificialHB"
  345.  
  346. script:WaitForChild("ArtificialHB")
  347.  
  348. frame = Frame_Speed
  349. tf = 0
  350. allowframeloss = false
  351. tossremainder = false
  352. lastframe = tick()
  353. script.ArtificialHB:Fire()
  354.  
  355. game:GetService("RunService").Heartbeat:connect(function(s, p)
  356. tf = tf + s
  357. if tf >= frame then
  358. if allowframeloss then
  359. script.ArtificialHB:Fire()
  360. lastframe = tick()
  361. else
  362. for i = 1, math.floor(tf / frame) do
  363. script.ArtificialHB:Fire()
  364. end
  365. lastframe = tick()
  366. end
  367. if tossremainder then
  368. tf = 0
  369. else
  370. tf = tf - frame * math.floor(tf / frame)
  371. end
  372. end
  373. end)
  374.  
  375. --//=================================\\
  376. --\\=================================//
  377.  
  378.  
  379.  
  380.  
  381.  
  382. --//=================================\\
  383. --|| SOME FUNCTIONS
  384. --\\=================================//
  385.  
  386. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  387. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  388. end
  389.  
  390. function PositiveAngle(NUMBER)
  391. if NUMBER >= 0 then
  392. NUMBER = 0
  393. end
  394. return NUMBER
  395. end
  396.  
  397. function NegativeAngle(NUMBER)
  398. if NUMBER <= 0 then
  399. NUMBER = 0
  400. end
  401. return NUMBER
  402. end
  403.  
  404. function Swait(NUMBER)
  405. if NUMBER == 0 or NUMBER == nil then
  406. ArtificialHB.Event:wait()
  407. else
  408. for i = 1, NUMBER do
  409. ArtificialHB.Event:wait()
  410. end
  411. end
  412. end
  413.  
  414. function QuaternionFromCFrame(cf)
  415. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  416. local trace = m00 + m11 + m22
  417. if trace > 0 then
  418. local s = math.sqrt(1 + trace)
  419. local recip = 0.5 / s
  420. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  421. else
  422. local i = 0
  423. if m11 > m00 then
  424. i = 1
  425. end
  426. if m22 > (i == 0 and m00 or m11) then
  427. i = 2
  428. end
  429. if i == 0 then
  430. local s = math.sqrt(m00 - m11 - m22 + 1)
  431. local recip = 0.5 / s
  432. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  433. elseif i == 1 then
  434. local s = math.sqrt(m11 - m22 - m00 + 1)
  435. local recip = 0.5 / s
  436. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  437. elseif i == 2 then
  438. local s = math.sqrt(m22 - m00 - m11 + 1)
  439. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  440. end
  441. end
  442. end
  443.  
  444. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  445. local xs, ys, zs = x + x, y + y, z + z
  446. local wx, wy, wz = w * xs, w * ys, w * zs
  447. local xx = x * xs
  448. local xy = x * ys
  449. local xz = x * zs
  450. local yy = y * ys
  451. local yz = y * zs
  452. local zz = z * zs
  453. 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))
  454. end
  455.  
  456. function QuaternionSlerp(a, b, t)
  457. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  458. local startInterp, finishInterp;
  459. if cosTheta >= 0.0001 then
  460. if (1 - cosTheta) > 0.0001 then
  461. local theta = ACOS(cosTheta)
  462. local invSinTheta = 1 / SIN(theta)
  463. startInterp = SIN((1 - t) * theta) * invSinTheta
  464. finishInterp = SIN(t * theta) * invSinTheta
  465. else
  466. startInterp = 1 - t
  467. finishInterp = t
  468. end
  469. else
  470. if (1 + cosTheta) > 0.0001 then
  471. local theta = ACOS(-cosTheta)
  472. local invSinTheta = 1 / SIN(theta)
  473. startInterp = SIN((t - 1) * theta) * invSinTheta
  474. finishInterp = SIN(t * theta) * invSinTheta
  475. else
  476. startInterp = t - 1
  477. finishInterp = t
  478. end
  479. end
  480. 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
  481. end
  482.  
  483. function Clerp(a, b, t)
  484. local qa = {QuaternionFromCFrame(a)}
  485. local qb = {QuaternionFromCFrame(b)}
  486. local ax, ay, az = a.x, a.y, a.z
  487. local bx, by, bz = b.x, b.y, b.z
  488. local _t = 1 - t
  489. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  490. end
  491.  
  492. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  493. local frame = IT("Frame")
  494. frame.BackgroundTransparency = TRANSPARENCY
  495. frame.BorderSizePixel = BORDERSIZEPIXEL
  496. frame.Position = POSITION
  497. frame.Size = SIZE
  498. frame.BackgroundColor3 = COLOR
  499. frame.BorderColor3 = BORDERCOLOR
  500. frame.Name = NAME
  501. frame.Parent = PARENT
  502. return frame
  503. end
  504.  
  505. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  506. local label = IT("TextLabel")
  507. label.BackgroundTransparency = 1
  508. label.Size = UD2(1, 0, 1, 0)
  509. label.Position = UD2(0, 0, 0, 0)
  510. label.TextColor3 = C3(255, 255, 255)
  511. label.TextStrokeTransparency = STROKETRANSPARENCY
  512. label.TextTransparency = TRANSPARENCY
  513. label.FontSize = TEXTFONTSIZE
  514. label.Font = TEXTFONT
  515. label.BorderSizePixel = BORDERSIZEPIXEL
  516. label.TextScaled = true
  517. label.Text = TEXT
  518. label.Name = NAME
  519. label.Parent = PARENT
  520. return label
  521. end
  522.  
  523. function NoOutlines(PART)
  524. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  525. end
  526.  
  527.  
  528. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  529. local NEWWELD = IT(TYPE)
  530. NEWWELD.Part0 = PART0
  531. NEWWELD.Part1 = PART1
  532. NEWWELD.C0 = C0
  533. NEWWELD.C1 = C1
  534. NEWWELD.Parent = PARENT
  535. return NEWWELD
  536. end
  537.  
  538. function CreateSound(ID, PARENT, VOLUME, PITCH)
  539. coroutine.resume(coroutine.create(function()
  540. local NEWSOUND = IT("Sound", PARENT)
  541. NEWSOUND.Volume = VOLUME
  542. NEWSOUND.Pitch = PITCH
  543. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  544. Swait()
  545. NEWSOUND:play()
  546. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  547. end))
  548. end
  549.  
  550.  
  551. --//=================================\\
  552. --\\=================================//
  553.  
  554.  
  555. --//=================================\\
  556. --|| WEAPON CREATION
  557. --\\=================================//
  558.  
  559. local Handle = CreatePart(3, Weapon, "Neon", 0, 0, "Tawny", "Handle", VT(1.3,3.1,1.1))
  560. 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))
  561. local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Tawny", "Handle", VT(1.3,3.1,1.1))
  562. 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))
  563. local Opening = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Handle", VT(1.3,3.1,1.1))
  564. local decal = Instance.new("Decal",HandlePart)
  565. decal.Texture = "http://www.roblox.com/asset/?id=0"
  566. decal.Face = "Back"
  567. 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))
  568.  
  569. for _, c in pairs(Weapon:GetChildren()) do
  570. if c.ClassName == "Part" then
  571. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  572. end
  573. end
  574.  
  575. local chuck = Instance.new("Sound",Effects)
  576. chuck.SoundId = "rbxassetid://11900833"
  577. chuck.Pitch = 2
  578. chuck.Volume = 40
  579.  
  580. Weapon.Parent = Character
  581.  
  582. Humanoid.Died:connect(function()
  583. ATTACK = true
  584. end)
  585.  
  586. print(Class_Name.." loaded.")
  587.  
  588. --//=================================\\
  589. --\\=================================//
  590.  
  591. function dealdamage(hit,min,max,maxstrength,beserk)
  592. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  593. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  594. local dmg = math.random(min,max)
  595. if humanoid.Health > 0 then
  596. if beserk == true then
  597. humanoid.Health = 0
  598. else
  599. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  600. --hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  601. humanoid.Health = humanoid.Health - dmg
  602. --StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(255/255, 0, 0))
  603. local defence = Instance.new("BoolValue",hit.Parent)
  604. defence.Name = ("HitBy"..Player.Name)
  605. game:GetService("Debris"):AddItem(defence, 0.05)
  606. end
  607. end
  608. end
  609. end
  610.  
  611. --//=================================\\
  612. --\\=================================//
  613.  
  614. function chatfunc(text)
  615. local chat = coroutine.wrap(function()
  616. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  617. Character:FindFirstChild("TalkingBillBoard"):destroy()
  618. end
  619. local naeeym2 = Instance.new("BillboardGui",Character)
  620. naeeym2.Size = UDim2.new(0,100,0,40)
  621. naeeym2.StudsOffset = Vector3.new(0,3,0)
  622. naeeym2.Adornee = Character.Head
  623. naeeym2.Name = "TalkingBillBoard"
  624. local tecks2 = Instance.new("TextLabel",naeeym2)
  625. tecks2.BackgroundTransparency = 1
  626. tecks2.BorderSizePixel = 0
  627. tecks2.Text = ""
  628. tecks2.Font = "SciFi"
  629. tecks2.TextSize = 30
  630. tecks2.TextStrokeTransparency = 1
  631. tecks2.TextColor3 = Color3.new(0,0,0)
  632. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  633. tecks2.Size = UDim2.new(1,0,0.5,0)
  634. local tecks3 = Instance.new("TextLabel",naeeym2)
  635. tecks3.BackgroundTransparency = 1
  636. tecks3.BorderSizePixel = 0
  637. tecks3.Text = ""
  638. tecks3.Font = "SciFi"
  639. tecks3.TextSize = 30
  640. tecks3.TextStrokeTransparency = 1
  641. tecks3.TextColor3 = Color3.new(0,0,0)
  642. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  643. tecks3.Size = UDim2.new(1,0,0.5,0)
  644. for i = 1,string.len(text),1 do
  645. tecks2.Text = string.sub(text,1,i)
  646. tecks3.Text = string.sub(text,1,i)
  647. wait(0.01)
  648. end
  649. wait(2)
  650. for i = 1, 50 do
  651. Swait()
  652. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  653. tecks2.Rotation = tecks2.Rotation - .8
  654. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  655. tecks2.TextTransparency = tecks2.TextTransparency + .04
  656. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  657. tecks3.Rotation = tecks2.Rotation + .8
  658. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  659. tecks3.TextTransparency = tecks2.TextTransparency + .04
  660. end
  661. naeeym2:Destroy()
  662. end)
  663. chat()
  664. end
  665.  
  666. function onChatted(msg)
  667. if msg == "Blast V" then
  668. chatfunc("SC : "..msg.."!")
  669. StartPosition()
  670. Swait(70)
  671. MailmansWrath()
  672. elseif msg == "Papercut Chaos" then
  673. StartPosition()
  674. chatfunc("CV : "..msg.."!")
  675. Swait(70)
  676. PapercutChaos()
  677. elseif msg == "Laser A" then
  678. StartPosition()
  679. chatfunc("SV : "..msg.."!")
  680. MailboxMadness()
  681. elseif msg == "Laser C" then
  682. StartPosition()
  683. chatfunc("Laser C")
  684. Swait(80)
  685. sick.SoundId = FinalInboxLink
  686. sick.Volume = 3
  687. sick:Play()
  688. chatfunc("DIE!")
  689. FinalInbox()
  690. sick.SoundId = NormalMusicLink
  691. sick.Volume = 0.6
  692. sick:Play()
  693. elseif msg == ";follow h" then
  694. chatfunc("Just do this one time")
  695.  
  696. local Ang = CFrame.Angles --[Storing these as variables so I dont have to type them out.]
  697. local aSin = math.asin
  698. local aTan = math.atan
  699.  
  700. --[Constants]:
  701.  
  702. local Cam = game.Workspace.CurrentCamera
  703.  
  704. local Plr = game.Players.LocalPlayer
  705. local Mouse = Plr:GetMouse()
  706. local Body = Plr.Character or Plr.CharacterAdded:wait()
  707. local Head = Body:WaitForChild("Head")
  708. local Hum = Body:WaitForChild("Humanoid")
  709. local Core = Body:WaitForChild("HumanoidRootPart")
  710. local IsR6 = (Hum.RigType.Value==0) --[Checking if the player is using R15 or R6.]
  711. local Trso = (IsR6 and Body:WaitForChild("Torso")) or Body:WaitForChild("UpperTorso")
  712. local Neck = (IsR6 and Trso:WaitForChild("Neck")) or Head:WaitForChild("Neck") --[Once we know the Rig, we know what to find.]
  713. local Waist = (not IsR6 and Trso:WaitForChild("Waist")) --[R6 doesn't have a waist joint, unfortunately.]
  714.  
  715. --[[
  716. [Whether rotation follows the camera or the mouse.]
  717. [Useful with tools if true, but camera tracking runs smoother.]
  718. --]]
  719. local MseGuide = false
  720. --[[
  721. [Whether the whole character turns to face the mouse.]
  722. [If set to true, MseGuide will be set to true and both HeadHorFactor and BodyHorFactor will be set to 0]
  723. --]]
  724. local TurnCharacterToMouse = false
  725. --[[
  726. [Horizontal and Vertical limits for head and body tracking.]
  727. [Setting to 0 negates tracking, setting to 1 is normal tracking, and setting to anything higher than 1 goes past real life head/body rotation capabilities.]
  728. --]]
  729. local HeadHorFactor = 1
  730. local HeadVertFactor = 0.6
  731. local BodyHorFactor = 0.5
  732. local BodyVertFactor = 0.4
  733.  
  734. --[[
  735. [How fast the body rotates.]
  736. [Setting to 0 negates tracking, and setting to 1 is instant rotation. 0.5 is a nice in-between that works with MseGuide on or off.]
  737. [Setting this any higher than 1 causes weird glitchy shaking occasionally.]
  738. --]]
  739. local UpdateSpeed = 0.5
  740.  
  741. local NeckOrgnC0 = Neck.C0 --[Get the base C0 to manipulate off of.]
  742. local WaistOrgnC0 = (not IsR6 and Waist.C0) --[Get the base C0 to manipulate off of.]
  743.  
  744. --[Setup]:
  745.  
  746. Neck.MaxVelocity = 1/3
  747.  
  748. -- Activation]:
  749. if TurnCharacterToMouse == true then
  750. MseGuide = true
  751. HeadHorFactor = 0
  752. BodyHorFactor = 0
  753. end
  754.  
  755. game:GetService("RunService").RenderStepped:Connect(function()
  756. local CamCF = Cam.CoordinateFrame
  757. if ((IsR6 and Body["Torso"]) or Body["UpperTorso"])~=nil and Body["Head"]~=nil then --[Check for the Torso and Head...]
  758. local TrsoLV = Trso.CFrame.lookVector
  759. local HdPos = Head.CFrame.p
  760. if IsR6 and Neck or Neck and Waist then --[Make sure the Neck still exists.]
  761. if Cam.CameraSubject:IsDescendantOf(Body) or Cam.CameraSubject:IsDescendantOf(Plr) then
  762. local Dist = nil;
  763. local Diff = nil;
  764. if not MseGuide then --[If not tracking the Mouse then get the Camera.]
  765. Dist = (Head.CFrame.p-CamCF.p).magnitude
  766. Diff = Head.CFrame.Y-CamCF.Y
  767. if not IsR6 then --[R6 and R15 Neck rotation C0s are different; R15: X axis inverted and Z is now the Y.]
  768. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang((aSin(Diff/Dist)*HeadVertFactor), -(((HdPos-CamCF.p).Unit):Cross(TrsoLV)).Y*HeadHorFactor, 0), UpdateSpeed/2)
  769. Waist.C0 = Waist.C0:lerp(WaistOrgnC0*Ang((aSin(Diff/Dist)*BodyVertFactor), -(((HdPos-CamCF.p).Unit):Cross(TrsoLV)).Y*BodyHorFactor, 0), UpdateSpeed/2)
  770. else --[R15s actually have the properly oriented Neck CFrame.]
  771. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang(-(aSin(Diff/Dist)*HeadVertFactor), 0, -(((HdPos-CamCF.p).Unit):Cross(TrsoLV)).Y*HeadHorFactor),UpdateSpeed/2)
  772. end
  773. else
  774. local Point = Mouse.Hit.p
  775. Dist = (Head.CFrame.p-Point).magnitude
  776. Diff = Head.CFrame.Y-Point.Y
  777. if not IsR6 then
  778. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang(-(aTan(Diff/Dist)*HeadVertFactor), (((HdPos-Point).Unit):Cross(TrsoLV)).Y*HeadHorFactor, 0), UpdateSpeed/2)
  779. Waist.C0 = Waist.C0:lerp(WaistOrgnC0*Ang(-(aTan(Diff/Dist)*BodyVertFactor), (((HdPos-Point).Unit):Cross(TrsoLV)).Y*BodyHorFactor, 0), UpdateSpeed/2)
  780. else
  781. Neck.C0 = Neck.C0:lerp(NeckOrgnC0*Ang((aTan(Diff/Dist)*HeadVertFactor), 0, (((HdPos-Point).Unit):Cross(TrsoLV)).Y*HeadHorFactor), UpdateSpeed/2)
  782. end
  783. end
  784. end
  785. end
  786. end
  787. if TurnCharacterToMouse == true then
  788. Hum.AutoRotate = false
  789. Core.CFrame = Core.CFrame:lerp(CFrame.new(Core.Position, Vector3.new(Mouse.Hit.p.x, Core.Position.Y, Mouse.Hit.p.z)), UpdateSpeed / 2)
  790. else
  791. Hum.AutoRotate = true
  792. end
  793. end)
  794. elseif msg == ";tail plr" then
  795. chatfunc("What the just happened")
  796. local Player = game.Players.localPlayer
  797. local Character = Player.Character
  798. local red = 255
  799. local green = 255
  800. local blue = 255
  801. local Humanoid = Character.Humanoid
  802. local mouse = Player:GetMouse()
  803. local m = Instance.new("Model", Character)
  804. m.Name = "WeaponModel"
  805. local LeftArm = Character["Left Arm"]
  806. local RightArm = Character["Right Arm"]
  807. local LeftLeg = Character["Left Leg"]
  808. local RightLeg = Character["Right Leg"]
  809. local Head = Character.Head
  810. local Torso = Character.Torso
  811. local cam = game.Workspace.CurrentCamera
  812. local RootPart = Character.HumanoidRootPart
  813. local RootJoint = RootPart.RootJoint
  814. local equipped = false
  815. local attack = false
  816. local Anim = "Idle"
  817. local idle = 0
  818. local attacktype = 1
  819. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  820. local velocity = RootPart.Velocity.y
  821. local sine = 0
  822. local change = 1
  823. local grabbed = false
  824. local cn = CFrame.new
  825. local mr = math.rad
  826. local angles = CFrame.Angles
  827. local ud = UDim2.new
  828. local c3 = Color3.new
  829. local lim = 0
  830. local st = 0
  831. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  832. local attacktype = 1
  833. local ZTarget, RocketTarget = nil, nil
  834. local euler = CFrame.fromEulerAnglesXYZ
  835. function clerp(a,b,t)
  836. local qa = {QuaternionFromCFrame(a)}
  837. local qb = {QuaternionFromCFrame(b)}
  838. local ax, ay, az = a.x, a.y, a.z
  839. local bx, by, bz = b.x, b.y, b.z
  840. local _t = 1-t
  841. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  842. end
  843.  
  844. function QuaternionFromCFrame(cf)
  845. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  846. local trace = m00 + m11 + m22
  847. if trace > 0 then
  848. local s = math.sqrt(1 + trace)
  849. local recip = 0.5/s
  850. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  851. else
  852. local i = 0
  853. if m11 > m00 then
  854. i = 1
  855. end
  856. if m22 > (i == 0 and m00 or m11) then
  857. i = 2
  858. end
  859. if i == 0 then
  860. local s = math.sqrt(m00-m11-m22+1)
  861. local recip = 0.5/s
  862. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  863. elseif i == 1 then
  864. local s = math.sqrt(m11-m22-m00+1)
  865. local recip = 0.5/s
  866. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  867. elseif i == 2 then
  868. local s = math.sqrt(m22-m00-m11+1)
  869. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  870. end
  871. end
  872. end
  873.  
  874. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  875. local xs, ys, zs = x + x, y + y, z + z
  876. local wx, wy, wz = w*xs, w*ys, w*zs
  877. local xx = x*xs
  878. local xy = x*ys
  879. local xz = x*zs
  880. local yy = y*ys
  881. local yz = y*zs
  882. local zz = z*zs
  883. 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))
  884. end
  885.  
  886. function QuaternionSlerp(a, b, t)
  887. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  888. local startInterp, finishInterp;
  889. if cosTheta >= 0.0001 then
  890. if (1 - cosTheta) > 0.0001 then
  891. local theta = math.acos(cosTheta)
  892. local invSinTheta = 1/math.sin(theta)
  893. startInterp = math.sin((1-t)*theta)*invSinTheta
  894. finishInterp = math.sin(t*theta)*invSinTheta
  895. else
  896. startInterp = 1-t
  897. finishInterp = t
  898. end
  899. else
  900. if (1+cosTheta) > 0.0001 then
  901. local theta = math.acos(-cosTheta)
  902. local invSinTheta = 1/math.sin(theta)
  903. startInterp = math.sin((t-1)*theta)*invSinTheta
  904. finishInterp = math.sin(t*theta)*invSinTheta
  905. else
  906. startInterp = t-1
  907. finishInterp = t
  908. end
  909. end
  910. 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
  911. end
  912. rayCast = function(Position, Direction, Range, Ignore)
  913. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  914. end
  915. local v = game.Players.localPlayer
  916. local torso = v.Character.Torso
  917. wait(1)
  918. local p = Instance.new("Part", v.Character)
  919. p.Name = "kit"
  920. p.Anchored = true
  921. p.Transparency = 0
  922. p.Material = "Plastic"
  923. p.CanCollide = false
  924. p.TopSurface = 0
  925. p.BottomSurface = 0
  926. p.Size = Vector3.new(0.2, 0.2, 0.2)
  927. p.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  928. local msh = Instance.new("SpecialMesh", p)
  929. msh.Scale = Vector3.new(-2, 2, 2)
  930. msh.MeshId = "http://www.roblox.com/asset/?id=188635159"
  931. msh.TextureId = "http://www.roblox.com/asset/?id=188539332"
  932. msh.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  933. local pn = Instance.new("Part", v.Character.kit)
  934. pn.Name = "tail"
  935. pn.Anchored = true
  936. pn.Transparency = 0
  937. pn.Material = "Plastic"
  938. pn.CanCollide = false
  939. pn.TopSurface = 0
  940. pn.BottomSurface = 0
  941. pn.Size = Vector3.new(5, 3, 3)
  942. pn.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  943. local mshn = Instance.new("SpecialMesh", pn)
  944. mshn.Scale = Vector3.new(2, 2, 2)
  945. mshn.MeshId = "http://www.roblox.com/asset/?id=188635159"
  946. mshn.TextureId = "http://www.roblox.com/asset/?id=188539332"
  947. mshn.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  948. local pn3 = Instance.new("Part", v.Character.kit)
  949. pn3.Name = "tail"
  950. pn3.Anchored = true
  951. pn3.Transparency = 0
  952. pn3.Material = "Plastic"
  953. pn3.CanCollide = false
  954. pn3.TopSurface = 0
  955. pn3.BottomSurface = 0
  956. pn3.Size = Vector3.new(0.2, 0.2, 0.2)
  957. pn3.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  958. local mshn3 = Instance.new("SpecialMesh", pn3)
  959. mshn3.Scale = Vector3.new(2, 2, 2)
  960. mshn3.MeshId = "http://www.roblox.com/asset/?id=188635159"
  961. mshn3.TextureId = "http://www.roblox.com/asset/?id=188539332"
  962. mshn3.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  963. local pn4 = Instance.new("Part", v.Character.kit)
  964. pn4.Name = "tail"
  965. pn4.Anchored = true
  966. pn4.Transparency = 0
  967. pn4.Material = "Plastic"
  968. pn4.CanCollide = false
  969. pn4.TopSurface = 0
  970. pn4.BottomSurface = 0
  971. pn4.Size = Vector3.new(0.2, 0.2, 0.2)
  972. pn4.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  973. local mshn4 = Instance.new("SpecialMesh", pn4)
  974. mshn4.Scale = Vector3.new(-2, 2, 2)
  975. mshn4.MeshId = "http://www.roblox.com/asset/?id=188635159"
  976. mshn4.TextureId = "http://www.roblox.com/asset/?id=188539332"
  977. mshn4.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  978. local pn5 = Instance.new("Part", v.Character.kit)
  979. pn5.Name = "tail"
  980. pn5.Anchored = true
  981. pn5.Transparency = 0
  982. pn5.Material = "Plastic"
  983. pn5.CanCollide = false
  984. pn5.TopSurface = 0
  985. pn5.BottomSurface = 0
  986. pn5.Size = Vector3.new(0.2, 0.2, 0.2)
  987. pn5.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  988. local mshn5 = Instance.new("SpecialMesh", pn5)
  989. mshn5.Scale = Vector3.new(2, 2, 2)
  990. mshn5.MeshId = "http://www.roblox.com/asset/?id=188635159"
  991. mshn5.TextureId = "http://www.roblox.com/asset/?id=188539332"
  992. mshn5.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  993. local pn6 = Instance.new("Part", v.Character.kit)
  994. pn6.Name = "tail"
  995. pn6.Anchored = true
  996. pn6.Transparency = 0
  997. pn6.Material = "Plastic"
  998. pn6.CanCollide = false
  999. pn6.TopSurface = 0
  1000. pn6.BottomSurface = 0
  1001. pn6.Size = Vector3.new(0.2, 0.2, 0.2)
  1002. pn6.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1003. local mshn6 = Instance.new("SpecialMesh", pn6)
  1004. mshn6.Scale = Vector3.new(2, 2, 2)
  1005. mshn6.MeshId = "http://www.roblox.com/asset/?id=188635159"
  1006. mshn6.TextureId = "http://www.roblox.com/asset/?id=188539332"
  1007. mshn6.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1008. local pn7 = Instance.new("Part", v.Character.kit)
  1009. pn7.Name = "tail"
  1010. pn7.Anchored = true
  1011. pn7.Transparency = 0
  1012. pn7.Material = "Plastic"
  1013. pn7.CanCollide = false
  1014. pn7.TopSurface = 0
  1015. pn7.BottomSurface = 0
  1016. pn7.Size = Vector3.new(0.2, 0.2, 0.2)
  1017. pn7.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1018. local mshn7 = Instance.new("SpecialMesh", pn7)
  1019. mshn7.Scale = Vector3.new(2, 2, 2)
  1020. mshn7.MeshId = "http://www.roblox.com/asset/?id=188635159"
  1021. mshn7.TextureId = "http://www.roblox.com/asset/?id=188539332"
  1022. mshn7.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1023. local pn8 = Instance.new("Part", v.Character.kit)
  1024. pn8.Name = "tail"
  1025. pn8.Anchored = true
  1026. pn8.Transparency = 0
  1027. pn8.Material = "Plastic"
  1028. pn8.CanCollide = false
  1029. pn8.TopSurface = 0
  1030. pn8.BottomSurface = 0
  1031. pn8.Size = Vector3.new(0.2, 0.2, 0.2)
  1032. pn8.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1033. local mshn8 = Instance.new("SpecialMesh", pn8)
  1034. mshn8.Scale = Vector3.new(-2, 2, 2)
  1035. mshn8.MeshId = "http://www.roblox.com/asset/?id=188635159"
  1036. mshn8.TextureId = "http://www.roblox.com/asset/?id=188539332"
  1037. mshn8.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1038. local pn9 = Instance.new("Part", v.Character.kit)
  1039. pn9.Name = "tail"
  1040. pn9.Anchored = true
  1041. pn9.Transparency = 0
  1042. pn9.Material = "Neon"
  1043. pn9.CanCollide = false
  1044. pn9.TopSurface = 0
  1045. pn9.BottomSurface = 0
  1046. pn9.Size = Vector3.new(0.2, 0.2, 0.2)
  1047. pn9.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1048. local mshn9 = Instance.new("SpecialMesh", pn9)
  1049. mshn9.Scale = Vector3.new(-2, 2, 2)
  1050. mshn9.MeshId = "http://www.roblox.com/asset/?id=188635159"
  1051. mshn9.TextureId = "http://www.roblox.com/asset/?id=188539332"
  1052. mshn9.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1053. local pn0 = Instance.new("Part", v.Character.kit)
  1054. pn0.Name = "ears"
  1055. pn0.Anchored = true
  1056. pn0.Transparency = 0
  1057. pn0.Material = "Neon"
  1058. pn0.CanCollide = false
  1059. pn0.TopSurface = 0
  1060. pn0.BottomSurface = 0
  1061. pn0.Size = Vector3.new(0.2, 0.2, 0.2)
  1062. pn0.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1063. local mshn0 = Instance.new("SpecialMesh", pn0)
  1064. mshn0.Scale = Vector3.new(0.5, 0.5, 0.5)
  1065. mshn0.MeshId = "http://www.roblox.com/asset/?id=361948302"
  1066. mshn0.TextureId = "http://www.roblox.com/asset/?id=50657528"
  1067. mshn0.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1068. p.Anchored = false
  1069. local motor1 = Instance.new("Weld", p)
  1070. motor1.Part0 = p
  1071. motor1.Part1 = torso
  1072. motor1.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1073. motor1.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1074. pn.Anchored = false
  1075. local motor2 = Instance.new("Weld", pn)
  1076. motor2.Part0 = pn
  1077. motor2.Part1 = torso
  1078. motor2.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1079. motor2.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1080. pn3.Anchored = false
  1081. local motor3 = Instance.new("Weld", pn3)
  1082. motor3.Part0 = pn3
  1083. motor3.Part1 = torso
  1084. motor3.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1085. motor3.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1086. pn4.Anchored = false
  1087. local motor4 = Instance.new("Weld", pn4)
  1088. motor4.Part0 = pn4
  1089. motor4.Part1 = torso
  1090. motor4.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1091. motor4.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1092. pn5.Anchored = false
  1093. local motor5 = Instance.new("Weld", pn5)
  1094. motor5.Part0 = pn5
  1095. motor5.Part1 = torso
  1096. motor5.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1097. motor5.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1098. pn6.Anchored = false
  1099. local motor6 = Instance.new("Weld", pn6)
  1100. motor6.Part0 = pn6
  1101. motor6.Part1 = torso
  1102. motor6.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1103. motor6.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1104. pn7.Anchored = false
  1105. local motor7 = Instance.new("Weld", pn7)
  1106. motor7.Part0 = pn7
  1107. motor7.Part1 = torso
  1108. motor7.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1109. motor7.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1110. pn8.Anchored = false
  1111. local motor8 = Instance.new("Weld", pn8)
  1112. motor8.Part0 = pn8
  1113. motor8.Part1 = torso
  1114. motor8.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1115. motor8.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1116. pn9.Anchored = false
  1117. local motor9 = Instance.new("Weld", pn9)
  1118. motor9.Part0 = pn9
  1119. motor9.Part1 = torso
  1120. motor9.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1121. motor9.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1122. pn0.Anchored = false
  1123. local motor0 = Instance.new("Weld", pn0)
  1124. motor0.Part0 = pn0
  1125. motor0.Part1 = v.Character.Head
  1126. motor0.C0 = CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1127. game:GetService("RunService").Stepped:connect(function()
  1128. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1129. velocity = RootPart.Velocity.y
  1130. sine = sine + change
  1131. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1132. if equipped == true or equipped == false then
  1133. if RootPart.Velocity.y > 1 and hit == nil then
  1134. Anim = "Jump"
  1135. if attack == false then
  1136. motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(80 + 0 * math.cos(sine / 25))), 0.1)
  1137. motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  1138. motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-110 + 0 * math.cos(sine / 25))), 0.1)
  1139. motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(110 + 0 * math.cos(sine / 25))), 0.1)
  1140. motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  1141. motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  1142. motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  1143. motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(80 + 0 * math.cos(sine / 25))), 0.1)
  1144. motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(80 + 0 * math.cos(sine / 25))), 0.1)
  1145. end
  1146. else
  1147. if RootPart.Velocity.y < -1 and hit == nil then
  1148. Anim = "Fall"
  1149. if attack == false then
  1150. motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1)
  1151. motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  1152. motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  1153. motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1)
  1154. motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  1155. motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  1156. motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  1157. motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1)
  1158. motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1)
  1159. end
  1160. else
  1161. if Torsovelocity < 1 and hit ~= nil then
  1162. Anim = "Idle"
  1163. if attack == false then
  1164. change = 1
  1165. motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-5 + 5 * math.cos(sine / 50)), math.rad(0 + 5 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1166. motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-5 + -5 * math.cos(sine / 70)), math.rad(0 + -5 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1167. motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-5 + -5 * math.cos(sine / 80)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(-50 + 0 * math.cos(sine / 25))), 0.1)
  1168. motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(0 + 5 * math.cos(sine / 40)), math.rad(0 + 5 * math.cos(sine / 70)), math.rad(-40 + 0 * math.cos(sine / 25))), 0.1)
  1169. motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(0 + 5 * math.cos(sine / 60)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(40 + 0 * math.cos(sine / 25))), 0.1)
  1170. motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 35)), math.rad(0 + 5 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1171. motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 70)), math.rad(0 + 5 * math.cos(sine / 35)), math.rad(-45 + 0 * math.cos(sine / 25))), 0.1)
  1172. motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 55)), math.rad(0 + 5 * math.cos(sine / 55)), math.rad(-10 + 0 * math.cos(sine / 25))), 0.1)
  1173. motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 65)), math.rad(0 + 5 * math.cos(sine / 60)), math.rad(35 + 0 * math.cos(sine / 25))), 0.1)
  1174. end
  1175. else
  1176. if Torsovelocity > 2 and hit ~= nil then
  1177. Anim = "Walk"
  1178. if attack == false then
  1179. motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1)
  1180. motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  1181. motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  1182. motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1)
  1183. motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  1184. motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  1185. motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  1186. motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1)
  1187. motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1)
  1188. end
  1189. end
  1190. end
  1191. end
  1192. end
  1193. end
  1194. end)
  1195.  
  1196. elseif msg == "Demon" then
  1197.  
  1198. chatfunc(msg)
  1199. chatfunc("You Life Form Will Be Extinct")
  1200. sick.Volume = 0
  1201. local RbxAssetReached = " :RBCX2"
  1202. warn('This script is still indevelopment so becareful for glitches or bugs'..RbxAssetReached)
  1203. wait(2)
  1204. warn('YOU WILL NOT SURVIVE THIS TIME'..RbxAssetReached)
  1205. --Hey guys was making this script i can't make the attacks cause i'm lazy, but i will add damege bricks, made by animescapetower
  1206. local player = game.Players.LocalPlayer
  1207. local Arm1 = game.Players.LocalPlayer.Character["Left Arm"]
  1208. local Arm2 = game.Players.LocalPlayer.Character["Right Arm"]
  1209. local Leg1 = game.Players.LocalPlayer.Character["Left Leg"]
  1210. local Leg2 = game.Players.LocalPlayer.Character["Right Leg"]
  1211. local humanoid = player.Character.Humanoid
  1212. local mouse = player:GetMouse()
  1213. local anim1= Instance.new("Animation")
  1214. anim1.AnimationId = "http://www.roblox.com/asset/?id=235542946"
  1215. local anim2 = Instance.new("Animation")
  1216. anim2.AnimationId = "http://www.roblox.com/asset/?id=32326240"
  1217. local anim23 = Instance.new("Animation")
  1218. anim23.AnimationId = "http://www.roblox.com/asset/?id=105371766"
  1219.  
  1220.  
  1221. local bg = Instance.new("BillboardGui")
  1222. bg.Name = "Bamma"
  1223. bg.Parent = game.Players.LocalPlayer.Character.Head
  1224. bg.Adornee = game.Players.LocalPlayer.Character.Head
  1225. -- Same size as Head
  1226. bg.Size = UDim2.new(1, 0, 1, 0)
  1227. -- Above (defaults to inside)
  1228. bg.StudsOffset = Vector3.new(0, 2, 0)
  1229.  
  1230. local frame = Instance.new("Frame")
  1231. frame.Parent = bg
  1232. frame.Size = UDim2.new(1, 0, 1, 0)
  1233. frame.BackgroundTransparency = 0.7
  1234. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  1235.  
  1236. local text = Instance.new("TextLabel")
  1237. text.Parent = frame
  1238. text.Position = UDim2.new(0.25, 0, 0.25, 0)
  1239. text.Size = UDim2.new(0.5, 0, 0.5, 0)
  1240. text.BackgroundTransparency =1
  1241. text.Text = "Dragon Slayer"
  1242.  
  1243.  
  1244. mouse.KeyDown:connect(function(key)
  1245. if key == "z" then
  1246. text.Text = "Spin"
  1247. wait(4)
  1248.  
  1249. local playAnim = humanoid:LoadAnimation(anim1)
  1250. playAnim:Play()
  1251. wait(1)
  1252. text.Text = "Dragon Slayer"
  1253. wait(3)
  1254. playAnim:Stop()
  1255.  
  1256.  
  1257.  
  1258. end
  1259. end)
  1260.  
  1261. mouse.KeyDown:connect(function(key)
  1262. if key == "f" then
  1263. text.Text = "Punch"
  1264.  
  1265. local playAnim = humanoid:LoadAnimation(anim2)
  1266. playAnim:Play()
  1267. wait(5)
  1268. text.Text = "Dragon Slayer"
  1269. playAnim:Stop()
  1270.  
  1271.  
  1272. end
  1273. end)
  1274.  
  1275. mouse.KeyDown:connect(function(key)
  1276. if key == "k" then
  1277. text.Text = "DOOM DRAGON"
  1278.  
  1279. local playAnim = humanoid:LoadAnimation(anim23)
  1280. playAnim:Play()
  1281. wait(5)
  1282. text.Text = "Dragon Slayer"
  1283. playAnim:Stop()
  1284.  
  1285.  
  1286. end
  1287. end)
  1288.  
  1289. mouse.KeyDown:connect(function(key)
  1290. if key == "e" then--Activates the damege part
  1291. function onTouched(part)
  1292. local h = part.Parent:findFirstChild("Humanoid")
  1293. if h~=nil then
  1294. h.Health = h.Health -5 -- The most not so damegeing part is this
  1295. wait(2.00)
  1296. end
  1297. end
  1298.  
  1299. Arm2.Touched:connect(onTouched)
  1300. end
  1301. end)
  1302.  
  1303.  
  1304.  
  1305. game.Players.LocalPlayer.Character.Head.CanCollide = false
  1306. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  1307. local vy = Instance.new("Sound")
  1308. vy.Name = "SongyName"
  1309. vy.SoundId = "rbxassetid://0"
  1310. vy.Volume = 10
  1311. vy.PlaybackSpeed = 1
  1312. vy.Parent = game.Players.LocalPlayer.Character.Torso
  1313. vy.Looped = true
  1314. vy:Play()
  1315. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  1316. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  1317. while true do
  1318. game:GetService("RunService").Stepped:wait()
  1319. game.Players.LocalPlayer.Character.Head.CanCollide = false
  1320. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  1321.  
  1322. Arm1.Transparency = 0.6
  1323. Arm2.Transparency = 0.6
  1324. Leg1.Transparency = 0.6
  1325. Leg2.Transparency = 0.6
  1326. game.Players.LocalPlayer.Character.Torso.Transparency = 0.6
  1327. game.Players.LocalPlayer.Character.Head.Transparency = 0.6
  1328. wait(0.1)
  1329. Arm1.Transparency = 1
  1330. Arm2.Transparency = 1
  1331. Leg1.Transparency = 1
  1332. Leg2.Transparency = 1
  1333. game.Players.LocalPlayer.Character.Torso.Transparency = 1
  1334. game.Players.LocalPlayer.Character.Head.Transparency = 1
  1335.  
  1336.  
  1337. wait(0.1)
  1338. Arm1.Transparency = 0
  1339. Arm2.Transparency = 0
  1340. Leg1.Transparency = 0
  1341. Leg2.Transparency = 0
  1342. game.Players.LocalPlayer.Character.Torso.Transparency = 0
  1343. game.Players.LocalPlayer.Character.Head.Transparency = 0
  1344.  
  1345.  
  1346. wait(0.1)
  1347. game.Players.LocalPlayer.Character.Head.CanCollide = false
  1348. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  1349. end
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356. elseif msg == "attack [all]" then
  1357. StartPosition()
  1358. chatfunc("Code : C")
  1359. MailboxMadness()
  1360. MagicSphere()
  1361. MailmansWrath()
  1362. FinalInbox()
  1363. MailboxMadness()
  1364. MagicSphere()
  1365. MailmansWrath()
  1366.  
  1367. sick.SoundId = "rbxassetid://264359638"
  1368. sick.Volume = 0.6
  1369. sick:Play()
  1370.  
  1371. end
  1372. end
  1373. Player.Chatted:connect(onChatted)
  1374.  
  1375.  
  1376. --//=================================\\
  1377. --|| DANMAKU MADNESS
  1378. --\\=================================//
  1379.  
  1380. local Mail = Instance.new("Part")
  1381. Mail.Size = Vector3.new(4,1,1)
  1382. Mail.Color = Color3.new(255,255,255)
  1383. Mail.CanCollide = false
  1384.  
  1385. asd=Instance.new('SelectionBox', Mail);
  1386. asd.Adornee=Mail
  1387. asd.Color=BrickColor.new(0,155,0)
  1388.  
  1389. function ShootMail(part,strength,debris)
  1390. local mail = Mail:Clone()
  1391. mail.CFrame = part.CFrame
  1392. mail.Parent = Effects
  1393. game:GetService("Debris"):AddItem(mail ,debris)
  1394. local bv = Instance.new("BodyVelocity")
  1395. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1396. bv.velocity = part.CFrame.lookVector*strength
  1397. bv.Parent = mail
  1398. bv.Name = "DASH"
  1399. local hit = mail.Touched:connect(function(hit)
  1400. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  1401. dealdamage(hit,15,45,40)
  1402. end
  1403. end)
  1404. return mail
  1405. end
  1406.  
  1407. function MagicSphere(BRICKCOLOR, MATERIAL, PART, CFRAME, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1408. end
  1409.  
  1410.  
  1411. function StartPosition()
  1412. ATTACK = true
  1413. Rooted = true
  1414. for i=0, 1, 0.1 / Animation_Speed/1.2 do
  1415. Swait()
  1416. 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)
  1417. 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)
  1418. 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)
  1419. 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)
  1420. 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)
  1421. 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)
  1422. end
  1423. end
  1424.  
  1425. function MailmansWrath()
  1426. local twist = 0
  1427. local twist2 = false
  1428. local twist3 = 1
  1429. local spinpart = Instance.new("Part",Weapon)
  1430. spinpart.Anchored = true
  1431. spinpart.CanCollide = false
  1432. spinpart.Transparency = 1
  1433. spinpart.CFrame = Opening.CFrame
  1434. local spinpart2 = Instance.new("Part",Weapon)
  1435. spinpart2.Anchored = true
  1436. spinpart2.CanCollide = false
  1437. spinpart2.Transparency = 1
  1438. spinpart2.CFrame = Opening.CFrame
  1439. for i = 1, 30 do
  1440. chuck:Play()
  1441. 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)
  1442. twist = twist + 1
  1443. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  1444. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  1445. if twist == 10 then
  1446. spinpart.CFrame = Opening.CFrame
  1447. spinpart2.CFrame = Opening.CFrame
  1448. twist = 0
  1449. end
  1450. ShootMail(spinpart,65,2)
  1451. ShootMail(spinpart2,65,2)
  1452. Swait(5)
  1453. end
  1454. spinpart.CFrame = Opening.CFrame
  1455. spinpart2.CFrame = Opening.CFrame
  1456. twist = 10
  1457. for i = 1, 40 do
  1458. chuck:Play()
  1459. 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)
  1460. twist = twist + 1
  1461. if twist2 == true then
  1462. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1463. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  1464. elseif twist2 == false then
  1465. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  1466. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  1467. end
  1468. if twist == 20 then
  1469. if twist2 == false then
  1470. twist2 = true
  1471. elseif twist2 == true then
  1472. twist2 = false
  1473. end
  1474. twist = 0
  1475. end
  1476. ShootMail(spinpart,65,2)
  1477. ShootMail(spinpart2,65,2)
  1478. Swait(5)
  1479. end
  1480. spinpart.CFrame = Opening.CFrame
  1481. spinpart2.CFrame = Opening.CFrame
  1482. twist = 0
  1483. for i = 1, 30 do
  1484. chuck:Play()
  1485. 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)
  1486. twist = twist + 1
  1487. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.15, 0)
  1488. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.15, 0)
  1489. if twist == 10 then
  1490. spinpart.CFrame = Opening.CFrame
  1491. spinpart2.CFrame = Opening.CFrame
  1492. twist = 0
  1493. end
  1494. ShootMail(spinpart,75,2)
  1495. ShootMail(spinpart2,75,2)
  1496. Swait(5)
  1497. end
  1498. spinpart:remove()
  1499. spinpart2:remove()
  1500. ATTACK = false
  1501. Rooted = false
  1502. end
  1503.  
  1504. function PapercutChaos()
  1505. local twist = 0
  1506. for i = 1, 5 do
  1507. chuck:Play()
  1508. 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)
  1509. local mail = ShootMail(Opening,25,20)
  1510. for i = 1, 15 do
  1511. chuck:Play()
  1512. local spinpart = Instance.new("Part",Weapon)
  1513. spinpart.Anchored = true
  1514. spinpart.CanCollide = false
  1515. spinpart.Transparency = 1
  1516. spinpart.CFrame = mail.CFrame
  1517. local spinpart2 = Instance.new("Part",Weapon)
  1518. spinpart2.Anchored = true
  1519. spinpart2.CanCollide = false
  1520. spinpart2.Transparency = 1
  1521. spinpart2.CFrame = mail.CFrame
  1522. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 70, 0)
  1523. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -70, 0)
  1524. 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)
  1525. ShootMail(spinpart,35,2)
  1526. ShootMail(spinpart2,35,2)
  1527. spinpart:remove()
  1528. spinpart2:remove()
  1529. Swait(5)
  1530. end
  1531. mail:remove()
  1532. end
  1533. for i = 1, 2 do
  1534. chuck:Play()
  1535. 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)
  1536. local mail = ShootMail(Opening,45,20)
  1537. for i = 1, 20 do
  1538. twist = twist + 1
  1539. chuck:Play()
  1540. local spinpart = Instance.new("Part",Weapon)
  1541. spinpart.Anchored = true
  1542. spinpart.CanCollide = false
  1543. spinpart.Transparency = 1
  1544. spinpart.CFrame = mail.CFrame
  1545. local spinpart2 = Instance.new("Part",Weapon)
  1546. spinpart2.Anchored = true
  1547. spinpart2.CanCollide = false
  1548. spinpart2.Transparency = 1
  1549. spinpart2.CFrame = mail.CFrame
  1550. spinpart.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  1551. spinpart2.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  1552. 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)
  1553. ShootMail(spinpart,35,2)
  1554. ShootMail(spinpart2,35,2)
  1555. spinpart:remove()
  1556. spinpart2:remove()
  1557. Swait(5)
  1558. end
  1559. twist = 0
  1560. mail:remove()
  1561. end
  1562. ATTACK = false
  1563. Rooted = false
  1564. end
  1565.  
  1566. function MailboxMadness()
  1567. for i = 1, 4 do
  1568. chuck:Play()
  1569. local part = Instance.new("Part")
  1570. part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
  1571. part.Orientation = RootPart.Orientation
  1572. part.CanCollide = false
  1573. part.Anchored = true
  1574. 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)
  1575. local spinpart = Instance.new("Part",Weapon)
  1576. spinpart.Anchored = true
  1577. spinpart.CanCollide = false
  1578. spinpart.Transparency = 0
  1579. spinpart.CFrame = part.CFrame
  1580. local spinpart2 = Instance.new("Part",Weapon)
  1581. spinpart2.Anchored = true
  1582. spinpart2.CanCollide = false
  1583. spinpart2.Transparency = 0
  1584. spinpart2.CFrame = part.CFrame
  1585. 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)
  1586. part:remove()
  1587. for i = 1, 15 do
  1588. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1589. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  1590. ShootMail(spinpart,50,2)
  1591. ShootMail(spinpart2,50,2)
  1592. end
  1593. spinpart:remove()
  1594. spinpart2:remove()
  1595. Swait(35)
  1596. end
  1597. ATTACK = false
  1598. Rooted = false
  1599. end
  1600.  
  1601. function FinalInbox()
  1602. local twist = 0
  1603. local twist2 = false
  1604. for i = 1, 3 do
  1605. local part = Instance.new("Part")
  1606. part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
  1607. part.Orientation = RootPart.Orientation
  1608. part.CanCollide = false
  1609. part.Anchored = true
  1610. 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)
  1611. local spinpart = Instance.new("Part",Weapon)
  1612. spinpart.Anchored = true
  1613. spinpart.CanCollide = false
  1614. spinpart.Transparency = 0
  1615. spinpart.CFrame = part.CFrame
  1616. local spinpart2 = Instance.new("Part",Weapon)
  1617. spinpart2.Anchored = true
  1618. spinpart2.CanCollide = false
  1619. spinpart2.Transparency = 0
  1620. spinpart2.CFrame = part.CFrame
  1621. 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)
  1622. part:remove()
  1623. local spinpart3 = Instance.new("Part",Weapon)
  1624. spinpart3.Anchored = true
  1625. spinpart3.CanCollide = false
  1626. spinpart3.Transparency = 0
  1627. spinpart3.CFrame = RootPart.CFrame * CF(0,0,-50)
  1628. local spinpart4 = Instance.new("Part",Weapon)
  1629. spinpart4.Anchored = true
  1630. spinpart4.CanCollide = false
  1631. spinpart4.Transparency = 1
  1632. spinpart4.CFrame = RootPart.CFrame * CF(0,0,-50)
  1633. for i = 1, 30 do
  1634. chuck:Play()
  1635. spinpart3.CFrame = spinpart3.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1636. spinpart4.CFrame = spinpart4.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1637. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1638. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1639. ShootMail(spinpart,50,2)
  1640. ShootMail(spinpart2,-50,2)
  1641. ShootMail(spinpart3,100,1)
  1642. ShootMail(spinpart4,-100,1)
  1643. Swait(10)
  1644. end
  1645. spinpart:remove()
  1646. spinpart2:remove()
  1647. spinpart3:remove()
  1648. spinpart4:remove()
  1649. end
  1650. chuck:Play()
  1651. 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)
  1652. for i = 1, 2 do
  1653. twist = 10
  1654. local spinpart = Instance.new("Part",Weapon)
  1655. spinpart.Anchored = true
  1656. spinpart.CanCollide = false
  1657. spinpart.Transparency = 1
  1658. spinpart.CFrame = Opening.CFrame
  1659. local spinpart2 = Instance.new("Part",Weapon)
  1660. spinpart2.Anchored = true
  1661. spinpart2.CanCollide = false
  1662. spinpart2.Transparency = 1
  1663. spinpart2.CFrame = Opening.CFrame
  1664. local mail = ShootMail(Opening,25,20)
  1665. for i = 1, 50 do
  1666. chuck:Play()
  1667. 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)
  1668. twist = twist + 1
  1669. if twist2 == true then
  1670. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1671. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  1672. elseif twist2 == false then
  1673. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  1674. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  1675. end
  1676. if twist == 20 then
  1677. if twist2 == false then
  1678. twist2 = true
  1679. elseif twist2 == true then
  1680. twist2 = false
  1681. end
  1682. twist = 0
  1683. end
  1684. ShootMail(spinpart,125,1)
  1685. ShootMail(spinpart2,125,1)
  1686. local spinpart3 = Instance.new("Part",Weapon)
  1687. spinpart3.Anchored = true
  1688. spinpart3.CanCollide = false
  1689. spinpart3.Transparency = 1
  1690. spinpart3.CFrame = mail.CFrame
  1691. local spinpart4 = Instance.new("Part",Weapon)
  1692. spinpart4.Anchored = true
  1693. spinpart4.CanCollide = false
  1694. spinpart4.Transparency = 1
  1695. spinpart4.CFrame = mail.CFrame
  1696. spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  1697. spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  1698. 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)
  1699. ShootMail(spinpart3,85,1)
  1700. ShootMail(spinpart4,85,1)
  1701. spinpart3:remove()
  1702. spinpart4:remove()
  1703. Swait(10)
  1704. end
  1705. spinpart:remove()
  1706. spinpart2:remove()
  1707. twist = 0
  1708. mail:remove()
  1709. end
  1710. for i = 1, 4 do
  1711. twist = 10
  1712. local spinpart = Instance.new("Part",Weapon)
  1713. spinpart.Anchored = true
  1714. spinpart.CanCollide = false
  1715. spinpart.Transparency = 1
  1716. spinpart.CFrame = Opening.CFrame
  1717. local spinpart2 = Instance.new("Part",Weapon)
  1718. spinpart2.Anchored = true
  1719. spinpart2.CanCollide = false
  1720. spinpart2.Transparency = 1
  1721. spinpart2.CFrame = Opening.CFrame
  1722. local spinpart5 = Instance.new("Part",Weapon)
  1723. spinpart5.Anchored = true
  1724. spinpart5.CanCollide = false
  1725. spinpart5.Transparency = 1
  1726. spinpart5.CFrame = RootPart.CFrame * CF(0,0,-50)
  1727. local spinpart6 = Instance.new("Part",Weapon)
  1728. spinpart6.Anchored = true
  1729. spinpart6.CanCollide = false
  1730. spinpart6.Transparency = 1
  1731. spinpart6.CFrame = RootPart.CFrame * CF(0,0,-50)
  1732. local mail = ShootMail(Opening,25,20)
  1733. for i = 1, 50 do
  1734. chuck:Play()
  1735. 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)
  1736. twist = twist + 1
  1737. spinpart5.CFrame = spinpart5.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
  1738. spinpart6.CFrame = spinpart6.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
  1739. if twist2 == true then
  1740. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1741. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  1742. elseif twist2 == false then
  1743. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  1744. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  1745. end
  1746. if twist == 20 then
  1747. if twist2 == false then
  1748. twist2 = true
  1749. elseif twist2 == true then
  1750. twist2 = false
  1751. end
  1752. twist = 0
  1753. end
  1754. ShootMail(spinpart,125,1)
  1755. ShootMail(spinpart2,125,1)
  1756. ShootMail(spinpart5,100,1)
  1757. ShootMail(spinpart6,-100,1)
  1758. local spinpart3 = Instance.new("Part",Weapon)
  1759. spinpart3.Anchored = true
  1760. spinpart3.CanCollide = false
  1761. spinpart3.Transparency = 1
  1762. spinpart3.CFrame = mail.CFrame
  1763. local spinpart4 = Instance.new("Part",Weapon)
  1764. spinpart4.Anchored = true
  1765. spinpart4.CanCollide = false
  1766. spinpart4.Transparency = 1
  1767. spinpart4.CFrame = mail.CFrame
  1768. spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  1769. spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  1770. 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)
  1771. ShootMail(spinpart3,85,1)
  1772. ShootMail(spinpart4,85,1)
  1773. spinpart3:remove()
  1774. spinpart4:remove()
  1775. Swait(10)
  1776. end
  1777. spinpart:remove()
  1778. spinpart2:remove()
  1779. spinpart5:remove()
  1780. spinpart6:remove()
  1781. twist = 0
  1782. mail:remove()
  1783. end
  1784. ATTACK = false
  1785. Rooted = false
  1786. end
  1787.  
  1788. --//=================================\\
  1789. --|| ASSIGN THINGS TO KEYS
  1790. --\\=================================//
  1791.  
  1792. Humanoid.Changed:connect(function(Jump)
  1793. if Jump == "Jump" and (Disable_Jump == false or DISABLEJUMPING == false) then
  1794. Humanoid.Jump = false
  1795. end
  1796. end)
  1797.  
  1798. --//=================================\\
  1799. --\\=================================//
  1800.  
  1801.  
  1802. function unanchor()
  1803. if UNANCHOR == true then
  1804. g = Character:GetChildren()
  1805. for i = 1, #g do
  1806. if g[i].ClassName == "Part" then
  1807. g[i].Anchored = false
  1808. end
  1809. end
  1810. end
  1811. end
  1812.  
  1813.  
  1814. --//=================================\\
  1815. --|| WRAP THE WHOLE SCRIPT UP
  1816. --\\=================================//
  1817.  
  1818. Humanoid.Changed:connect(function(Jump)
  1819. if Jump == "Jump" and (Disable_Jump == false or DISABLEJUMPING == false) then
  1820. Humanoid.Jump = false
  1821. end
  1822. end)
  1823.  
  1824. ANIMATE.Parent = nil
  1825. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1826. IDLEANIMATION:Play()
  1827. Swait()
  1828. ANIMATOR.Parent = nil
  1829. Disable_Jump = false
  1830.  
  1831. while true do
  1832. Swait()
  1833. SINE = SINE + CHANGE
  1834. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1835. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1836. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1837. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1838. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1839. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1840. 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)
  1841. 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)
  1842. 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)
  1843. 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)
  1844. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1845. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1846. 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)
  1847. 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)
  1848. 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)
  1849. end
  1850. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1851. ANIM = "Jump"
  1852. if ATTACK == false then
  1853. 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)
  1854. 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)
  1855. 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)
  1856. 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)
  1857. 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)
  1858. 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)
  1859. end
  1860. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1861. ANIM = "Fall"
  1862. if ATTACK == false then
  1863. 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)
  1864. 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)
  1865. 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)
  1866. 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)
  1867. 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)
  1868. 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)
  1869. end
  1870. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1871. ANIM = "Idle"
  1872. if ATTACK == false then
  1873. 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)
  1874. 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)
  1875. 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)
  1876. 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)
  1877. 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)
  1878. 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)
  1879. end
  1880. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1881. ANIM = "Walk"
  1882. WALK = WALK + 1 / Animation_Speed
  1883. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1884. WALK = 0
  1885. if WALKINGANIM == true then
  1886. WALKINGANIM = false
  1887. elseif WALKINGANIM == false then
  1888. WALKINGANIM = true
  1889. end
  1890. end
  1891. --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)
  1892. --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)
  1893. if ATTACK == false then
  1894. 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)
  1895. 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)
  1896. 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)
  1897. 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)
  1898. 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)
  1899. 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)
  1900. end
  1901. end
  1902. if #Effects2>0 then
  1903. for e=1,#Effects2 do
  1904. if Effects2[e]~=nil then
  1905. local Thing=Effects2[e]
  1906. if Thing~=nil then
  1907. local Part=Thing[1]
  1908. local Mode=Thing[2]
  1909. local Delay=Thing[3]
  1910. local IncX=Thing[4]
  1911. local IncY=Thing[5]
  1912. local IncZ=Thing[6]
  1913. local Part2=Thing[8]
  1914. if Thing[1].Transparency<=1 then
  1915. if Thing[2]=="Block1" then
  1916. Thing[1].CFrame=Part2.CFrame
  1917. Mesh=Thing[1].Mesh
  1918. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1919. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1920. elseif Thing[2]=="Cylinder" then
  1921. Mesh=Thing[1].Mesh
  1922. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1923. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1924. elseif Thing[2]=="Blood" then
  1925. Mesh=Thing[7]
  1926. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1927. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1928. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1929. elseif Thing[2]=="Elec" then
  1930. Mesh=Thing[1].Mesh
  1931. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1932. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1933. elseif Thing[2]=="Disappear" then
  1934. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1935. end
  1936. else
  1937. Part.Parent=nil
  1938. table.remove(Effects2,e)
  1939. end
  1940. end
  1941. end
  1942. end
  1943. end
  1944. unanchor()
  1945. Humanoid.MaxHealth = "inf"
  1946. Humanoid.Health = "inf"
  1947. if Rooted == false then
  1948. --Disable_Jump = false
  1949. Humanoid.WalkSpeed = 5
  1950. elseif Rooted == true then
  1951. Disable_Jump = true
  1952. Humanoid.WalkSpeed = 0
  1953. end
  1954. --print(TORSOVELOCITY)
  1955. end
  1956.  
  1957. --//=================================\\
  1958. --\\=================================//
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964. --//====================================================\\--
  1965. --|| END OF SCRIPT
  1966. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement