Advertisement
Animescapetower

Flash box

Mar 4th, 2018
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 88.56 KB | None | 0 0
  1.  
  2.  
  3. --//====================================================\\--
  4. --|| CREATED BY SHACKLUSTER
  5. --\\====================================================//--
  6.  
  7.  
  8.  
  9. wait(0.2)
  10.  
  11.  
  12.  
  13. Player = game:GetService("Players").LocalPlayer
  14. PlayerGui = Player.PlayerGui
  15. Cam = workspace.CurrentCamera
  16. Backpack = Player.Backpack
  17. Character = Player.Character
  18. Humanoid = Character.Humanoid
  19. Mouse = Player:GetMouse()
  20. RootPart = Character["HumanoidRootPart"]
  21. Torso = Character["Torso"]
  22. Head = Character["Head"]
  23. RightArm = Character["Right Arm"]
  24. LeftArm = Character["Left Arm"]
  25. RightLeg = Character["Right Leg"]
  26. LeftLeg = Character["Left Leg"]
  27. RootJoint = RootPart["RootJoint"]
  28. Neck = Torso["Neck"]
  29. RightShoulder = Torso["Right Shoulder"]
  30. LeftShoulder = Torso["Left Shoulder"]
  31. RightHip = Torso["Right Hip"]
  32. LeftHip = Torso["Left Hip"]
  33. local FinalInboxLink = "rbxassetid://195916147"
  34. local NormalMusicLink = "rbxassetid://596220347"
  35. local sick = Instance.new("Sound",Character)
  36. sick.SoundId = "rbxassetid://596220347"
  37. sick.Looped = true
  38. sick.Pitch = 1
  39. sick.Volume = 0.6
  40. sick:Play()
  41.  
  42. IT = Instance.new
  43. CF = CFrame.new
  44. VT = Vector3.new
  45. RAD = math.rad
  46. C3 = Color3.new
  47. UD2 = UDim2.new
  48. BRICKC = BrickColor.new
  49. ANGLES = CFrame.Angles
  50. EULER = CFrame.fromEulerAnglesXYZ
  51. COS = math.cos
  52. ACOS = math.acos
  53. SIN = math.sin
  54. ASIN = math.asin
  55. ABS = math.abs
  56. MRANDOM = math.random
  57. FLOOR = math.floor
  58.  
  59. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  60. local NEWMESH = IT(MESH)
  61. if MESH == "SpecialMesh" then
  62. NEWMESH.MeshType = MESHTYPE
  63. if MESHID ~= "nil" and MESHID ~= "" then
  64. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  65. end
  66. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  67. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  68. end
  69. end
  70. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  71. NEWMESH.Scale = SCALE
  72. NEWMESH.Parent = PARENT
  73. return NEWMESH
  74. end
  75.  
  76. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  77. local NEWPART = IT("Part")
  78. NEWPART.formFactor = FORMFACTOR
  79. NEWPART.Reflectance = REFLECTANCE
  80. NEWPART.Transparency = TRANSPARENCY
  81. NEWPART.CanCollide = false
  82. NEWPART.Locked = true
  83. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  84. NEWPART.Name = NAME
  85. NEWPART.Size = SIZE
  86. NEWPART.Position = Torso.Position
  87. NEWPART.Material = MATERIAL
  88. NEWPART:BreakJoints()
  89. NEWPART.Parent = PARENT
  90. return NEWPART
  91. end
  92.  
  93.  
  94. --//=================================\\
  95. --|| CUSTOMIZATION
  96. --\\=================================//
  97.  
  98. Class_Name = "Template"
  99. Weapon_Name = "Add-ons"
  100.  
  101. Custom_Colors = {
  102. Custom_Color_1 = BRICKC("Really red"); --1st color for the weapon.
  103. Custom_Color_2 = BRICKC("Really blue"); --2nd color for the weapon.
  104.  
  105. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  106. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  107. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  108. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  109. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  110.  
  111. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  112. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  113. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  114. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  115. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  116. }
  117.  
  118.  
  119. Player_Size = 1 --Size of the player.
  120. Animation_Speed = 3
  121. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  122.  
  123. local Speed = 16
  124. local Effects2 = {}
  125.  
  126. --//=================================\\
  127. --|| END OF CUSTOMIZATION
  128. --\\=================================//
  129.  
  130. local function weldBetween(a, b)
  131. local weldd = Instance.new("ManualWeld")
  132. weldd.Part0 = a
  133. weldd.Part1 = b
  134. weldd.C0 = CFrame.new()
  135. weldd.C1 = b.CFrame:inverse() * a.CFrame
  136. weldd.Parent = a
  137. return weldd
  138. end
  139.  
  140. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  141. local acs = Instance.new("Part")
  142. acs.CanCollide = false
  143. acs.Anchored = false
  144. acs.Size = Vector3.new(0,0,0)
  145. acs.CFrame = attachmentpart.CFrame
  146. acs.Parent = Character
  147. acs.BrickColor = color
  148. local meshs = Instance.new("SpecialMesh")
  149. meshs.MeshId = mesh
  150. meshs.TextureId = texture
  151. meshs.Parent = acs
  152. meshs.Scale = scale
  153. meshs.Offset = offset
  154. weldBetween(attachmentpart,acs)
  155. end
  156.  
  157. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  158. if TYPE == "Gem" then
  159. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  160. acs.Anchored = false
  161. acs.CanCollide = false
  162. acs.CFrame = PART.CFrame
  163. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  164. weldBetween(PART,acs)
  165. elseif TYPE == "Skull" 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", "4770583", "", SIZE, OFFSET)
  171. weldBetween(PART,acs)
  172. elseif TYPE == "Eye" 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, "Sphere", "", "", SIZE, OFFSET)
  178. weldBetween(PART,acs)
  179. end
  180. end
  181.  
  182. --//=================================\\
  183. --|| USEFUL VALUES
  184. --\\=================================//
  185.  
  186. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  187. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  188. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  189. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  190. local CO1 = 0
  191. local CO2 = 0
  192. local CO3 = 0
  193. local CO4 = 0
  194. local CHANGEDEFENSE = 0
  195. local CHANGEDAMAGE = 0
  196. local CHANGEMOVEMENT = 0
  197. local ANIM = "Idle"
  198. local ATTACK = false
  199. local EQUIPPED = false
  200. local HOLD = false
  201. local COMBO = 999
  202. local LASTPOINT = nil
  203. local BLCF = nil
  204. local SCFR = nil
  205. local STAGGERHITANIM = false
  206. local STAGGERANIM = false
  207. local STUNANIM = false
  208. local CRITCHANCENUMBER = 0
  209. local IDLENUMBER = 0
  210. local DONUMBER = 0
  211. local HANDIDLE = false
  212. local SINE = 0
  213. local CHANGE = 2 / Animation_Speed
  214. local WALKINGANIM = false
  215. local WALK = 0
  216. local DISABLEJUMPING = false
  217. local HASBEENBLOCKED = false
  218. local STUNDELAYNUMBER = 0
  219. local MANADELAYNUMBER = 0
  220. local SECONDARYMANADELAYNUMBER = 0
  221. local ROBLOXIDLEANIMATION = IT("Animation")
  222. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  223. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  224. --ROBLOXIDLEANIMATION.Parent = Humanoid
  225. local WEAPONGUI = IT("ScreenGui", nil)
  226. WEAPONGUI.Name = "Weapon GUI"
  227. local WEAPONTOOL = IT("HopperBin", nil)
  228. WEAPONTOOL.Name = Weapon_Name
  229. local Weapon = IT("Model")
  230. Weapon.Name = Weapon_Name
  231. local Effects = IT("Folder", Weapon)
  232. Effects.Name = "Effects"
  233. local ANIMATOR = Humanoid.Animator
  234. local ANIMATE = Character.Animate
  235. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  236. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  237. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  238. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  239. local UNANCHOR = true
  240.  
  241. --//=================================\\
  242. --\\=================================//
  243.  
  244. --//=================================\\
  245. --|| STATS
  246. --\\=================================//
  247.  
  248. if Character:FindFirstChild("Stats") ~= nil then
  249. Character:FindFirstChild("Stats").Parent = nil
  250. end
  251.  
  252. local Stats = IT("Folder", nil)
  253. Stats.Name = "Stats"
  254. local ChangeStat = IT("Folder", Stats)
  255. ChangeStat.Name = "ChangeStat"
  256. local Defense = IT("NumberValue", Stats)
  257. Defense.Name = "Defense"
  258. Defense.Value = 1
  259. local Movement = IT("NumberValue", Stats)
  260. Movement.Name = "Movement"
  261. Movement.Value = 1
  262. local Damage = IT("NumberValue", Stats)
  263. Damage.Name = "Damage"
  264. Damage.Value = math.huge
  265. local Mana = IT("NumberValue", Stats)
  266. Mana.Name = "Mana"
  267. Mana.Value = 0
  268. local SecondaryMana = IT("NumberValue", Stats)
  269. SecondaryMana.Name = "SecondaryMana"
  270. SecondaryMana.Value = 0
  271. local CanCrit = IT("BoolValue", Stats)
  272. CanCrit.Name = "CanCrit"
  273. CanCrit.Value = false
  274. local CritChance = IT("NumberValue", Stats)
  275. CritChance.Name = "CritChance"
  276. CritChance.Value = 20
  277. local CanPenetrateArmor = IT("BoolValue", Stats)
  278. CanPenetrateArmor.Name = "CanPenetrateArmor"
  279. CanPenetrateArmor.Value = false
  280. local AntiTeamKill = IT("BoolValue", Stats)
  281. AntiTeamKill.Name = "AntiTeamKill"
  282. AntiTeamKill.Value = false
  283. local Rooted = IT("BoolValue", Stats)
  284. Rooted.Name = "Rooted"
  285. Rooted.Value = false
  286. local Block = IT("BoolValue", Stats)
  287. Block.Name = "Block"
  288. Block.Value = false
  289. local RecentEnemy = IT("ObjectValue", Stats)
  290. RecentEnemy.Name = "RecentEnemy"
  291. RecentEnemy.Value = nil
  292. local StaggerHit = IT("BoolValue", Stats)
  293. StaggerHit.Name = "StaggerHit"
  294. StaggerHit.Value = false
  295. local Stagger = IT("BoolValue", Stats)
  296. Stagger.Name = "Stagger"
  297. Stagger.Value = false
  298. local Stun = IT("BoolValue", Stats)
  299. Stun.Name = "Stun"
  300. Stun.Value = false
  301. local StunValue = IT("NumberValue", Stats)
  302. StunValue.Name = "StunValue"
  303. StunValue.Value = 0
  304.  
  305.  
  306. --//=================================\\
  307. --\\=================================//
  308.  
  309.  
  310.  
  311.  
  312.  
  313. --//=================================\\
  314. --|| DEBUFFS / BUFFS
  315. --\\=================================//
  316.  
  317. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  318. DEFENSECHANGE1.Name = "ChangeDefense"
  319. DEFENSECHANGE1.Value = 0
  320.  
  321. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  322. MOVEMENTCHANGE1.Name = "ChangeMovement"
  323. MOVEMENTCHANGE1.Value = 0
  324.  
  325. --//=================================\\
  326. --\\=================================//
  327.  
  328.  
  329.  
  330.  
  331.  
  332. --//=================================\\
  333. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  334. --\\=================================//
  335.  
  336. ArtificialHB = Instance.new("BindableEvent", script)
  337. ArtificialHB.Name = "ArtificialHB"
  338.  
  339. script:WaitForChild("ArtificialHB")
  340.  
  341. frame = Frame_Speed
  342. tf = 0
  343. allowframeloss = false
  344. tossremainder = false
  345. lastframe = tick()
  346. script.ArtificialHB:Fire()
  347.  
  348. game:GetService("RunService").Heartbeat:connect(function(s, p)
  349. tf = tf + s
  350. if tf >= frame then
  351. if allowframeloss then
  352. script.ArtificialHB:Fire()
  353. lastframe = tick()
  354. else
  355. for i = 1, math.floor(tf / frame) do
  356. script.ArtificialHB:Fire()
  357. end
  358. lastframe = tick()
  359. end
  360. if tossremainder then
  361. tf = 0
  362. else
  363. tf = tf - frame * math.floor(tf / frame)
  364. end
  365. end
  366. end)
  367.  
  368. --//=================================\\
  369. --\\=================================//
  370.  
  371.  
  372.  
  373.  
  374.  
  375. --//=================================\\
  376. --|| SOME FUNCTIONS
  377. --\\=================================//
  378.  
  379. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  380. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  381. end
  382.  
  383. function PositiveAngle(NUMBER)
  384. if NUMBER >= 0 then
  385. NUMBER = 0
  386. end
  387. return NUMBER
  388. end
  389.  
  390. function NegativeAngle(NUMBER)
  391. if NUMBER <= 0 then
  392. NUMBER = 0
  393. end
  394. return NUMBER
  395. end
  396.  
  397. function Swait(NUMBER)
  398. if NUMBER == 0 or NUMBER == nil then
  399. ArtificialHB.Event:wait()
  400. else
  401. for i = 1, NUMBER do
  402. ArtificialHB.Event:wait()
  403. end
  404. end
  405. end
  406.  
  407. function QuaternionFromCFrame(cf)
  408. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  409. local trace = m00 + m11 + m22
  410. if trace > 0 then
  411. local s = math.sqrt(1 + trace)
  412. local recip = 0.5 / s
  413. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  414. else
  415. local i = 0
  416. if m11 > m00 then
  417. i = 1
  418. end
  419. if m22 > (i == 0 and m00 or m11) then
  420. i = 2
  421. end
  422. if i == 0 then
  423. local s = math.sqrt(m00 - m11 - m22 + 1)
  424. local recip = 0.5 / s
  425. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  426. elseif i == 1 then
  427. local s = math.sqrt(m11 - m22 - m00 + 1)
  428. local recip = 0.5 / s
  429. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  430. elseif i == 2 then
  431. local s = math.sqrt(m22 - m00 - m11 + 1)
  432. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  433. end
  434. end
  435. end
  436.  
  437. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  438. local xs, ys, zs = x + x, y + y, z + z
  439. local wx, wy, wz = w * xs, w * ys, w * zs
  440. local xx = x * xs
  441. local xy = x * ys
  442. local xz = x * zs
  443. local yy = y * ys
  444. local yz = y * zs
  445. local zz = z * zs
  446. 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))
  447. end
  448.  
  449. function QuaternionSlerp(a, b, t)
  450. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  451. local startInterp, finishInterp;
  452. if cosTheta >= 0.0001 then
  453. if (1 - cosTheta) > 0.0001 then
  454. local theta = ACOS(cosTheta)
  455. local invSinTheta = 1 / SIN(theta)
  456. startInterp = SIN((1 - t) * theta) * invSinTheta
  457. finishInterp = SIN(t * theta) * invSinTheta
  458. else
  459. startInterp = 1 - t
  460. finishInterp = t
  461. end
  462. else
  463. if (1 + cosTheta) > 0.0001 then
  464. local theta = ACOS(-cosTheta)
  465. local invSinTheta = 1 / SIN(theta)
  466. startInterp = SIN((t - 1) * theta) * invSinTheta
  467. finishInterp = SIN(t * theta) * invSinTheta
  468. else
  469. startInterp = t - 1
  470. finishInterp = t
  471. end
  472. end
  473. 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
  474. end
  475.  
  476. function Clerp(a, b, t)
  477. local qa = {QuaternionFromCFrame(a)}
  478. local qb = {QuaternionFromCFrame(b)}
  479. local ax, ay, az = a.x, a.y, a.z
  480. local bx, by, bz = b.x, b.y, b.z
  481. local _t = 1 - t
  482. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  483. end
  484.  
  485. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  486. local frame = IT("Frame")
  487. frame.BackgroundTransparency = TRANSPARENCY
  488. frame.BorderSizePixel = BORDERSIZEPIXEL
  489. frame.Position = POSITION
  490. frame.Size = SIZE
  491. frame.BackgroundColor3 = COLOR
  492. frame.BorderColor3 = BORDERCOLOR
  493. frame.Name = NAME
  494. frame.Parent = PARENT
  495. return frame
  496. end
  497.  
  498. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  499. local label = IT("TextLabel")
  500. label.BackgroundTransparency = 1
  501. label.Size = UD2(1, 0, 1, 0)
  502. label.Position = UD2(0, 0, 0, 0)
  503. label.TextColor3 = C3(255, 255, 255)
  504. label.TextStrokeTransparency = STROKETRANSPARENCY
  505. label.TextTransparency = TRANSPARENCY
  506. label.FontSize = TEXTFONTSIZE
  507. label.Font = TEXTFONT
  508. label.BorderSizePixel = BORDERSIZEPIXEL
  509. label.TextScaled = true
  510. label.Text = TEXT
  511. label.Name = NAME
  512. label.Parent = PARENT
  513. return label
  514. end
  515.  
  516. function NoOutlines(PART)
  517. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  518. end
  519.  
  520.  
  521. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  522. local NEWWELD = IT(TYPE)
  523. NEWWELD.Part0 = PART0
  524. NEWWELD.Part1 = PART1
  525. NEWWELD.C0 = C0
  526. NEWWELD.C1 = C1
  527. NEWWELD.Parent = PARENT
  528. return NEWWELD
  529. end
  530.  
  531. function CreateSound(ID, PARENT, VOLUME, PITCH)
  532. coroutine.resume(coroutine.create(function()
  533. local NEWSOUND = IT("Sound", PARENT)
  534. NEWSOUND.Volume = VOLUME
  535. NEWSOUND.Pitch = PITCH
  536. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  537. Swait()
  538. NEWSOUND:play()
  539. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  540. end))
  541. end
  542.  
  543.  
  544. --//=================================\\
  545. --\\=================================//
  546.  
  547.  
  548. --//=================================\\
  549. --|| WEAPON CREATION
  550. --\\=================================//
  551.  
  552. local Handle = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(1.8,3.5,1.8))
  553. 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))
  554. local HandlePart = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(2.2,1,2.2))
  555. 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))
  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, -0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  558. local HandlePart = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(2,0.3,2))
  559. 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))
  560. local Opening = CreatePart(3, Weapon, "Plastic", 0, 0, "Really black", "Handle", VT(1.2,0.6,0.1))
  561. 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))
  562. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Stone grey", "Handle", VT(1,1,0.1))
  563. local decal = Instance.new("Decal",HandlePart)
  564. decal.Texture = "http://www.roblox.com/asset/?id=140490792"
  565. decal.Face = "Back"
  566. 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))
  567.  
  568. for _, c in pairs(Weapon:GetChildren()) do
  569. if c.ClassName == "Part" then
  570. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  571. end
  572. end
  573.  
  574. local chuck = Instance.new("Sound",Effects)
  575. chuck.SoundId = "rbxassetid://11900833"
  576. chuck.Pitch = 2
  577. chuck.Volume = 1
  578.  
  579. Weapon.Parent = Character
  580.  
  581. Humanoid.Died:connect(function()
  582. ATTACK = true
  583. end)
  584.  
  585. print(Class_Name.." loaded.")
  586.  
  587. --//=================================\\
  588. --\\=================================//
  589.  
  590. function dealdamage(hit,min,max,maxstrength,beserk)
  591. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  592. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  593. local dmg = math.random(min,max)
  594. if humanoid.Health > 0 then
  595. if beserk == true then
  596. humanoid.Health = 0
  597. else
  598. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  599. --hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  600. humanoid.Health = humanoid.Health - dmg
  601. --StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(255/255, 0, 0))
  602. local defence = Instance.new("BoolValue",hit.Parent)
  603. defence.Name = ("HitBy"..Player.Name)
  604. game:GetService("Debris"):AddItem(defence, 0.05)
  605. end
  606. end
  607. end
  608. end
  609.  
  610. --//=================================\\
  611. --\\=================================//
  612.  
  613. function chatfunc(text)
  614. local chat = coroutine.wrap(function()
  615. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  616. Character:FindFirstChild("TalkingBillBoard"):destroy()
  617. end
  618. local naeeym2 = Instance.new("BillboardGui",Character)
  619. naeeym2.Size = UDim2.new(0,100,0,40)
  620. naeeym2.StudsOffset = Vector3.new(0,3,0)
  621. naeeym2.Adornee = Character.Head
  622. naeeym2.Name = "TalkingBillBoard"
  623. local tecks2 = Instance.new("TextLabel",naeeym2)
  624. tecks2.BackgroundTransparency = 1
  625. tecks2.BorderSizePixel = 0
  626. tecks2.Text = ""
  627. tecks2.Font = "SciFi"
  628. tecks2.TextSize = 30
  629. tecks2.TextStrokeTransparency = 1
  630. tecks2.TextColor3 = Color3.new(0,0,0)
  631. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  632. tecks2.Size = UDim2.new(1,0,0.5,0)
  633. local tecks3 = Instance.new("TextLabel",naeeym2)
  634. tecks3.BackgroundTransparency = 1
  635. tecks3.BorderSizePixel = 0
  636. tecks3.Text = ""
  637. tecks3.Font = "SciFi"
  638. tecks3.TextSize = 30
  639. tecks3.TextStrokeTransparency = 1
  640. tecks3.TextColor3 = Color3.new(0,0,0)
  641. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  642. tecks3.Size = UDim2.new(1,0,0.5,0)
  643. for i = 1,string.len(text),1 do
  644. tecks2.Text = string.sub(text,1,i)
  645. tecks3.Text = string.sub(text,1,i)
  646. wait(0.01)
  647. end
  648. wait(2)
  649. for i = 1, 50 do
  650. Swait()
  651. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  652. tecks2.Rotation = tecks2.Rotation - .8
  653. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  654. tecks2.TextTransparency = tecks2.TextTransparency + .04
  655. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  656. tecks3.Rotation = tecks2.Rotation + .8
  657. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  658. tecks3.TextTransparency = tecks2.TextTransparency + .04
  659. end
  660. naeeym2:Destroy()
  661. end)
  662. chat()
  663. end
  664.  
  665. function onChatted(msg)
  666. if msg == "Mailman's Wrath" then
  667. chatfunc("Spell card! "..msg.."!")
  668. StartPosition()
  669. Swait(70)
  670. MailmansWrath()
  671. elseif msg == "Papercut Chaos" then
  672. StartPosition()
  673. chatfunc("Spell card! "..msg.."!")
  674. Swait(70)
  675. PapercutChaos()
  676. elseif msg == "Mailbox Madness" then
  677. StartPosition()
  678. chatfunc("Spell card! "..msg.."!")
  679. MailboxMadness()
  680. elseif msg == "Final Inbox" then
  681. StartPosition()
  682. chatfunc("SPELL CARD! FINAL INBOX!")
  683. Swait(80)
  684. sick.SoundId = FinalInboxLink
  685. sick.Volume = 3
  686. sick:Play()
  687. chatfunc("DIE!")
  688. FinalInbox()
  689. sick.SoundId = NormalMusicLink
  690. sick.Volume = 0.6
  691. sick:Play()
  692. elseif msg == "Flash Mode" then
  693. chatfunc("Flash MODE")
  694. wait()
  695. Player = game.Players.LocalPlayer
  696. Object = Player.Character.HumanoidRootPart
  697. Arm1 = Player.Character["Right Arm"]
  698. PreviousA1 = Arm1.CFrame.p
  699. Arm2 = Player.Character["Left Arm"]
  700. PreviousA2 = Arm2.CFrame.p
  701.  
  702. Leg1 = Player.Character["Right Leg"]
  703. PreviousL1 = Leg1.CFrame.p
  704. Leg2 = Player.Character["Left Leg"]
  705. PreviousL2 = Leg2.CFrame.p
  706.  
  707. Run = game["Run Service"]
  708.  
  709. PreviousP = Object.CFrame.p
  710. Running = false
  711. Phase = false
  712. PhaseActive = false
  713. Morph = false
  714. MorphActive = false
  715. Tornado = false
  716. TornadoRadius = 50
  717. TornadoActive = false
  718. Portal = false
  719. PortalEnd = false
  720. MaxZ = 15
  721. MinZ = -15
  722. LightMaxX = 3
  723. LightMinX = 1
  724. LightMaxX2 = -1
  725. LightMinX2 = -3
  726. LightMaxY = 3
  727. LightMinY = -1
  728. Rotation = 0
  729. Length = 10
  730. Color = BrickColor.Yellow()
  731. PColor = Color3.new(255,255,0)
  732. PrevPoint1 = nil
  733. PrevPoint2 = nil
  734. PrevPoint3 = nil
  735. PrevPoint4 = nil
  736. PrevPoint5 = nil
  737. PrevPoint6 = nil
  738. PrevPoint7 = nil
  739. PrevPoint8 = nil
  740. PrevPoint9 = nil
  741. PrevPoint10 = nil
  742. PrevPoint11 = nil
  743. PrevPoint12 = nil
  744. angle = 0
  745. Mouse = Player:GetMouse()
  746. Player.Character.Humanoid.WalkSpeed = 100
  747.  
  748. Nil = function()
  749. PrevPoint1 = "Empty"
  750. PrevPoint2 = "Empty"
  751. PrevPoint3 = "Empty"
  752. PrevPoint4 = "Empty"
  753. PrevPoint5 = "Empty"
  754. PrevPoint6 = "Empty"
  755. PrevPoint7 = "Empty"
  756. PrevPoint8 = "Empty"
  757. PrevPoint9 = "Empty"
  758. PrevPoint10 = "Empty"
  759. PrevPoint11 = "Empty"
  760. PrevPoint12 = "Empty"
  761. end
  762.  
  763. local Lightning = coroutine.wrap(function()
  764. while wait() do
  765. if Portal == false then
  766. angle = angle + 0.6
  767. local Model = Instance.new("Model",workspace)
  768. Model.Name = "Lightning"
  769. local Point1 = Instance.new("Part",Model)
  770. Point1.Transparency = 1
  771. Point1.Size = Vector3.new(0.2,0.2,0.2)
  772. Point1.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point1.Size.Z/2))
  773. Point1.Anchored = true
  774. Point1.CanCollide = false
  775. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  776.  
  777. local Point2 = Instance.new("Part",Model)
  778. Point2.Transparency = 1
  779. Point2.Size = Vector3.new(0.2,0.2,0.2)
  780. Point2.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point2.Size.Z/2))
  781. Point2.Anchored = true
  782. Point2.CanCollide = false
  783. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  784.  
  785. local Point3 = Instance.new("Part",Model)
  786. Point3.Transparency = 1
  787. Point3.Size = Vector3.new(0.2,0.2,0.2)
  788. Point3.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point3.Size.Z/2))
  789. Point3.Anchored = true
  790. Point3.CanCollide = false
  791. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  792.  
  793. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  794. local Light = Instance.new("Part",Model)
  795. local PointLight = Instance.new("PointLight",Light)
  796. PointLight.Range = 5
  797. PointLight.Color = PColor
  798. Light.Transparency = 0.5
  799. Light.BrickColor = Color
  800. Light.Material = "Neon"
  801. Light.Size = Vector3.new(0.25,0.25,distance)
  802. Light.Anchored = true
  803. Light.CanCollide = false
  804. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  805.  
  806. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  807. local Light = Instance.new("Part",Model)
  808. local PointLight = Instance.new("PointLight",Light)
  809. PointLight.Range = 5
  810. PointLight.Color = PColor
  811. Light.Transparency = 0.5
  812. Light.BrickColor = Color
  813. Light.Material = "Neon"
  814. Light.Size = Vector3.new(0.25,0.25,distance2)
  815. Light.Anchored = true
  816. Light.CanCollide = false
  817. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  818.  
  819. local Point1 = Instance.new("Part",Model)
  820. Point1.Transparency = 1
  821. Point1.Size = Vector3.new(0.2,0.2,0.2)
  822. Point1.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point1.Size.Z/2))
  823. Point1.Anchored = true
  824. Point1.CanCollide = false
  825. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  826.  
  827. local Point2 = Instance.new("Part",Model)
  828. Point2.Transparency = 1
  829. Point2.Size = Vector3.new(0.2,0.2,0.2)
  830. Point2.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point2.Size.Z/2))
  831. Point2.Anchored = true
  832. Point2.CanCollide = false
  833. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  834.  
  835. local Point3 = Instance.new("Part",Model)
  836. Point3.Transparency = 1
  837. Point3.Size = Vector3.new(0.2,0.2,0.2)
  838. Point3.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point3.Size.Z/2))
  839. Point3.Anchored = true
  840. Point3.CanCollide = false
  841. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  842.  
  843. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  844. local Light = Instance.new("Part",Model)
  845. local PointLight = Instance.new("PointLight",Light)
  846. PointLight.Range = 5
  847. PointLight.Color = PColor
  848. Light.Transparency = 0.5
  849. Light.BrickColor = Color
  850. Light.Material = "Neon"
  851. Light.Size = Vector3.new(0.25,0.25,distance)
  852. Light.Anchored = true
  853. Light.CanCollide = false
  854. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  855.  
  856. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  857. local Light = Instance.new("Part",Model)
  858. local PointLight = Instance.new("PointLight",Light)
  859. PointLight.Range = 5
  860. PointLight.Color = PColor
  861. Light.Transparency = 0.5
  862. Light.BrickColor = Color
  863. Light.Material = "Neon"
  864. Light.Size = Vector3.new(0.3,0.3,distance2)
  865. Light.Anchored = true
  866. Light.CanCollide = false
  867. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  868.  
  869. local Point1 = Instance.new("Part",Model)
  870. Point1.Transparency = 1
  871. Point1.Size = Vector3.new(0.2,0.2,0.2)
  872. Point1.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  873. Point1.Anchored = true
  874. Point1.CanCollide = false
  875. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  876.  
  877. local Point2 = Instance.new("Part",Model)
  878. Point2.Transparency = 1
  879. Point2.Size = Vector3.new(0.2,0.2,0.2)
  880. Point2.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  881. Point2.Anchored = true
  882. Point2.CanCollide = false
  883. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  884.  
  885. local Point3 = Instance.new("Part",Model)
  886. Point3.Transparency = 1
  887. Point3.Size = Vector3.new(0.2,0.2,0.2)
  888. Point3.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  889. Point3.Anchored = true
  890. Point3.CanCollide = false
  891. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  892.  
  893. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  894. local Light = Instance.new("Part",Model)
  895. local PointLight = Instance.new("PointLight",Light)
  896. PointLight.Range = 5
  897. PointLight.Color = PColor
  898. Light.Transparency = 0.5
  899. Light.BrickColor = Color
  900. Light.Material = "Neon"
  901. Light.Size = Vector3.new(0.25,0.25,distance)
  902. Light.Anchored = true
  903. Light.CanCollide = false
  904. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  905.  
  906. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  907. local Light = Instance.new("Part",Model)
  908. local PointLight = Instance.new("PointLight",Light)
  909. PointLight.Range = 5
  910. PointLight.Color = PColor
  911. Light.Transparency = 0.5
  912. Light.BrickColor = Color
  913. Light.Material = "Neon"
  914. Light.Size = Vector3.new(0.25,0.25,distance2)
  915. Light.Anchored = true
  916. Light.CanCollide = false
  917. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  918.  
  919. local Point1 = Instance.new("Part",Model)
  920. Point1.Transparency = 1
  921. Point1.Size = Vector3.new(0.2,0.2,0.2)
  922. Point1.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  923. Point1.Anchored = true
  924. Point1.CanCollide = false
  925. Point1.CFrame = Point1.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  926.  
  927. local Point2 = Instance.new("Part",Model)
  928. Point2.Transparency = 1
  929. Point2.Size = Vector3.new(0.2,0.2,0.2)
  930. Point2.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  931. Point2.Anchored = true
  932. Point2.CanCollide = false
  933. Point2.CFrame = Point2.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  934.  
  935. local Point3 = Instance.new("Part",Model)
  936. Point3.Transparency = 1
  937. Point3.Size = Vector3.new(0.2,0.2,0.2)
  938. Point3.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  939. Point3.Anchored = true
  940. Point3.CanCollide = false
  941. Point3.CFrame = Point3.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  942.  
  943. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  944. local Light = Instance.new("Part",Model)
  945. local PointLight = Instance.new("PointLight",Light)
  946. PointLight.Range = 5
  947. PointLight.Color = PColor
  948. Light.Transparency = 0.5
  949. Light.BrickColor = Color
  950. Light.Material = "Neon"
  951. Light.Size = Vector3.new(0.25,0.25,distance)
  952. Light.Anchored = true
  953. Light.CanCollide = false
  954. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  955.  
  956. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  957. local Light = Instance.new("Part",Model)
  958. local PointLight = Instance.new("PointLight",Light)
  959. PointLight.Range = 5
  960. PointLight.Color = PColor
  961. Light.Transparency = 0.5
  962. Light.BrickColor = Color
  963. Light.Material = "Neon"
  964. Light.Size = Vector3.new(0.25,0.25,distance2)
  965. Light.Anchored = true
  966. Light.CanCollide = false
  967. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  968.  
  969. local Children = Model:GetChildren()
  970. wait(0.1)
  971. for i = 1,#Children do
  972. if Children[i]:IsA("Part") then
  973. Children[i].Transparency = 1
  974. end
  975. game.Debris:AddItem(Children[i],0)
  976. end
  977.  
  978. end
  979. end
  980. end)
  981. Lightning()
  982.  
  983. TornadoFunction = function()
  984. local TornadoModel = Instance.new("Model",workspace)
  985. local Center = Instance.new("Part",TornadoModel)
  986. Center.Anchored = true
  987. Center.CanCollide = false
  988. Center.Transparency = 1
  989. Center.Size = Vector3.new(2,2,2)
  990. Center.CFrame = Object.CFrame * CFrame.new(0,0,-20)
  991. local Death = Instance.new("Part",TornadoModel)
  992. Death.Anchored = true
  993. Death.CanCollide = false
  994. Death.Transparency = 1
  995. Death.Size = Vector3.new(TornadoRadius+10,TornadoRadius+10,TornadoRadius+10)
  996. Death.CFrame = Center.CFrame
  997. Death.Touched:connect(function(Touch)
  998. if Touch.Parent:FindFirstChild("Humanoid") ~= nil and Touch.Parent.Name ~= Player.Name then
  999. Touch.Parent.Humanoid.Health = 0
  1000. end
  1001. end)
  1002. local TornadoFunc = function()
  1003. local Tornanimation = coroutine.wrap(function()
  1004. while Run.Stepped:wait() do
  1005. if Tornado == false then Death:Destroy() break end
  1006. angle = angle + 0.1
  1007. Object.Anchored = false
  1008. Object.CFrame = Center.CFrame * CFrame.Angles(0,angle,0) * CFrame.new(0,0,TornadoRadius)
  1009. Object.CFrame = Object.CFrame * CFrame.Angles(0,-math.rad(90),0)
  1010. end
  1011. end)
  1012. Tornanimation()
  1013. end
  1014. TornadoFunc()
  1015. end
  1016.  
  1017. PhaseFunction = function()
  1018. local Phase = coroutine.wrap(function()
  1019. while wait() do
  1020. if Phase == false then break end
  1021. if Player.Character.Humanoid.WalkSpeed > 50 and Phase == true then
  1022. Object.CFrame = Object.CFrame * CFrame.new(0,0,-Player.Character.Humanoid.WalkSpeed/20)
  1023. end
  1024. end
  1025. end)
  1026. Phase()
  1027. end
  1028.  
  1029.  
  1030. PortalFunction = function()
  1031. local PortalBlock = Instance.new("Part",workspace)
  1032. PortalBlock.CFrame = Object.CFrame * CFrame.new(0,0,-100)
  1033. PortalBlock.Transparency = 1
  1034. PortalBlock.Anchored = true
  1035. PortalBlock.CanCollide = false
  1036. PortalBlock.Size = Vector3.new(20,20,0.2)
  1037. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.new(0,(PortalBlock.Size.Y/2),0)
  1038. local Gui = Instance.new("SurfaceGui",PortalBlock)
  1039. local Img = Instance.new("ImageLabel",Gui)
  1040. Img.Size = UDim2.new(2,0,2,0)
  1041. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  1042. Img.Transparency = 1
  1043. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  1044. local Gui = Instance.new("SurfaceGui",PortalBlock)
  1045. Gui.Face = "Back"
  1046. local Img = Instance.new("ImageLabel",Gui)
  1047. Img.Size = UDim2.new(2,0,2,0)
  1048. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  1049. Img.Transparency = 1
  1050. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  1051. Object.CFrame = PortalBlock.CFrame
  1052. local Face = Object.Parent.Head.face.Texture
  1053. local ObjectC = Object.Parent:GetChildren()
  1054. for i = 1,#ObjectC do
  1055. if ObjectC[i]:IsA("Part") and ObjectC[i].Name ~= "HumanoidRootPart" then
  1056. ObjectC[i].Transparency = 1
  1057. elseif ObjectC[i]:IsA("Hat") then
  1058. ObjectC[i].Handle.Transparency = 1
  1059. end
  1060. if ObjectC[i].Name == "Head" then
  1061. ObjectC[i].face.Texture = ""
  1062. end
  1063. end
  1064.  
  1065. local PortalR = coroutine.wrap(function()
  1066. wait(0.1)
  1067. Portal = true
  1068. PortalEnd = true
  1069. while wait(0.001) do
  1070. if Portal == false then
  1071. break
  1072. end
  1073. Nil()
  1074. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.Angles(0,0,-0.1)
  1075. wait(0.01)
  1076. end
  1077. PortalBlock:Destroy()
  1078. for i = 1,#ObjectC do
  1079. if ObjectC[i]:IsA("Part") and ObjectC[i].Name ~= "HumanoidRootPart" then
  1080. ObjectC[i].Transparency = 0
  1081. elseif ObjectC[i]:IsA("Hat") then
  1082. ObjectC[i].Handle.Transparency = 0
  1083. end
  1084. if ObjectC[i].Name == "Head" then
  1085. ObjectC[i].face.Texture = Face
  1086. end
  1087. end
  1088. game.Players.LocalPlayer.Character.Part.Transparency = 1
  1089. local PortalBlock = Instance.new("Part",workspace)
  1090. PortalBlock.CFrame = Object.CFrame * CFrame.new(0,0,0)
  1091. PortalBlock.Transparency = 1
  1092. PortalBlock.Anchored = true
  1093. PortalBlock.CanCollide = false
  1094. PortalBlock.Size = Vector3.new(20,20,0.2)
  1095. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.new(0,(PortalBlock.Size.Y/2),0)
  1096. local Gui = Instance.new("SurfaceGui",PortalBlock)
  1097. local Img = Instance.new("ImageLabel",Gui)
  1098. Img.Size = UDim2.new(2,0,2,0)
  1099. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  1100. Img.Transparency = 1
  1101. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  1102. local Gui = Instance.new("SurfaceGui",PortalBlock)
  1103. Gui.Face = "Back"
  1104. local Img = Instance.new("ImageLabel",Gui)
  1105. Img.Size = UDim2.new(2,0,2,0)
  1106. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  1107. Img.Transparency = 1
  1108. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  1109. Object.CFrame = PortalBlock.CFrame
  1110. PreviousA1 = Arm1.CFrame.p
  1111. PreviousA2 = Arm2.CFrame.p
  1112. PreviousL1 = Leg1.CFrame.p
  1113. PreviousL2 = Leg2.CFrame.p
  1114. PreviousP = Object.CFrame.p
  1115. PortalEnd = false
  1116. wait(2)
  1117. PortalBlock:Destroy()
  1118. end)
  1119. PortalR()
  1120. end
  1121.  
  1122. MorphFunction = function()
  1123. local MaxX = 100
  1124. local MinX = -100
  1125. local MaxY = 100
  1126. local MinY = -100
  1127. local MaxZ = 100
  1128. local MinZ = -100
  1129. local Morph = coroutine.wrap(function()
  1130. while Run.Stepped:wait(0.1) do
  1131. if Morph == false then break end
  1132. local Model = Instance.new("Model",workspace)
  1133. if Player.Character:FindFirstChild("Shirt") then
  1134. local Shirt = Player.Character.Shirt:Clone()
  1135. Shirt.Parent = Model
  1136. end
  1137. if Player.Character:FindFirstChild("Pants") then
  1138. local Pants = Player.Character.Pants:Clone()
  1139. Pants.Parent = Model
  1140. end
  1141. local Humanoid = Instance.new("Humanoid",Model)
  1142. local LeftArm = Player.Character["Left Arm"]:Clone()
  1143. LeftArm.Parent = Model
  1144. LeftArm.Transparency = 0.4
  1145. LeftArm.Anchored = true
  1146. LeftArm.CFrame = Player.Character["Left Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  1147. local RightArm = Player.Character["Right Arm"]:Clone()
  1148. RightArm.Parent = Model
  1149. RightArm.Transparency = 0.4
  1150. RightArm.Anchored = true
  1151. RightArm.CFrame = Player.Character["Right Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  1152. local LeftLeg = Player.Character["Left Leg"]:Clone()
  1153. LeftLeg.Parent = Model
  1154. LeftLeg.Transparency = 0.4
  1155. LeftLeg.Anchored = true
  1156. LeftLeg.CFrame = Player.Character["Left Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  1157. local RightLeg = Player.Character["Right Leg"]:Clone()
  1158. RightLeg.Parent = Model
  1159. RightLeg.Transparency = 0.4
  1160. RightLeg.Anchored = true
  1161. RightLeg.CFrame = Player.Character["Right Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  1162. local Children = Model:GetChildren()
  1163. wait(0.01)
  1164. for i = 1,#Children do
  1165. if Children[i]:IsA("Part") then
  1166. Children[i].Transparency = 1
  1167. end
  1168. game.Debris:AddItem(Children[i],0)
  1169. end
  1170. end
  1171. end)
  1172. Morph()
  1173. end
  1174.  
  1175. local Guis = coroutine.wrap(function()
  1176. local Gui = Instance.new("ScreenGui",Player.PlayerGui)
  1177. local TextBox = Instance.new("TextBox",Gui)
  1178. TextBox.Text = "Speed"
  1179. TextBox.BackgroundColor3 = Color3.new(255,255,255)
  1180. TextBox.BorderColor3 = Color3.new(0,0,0)
  1181. TextBox.Size = UDim2.new(0,200,0,25)
  1182. TextBox.Position = UDim2.new(0,10,0.5,-12.5)
  1183. TextBox.FocusLost:connect(function(EnterPressed)
  1184. if EnterPressed then
  1185. Player.Character.Humanoid.WalkSpeed = TextBox.Text
  1186. end
  1187. end)
  1188. local Flash = Instance.new("TextButton",Gui)
  1189. Flash.BackgroundColor3 = Color3.new(255,255,255)
  1190. Flash.BorderColor3 = Color3.new(0,0,0)
  1191. Flash.Size = UDim2.new(0,200,0,25)
  1192. Flash.Position = UDim2.new(0,10,0.5,22.5)
  1193. Flash.Text = "The Flash"
  1194. Flash.MouseButton1Click:connect(function()
  1195. Color = BrickColor.Yellow()
  1196. PColor = Color3.new(255,255,0)
  1197. end)
  1198. local RFlash = Instance.new("TextButton",Gui)
  1199. RFlash.BackgroundColor3 = Color3.new(255,255,255)
  1200. RFlash.BorderColor3 = Color3.new(0,0,0)
  1201. RFlash.Size = UDim2.new(0,200,0,25)
  1202. RFlash.Position = UDim2.new(0,10,0.5,57.5)
  1203. RFlash.Text = "The Reverse Flash"
  1204. RFlash.MouseButton1Click:connect(function()
  1205. Color = BrickColor.new("Really red")
  1206. PColor = Color3.new(255,0,0)
  1207. end)
  1208. local Zoom = Instance.new("TextButton",Gui)
  1209. Zoom.BackgroundColor3 = Color3.new(255,255,255)
  1210. Zoom.BorderColor3 = Color3.new(0,0,0)
  1211. Zoom.Size = UDim2.new(0,200,0,25)
  1212. Zoom.Position = UDim2.new(0,10,0.5,92.5)
  1213. Zoom.Text = "Zoom"
  1214. Zoom.MouseButton1Click:connect(function()
  1215. Color = BrickColor.new("Cyan")
  1216. PColor = Color3.new(0,170,255)
  1217. end)
  1218. local Radius = Instance.new("TextBox",Gui)
  1219. Radius.Text = "Tornado Radius"
  1220. Radius.BackgroundColor3 = Color3.new(255,255,255)
  1221. Radius.BorderColor3 = Color3.new(0,0,0)
  1222. Radius.Size = UDim2.new(0,200,0,25)
  1223. Radius.Position = UDim2.new(0,10,0.5,127.5)
  1224. Radius.FocusLost:connect(function(EnterPressed)
  1225. if EnterPressed then
  1226. TornadoRadius = Radius.Text
  1227. end
  1228. end)
  1229. Mouse.KeyDown:connect(function(Key)
  1230. if Key == "f" then
  1231. if Portal == false then
  1232. chatfunc("Portal")
  1233. PortalFunction()
  1234. Nil()
  1235. else
  1236. Portal = false
  1237. end
  1238. end
  1239. if Key == "r" then
  1240. if Phase == false then
  1241. chatfunc("Phase")
  1242. Phase = true
  1243. PhaseFunction()
  1244. print "PhaseFunction"
  1245. else
  1246. Phase = false
  1247. end
  1248. end
  1249. if Key == "e" then
  1250. if Tornado == false then
  1251. sick.SoundId = "rbxassetid://779611477"
  1252. sick.Volume = 10
  1253. Tornado = true
  1254. TornadoFunction()
  1255. else
  1256. sick.SoundId = NormalMusicLink
  1257. Tornado = false
  1258. chatfunc("Spin")
  1259. end
  1260. end
  1261. if Key == "t" then
  1262. if Morph == false then
  1263. chatfunc("Morph")
  1264. Morph = true
  1265. MorphFunction()
  1266. else
  1267. Morph = false
  1268. end
  1269. end
  1270. end)
  1271. end)
  1272. Guis()
  1273.  
  1274. Run.RenderStepped:connect(function()
  1275. if (Object.CFrame.p - PreviousP).magnitude > 7 and Player.Character.Humanoid.WalkSpeed > 25 and Portal == false and PortalEnd == false then
  1276. local Model = Instance.new("Model",workspace)
  1277. Model.Name = "Ray"
  1278. local Humanoid = Instance.new("Humanoid",Model)
  1279. if Player.Character:FindFirstChild("Shirt") ~= nil then
  1280. Player.Character.Shirt:Clone().Parent = Model
  1281. end
  1282. if Player.Character:FindFirstChild("Pants") ~= nil then
  1283. Player.Character.Pants:Clone().Parent = Model
  1284. end
  1285. local distance = (Object.CFrame.p - PreviousP).magnitude
  1286. local Light = Instance.new("Part",Model)
  1287. Light.Anchored = true
  1288. Light.CanCollide = false
  1289. Light.TopSurface = "SmoothNoOutlines"
  1290. Light.BottomSurface = "SmoothNoOutlines"
  1291. Light.BackSurface = "SmoothNoOutlines"
  1292. Light.FrontSurface = "SmoothNoOutlines"
  1293. Light.LeftSurface = "SmoothNoOutlines"
  1294. Light.RightSurface = "SmoothNoOutlines"
  1295. Light.Transparency = 1
  1296. Light.BrickColor = BrickColor.Black()
  1297. Light.Size = Vector3.new(2,2,distance)
  1298. Light.CFrame = CFrame.new(Object.CFrame.p , PreviousP) * CFrame.new(0,0,-distance/2)
  1299.  
  1300. local PointLight = Instance.new("PointLight",Light)
  1301. PointLight.Range = 15
  1302. PointLight.Brightness = 100
  1303. PointLight.Color = PColor
  1304.  
  1305. local distance = (Arm1.CFrame.p - PreviousA1).magnitude
  1306.  
  1307. local Arm1Light = Instance.new("Part",Model)
  1308. Arm1Light.Name = "Right Arm"
  1309. Arm1Light.Anchored = true
  1310. Arm1Light.CanCollide = false
  1311. Arm1Light.TopSurface = "SmoothNoOutlines"
  1312. Arm1Light.BottomSurface = "SmoothNoOutlines"
  1313. Arm1Light.BackSurface = "SmoothNoOutlines"
  1314. Arm1Light.FrontSurface = "SmoothNoOutlines"
  1315. Arm1Light.LeftSurface = "SmoothNoOutlines"
  1316. Arm1Light.RightSurface = "SmoothNoOutlines"
  1317. Arm1Light.Transparency = 0.5
  1318. Arm1Light.BrickColor = BrickColor.Black()
  1319. Arm1Light.Size = Vector3.new(1,2,distance)
  1320. Arm1Light.CFrame = CFrame.new(Arm1.CFrame.p , PreviousA1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1321.  
  1322. local distance = (Arm2.CFrame.p - PreviousA2).magnitude
  1323.  
  1324. local Arm2Light = Instance.new("Part",Model)
  1325. Arm2Light.Name = "Left Arm"
  1326. Arm2Light.Anchored = true
  1327. Arm2Light.CanCollide = false
  1328. Arm2Light.TopSurface = "SmoothNoOutlines"
  1329. Arm2Light.BottomSurface = "SmoothNoOutlines"
  1330. Arm2Light.BackSurface = "SmoothNoOutlines"
  1331. Arm2Light.FrontSurface = "SmoothNoOutlines"
  1332. Arm2Light.LeftSurface = "SmoothNoOutlines"
  1333. Arm2Light.RightSurface = "SmoothNoOutlines"
  1334. Arm2Light.Transparency = 0.5
  1335. Arm2Light.BrickColor = BrickColor.Black()
  1336. Arm2Light.Size = Vector3.new(1,2,distance)
  1337. Arm2Light.CFrame = CFrame.new(Arm2.CFrame.p , PreviousA2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1338.  
  1339. local distance = (Leg1.CFrame.p - PreviousL1).magnitude
  1340.  
  1341. local Leg1Light = Instance.new("Part",Model)
  1342. Leg1Light.Name = "Right Leg"
  1343. Leg1Light.Anchored = true
  1344. Leg1Light.CanCollide = false
  1345. Leg1Light.TopSurface = "SmoothNoOutlines"
  1346. Leg1Light.BottomSurface = "SmoothNoOutlines"
  1347. Leg1Light.BackSurface = "SmoothNoOutlines"
  1348. Leg1Light.FrontSurface = "SmoothNoOutlines"
  1349. Leg1Light.LeftSurface = "SmoothNoOutlines"
  1350. Leg1Light.RightSurface = "SmoothNoOutlines"
  1351. Leg1Light.Transparency = 0.5
  1352. Leg1Light.BrickColor = BrickColor.Black()
  1353. Leg1Light.Size = Vector3.new(1,2,distance)
  1354. Leg1Light.CFrame = CFrame.new(Leg1.CFrame.p , PreviousL1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1355.  
  1356. local distance = (Leg2.CFrame.p - PreviousL2).magnitude
  1357.  
  1358. local Leg1Light = Instance.new("Part",Model)
  1359. Leg1Light.Name = "Left Leg"
  1360. Leg1Light.Anchored = true
  1361. Leg1Light.CanCollide = false
  1362. Leg1Light.TopSurface = "SmoothNoOutlines"
  1363. Leg1Light.BottomSurface = "SmoothNoOutlines"
  1364. Leg1Light.BackSurface = "SmoothNoOutlines"
  1365. Leg1Light.FrontSurface = "SmoothNoOutlines"
  1366. Leg1Light.LeftSurface = "SmoothNoOutlines"
  1367. Leg1Light.RightSurface = "SmoothNoOutlines"
  1368. Leg1Light.Transparency = 0.5
  1369. Leg1Light.BrickColor = BrickColor.Black()
  1370. Leg1Light.Size = Vector3.new(1,2,distance)
  1371. Leg1Light.CFrame = CFrame.new(Leg2.CFrame.p , PreviousL2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  1372.  
  1373. local Point1 = Instance.new("Part",Model)
  1374. Point1.Transparency = 1
  1375. Point1.Anchored = true
  1376. Point1.CanCollide = false
  1377. Point1.Size = Vector3.new(0.2,0.2,0.2)
  1378. Point1.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  1379. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1380. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1381. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1382.  
  1383. local Point2 = Instance.new("Part",Model)
  1384. Point2.Transparency = 1
  1385. Point2.Anchored = true
  1386. Point2.CanCollide = false
  1387. Point2.Size = Vector3.new(0.2,0.2,0.2)
  1388. Point2.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  1389. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1390. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1391. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1392.  
  1393. local Point5 = Instance.new("Part",Model)
  1394. Point5.Transparency = 1
  1395. Point5.Anchored = true
  1396. Point5.CanCollide = false
  1397. Point5.Size = Vector3.new(0.2,0.2,0.2)
  1398. Point5.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  1399. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1400. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1401. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1402.  
  1403. local Point6 = Instance.new("Part",Model)
  1404. Point6.Transparency = 1
  1405. Point6.Anchored = true
  1406. Point6.CanCollide = false
  1407. Point6.Size = Vector3.new(0.2,0.2,0.2)
  1408. Point6.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  1409. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1410. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1411. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1412.  
  1413. local Point3 = Instance.new("Part",Model)
  1414. Point3.Transparency = 1
  1415. Point3.Anchored = true
  1416. Point3.CanCollide = false
  1417. Point3.Size = Vector3.new(0.2,0.2,0.2)
  1418. Point3.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  1419. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  1420. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1421. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1422.  
  1423. local Point4 = Instance.new("Part",Model)
  1424. Point4.Transparency = 1
  1425. Point4.Anchored = true
  1426. Point4.CanCollide = false
  1427. Point4.Size = Vector3.new(0.2,0.2,0.2)
  1428. Point4.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  1429. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  1430. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1431. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1432.  
  1433. local Point7 = Instance.new("Part",Model)
  1434. Point7.Transparency = 1
  1435. Point7.Anchored = true
  1436. Point7.CanCollide = false
  1437. Point7.Size = Vector3.new(0.2,0.2,0.2)
  1438. Point7.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  1439. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  1440. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1441. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1442.  
  1443. local Point8 = Instance.new("Part",Model)
  1444. Point8.Transparency = 1
  1445. Point8.Anchored = true
  1446. Point8.CanCollide = false
  1447. Point8.Size = Vector3.new(0.2,0.2,0.2)
  1448. Point8.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  1449. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  1450. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1451. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1452.  
  1453. local Point9 = Instance.new("Part",Model)
  1454. Point9.Transparency = 1
  1455. Point9.Anchored = true
  1456. Point9.CanCollide = false
  1457. Point9.Size = Vector3.new(0.2,0.2,0.2)
  1458. Point9.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  1459. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  1460. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1461. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1462.  
  1463. local Point10 = Instance.new("Part",Model)
  1464. Point10.Transparency = 1
  1465. Point10.Anchored = true
  1466. Point10.CanCollide = false
  1467. Point10.Size = Vector3.new(0.2,0.2,0.2)
  1468. Point10.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  1469. * CFrame.new(Light.Size.X/2 ,0 ,0)
  1470. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  1471. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1472.  
  1473. local Point11 = Instance.new("Part",Model)
  1474. Point11.Transparency = 1
  1475. Point11.Anchored = true
  1476. Point11.CanCollide = false
  1477. Point11.Size = Vector3.new(0.2,0.2,0.2)
  1478. Point11.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  1479. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  1480. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1481. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1482.  
  1483. local Point12 = Instance.new("Part",Model)
  1484. Point12.Transparency = 1
  1485. Point12.Anchored = true
  1486. Point12.CanCollide = false
  1487. Point12.Size = Vector3.new(0.2,0.2,0.2)
  1488. Point12.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  1489. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  1490. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  1491. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  1492.  
  1493. if PrevPoint2 == nil or PrevPoint2 == "Empty" then
  1494. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  1495. local Light = Instance.new("Part",Model)
  1496. Light.Anchored = true
  1497. Light.CanCollide = false
  1498. Light.TopSurface = "SmoothNoOutlines"
  1499. Light.BottomSurface = "SmoothNoOutlines"
  1500. Light.BackSurface = "SmoothNoOutlines"
  1501. Light.FrontSurface = "SmoothNoOutlines"
  1502. Light.LeftSurface = "SmoothNoOutlines"
  1503. Light.RightSurface = "SmoothNoOutlines"
  1504. Light.Transparency = 0
  1505. Light.Size = Vector3.new(0.4,0.4,distance)
  1506. Light.Material = "Neon"
  1507. Light.BrickColor = Color
  1508. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  1509. elseif PrevPoint2 ~= nil then
  1510. local distance = (Point2.CFrame.p - PrevPoint2).magnitude
  1511. local Light = Instance.new("Part",Model)
  1512. Light.Anchored = true
  1513. Light.CanCollide = false
  1514. Light.TopSurface = "SmoothNoOutlines"
  1515. Light.BottomSurface = "SmoothNoOutlines"
  1516. Light.BackSurface = "SmoothNoOutlines"
  1517. Light.FrontSurface = "SmoothNoOutlines"
  1518. Light.LeftSurface = "SmoothNoOutlines"
  1519. Light.RightSurface = "SmoothNoOutlines"
  1520. Light.Transparency = 0
  1521. Light.Size = Vector3.new(0.4,0.4,distance)
  1522. Light.Material = "Neon"
  1523. Light.BrickColor = Color
  1524. Light.CFrame = CFrame.new(Point2.CFrame.p , PrevPoint2) * CFrame.new(0,0,-distance/2)
  1525. end
  1526.  
  1527. if PrevPoint4 == nil or PrevPoint4 == "Empty" then
  1528. local distance = (Point4.CFrame.p - Point3.CFrame.p).magnitude
  1529. local Light = Instance.new("Part",Model)
  1530. Light.Anchored = true
  1531. Light.CanCollide = false
  1532. Light.TopSurface = "SmoothNoOutlines"
  1533. Light.BottomSurface = "SmoothNoOutlines"
  1534. Light.BackSurface = "SmoothNoOutlines"
  1535. Light.FrontSurface = "SmoothNoOutlines"
  1536. Light.LeftSurface = "SmoothNoOutlines"
  1537. Light.RightSurface = "SmoothNoOutlines"
  1538. Light.Transparency = 0
  1539. Light.Size = Vector3.new(0.4,0.4,distance)
  1540. Light.Material = "Neon"
  1541. Light.BrickColor = Color
  1542. Light.CFrame = CFrame.new(Point4.CFrame.p , Point3.CFrame.p) * CFrame.new(0,0,-distance/2)
  1543. elseif PrevPoint4 ~= nil then
  1544. local distance = (Point4.CFrame.p - PrevPoint4).magnitude
  1545. local Light = Instance.new("Part",Model)
  1546. Light.Anchored = true
  1547. Light.CanCollide = false
  1548. Light.TopSurface = "SmoothNoOutlines"
  1549. Light.BottomSurface = "SmoothNoOutlines"
  1550. Light.BackSurface = "SmoothNoOutlines"
  1551. Light.FrontSurface = "SmoothNoOutlines"
  1552. Light.LeftSurface = "SmoothNoOutlines"
  1553. Light.RightSurface = "SmoothNoOutlines"
  1554. Light.Transparency = 0
  1555. Light.Size = Vector3.new(0.4,0.4,distance)
  1556. Light.Material = "Neon"
  1557. Light.BrickColor = Color
  1558. Light.CFrame = CFrame.new(Point4.CFrame.p , PrevPoint4) * CFrame.new(0,0,-distance/2)
  1559. end
  1560.  
  1561.  
  1562. if PrevPoint6 == nil or PrevPoint6 == "Empty" then
  1563. local distance = (Point6.CFrame.p - Point5.CFrame.p).magnitude
  1564. local Light = Instance.new("Part",Model)
  1565. Light.Anchored = true
  1566. Light.CanCollide = false
  1567. Light.TopSurface = "SmoothNoOutlines"
  1568. Light.BottomSurface = "SmoothNoOutlines"
  1569. Light.BackSurface = "SmoothNoOutlines"
  1570. Light.FrontSurface = "SmoothNoOutlines"
  1571. Light.LeftSurface = "SmoothNoOutlines"
  1572. Light.RightSurface = "SmoothNoOutlines"
  1573. Light.Transparency = 0
  1574. Light.Size = Vector3.new(0.4,0.4,distance)
  1575. Light.Material = "Neon"
  1576. Light.BrickColor = Color
  1577. Light.CFrame = CFrame.new(Point6.CFrame.p , Point5.CFrame.p) * CFrame.new(0,0,-distance/2)
  1578. elseif PrevPoint6 ~= nil then
  1579. local distance = (Point6.CFrame.p - PrevPoint6).magnitude
  1580. local Light = Instance.new("Part",Model)
  1581. Light.Anchored = true
  1582. Light.CanCollide = false
  1583. Light.TopSurface = "SmoothNoOutlines"
  1584. Light.BottomSurface = "SmoothNoOutlines"
  1585. Light.BackSurface = "SmoothNoOutlines"
  1586. Light.FrontSurface = "SmoothNoOutlines"
  1587. Light.LeftSurface = "SmoothNoOutlines"
  1588. Light.RightSurface = "SmoothNoOutlines"
  1589. Light.Transparency = 0
  1590. Light.Size = Vector3.new(0.4,0.4,distance)
  1591. Light.Material = "Neon"
  1592. Light.BrickColor = Color
  1593. Light.CFrame = CFrame.new(Point6.CFrame.p , PrevPoint6) * CFrame.new(0,0,-distance/2)
  1594. end
  1595.  
  1596. if PrevPoint8 == nil or PrevPoint8 == "Empty" then
  1597. local distance = (Point8.CFrame.p - Point7.CFrame.p).magnitude
  1598. local Light = Instance.new("Part",Model)
  1599. Light.Anchored = true
  1600. Light.CanCollide = false
  1601. Light.TopSurface = "SmoothNoOutlines"
  1602. Light.BottomSurface = "SmoothNoOutlines"
  1603. Light.BackSurface = "SmoothNoOutlines"
  1604. Light.FrontSurface = "SmoothNoOutlines"
  1605. Light.LeftSurface = "SmoothNoOutlines"
  1606. Light.RightSurface = "SmoothNoOutlines"
  1607. Light.Transparency = 0
  1608. Light.Size = Vector3.new(0.4,0.4,distance)
  1609. Light.Material = "Neon"
  1610. Light.BrickColor = Color
  1611. Light.CFrame = CFrame.new(Point8.CFrame.p , Point7.CFrame.p) * CFrame.new(0,0,-distance/2)
  1612. elseif PrevPoint8 ~= nil then
  1613. local distance = (Point8.CFrame.p - PrevPoint8).magnitude
  1614. local Light = Instance.new("Part",Model)
  1615. Light.Anchored = true
  1616. Light.CanCollide = false
  1617. Light.TopSurface = "SmoothNoOutlines"
  1618. Light.BottomSurface = "SmoothNoOutlines"
  1619. Light.BackSurface = "SmoothNoOutlines"
  1620. Light.FrontSurface = "SmoothNoOutlines"
  1621. Light.LeftSurface = "SmoothNoOutlines"
  1622. Light.RightSurface = "SmoothNoOutlines"
  1623. Light.Transparency = 0
  1624. Light.Size = Vector3.new(0.4,0.4,distance)
  1625. Light.Material = "Neon"
  1626. Light.BrickColor = Color
  1627. Light.CFrame = CFrame.new(Point8.CFrame.p , PrevPoint8) * CFrame.new(0,0,-distance/2)
  1628. end
  1629.  
  1630. if PrevPoint10 == nil or PrevPoint10 == "Empty" then
  1631. local distance = (Point10.CFrame.p - Point9.CFrame.p).magnitude
  1632. local Light = Instance.new("Part",Model)
  1633. Light.Anchored = true
  1634. Light.CanCollide = false
  1635. Light.TopSurface = "SmoothNoOutlines"
  1636. Light.BottomSurface = "SmoothNoOutlines"
  1637. Light.BackSurface = "SmoothNoOutlines"
  1638. Light.FrontSurface = "SmoothNoOutlines"
  1639. Light.LeftSurface = "SmoothNoOutlines"
  1640. Light.RightSurface = "SmoothNoOutlines"
  1641. Light.Transparency = 0
  1642. Light.Size = Vector3.new(0.4,0.4,distance)
  1643. Light.Material = "Neon"
  1644. Light.BrickColor = Color
  1645. Light.CFrame = CFrame.new(Point10.CFrame.p , Point9.CFrame.p) * CFrame.new(0,0,-distance/2)
  1646. elseif PrevPoint10 ~= nil then
  1647. local distance = (Point10.CFrame.p - PrevPoint10).magnitude
  1648. local Light = Instance.new("Part",Model)
  1649. Light.Anchored = true
  1650. Light.CanCollide = false
  1651. Light.TopSurface = "SmoothNoOutlines"
  1652. Light.BottomSurface = "SmoothNoOutlines"
  1653. Light.BackSurface = "SmoothNoOutlines"
  1654. Light.FrontSurface = "SmoothNoOutlines"
  1655. Light.LeftSurface = "SmoothNoOutlines"
  1656. Light.RightSurface = "SmoothNoOutlines"
  1657. Light.Transparency = 0
  1658. Light.Size = Vector3.new(0.4,0.4,distance)
  1659. Light.Material = "Neon"
  1660. Light.BrickColor = Color
  1661. Light.CFrame = CFrame.new(Point10.CFrame.p , PrevPoint10) * CFrame.new(0,0,-distance/2)
  1662. end
  1663.  
  1664.  
  1665. if PrevPoint12 == nil or PrevPoint12 == "Empty" then
  1666. local distance = (Point12.CFrame.p - Point11.CFrame.p).magnitude
  1667. local Light = Instance.new("Part",Model)
  1668. Light.Anchored = true
  1669. Light.CanCollide = false
  1670. Light.TopSurface = "SmoothNoOutlines"
  1671. Light.BottomSurface = "SmoothNoOutlines"
  1672. Light.BackSurface = "SmoothNoOutlines"
  1673. Light.FrontSurface = "SmoothNoOutlines"
  1674. Light.LeftSurface = "SmoothNoOutlines"
  1675. Light.RightSurface = "SmoothNoOutlines"
  1676. Light.Transparency = 0
  1677. Light.Size = Vector3.new(0.4,0.4,distance)
  1678. Light.Material = "Neon"
  1679. Light.BrickColor = Color
  1680. Light.CFrame = CFrame.new(Point12.CFrame.p , Point11.CFrame.p) * CFrame.new(0,0,-distance/2)
  1681. elseif PrevPoint12 ~= nil then
  1682. local distance = (Point12.CFrame.p - PrevPoint12).magnitude
  1683. local Light = Instance.new("Part",Model)
  1684. Light.Anchored = true
  1685. Light.CanCollide = false
  1686. Light.TopSurface = "SmoothNoOutlines"
  1687. Light.BottomSurface = "SmoothNoOutlines"
  1688. Light.BackSurface = "SmoothNoOutlines"
  1689. Light.FrontSurface = "SmoothNoOutlines"
  1690. Light.LeftSurface = "SmoothNoOutlines"
  1691. Light.RightSurface = "SmoothNoOutlines"
  1692. Light.Transparency = 0
  1693. Light.Size = Vector3.new(0.4,0.4,distance)
  1694. Light.Material = "Neon"
  1695. Light.BrickColor = Color
  1696. Light.CFrame = CFrame.new(Point12.CFrame.p , PrevPoint12) * CFrame.new(0,0,-distance/2)
  1697. end
  1698. PreviousP = Object.CFrame.p
  1699. PreviousA1 = Arm1.CFrame.p
  1700. PreviousA2 = Arm2.CFrame.p
  1701. PreviousL1 = Leg1.CFrame.p
  1702. PreviousL2 = Leg2.CFrame.p
  1703. PrevPoint1 = Point1.CFrame.p
  1704. PrevPoint2 = Point2.CFrame.p
  1705. PrevPoint3 = Point3.CFrame.p
  1706. PrevPoint4 = Point4.CFrame.p
  1707. PrevPoint5 = Point5.CFrame.p
  1708. PrevPoint6 = Point6.CFrame.p
  1709. PrevPoint7 = Point7.CFrame.p
  1710. PrevPoint8 = Point8.CFrame.p
  1711. PrevPoint9 = Point9.CFrame.p
  1712. PrevPoint10 = Point10.CFrame.p
  1713. PrevPoint11 = Point11.CFrame.p
  1714. PrevPoint12 = Point12.CFrame.p
  1715. Model:Destroy()
  1716. local Children = Model:GetChildren()
  1717. wait(1)
  1718. for i = 1,10 do
  1719. local Remove = coroutine.wrap(function()
  1720. for i = 1,#Children do
  1721. if Children[i]:IsA("Part") then
  1722. Children[i].Transparency = Children[i].Transparency + 0.1
  1723. if Children[i].Transparency >= 1 and Children[i] ~= Light and Children[i] ~= Point1 and Children[i] ~= Point2 and Children[i] ~= Point3
  1724. and Children[i] ~= Point4 and Children[i] ~= Point5 and Children[i] ~= Point6 and Children[i] ~= Point7 and Children[i] ~= Point8
  1725. and Children[i] ~= Point9 and Children[i] ~= Point10 and Children[i] ~= Point11 and Children[i] ~= Point12 then
  1726. game.Debris:AddItem(Children[i],0)
  1727. end
  1728. end
  1729. if Children[i].ClassName ~= "Part" then
  1730. game.Debris:AddItem(Children[i],0)
  1731. end
  1732. end
  1733. end)
  1734. Remove()
  1735. wait(0.05)
  1736. end
  1737. game.Debris:AddItem(Light,0)
  1738. game.Debris:AddItem(Point1,0)
  1739. game.Debris:AddItem(Point2,0)
  1740. game.Debris:AddItem(Point3,0)
  1741. game.Debris:AddItem(Point4,0)
  1742. game.Debris:AddItem(Point5,0)
  1743. game.Debris:AddItem(Point6,0)
  1744. game.Debris:AddItem(Point7,0)
  1745. game.Debris:AddItem(Point8,0)
  1746. game.Debris:AddItem(Point9,0)
  1747. game.Debris:AddItem(Point10,0)
  1748. game.Debris:AddItem(Point11,0)
  1749. game.Debris:AddItem(Point12,0)
  1750. while true do
  1751. wait(0.4)
  1752. Model:Destroy()
  1753. end
  1754. end
  1755. end)
  1756.  
  1757.  
  1758. elseif msg == "Card Demon" then
  1759.  
  1760. chatfunc("SPELL CARD! CARD DEMON!")
  1761. sick.Volume = 0
  1762. local RbxAssetReached = " :RBCX2"
  1763. warn('This script is still indevelopment so becareful for glitches or bugs'..RbxAssetReached)
  1764. wait(2)
  1765. warn('YOU WILL NOT SURVIVE THIS TIME'..RbxAssetReached)
  1766. --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
  1767. local player = game.Players.LocalPlayer
  1768. local Arm1 = game.Players.LocalPlayer.Character["Left Arm"]
  1769. local Arm2 = game.Players.LocalPlayer.Character["Right Arm"]
  1770. local Leg1 = game.Players.LocalPlayer.Character["Left Leg"]
  1771. local Leg2 = game.Players.LocalPlayer.Character["Right Leg"]
  1772. local humanoid = player.Character.Humanoid
  1773. local mouse = player:GetMouse()
  1774. local anim1= Instance.new("Animation")
  1775. anim1.AnimationId = "http://www.roblox.com/asset/?id=235542946"
  1776. local anim2 = Instance.new("Animation")
  1777. anim2.AnimationId = "http://www.roblox.com/asset/?id=32326240"
  1778. local anim23 = Instance.new("Animation")
  1779. anim23.AnimationId = "http://www.roblox.com/asset/?id=105371766"
  1780.  
  1781.  
  1782. local bg = Instance.new("BillboardGui")
  1783. bg.Name = "Bamma"
  1784. bg.Parent = game.Players.LocalPlayer.Character.Head
  1785. bg.Adornee = game.Players.LocalPlayer.Character.Head
  1786. -- Same size as Head
  1787. bg.Size = UDim2.new(1, 0, 1, 0)
  1788. -- Above (defaults to inside)
  1789. bg.StudsOffset = Vector3.new(0, 2, 0)
  1790.  
  1791. local frame = Instance.new("Frame")
  1792. frame.Parent = bg
  1793. frame.Size = UDim2.new(1, 0, 1, 0)
  1794. frame.BackgroundTransparency = 0.7
  1795. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  1796.  
  1797. local text = Instance.new("TextLabel")
  1798. text.Parent = frame
  1799. text.Position = UDim2.new(0.25, 0, 0.25, 0)
  1800. text.Size = UDim2.new(0.5, 0, 0.5, 0)
  1801. text.BackgroundTransparency =1
  1802. text.Text = "Dragon Slayer"
  1803.  
  1804.  
  1805. mouse.KeyDown:connect(function(key)
  1806. if key == "z" then
  1807. text.Text = "Spin"
  1808. wait(4)
  1809.  
  1810. local playAnim = humanoid:LoadAnimation(anim1)
  1811. playAnim:Play()
  1812. wait(1)
  1813. text.Text = "Dragon Slayer"
  1814. wait(3)
  1815. playAnim:Stop()
  1816.  
  1817.  
  1818.  
  1819. end
  1820. end)
  1821.  
  1822. mouse.KeyDown:connect(function(key)
  1823. if key == "f" then
  1824. text.Text = "Punch"
  1825.  
  1826. local playAnim = humanoid:LoadAnimation(anim2)
  1827. playAnim:Play()
  1828. wait(5)
  1829. text.Text = "Dragon Slayer"
  1830. playAnim:Stop()
  1831.  
  1832.  
  1833. end
  1834. end)
  1835.  
  1836. mouse.KeyDown:connect(function(key)
  1837. if key == "k" then
  1838. text.Text = "DOOM DRAGON"
  1839.  
  1840. local playAnim = humanoid:LoadAnimation(anim23)
  1841. playAnim:Play()
  1842. wait(5)
  1843. text.Text = "Dragon Slayer"
  1844. playAnim:Stop()
  1845.  
  1846.  
  1847. end
  1848. end)
  1849.  
  1850. mouse.KeyDown:connect(function(key)
  1851. if key == "e" then--Activates the damege part
  1852. function onTouched(part)
  1853. local h = part.Parent:findFirstChild("Humanoid")
  1854. if h~=nil then
  1855. h.Health = h.Health -5 -- The most not so damegeing part is this
  1856. wait(2.00)
  1857. end
  1858. end
  1859.  
  1860. Arm2.Touched:connect(onTouched)
  1861. end
  1862. end)
  1863.  
  1864.  
  1865.  
  1866. game.Players.LocalPlayer.Character.Head.CanCollide = false
  1867. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  1868. local vy = Instance.new("Sound")
  1869. vy.Name = "SongyName"
  1870. vy.SoundId = "rbxassetid://0"
  1871. vy.Volume = 10
  1872. vy.PlaybackSpeed = 1
  1873. vy.Parent = game.Players.LocalPlayer.Character.Torso
  1874. vy.Looped = true
  1875. vy:Play()
  1876. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  1877. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  1878. while true do
  1879. game:GetService("RunService").Stepped:wait()
  1880. game.Players.LocalPlayer.Character.Head.CanCollide = false
  1881. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  1882.  
  1883. Arm1.Transparency = 0.6
  1884. Arm2.Transparency = 0.6
  1885. Leg1.Transparency = 0.6
  1886. Leg2.Transparency = 0.6
  1887. game.Players.LocalPlayer.Character.Torso.Transparency = 0.6
  1888. game.Players.LocalPlayer.Character.Head.Transparency = 0.6
  1889. wait(0.1)
  1890. Arm1.Transparency = 1
  1891. Arm2.Transparency = 1
  1892. Leg1.Transparency = 1
  1893. Leg2.Transparency = 1
  1894. game.Players.LocalPlayer.Character.Torso.Transparency = 1
  1895. game.Players.LocalPlayer.Character.Head.Transparency = 1
  1896.  
  1897.  
  1898. wait(0.1)
  1899. Arm1.Transparency = 0
  1900. Arm2.Transparency = 0
  1901. Leg1.Transparency = 0
  1902. Leg2.Transparency = 0
  1903. game.Players.LocalPlayer.Character.Torso.Transparency = 0
  1904. game.Players.LocalPlayer.Character.Head.Transparency = 0
  1905.  
  1906.  
  1907. wait(0.1)
  1908. game.Players.LocalPlayer.Character.Head.CanCollide = false
  1909. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  1910. end
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917. elseif msg == "Card Madness" then
  1918. StartPosition()
  1919. chatfunc("SPELL CARD! CARD MADNESS!")
  1920. wait(1)
  1921. chatfunc("So you wanna die like the others")
  1922. wait(1)
  1923. chatfunc("THEN DIE")
  1924. wait(1)
  1925. chatfunc("ULTIMATE CARD MADNESS ATTACK")
  1926. MailboxMadness()
  1927. MagicSphere()
  1928. MailmansWrath()
  1929. FinalInbox()
  1930. MailboxMadness()
  1931. MagicSphere()
  1932. MailmansWrath()
  1933.  
  1934. sick.SoundId = "rbxassetid://264359638"
  1935. sick.Volume = 0.6
  1936. sick:Play()
  1937.  
  1938. end
  1939. end
  1940. Player.Chatted:connect(onChatted)
  1941.  
  1942.  
  1943. --//=================================\\
  1944. --|| DANMAKU MADNESS
  1945. --\\=================================//
  1946.  
  1947. local Mail = Instance.new("Part")
  1948. Mail.Size = Vector3.new(2, 0.05, 1)
  1949. Mail.Color = Color3.new(1,1,1)
  1950. Mail.CanCollide = false
  1951. local maildecal = Instance.new("Decal",Mail)
  1952. maildecal.Face = "Top"
  1953. maildecal.Texture = "http://www.roblox.com/asset/?id=8052441"
  1954. Mail.BottomSurface = "Smooth"
  1955. Mail.Name = "Mail"
  1956.  
  1957. function ShootMail(part,strength,debris)
  1958. local mail = Mail:Clone()
  1959. mail.CFrame = part.CFrame
  1960. mail.Parent = Effects
  1961. game:GetService("Debris"):AddItem(mail ,debris)
  1962. local bv = Instance.new("BodyVelocity")
  1963. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1964. bv.velocity = part.CFrame.lookVector*strength
  1965. bv.Parent = mail
  1966. bv.Name = "DASH"
  1967. local hit = mail.Touched:connect(function(hit)
  1968. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  1969. dealdamage(hit,15,45,40)
  1970. end
  1971. end)
  1972. return mail
  1973. end
  1974.  
  1975. function MagicSphere(BRICKCOLOR, MATERIAL, PART, CFRAME, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1976. end
  1977.  
  1978.  
  1979. function StartPosition()
  1980. ATTACK = true
  1981. Rooted = true
  1982. for i=0, 1, 0.1 / Animation_Speed/1.2 do
  1983. Swait()
  1984. 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)
  1985. 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)
  1986. 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)
  1987. 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)
  1988. 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)
  1989. 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)
  1990. end
  1991. end
  1992.  
  1993. function MailmansWrath()
  1994. local twist = 0
  1995. local twist2 = false
  1996. local twist3 = 1
  1997. local spinpart = Instance.new("Part",Weapon)
  1998. spinpart.Anchored = true
  1999. spinpart.CanCollide = false
  2000. spinpart.Transparency = 1
  2001. spinpart.CFrame = Opening.CFrame
  2002. local spinpart2 = Instance.new("Part",Weapon)
  2003. spinpart2.Anchored = true
  2004. spinpart2.CanCollide = false
  2005. spinpart2.Transparency = 1
  2006. spinpart2.CFrame = Opening.CFrame
  2007. for i = 1, 30 do
  2008. chuck:Play()
  2009. 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)
  2010. twist = twist + 1
  2011. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  2012. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  2013. if twist == 10 then
  2014. spinpart.CFrame = Opening.CFrame
  2015. spinpart2.CFrame = Opening.CFrame
  2016. twist = 0
  2017. end
  2018. ShootMail(spinpart,65,2)
  2019. ShootMail(spinpart2,65,2)
  2020. Swait(5)
  2021. end
  2022. spinpart.CFrame = Opening.CFrame
  2023. spinpart2.CFrame = Opening.CFrame
  2024. twist = 10
  2025. for i = 1, 40 do
  2026. chuck:Play()
  2027. 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)
  2028. twist = twist + 1
  2029. if twist2 == true then
  2030. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  2031. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  2032. elseif twist2 == false then
  2033. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  2034. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  2035. end
  2036. if twist == 20 then
  2037. if twist2 == false then
  2038. twist2 = true
  2039. elseif twist2 == true then
  2040. twist2 = false
  2041. end
  2042. twist = 0
  2043. end
  2044. ShootMail(spinpart,65,2)
  2045. ShootMail(spinpart2,65,2)
  2046. Swait(5)
  2047. end
  2048. spinpart.CFrame = Opening.CFrame
  2049. spinpart2.CFrame = Opening.CFrame
  2050. twist = 0
  2051. for i = 1, 30 do
  2052. chuck:Play()
  2053. 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)
  2054. twist = twist + 1
  2055. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.15, 0)
  2056. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.15, 0)
  2057. if twist == 10 then
  2058. spinpart.CFrame = Opening.CFrame
  2059. spinpart2.CFrame = Opening.CFrame
  2060. twist = 0
  2061. end
  2062. ShootMail(spinpart,75,2)
  2063. ShootMail(spinpart2,75,2)
  2064. Swait(5)
  2065. end
  2066. spinpart:remove()
  2067. spinpart2:remove()
  2068. ATTACK = false
  2069. Rooted = false
  2070. end
  2071.  
  2072. function PapercutChaos()
  2073. local twist = 0
  2074. for i = 1, 5 do
  2075. chuck:Play()
  2076. 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)
  2077. local mail = ShootMail(Opening,25,20)
  2078. for i = 1, 15 do
  2079. chuck:Play()
  2080. local spinpart = Instance.new("Part",Weapon)
  2081. spinpart.Anchored = true
  2082. spinpart.CanCollide = false
  2083. spinpart.Transparency = 1
  2084. spinpart.CFrame = mail.CFrame
  2085. local spinpart2 = Instance.new("Part",Weapon)
  2086. spinpart2.Anchored = true
  2087. spinpart2.CanCollide = false
  2088. spinpart2.Transparency = 1
  2089. spinpart2.CFrame = mail.CFrame
  2090. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 70, 0)
  2091. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -70, 0)
  2092. 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)
  2093. ShootMail(spinpart,35,2)
  2094. ShootMail(spinpart2,35,2)
  2095. spinpart:remove()
  2096. spinpart2:remove()
  2097. Swait(5)
  2098. end
  2099. mail:remove()
  2100. end
  2101. for i = 1, 2 do
  2102. chuck:Play()
  2103. 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)
  2104. local mail = ShootMail(Opening,45,20)
  2105. for i = 1, 20 do
  2106. twist = twist + 1
  2107. chuck:Play()
  2108. local spinpart = Instance.new("Part",Weapon)
  2109. spinpart.Anchored = true
  2110. spinpart.CanCollide = false
  2111. spinpart.Transparency = 1
  2112. spinpart.CFrame = mail.CFrame
  2113. local spinpart2 = Instance.new("Part",Weapon)
  2114. spinpart2.Anchored = true
  2115. spinpart2.CanCollide = false
  2116. spinpart2.Transparency = 1
  2117. spinpart2.CFrame = mail.CFrame
  2118. spinpart.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  2119. spinpart2.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  2120. 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)
  2121. ShootMail(spinpart,35,2)
  2122. ShootMail(spinpart2,35,2)
  2123. spinpart:remove()
  2124. spinpart2:remove()
  2125. Swait(5)
  2126. end
  2127. twist = 0
  2128. mail:remove()
  2129. end
  2130. ATTACK = false
  2131. Rooted = false
  2132. end
  2133.  
  2134. function MailboxMadness()
  2135. for i = 1, 15 do
  2136. chuck:Play()
  2137. local part = Instance.new("Part")
  2138. part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
  2139. part.Orientation = RootPart.Orientation
  2140. part.CanCollide = false
  2141. part.Anchored = true
  2142. 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)
  2143. local spinpart = Instance.new("Part",Weapon)
  2144. spinpart.Anchored = true
  2145. spinpart.CanCollide = false
  2146. spinpart.Transparency = 1
  2147. spinpart.CFrame = part.CFrame
  2148. local spinpart2 = Instance.new("Part",Weapon)
  2149. spinpart2.Anchored = true
  2150. spinpart2.CanCollide = false
  2151. spinpart2.Transparency = 1
  2152. spinpart2.CFrame = part.CFrame
  2153. 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)
  2154. part:remove()
  2155. for i = 1, 15 do
  2156. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  2157. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  2158. ShootMail(spinpart,50,2)
  2159. ShootMail(spinpart2,50,2)
  2160. end
  2161. spinpart:remove()
  2162. spinpart2:remove()
  2163. Swait(35)
  2164. end
  2165. ATTACK = false
  2166. Rooted = false
  2167. end
  2168.  
  2169. function FinalInbox()
  2170. local twist = 0
  2171. local twist2 = false
  2172. for i = 1, 5 do
  2173. local part = Instance.new("Part")
  2174. part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
  2175. part.Orientation = RootPart.Orientation
  2176. part.CanCollide = false
  2177. part.Anchored = true
  2178. 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)
  2179. local spinpart = Instance.new("Part",Weapon)
  2180. spinpart.Anchored = true
  2181. spinpart.CanCollide = false
  2182. spinpart.Transparency = 1
  2183. spinpart.CFrame = part.CFrame
  2184. local spinpart2 = Instance.new("Part",Weapon)
  2185. spinpart2.Anchored = true
  2186. spinpart2.CanCollide = false
  2187. spinpart2.Transparency = 1
  2188. spinpart2.CFrame = part.CFrame
  2189. 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)
  2190. part:remove()
  2191. local spinpart3 = Instance.new("Part",Weapon)
  2192. spinpart3.Anchored = true
  2193. spinpart3.CanCollide = false
  2194. spinpart3.Transparency = 1
  2195. spinpart3.CFrame = RootPart.CFrame * CF(0,0,-50)
  2196. local spinpart4 = Instance.new("Part",Weapon)
  2197. spinpart4.Anchored = true
  2198. spinpart4.CanCollide = false
  2199. spinpart4.Transparency = 1
  2200. spinpart4.CFrame = RootPart.CFrame * CF(0,0,-50)
  2201. for i = 1, 30 do
  2202. chuck:Play()
  2203. spinpart3.CFrame = spinpart3.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  2204. spinpart4.CFrame = spinpart4.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  2205. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  2206. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  2207. ShootMail(spinpart,50,2)
  2208. ShootMail(spinpart2,-50,2)
  2209. ShootMail(spinpart3,100,1)
  2210. ShootMail(spinpart4,-100,1)
  2211. Swait(10)
  2212. end
  2213. spinpart:remove()
  2214. spinpart2:remove()
  2215. spinpart3:remove()
  2216. spinpart4:remove()
  2217. end
  2218. chuck:Play()
  2219. 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)
  2220. for i = 1, 2 do
  2221. twist = 10
  2222. local spinpart = Instance.new("Part",Weapon)
  2223. spinpart.Anchored = true
  2224. spinpart.CanCollide = false
  2225. spinpart.Transparency = 1
  2226. spinpart.CFrame = Opening.CFrame
  2227. local spinpart2 = Instance.new("Part",Weapon)
  2228. spinpart2.Anchored = true
  2229. spinpart2.CanCollide = false
  2230. spinpart2.Transparency = 1
  2231. spinpart2.CFrame = Opening.CFrame
  2232. local mail = ShootMail(Opening,25,20)
  2233. for i = 1, 50 do
  2234. chuck:Play()
  2235. 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)
  2236. twist = twist + 1
  2237. if twist2 == true then
  2238. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  2239. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  2240. elseif twist2 == false then
  2241. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  2242. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  2243. end
  2244. if twist == 20 then
  2245. if twist2 == false then
  2246. twist2 = true
  2247. elseif twist2 == true then
  2248. twist2 = false
  2249. end
  2250. twist = 0
  2251. end
  2252. ShootMail(spinpart,125,1)
  2253. ShootMail(spinpart2,125,1)
  2254. local spinpart3 = Instance.new("Part",Weapon)
  2255. spinpart3.Anchored = true
  2256. spinpart3.CanCollide = false
  2257. spinpart3.Transparency = 1
  2258. spinpart3.CFrame = mail.CFrame
  2259. local spinpart4 = Instance.new("Part",Weapon)
  2260. spinpart4.Anchored = true
  2261. spinpart4.CanCollide = false
  2262. spinpart4.Transparency = 1
  2263. spinpart4.CFrame = mail.CFrame
  2264. spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  2265. spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  2266. 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)
  2267. ShootMail(spinpart3,85,1)
  2268. ShootMail(spinpart4,85,1)
  2269. spinpart3:remove()
  2270. spinpart4:remove()
  2271. Swait(10)
  2272. end
  2273. spinpart:remove()
  2274. spinpart2:remove()
  2275. twist = 0
  2276. mail:remove()
  2277. end
  2278. for i = 1, 4 do
  2279. twist = 10
  2280. local spinpart = Instance.new("Part",Weapon)
  2281. spinpart.Anchored = true
  2282. spinpart.CanCollide = false
  2283. spinpart.Transparency = 1
  2284. spinpart.CFrame = Opening.CFrame
  2285. local spinpart2 = Instance.new("Part",Weapon)
  2286. spinpart2.Anchored = true
  2287. spinpart2.CanCollide = false
  2288. spinpart2.Transparency = 1
  2289. spinpart2.CFrame = Opening.CFrame
  2290. local spinpart5 = Instance.new("Part",Weapon)
  2291. spinpart5.Anchored = true
  2292. spinpart5.CanCollide = false
  2293. spinpart5.Transparency = 1
  2294. spinpart5.CFrame = RootPart.CFrame * CF(0,0,-50)
  2295. local spinpart6 = Instance.new("Part",Weapon)
  2296. spinpart6.Anchored = true
  2297. spinpart6.CanCollide = false
  2298. spinpart6.Transparency = 1
  2299. spinpart6.CFrame = RootPart.CFrame * CF(0,0,-50)
  2300. local mail = ShootMail(Opening,25,20)
  2301. for i = 1, 50 do
  2302. chuck:Play()
  2303. 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)
  2304. twist = twist + 1
  2305. spinpart5.CFrame = spinpart5.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
  2306. spinpart6.CFrame = spinpart6.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
  2307. if twist2 == true then
  2308. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  2309. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  2310. elseif twist2 == false then
  2311. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  2312. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  2313. end
  2314. if twist == 20 then
  2315. if twist2 == false then
  2316. twist2 = true
  2317. elseif twist2 == true then
  2318. twist2 = false
  2319. end
  2320. twist = 0
  2321. end
  2322. ShootMail(spinpart,125,1)
  2323. ShootMail(spinpart2,125,1)
  2324. ShootMail(spinpart5,100,1)
  2325. ShootMail(spinpart6,-100,1)
  2326. local spinpart3 = Instance.new("Part",Weapon)
  2327. spinpart3.Anchored = true
  2328. spinpart3.CanCollide = false
  2329. spinpart3.Transparency = 1
  2330. spinpart3.CFrame = mail.CFrame
  2331. local spinpart4 = Instance.new("Part",Weapon)
  2332. spinpart4.Anchored = true
  2333. spinpart4.CanCollide = false
  2334. spinpart4.Transparency = 1
  2335. spinpart4.CFrame = mail.CFrame
  2336. spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  2337. spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  2338. 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)
  2339. ShootMail(spinpart3,85,1)
  2340. ShootMail(spinpart4,85,1)
  2341. spinpart3:remove()
  2342. spinpart4:remove()
  2343. Swait(10)
  2344. end
  2345. spinpart:remove()
  2346. spinpart2:remove()
  2347. spinpart5:remove()
  2348. spinpart6:remove()
  2349. twist = 0
  2350. mail:remove()
  2351. end
  2352. ATTACK = false
  2353. Rooted = false
  2354. end
  2355.  
  2356. --//=================================\\
  2357. --|| ASSIGN THINGS TO KEYS
  2358. --\\=================================//
  2359.  
  2360. Humanoid.Changed:connect(function(Jump)
  2361. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  2362. Humanoid.Jump = false
  2363. end
  2364. end)
  2365.  
  2366. --//=================================\\
  2367. --\\=================================//
  2368.  
  2369.  
  2370. function unanchor()
  2371. if UNANCHOR == true then
  2372. g = Character:GetChildren()
  2373. for i = 1, #g do
  2374. if g[i].ClassName == "Part" then
  2375. g[i].Anchored = false
  2376. end
  2377. end
  2378. end
  2379. end
  2380.  
  2381.  
  2382. --//=================================\\
  2383. --|| WRAP THE WHOLE SCRIPT UP
  2384. --\\=================================//
  2385.  
  2386. Humanoid.Changed:connect(function(Jump)
  2387. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  2388. Humanoid.Jump = false
  2389. end
  2390. end)
  2391.  
  2392. ANIMATE.Parent = nil
  2393. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2394. IDLEANIMATION:Play()
  2395. Swait()
  2396. ANIMATOR.Parent = nil
  2397. Disable_Jump = true
  2398.  
  2399. while true do
  2400. Swait()
  2401. SINE = SINE + CHANGE
  2402. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2403. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2404. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2405. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2406. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2407. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2408. 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)
  2409. 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)
  2410. 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)
  2411. 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)
  2412. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2413. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2414. 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)
  2415. 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)
  2416. 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)
  2417. end
  2418. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2419. ANIM = "Jump"
  2420. if ATTACK == false then
  2421. 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)
  2422. 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)
  2423. 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)
  2424. 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)
  2425. 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)
  2426. 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)
  2427. end
  2428. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2429. ANIM = "Fall"
  2430. if ATTACK == false then
  2431. 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)
  2432. 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)
  2433. 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)
  2434. 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)
  2435. 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)
  2436. 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)
  2437. end
  2438. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2439. ANIM = "Idle"
  2440. if ATTACK == false then
  2441. 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)
  2442. 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)
  2443. 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)
  2444. 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)
  2445. 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)
  2446. 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)
  2447. end
  2448. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2449. ANIM = "Walk"
  2450. WALK = WALK + 1 / Animation_Speed
  2451. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2452. WALK = 0
  2453. if WALKINGANIM == true then
  2454. WALKINGANIM = false
  2455. elseif WALKINGANIM == false then
  2456. WALKINGANIM = true
  2457. end
  2458. end
  2459. --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)
  2460. --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)
  2461. if ATTACK == false then
  2462. 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)
  2463. 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)
  2464. 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)
  2465. 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)
  2466. 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)
  2467. 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)
  2468. end
  2469. end
  2470. if #Effects2>0 then
  2471. for e=1,#Effects2 do
  2472. if Effects2[e]~=nil then
  2473. local Thing=Effects2[e]
  2474. if Thing~=nil then
  2475. local Part=Thing[1]
  2476. local Mode=Thing[2]
  2477. local Delay=Thing[3]
  2478. local IncX=Thing[4]
  2479. local IncY=Thing[5]
  2480. local IncZ=Thing[6]
  2481. local Part2=Thing[8]
  2482. if Thing[1].Transparency<=1 then
  2483. if Thing[2]=="Block1" then
  2484. Thing[1].CFrame=Part2.CFrame
  2485. Mesh=Thing[1].Mesh
  2486. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2487. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2488. elseif Thing[2]=="Cylinder" then
  2489. Mesh=Thing[1].Mesh
  2490. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2491. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2492. elseif Thing[2]=="Blood" then
  2493. Mesh=Thing[7]
  2494. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  2495. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2496. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2497. elseif Thing[2]=="Elec" then
  2498. Mesh=Thing[1].Mesh
  2499. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  2500. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2501. elseif Thing[2]=="Disappear" then
  2502. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2503. end
  2504. else
  2505. Part.Parent=nil
  2506. table.remove(Effects2,e)
  2507. end
  2508. end
  2509. end
  2510. end
  2511. end
  2512. unanchor()
  2513. Humanoid.MaxHealth = "inf"
  2514. Humanoid.Health = "inf"
  2515. if Rooted == false then
  2516. --Disable_Jump = false
  2517. Humanoid.WalkSpeed = Speed
  2518. elseif Rooted == true then
  2519. Disable_Jump = true
  2520. Humanoid.WalkSpeed = 0
  2521. end
  2522. --print(TORSOVELOCITY)
  2523. end
  2524.  
  2525. --//=================================\\
  2526. --\\=================================//
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532. --//====================================================\\--
  2533. --|| END OF SCRIPT
  2534. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement