Advertisement
Animescapetower

Laser Minigun - Edit of the mailbox

Mar 9th, 2018
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.37 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://195916147"
  35. local NormalMusicLink = "rbxassetid://596220347"
  36. local sick = Instance.new("Sound",Character)
  37. sick.SoundId = "rbxassetid://596220347"
  38. sick.Looped = true
  39. sick.Pitch = 1
  40. sick.Volume = 0.6
  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 == "Mailman's Wrath" then
  668. chatfunc("Spell card! "..msg.."!")
  669. StartPosition()
  670. Swait(70)
  671. MailmansWrath()
  672. elseif msg == "Papercut Chaos" then
  673. StartPosition()
  674. chatfunc("Spell card! "..msg.."!")
  675. Swait(70)
  676. PapercutChaos()
  677. elseif msg == "Mailbox Madness" then
  678. StartPosition()
  679. chatfunc("Spell card! "..msg.."!")
  680. MailboxMadness()
  681. elseif msg == "Final Inbox" then
  682. StartPosition()
  683. chatfunc("SPELL CARD! FINAL INBOX!")
  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 == "Card Demon" then
  694.  
  695. chatfunc("SPELL CARD! CARD DEMON!")
  696. sick.Volume = 0
  697. local RbxAssetReached = " :RBCX2"
  698. warn('This script is still indevelopment so becareful for glitches or bugs'..RbxAssetReached)
  699. wait(2)
  700. warn('YOU WILL NOT SURVIVE THIS TIME'..RbxAssetReached)
  701. --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
  702. local player = game.Players.LocalPlayer
  703. local Arm1 = game.Players.LocalPlayer.Character["Left Arm"]
  704. local Arm2 = game.Players.LocalPlayer.Character["Right Arm"]
  705. local Leg1 = game.Players.LocalPlayer.Character["Left Leg"]
  706. local Leg2 = game.Players.LocalPlayer.Character["Right Leg"]
  707. local humanoid = player.Character.Humanoid
  708. local mouse = player:GetMouse()
  709. local anim1= Instance.new("Animation")
  710. anim1.AnimationId = "http://www.roblox.com/asset/?id=235542946"
  711. local anim2 = Instance.new("Animation")
  712. anim2.AnimationId = "http://www.roblox.com/asset/?id=32326240"
  713. local anim23 = Instance.new("Animation")
  714. anim23.AnimationId = "http://www.roblox.com/asset/?id=105371766"
  715.  
  716.  
  717. local bg = Instance.new("BillboardGui")
  718. bg.Name = "Bamma"
  719. bg.Parent = game.Players.LocalPlayer.Character.Head
  720. bg.Adornee = game.Players.LocalPlayer.Character.Head
  721. -- Same size as Head
  722. bg.Size = UDim2.new(1, 0, 1, 0)
  723. -- Above (defaults to inside)
  724. bg.StudsOffset = Vector3.new(0, 2, 0)
  725.  
  726. local frame = Instance.new("Frame")
  727. frame.Parent = bg
  728. frame.Size = UDim2.new(1, 0, 1, 0)
  729. frame.BackgroundTransparency = 0.7
  730. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  731.  
  732. local text = Instance.new("TextLabel")
  733. text.Parent = frame
  734. text.Position = UDim2.new(0.25, 0, 0.25, 0)
  735. text.Size = UDim2.new(0.5, 0, 0.5, 0)
  736. text.BackgroundTransparency =1
  737. text.Text = "Dragon Slayer"
  738.  
  739.  
  740. mouse.KeyDown:connect(function(key)
  741. if key == "z" then
  742. text.Text = "Spin"
  743. wait(4)
  744.  
  745. local playAnim = humanoid:LoadAnimation(anim1)
  746. playAnim:Play()
  747. wait(1)
  748. text.Text = "Dragon Slayer"
  749. wait(3)
  750. playAnim:Stop()
  751.  
  752.  
  753.  
  754. end
  755. end)
  756.  
  757. mouse.KeyDown:connect(function(key)
  758. if key == "f" then
  759. text.Text = "Punch"
  760.  
  761. local playAnim = humanoid:LoadAnimation(anim2)
  762. playAnim:Play()
  763. wait(5)
  764. text.Text = "Dragon Slayer"
  765. playAnim:Stop()
  766.  
  767.  
  768. end
  769. end)
  770.  
  771. mouse.KeyDown:connect(function(key)
  772. if key == "k" then
  773. text.Text = "DOOM DRAGON"
  774.  
  775. local playAnim = humanoid:LoadAnimation(anim23)
  776. playAnim:Play()
  777. wait(5)
  778. text.Text = "Dragon Slayer"
  779. playAnim:Stop()
  780.  
  781.  
  782. end
  783. end)
  784.  
  785. mouse.KeyDown:connect(function(key)
  786. if key == "e" then--Activates the damege part
  787. function onTouched(part)
  788. local h = part.Parent:findFirstChild("Humanoid")
  789. if h~=nil then
  790. h.Health = h.Health -5 -- The most not so damegeing part is this
  791. wait(2.00)
  792. end
  793. end
  794.  
  795. Arm2.Touched:connect(onTouched)
  796. end
  797. end)
  798.  
  799.  
  800.  
  801. game.Players.LocalPlayer.Character.Head.CanCollide = false
  802. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  803. local vy = Instance.new("Sound")
  804. vy.Name = "SongyName"
  805. vy.SoundId = "rbxassetid://0"
  806. vy.Volume = 10
  807. vy.PlaybackSpeed = 1
  808. vy.Parent = game.Players.LocalPlayer.Character.Torso
  809. vy.Looped = true
  810. vy:Play()
  811. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  812. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  813. while true do
  814. game:GetService("RunService").Stepped:wait()
  815. game.Players.LocalPlayer.Character.Head.CanCollide = false
  816. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  817.  
  818. Arm1.Transparency = 0.6
  819. Arm2.Transparency = 0.6
  820. Leg1.Transparency = 0.6
  821. Leg2.Transparency = 0.6
  822. game.Players.LocalPlayer.Character.Torso.Transparency = 0.6
  823. game.Players.LocalPlayer.Character.Head.Transparency = 0.6
  824. wait(0.1)
  825. Arm1.Transparency = 1
  826. Arm2.Transparency = 1
  827. Leg1.Transparency = 1
  828. Leg2.Transparency = 1
  829. game.Players.LocalPlayer.Character.Torso.Transparency = 1
  830. game.Players.LocalPlayer.Character.Head.Transparency = 1
  831.  
  832.  
  833. wait(0.1)
  834. Arm1.Transparency = 0
  835. Arm2.Transparency = 0
  836. Leg1.Transparency = 0
  837. Leg2.Transparency = 0
  838. game.Players.LocalPlayer.Character.Torso.Transparency = 0
  839. game.Players.LocalPlayer.Character.Head.Transparency = 0
  840.  
  841.  
  842. wait(0.1)
  843. game.Players.LocalPlayer.Character.Head.CanCollide = false
  844. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  845. end
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852. elseif msg == "Card Madness" then
  853. StartPosition()
  854. chatfunc("SPELL CARD! CARD MADNESS!")
  855. wait(1)
  856. chatfunc("So you wanna die like the others")
  857. wait(1)
  858. chatfunc("THEN DIE")
  859. wait(1)
  860. chatfunc("ULTIMATE CARD MADNESS ATTACK")
  861. MailboxMadness()
  862. MagicSphere()
  863. MailmansWrath()
  864. FinalInbox()
  865. MailboxMadness()
  866. MagicSphere()
  867. MailmansWrath()
  868.  
  869. sick.SoundId = "rbxassetid://264359638"
  870. sick.Volume = 0.6
  871. sick:Play()
  872.  
  873. end
  874. end
  875. Player.Chatted:connect(onChatted)
  876.  
  877.  
  878. --//=================================\\
  879. --|| DANMAKU MADNESS
  880. --\\=================================//
  881.  
  882. local Mail = Instance.new("Part")
  883. Mail.Size = Vector3.new(4,1,1)
  884. Mail.Color = Color3.new(255,255,255)
  885. Mail.CanCollide = false
  886.  
  887. asd=Instance.new('SelectionBox', Mail);
  888. asd.Adornee=Mail
  889. asd.Color=BrickColor.new(0,155,0)
  890.  
  891. function ShootMail(part,strength,debris)
  892. local mail = Mail:Clone()
  893. mail.CFrame = part.CFrame
  894. mail.Parent = Effects
  895. game:GetService("Debris"):AddItem(mail ,debris)
  896. local bv = Instance.new("BodyVelocity")
  897. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  898. bv.velocity = part.CFrame.lookVector*strength
  899. bv.Parent = mail
  900. bv.Name = "DASH"
  901. local hit = mail.Touched:connect(function(hit)
  902. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  903. dealdamage(hit,15,45,40)
  904. end
  905. end)
  906. return mail
  907. end
  908.  
  909. function MagicSphere(BRICKCOLOR, MATERIAL, PART, CFRAME, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  910. end
  911.  
  912.  
  913. function StartPosition()
  914. ATTACK = true
  915. Rooted = true
  916. for i=0, 1, 0.1 / Animation_Speed/1.2 do
  917. Swait()
  918. 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)
  919. 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)
  920. 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)
  921. 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)
  922. 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)
  923. 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)
  924. end
  925. end
  926.  
  927. function MailmansWrath()
  928. local twist = 0
  929. local twist2 = false
  930. local twist3 = 1
  931. local spinpart = Instance.new("Part",Weapon)
  932. spinpart.Anchored = true
  933. spinpart.CanCollide = false
  934. spinpart.Transparency = 1
  935. spinpart.CFrame = Opening.CFrame
  936. local spinpart2 = Instance.new("Part",Weapon)
  937. spinpart2.Anchored = true
  938. spinpart2.CanCollide = false
  939. spinpart2.Transparency = 1
  940. spinpart2.CFrame = Opening.CFrame
  941. for i = 1, 30 do
  942. chuck:Play()
  943. 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)
  944. twist = twist + 1
  945. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  946. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  947. if twist == 10 then
  948. spinpart.CFrame = Opening.CFrame
  949. spinpart2.CFrame = Opening.CFrame
  950. twist = 0
  951. end
  952. ShootMail(spinpart,65,2)
  953. ShootMail(spinpart2,65,2)
  954. Swait(5)
  955. end
  956. spinpart.CFrame = Opening.CFrame
  957. spinpart2.CFrame = Opening.CFrame
  958. twist = 10
  959. for i = 1, 40 do
  960. chuck:Play()
  961. 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)
  962. twist = twist + 1
  963. if twist2 == true then
  964. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  965. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  966. elseif twist2 == false then
  967. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  968. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  969. end
  970. if twist == 20 then
  971. if twist2 == false then
  972. twist2 = true
  973. elseif twist2 == true then
  974. twist2 = false
  975. end
  976. twist = 0
  977. end
  978. ShootMail(spinpart,65,2)
  979. ShootMail(spinpart2,65,2)
  980. Swait(5)
  981. end
  982. spinpart.CFrame = Opening.CFrame
  983. spinpart2.CFrame = Opening.CFrame
  984. twist = 0
  985. for i = 1, 30 do
  986. chuck:Play()
  987. 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)
  988. twist = twist + 1
  989. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.15, 0)
  990. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.15, 0)
  991. if twist == 10 then
  992. spinpart.CFrame = Opening.CFrame
  993. spinpart2.CFrame = Opening.CFrame
  994. twist = 0
  995. end
  996. ShootMail(spinpart,75,2)
  997. ShootMail(spinpart2,75,2)
  998. Swait(5)
  999. end
  1000. spinpart:remove()
  1001. spinpart2:remove()
  1002. ATTACK = false
  1003. Rooted = false
  1004. end
  1005.  
  1006. function PapercutChaos()
  1007. local twist = 0
  1008. for i = 1, 5 do
  1009. chuck:Play()
  1010. 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)
  1011. local mail = ShootMail(Opening,25,20)
  1012. for i = 1, 15 do
  1013. chuck:Play()
  1014. local spinpart = Instance.new("Part",Weapon)
  1015. spinpart.Anchored = true
  1016. spinpart.CanCollide = false
  1017. spinpart.Transparency = 1
  1018. spinpart.CFrame = mail.CFrame
  1019. local spinpart2 = Instance.new("Part",Weapon)
  1020. spinpart2.Anchored = true
  1021. spinpart2.CanCollide = false
  1022. spinpart2.Transparency = 1
  1023. spinpart2.CFrame = mail.CFrame
  1024. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 70, 0)
  1025. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -70, 0)
  1026. 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)
  1027. ShootMail(spinpart,35,2)
  1028. ShootMail(spinpart2,35,2)
  1029. spinpart:remove()
  1030. spinpart2:remove()
  1031. Swait(5)
  1032. end
  1033. mail:remove()
  1034. end
  1035. for i = 1, 2 do
  1036. chuck:Play()
  1037. 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)
  1038. local mail = ShootMail(Opening,45,20)
  1039. for i = 1, 20 do
  1040. twist = twist + 1
  1041. chuck:Play()
  1042. local spinpart = Instance.new("Part",Weapon)
  1043. spinpart.Anchored = true
  1044. spinpart.CanCollide = false
  1045. spinpart.Transparency = 1
  1046. spinpart.CFrame = mail.CFrame
  1047. local spinpart2 = Instance.new("Part",Weapon)
  1048. spinpart2.Anchored = true
  1049. spinpart2.CanCollide = false
  1050. spinpart2.Transparency = 1
  1051. spinpart2.CFrame = mail.CFrame
  1052. spinpart.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  1053. spinpart2.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  1054. 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)
  1055. ShootMail(spinpart,35,2)
  1056. ShootMail(spinpart2,35,2)
  1057. spinpart:remove()
  1058. spinpart2:remove()
  1059. Swait(5)
  1060. end
  1061. twist = 0
  1062. mail:remove()
  1063. end
  1064. ATTACK = false
  1065. Rooted = false
  1066. end
  1067.  
  1068. function MailboxMadness()
  1069. for i = 1, 4 do
  1070. chuck:Play()
  1071. local part = Instance.new("Part")
  1072. part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
  1073. part.Orientation = RootPart.Orientation
  1074. part.CanCollide = false
  1075. part.Anchored = true
  1076. 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)
  1077. local spinpart = Instance.new("Part",Weapon)
  1078. spinpart.Anchored = true
  1079. spinpart.CanCollide = false
  1080. spinpart.Transparency = 0
  1081. spinpart.CFrame = part.CFrame
  1082. local spinpart2 = Instance.new("Part",Weapon)
  1083. spinpart2.Anchored = true
  1084. spinpart2.CanCollide = false
  1085. spinpart2.Transparency = 0
  1086. spinpart2.CFrame = part.CFrame
  1087. 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)
  1088. part:remove()
  1089. for i = 1, 15 do
  1090. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1091. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  1092. ShootMail(spinpart,50,2)
  1093. ShootMail(spinpart2,50,2)
  1094. end
  1095. spinpart:remove()
  1096. spinpart2:remove()
  1097. Swait(35)
  1098. end
  1099. ATTACK = false
  1100. Rooted = false
  1101. end
  1102.  
  1103. function FinalInbox()
  1104. local twist = 0
  1105. local twist2 = false
  1106. for i = 1, 3 do
  1107. local part = Instance.new("Part")
  1108. part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
  1109. part.Orientation = RootPart.Orientation
  1110. part.CanCollide = false
  1111. part.Anchored = true
  1112. 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)
  1113. local spinpart = Instance.new("Part",Weapon)
  1114. spinpart.Anchored = true
  1115. spinpart.CanCollide = false
  1116. spinpart.Transparency = 0
  1117. spinpart.CFrame = part.CFrame
  1118. local spinpart2 = Instance.new("Part",Weapon)
  1119. spinpart2.Anchored = true
  1120. spinpart2.CanCollide = false
  1121. spinpart2.Transparency = 0
  1122. spinpart2.CFrame = part.CFrame
  1123. 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)
  1124. part:remove()
  1125. local spinpart3 = Instance.new("Part",Weapon)
  1126. spinpart3.Anchored = true
  1127. spinpart3.CanCollide = false
  1128. spinpart3.Transparency = 0
  1129. spinpart3.CFrame = RootPart.CFrame * CF(0,0,-50)
  1130. local spinpart4 = Instance.new("Part",Weapon)
  1131. spinpart4.Anchored = true
  1132. spinpart4.CanCollide = false
  1133. spinpart4.Transparency = 1
  1134. spinpart4.CFrame = RootPart.CFrame * CF(0,0,-50)
  1135. for i = 1, 30 do
  1136. chuck:Play()
  1137. spinpart3.CFrame = spinpart3.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1138. spinpart4.CFrame = spinpart4.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1139. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1140. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1141. ShootMail(spinpart,50,2)
  1142. ShootMail(spinpart2,-50,2)
  1143. ShootMail(spinpart3,100,1)
  1144. ShootMail(spinpart4,-100,1)
  1145. Swait(10)
  1146. end
  1147. spinpart:remove()
  1148. spinpart2:remove()
  1149. spinpart3:remove()
  1150. spinpart4:remove()
  1151. end
  1152. chuck:Play()
  1153. 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)
  1154. for i = 1, 2 do
  1155. twist = 10
  1156. local spinpart = Instance.new("Part",Weapon)
  1157. spinpart.Anchored = true
  1158. spinpart.CanCollide = false
  1159. spinpart.Transparency = 1
  1160. spinpart.CFrame = Opening.CFrame
  1161. local spinpart2 = Instance.new("Part",Weapon)
  1162. spinpart2.Anchored = true
  1163. spinpart2.CanCollide = false
  1164. spinpart2.Transparency = 1
  1165. spinpart2.CFrame = Opening.CFrame
  1166. local mail = ShootMail(Opening,25,20)
  1167. for i = 1, 50 do
  1168. chuck:Play()
  1169. 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)
  1170. twist = twist + 1
  1171. if twist2 == true then
  1172. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1173. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  1174. elseif twist2 == false then
  1175. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  1176. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  1177. end
  1178. if twist == 20 then
  1179. if twist2 == false then
  1180. twist2 = true
  1181. elseif twist2 == true then
  1182. twist2 = false
  1183. end
  1184. twist = 0
  1185. end
  1186. ShootMail(spinpart,125,1)
  1187. ShootMail(spinpart2,125,1)
  1188. local spinpart3 = Instance.new("Part",Weapon)
  1189. spinpart3.Anchored = true
  1190. spinpart3.CanCollide = false
  1191. spinpart3.Transparency = 1
  1192. spinpart3.CFrame = mail.CFrame
  1193. local spinpart4 = Instance.new("Part",Weapon)
  1194. spinpart4.Anchored = true
  1195. spinpart4.CanCollide = false
  1196. spinpart4.Transparency = 1
  1197. spinpart4.CFrame = mail.CFrame
  1198. spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  1199. spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  1200. 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)
  1201. ShootMail(spinpart3,85,1)
  1202. ShootMail(spinpart4,85,1)
  1203. spinpart3:remove()
  1204. spinpart4:remove()
  1205. Swait(10)
  1206. end
  1207. spinpart:remove()
  1208. spinpart2:remove()
  1209. twist = 0
  1210. mail:remove()
  1211. end
  1212. for i = 1, 4 do
  1213. twist = 10
  1214. local spinpart = Instance.new("Part",Weapon)
  1215. spinpart.Anchored = true
  1216. spinpart.CanCollide = false
  1217. spinpart.Transparency = 1
  1218. spinpart.CFrame = Opening.CFrame
  1219. local spinpart2 = Instance.new("Part",Weapon)
  1220. spinpart2.Anchored = true
  1221. spinpart2.CanCollide = false
  1222. spinpart2.Transparency = 1
  1223. spinpart2.CFrame = Opening.CFrame
  1224. local spinpart5 = Instance.new("Part",Weapon)
  1225. spinpart5.Anchored = true
  1226. spinpart5.CanCollide = false
  1227. spinpart5.Transparency = 1
  1228. spinpart5.CFrame = RootPart.CFrame * CF(0,0,-50)
  1229. local spinpart6 = Instance.new("Part",Weapon)
  1230. spinpart6.Anchored = true
  1231. spinpart6.CanCollide = false
  1232. spinpart6.Transparency = 1
  1233. spinpart6.CFrame = RootPart.CFrame * CF(0,0,-50)
  1234. local mail = ShootMail(Opening,25,20)
  1235. for i = 1, 50 do
  1236. chuck:Play()
  1237. 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)
  1238. twist = twist + 1
  1239. spinpart5.CFrame = spinpart5.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
  1240. spinpart6.CFrame = spinpart6.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
  1241. if twist2 == true then
  1242. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1243. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  1244. elseif twist2 == false then
  1245. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  1246. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  1247. end
  1248. if twist == 20 then
  1249. if twist2 == false then
  1250. twist2 = true
  1251. elseif twist2 == true then
  1252. twist2 = false
  1253. end
  1254. twist = 0
  1255. end
  1256. ShootMail(spinpart,125,1)
  1257. ShootMail(spinpart2,125,1)
  1258. ShootMail(spinpart5,100,1)
  1259. ShootMail(spinpart6,-100,1)
  1260. local spinpart3 = Instance.new("Part",Weapon)
  1261. spinpart3.Anchored = true
  1262. spinpart3.CanCollide = false
  1263. spinpart3.Transparency = 1
  1264. spinpart3.CFrame = mail.CFrame
  1265. local spinpart4 = Instance.new("Part",Weapon)
  1266. spinpart4.Anchored = true
  1267. spinpart4.CanCollide = false
  1268. spinpart4.Transparency = 1
  1269. spinpart4.CFrame = mail.CFrame
  1270. spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  1271. spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  1272. 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)
  1273. ShootMail(spinpart3,85,1)
  1274. ShootMail(spinpart4,85,1)
  1275. spinpart3:remove()
  1276. spinpart4:remove()
  1277. Swait(10)
  1278. end
  1279. spinpart:remove()
  1280. spinpart2:remove()
  1281. spinpart5:remove()
  1282. spinpart6:remove()
  1283. twist = 0
  1284. mail:remove()
  1285. end
  1286. ATTACK = false
  1287. Rooted = false
  1288. end
  1289.  
  1290. --//=================================\\
  1291. --|| ASSIGN THINGS TO KEYS
  1292. --\\=================================//
  1293.  
  1294. Humanoid.Changed:connect(function(Jump)
  1295. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1296. Humanoid.Jump = false
  1297. end
  1298. end)
  1299.  
  1300. --//=================================\\
  1301. --\\=================================//
  1302.  
  1303.  
  1304. function unanchor()
  1305. if UNANCHOR == true then
  1306. g = Character:GetChildren()
  1307. for i = 1, #g do
  1308. if g[i].ClassName == "Part" then
  1309. g[i].Anchored = false
  1310. end
  1311. end
  1312. end
  1313. end
  1314.  
  1315.  
  1316. --//=================================\\
  1317. --|| WRAP THE WHOLE SCRIPT UP
  1318. --\\=================================//
  1319.  
  1320. Humanoid.Changed:connect(function(Jump)
  1321. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1322. Humanoid.Jump = false
  1323. end
  1324. end)
  1325.  
  1326. ANIMATE.Parent = nil
  1327. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1328. IDLEANIMATION:Play()
  1329. Swait()
  1330. ANIMATOR.Parent = nil
  1331. Disable_Jump = true
  1332.  
  1333. while true do
  1334. Swait()
  1335. SINE = SINE + CHANGE
  1336. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1337. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1338. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1339. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1340. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1341. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1342. 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)
  1343. 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)
  1344. 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)
  1345. 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)
  1346. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1347. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1348. 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)
  1349. 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)
  1350. 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)
  1351. end
  1352. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1353. ANIM = "Jump"
  1354. if ATTACK == false then
  1355. 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)
  1356. 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)
  1357. 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)
  1358. 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)
  1359. 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)
  1360. 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)
  1361. end
  1362. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1363. ANIM = "Fall"
  1364. if ATTACK == false then
  1365. 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)
  1366. 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)
  1367. 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)
  1368. 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)
  1369. 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)
  1370. 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)
  1371. end
  1372. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1373. ANIM = "Idle"
  1374. if ATTACK == false then
  1375. 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)
  1376. 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)
  1377. 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)
  1378. 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)
  1379. 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)
  1380. 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)
  1381. end
  1382. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1383. ANIM = "Walk"
  1384. WALK = WALK + 1 / Animation_Speed
  1385. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1386. WALK = 0
  1387. if WALKINGANIM == true then
  1388. WALKINGANIM = false
  1389. elseif WALKINGANIM == false then
  1390. WALKINGANIM = true
  1391. end
  1392. end
  1393. --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)
  1394. --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)
  1395. if ATTACK == false then
  1396. 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)
  1397. 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)
  1398. 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)
  1399. 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)
  1400. 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)
  1401. 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)
  1402. end
  1403. end
  1404. if #Effects2>0 then
  1405. for e=1,#Effects2 do
  1406. if Effects2[e]~=nil then
  1407. local Thing=Effects2[e]
  1408. if Thing~=nil then
  1409. local Part=Thing[1]
  1410. local Mode=Thing[2]
  1411. local Delay=Thing[3]
  1412. local IncX=Thing[4]
  1413. local IncY=Thing[5]
  1414. local IncZ=Thing[6]
  1415. local Part2=Thing[8]
  1416. if Thing[1].Transparency<=1 then
  1417. if Thing[2]=="Block1" then
  1418. Thing[1].CFrame=Part2.CFrame
  1419. Mesh=Thing[1].Mesh
  1420. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1421. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1422. elseif Thing[2]=="Cylinder" then
  1423. Mesh=Thing[1].Mesh
  1424. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1425. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1426. elseif Thing[2]=="Blood" then
  1427. Mesh=Thing[7]
  1428. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1429. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1430. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1431. elseif Thing[2]=="Elec" then
  1432. Mesh=Thing[1].Mesh
  1433. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1434. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1435. elseif Thing[2]=="Disappear" then
  1436. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1437. end
  1438. else
  1439. Part.Parent=nil
  1440. table.remove(Effects2,e)
  1441. end
  1442. end
  1443. end
  1444. end
  1445. end
  1446. unanchor()
  1447. Humanoid.MaxHealth = "inf"
  1448. Humanoid.Health = "inf"
  1449. if Rooted == false then
  1450. --Disable_Jump = false
  1451. Humanoid.WalkSpeed = 5
  1452. elseif Rooted == true then
  1453. Disable_Jump = true
  1454. Humanoid.WalkSpeed = 0
  1455. end
  1456. --print(TORSOVELOCITY)
  1457. end
  1458.  
  1459. --//=================================\\
  1460. --\\=================================//
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466. --//====================================================\\--
  1467. --|| END OF SCRIPT
  1468. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement