Advertisement
Animescapetower

Card Madness

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