IVMemeVI

Untitled

Apr 29th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.73 KB | None | 0 0
  1. local IDs = {340106355,927529620,876981900,398987889}
  2.  
  3. function swait(num)
  4. if num==0 or num==nil then
  5. game:service'RunService'.Stepped:wait(0)
  6. else
  7. for i=0,num do
  8. game:service'RunService'.Stepped:wait(0)
  9. end
  10. end
  11. end
  12. function thread(f)
  13. coroutine.resume(coroutine.create(f))
  14. end
  15. function clerp(a, b, t)
  16. local qa = {
  17. QuaternionFromCFrame(a)
  18. }
  19. local qb = {
  20. QuaternionFromCFrame(b)
  21. }
  22. local ax, ay, az = a.x, a.y, a.z
  23. local bx, by, bz = b.x, b.y, b.z
  24. local _t = 1 - t
  25. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  26. end
  27. function QuaternionFromCFrame(cf)
  28. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  29. local trace = m00 + m11 + m22
  30. if trace > 0 then
  31. local s = math.sqrt(1 + trace)
  32. local recip = 0.5 / s
  33. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  34. else
  35. local i = 0
  36. if m00 < m11 then
  37. i = 1
  38. end
  39. if m22 > (i == 0 and m00 or m11) then
  40. i = 2
  41. end
  42. if i == 0 then
  43. local s = math.sqrt(m00 - m11 - m22 + 1)
  44. local recip = 0.5 / s
  45. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  46. elseif i == 1 then
  47. local s = math.sqrt(m11 - m22 - m00 + 1)
  48. local recip = 0.5 / s
  49. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  50. elseif i == 2 then
  51. local s = math.sqrt(m22 - m00 - m11 + 1)
  52. local recip = 0.5 / s
  53. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  54. end
  55. end
  56. end
  57. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  58. local xs, ys, zs = x + x, y + y, z + z
  59. local wx, wy, wz = w * xs, w * ys, w * zs
  60. local xx = x * xs
  61. local xy = x * ys
  62. local xz = x * zs
  63. local yy = y * ys
  64. local yz = y * zs
  65. local zz = z * zs
  66. 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))
  67. end
  68. function QuaternionSlerp(a, b, t)
  69. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  70. local startInterp, finishInterp
  71. if cosTheta >= 1.0E-4 then
  72. if 1 - cosTheta > 1.0E-4 then
  73. local theta = math.acos(cosTheta)
  74. local invSinTheta = 1 / math.sin(theta)
  75. startInterp = math.sin((1 - t) * theta) * invSinTheta
  76. finishInterp = math.sin(t * theta) * invSinTheta
  77. else
  78. startInterp = 1 - t
  79. finishInterp = t
  80. end
  81. elseif 1 + cosTheta > 1.0E-4 then
  82. local theta = math.acos(-cosTheta)
  83. local invSinTheta = 1 / math.sin(theta)
  84. startInterp = math.sin((t - 1) * theta) * invSinTheta
  85. finishInterp = math.sin(t * theta) * invSinTheta
  86. else
  87. startInterp = t - 1
  88. finishInterp = t
  89. end
  90. 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
  91. end
  92. function rayCast(Position, Direction, Range, Ignore)
  93. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  94. end
  95. --Wait what okay
  96. wait()
  97. local plr = game:service'Players'.LocalPlayer
  98. local char = plr.Character
  99. local hum = char.Humanoid
  100. local ra = char["Right Arm"]
  101. local la= char["Left Arm"]
  102. local rl= char["Right Leg"]
  103. local ll = char["Left Leg"]
  104. local hed = char.Head
  105. local root = char.HumanoidRootPart
  106. local rootj = root.RootJoint
  107. local tors = char.Torso
  108. local mouse = plr:GetMouse()
  109. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  110. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  111. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  112. local maincolor = BrickColor.new("Magenta")
  113. cf = CFrame.new
  114. angles = CFrame.Angles
  115. attack = false
  116. euler=CFrame.fromEulerAnglesXYZ
  117. equipped = false
  118. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  119. RSH, LSH = nil, nil
  120. RW = Instance.new("Weld")
  121. LW = Instance.new("Weld")
  122. RH = tors["Right Hip"]
  123. LH = tors["Left Hip"]
  124. RSH = tors["Right Shoulder"]
  125. LSH = tors["Left Shoulder"]
  126. RSH.Parent = nil
  127. LSH.Parent = nil
  128. RW.Name = "RW"
  129. RW.Part0 = tors
  130. RW.C0 = CFrame.new(1.5, 0.5, 0)
  131. RW.C1 = CFrame.new(0, 0.5, 0)
  132. RW.Part1 = ra
  133. RW.Parent = tors
  134. LW.Name = "LW"
  135. LW.Part0 = tors
  136. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  137. LW.C1 = CFrame.new(0, 0.5, 0)
  138. LW.Part1 = la
  139. LW.Parent = tors
  140. print('User is '..plr.Name)
  141. Effects = {}
  142.  
  143. ArtificialHB = Instance.new("BindableEvent", script)
  144. ArtificialHB.Name = "Heartbeat"
  145.  
  146. script:WaitForChild("Heartbeat")
  147.  
  148. frame = 1 / 60
  149. tf = 0
  150. allowframeloss = false
  151. tossremainder = false
  152. lastframe = tick()
  153. script.Heartbeat:Fire()
  154.  
  155. game:GetService("RunService").Heartbeat:connect(function(s, p)
  156. tf = tf + s
  157. if tf >= frame then
  158. if allowframeloss then
  159. script.Heartbeat:Fire()
  160. lastframe = tick()
  161. else
  162. for i = 1, math.floor(tf / frame) do
  163. script.Heartbeat:Fire()
  164. end
  165. lastframe = tick()
  166. end
  167. if tossremainder then
  168. tf = 0
  169. else
  170. tf = tf - frame * math.floor(tf / frame)
  171. end
  172. end
  173. end)
  174. local RbxUtility = LoadLibrary("RbxUtility")
  175. local Create = RbxUtility.Create
  176.  
  177. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  178. if hit.Parent == nil then
  179. return
  180. end
  181. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  182. for _, v in pairs(hit.Parent:children()) do
  183. if v:IsA("Humanoid") then
  184. h = v
  185. end
  186. end
  187. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  188. warn'No R15 allowed'
  189. hit.Parent:FindFirstChild("Head"):BreakJoints()
  190. end
  191.  
  192. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  193. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  194. if hit.Parent.DebounceHit.Value == true then
  195. return
  196. end
  197. end
  198. if insta == true then
  199. hit.Parent:FindFirstChild("Head"):BreakJoints()
  200. end
  201. local c = Create("ObjectValue"){
  202. Name = "creator",
  203. Value = game:service("Players").LocalPlayer,
  204. Parent = h,
  205. }
  206. game:GetService("Debris"):AddItem(c, .5)
  207. if HitSound ~= nil and HitPitch ~= nil then
  208. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  209. end
  210. local Damage = math.random(minim, maxim)
  211. local blocked = false
  212. local block = hit.Parent:findFirstChild("Block")
  213. if block ~= nil then
  214. if block.className == "IntValue" then
  215. if block.Value > 0 then
  216. blocked = true
  217. block.Value = block.Value - 1
  218. print(block.Value)
  219. end
  220. end
  221. end
  222. if blocked == false then
  223. h.Health = h.Health - Damage
  224. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  225. else
  226. h.Health = h.Health - (Damage / 2)
  227. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  228. end
  229. if Type == "Knockdown" then
  230. local hum = hit.Parent.Humanoid
  231. hum.PlatformStand = true
  232. coroutine.resume(coroutine.create(function(HHumanoid)
  233. swait(1)
  234. HHumanoid.PlatformStand = false
  235. end), hum)
  236. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  237. local bodvol = Create("BodyVelocity"){
  238. velocity = angle * knockback,
  239. P = 5000,
  240. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  241. Parent = hit,
  242. }
  243. local rl = Create("BodyAngularVelocity"){
  244. P = 3000,
  245. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  246. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  247. Parent = hit,
  248. }
  249. game:GetService("Debris"):AddItem(bodvol, .5)
  250. game:GetService("Debris"):AddItem(rl, .5)
  251. elseif Type == "Normal" then
  252. local vp = Create("BodyVelocity"){
  253. P = 500,
  254. maxForce = Vector3.new(math.huge, 0, math.huge),
  255. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  256. }
  257. if knockback > 0 then
  258. vp.Parent = hit.Parent.Torso
  259. end
  260. game:GetService("Debris"):AddItem(vp, .5)
  261. elseif Type == "Up" then
  262. local bodyVelocity = Create("BodyVelocity"){
  263. velocity = Vector3.new(0, 20, 0),
  264. P = 5000,
  265. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  266. Parent = hit,
  267. }
  268. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  269. elseif Type == "DarkUp" then
  270. coroutine.resume(coroutine.create(function()
  271. for i = 0, 1, 0.1 do
  272. swait()
  273. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  274. end
  275. end))
  276. local bodyVelocity = Create("BodyVelocity"){
  277. velocity = Vector3.new(0, 20, 0),
  278. P = 5000,
  279. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  280. Parent = hit,
  281. }
  282. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  283. elseif Type == "Snare" then
  284. local bp = Create("BodyPosition"){
  285. P = 2000,
  286. D = 100,
  287. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  288. position = hit.Parent.Torso.Position,
  289. Parent = hit.Parent.Torso,
  290. }
  291. game:GetService("Debris"):AddItem(bp, 1)
  292. elseif Type == "Freeze" then
  293. local BodPos = Create("BodyPosition"){
  294. P = 50000,
  295. D = 1000,
  296. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  297. position = hit.Parent.Torso.Position,
  298. Parent = hit.Parent.Torso,
  299. }
  300. local BodGy = Create("BodyGyro") {
  301. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  302. P = 20e+003,
  303. Parent = hit.Parent.Torso,
  304. cframe = hit.Parent.Torso.CFrame,
  305. }
  306. hit.Parent.Torso.Anchored = true
  307. coroutine.resume(coroutine.create(function(Part)
  308. swait(1.5)
  309. Part.Anchored = false
  310. end), hit.Parent.Torso)
  311. game:GetService("Debris"):AddItem(BodPos, 3)
  312. game:GetService("Debris"):AddItem(BodGy, 3)
  313. end
  314. local debounce = Create("BoolValue"){
  315. Name = "DebounceHit",
  316. Parent = hit.Parent,
  317. Value = true,
  318. }
  319. game:GetService("Debris"):AddItem(debounce, Delay)
  320. c = Create("ObjectValue"){
  321. Name = "creator",
  322. Value = Player,
  323. Parent = h,
  324. }
  325. game:GetService("Debris"):AddItem(c, .5)
  326. end
  327. end
  328.  
  329. function ShowDamage(Pos, Text, Time, Color)
  330. local Rate = (1 / 30)
  331. local Pos = (Pos or Vector3.new(0, 0, 0))
  332. local Text = (Text or "")
  333. local Time = (Time or 2)
  334. local Color = (Color or Color3.new(1, 0, 1))
  335. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  336. EffectPart.Anchored = true
  337. local BillboardGui = Create("BillboardGui"){
  338. Size = UDim2.new(3, 0, 3, 0),
  339. Adornee = EffectPart,
  340. Parent = EffectPart,
  341. }
  342. local TextLabel = Create("TextLabel"){
  343. BackgroundTransparency = 1,
  344. Size = UDim2.new(1, 0, 1, 0),
  345. Text = Text,
  346. Font = "Highway",
  347. TextColor3 = Color,
  348. TextScaled = true,
  349. Parent = BillboardGui,
  350. }
  351. game.Debris:AddItem(EffectPart, (Time))
  352. EffectPart.Parent = game:GetService("Workspace")
  353. delay(0, function()
  354. local Frames = (Time / Rate)
  355. for Frame = 1, Frames do
  356. wait(Rate)
  357. local Percent = (Frame / Frames)
  358. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  359. TextLabel.TextTransparency = Percent
  360. end
  361. if EffectPart and EffectPart.Parent then
  362. EffectPart:Destroy()
  363. end
  364. end)
  365. end
  366. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  367. for _, c in pairs(workspace:children()) do
  368. local hum = c:findFirstChild("Humanoid")
  369. if hum ~= nil then
  370. local head = c:findFirstChild("Torso") or c:findFirstChild("UpperTorso") or c:FindFirstChild('LowerTorso')
  371. if head ~= nil then
  372. local targ = head.Position - Part.Position
  373. local mag = targ.magnitude
  374. if mag <= Magnitude and c.Name ~= plr.Name then
  375. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, root, .1, "rbxassetid://" .. HitSound, HitPitch)
  376. end
  377. end
  378. end
  379. end
  380. end
  381. CFuncs = {
  382. Part = {
  383. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  384. local Part = Create("Part")({
  385. Parent = Parent,
  386. Reflectance = Reflectance,
  387. Transparency = Transparency,
  388. CanCollide = false,
  389. Locked = true,
  390. BrickColor = BrickColor.new(tostring(BColor)),
  391. Name = Name,
  392. Size = Size,
  393. Material = Material
  394. })
  395. RemoveOutlines(Part)
  396. return Part
  397. end
  398. },
  399. Mesh = {
  400. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  401. local Msh = Create(Mesh)({
  402. Parent = Part,
  403. Offset = OffSet,
  404. Scale = Scale
  405. })
  406. if Mesh == "SpecialMesh" then
  407. Msh.MeshType = MeshType
  408. Msh.MeshId = MeshId
  409. end
  410. return Msh
  411. end
  412. },
  413. Mesh = {
  414. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  415. local Msh = Create(Mesh)({
  416. Parent = Part,
  417. Offset = OffSet,
  418. Scale = Scale
  419. })
  420. if Mesh == "SpecialMesh" then
  421. Msh.MeshType = MeshType
  422. Msh.MeshId = MeshId
  423. end
  424. return Msh
  425. end
  426. },
  427. Weld = {
  428. Create = function(Parent, Part0, Part1, C0, C1)
  429. local Weld = Create("Weld")({
  430. Parent = Parent,
  431. Part0 = Part0,
  432. Part1 = Part1,
  433. C0 = C0,
  434. C1 = C1
  435. })
  436. return Weld
  437. end
  438. },
  439. Sound = {
  440. Create = function(id, par, vol, pit)
  441. coroutine.resume(coroutine.create(function()
  442. local S = Create("Sound")({
  443. Volume = vol,
  444. Pitch = pit or 1,
  445. SoundId = id,
  446. Parent = par or workspace
  447. })
  448. wait()
  449. S:play()
  450. game:GetService("Debris"):AddItem(S, 6)
  451. end))
  452. end
  453. },
  454. ParticleEmitter = {
  455. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  456. local fp = Create("ParticleEmitter")({
  457. Parent = Parent,
  458. Color = ColorSequence.new(Color1, Color2),
  459. LightEmission = LightEmission,
  460. Size = Size,
  461. Texture = Texture,
  462. Transparency = Transparency,
  463. ZOffset = ZOffset,
  464. Acceleration = Accel,
  465. Drag = Drag,
  466. LockedToPart = LockedToPart,
  467. VelocityInheritance = VelocityInheritance,
  468. EmissionDirection = EmissionDirection,
  469. Enabled = Enabled,
  470. Lifetime = LifeTime,
  471. Rate = Rate,
  472. Rotation = Rotation,
  473. RotSpeed = RotSpeed,
  474. Speed = Speed,
  475. VelocitySpread = VelocitySpread
  476. })
  477. return fp
  478. end
  479. }
  480. }
  481. function RemoveOutlines(part)
  482. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  483. end
  484. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  485. local Part = Create("Part")({
  486. formFactor = FormFactor,
  487. Parent = Parent,
  488. Reflectance = Reflectance,
  489. Transparency = Transparency,
  490. CanCollide = false,
  491. Locked = true,
  492. BrickColor = BrickColor.new(tostring(BColor)),
  493. Name = Name,
  494. Size = Size,
  495. Material = Material
  496. })
  497. RemoveOutlines(Part)
  498. return Part
  499. end
  500. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  501. local Msh = Create(Mesh)({
  502. Parent = Part,
  503. Offset = OffSet,
  504. Scale = Scale
  505. })
  506. if Mesh == "SpecialMesh" then
  507. Msh.MeshType = MeshType
  508. Msh.MeshId = MeshId
  509. end
  510. return Msh
  511. end
  512. function CreateWeld(Parent, Part0, Part1, C0, C1)
  513. local Weld = Create("Weld")({
  514. Parent = Parent,
  515. Part0 = Part0,
  516. Part1 = Part1,
  517. C0 = C0,
  518. C1 = C1
  519. })
  520. return Weld
  521. end
  522. EffectModel = Instance.new("Model", char)
  523. Effects = {
  524. Block = {
  525. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  526. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  527. prt.Anchored = true
  528. prt.CFrame = cframe
  529. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  530. game:GetService("Debris"):AddItem(prt, 10)
  531. if Type == 1 or Type == nil then
  532. table.insert(Effects, {
  533. prt,
  534. "Block1",
  535. delay,
  536. x3,
  537. y3,
  538. z3,
  539. msh
  540. })
  541. elseif Type == 2 then
  542. table.insert(Effects, {
  543. prt,
  544. "Block2",
  545. delay,
  546. x3,
  547. y3,
  548. z3,
  549. msh
  550. })
  551. else
  552. table.insert(Effects, {
  553. prt,
  554. "Block3",
  555. delay,
  556. x3,
  557. y3,
  558. z3,
  559. msh
  560. })
  561. end
  562. end
  563. },
  564. Sphere = {
  565. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  566. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  567. prt.Anchored = true
  568. prt.CFrame = cframe
  569. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  570. game:GetService("Debris"):AddItem(prt, 10)
  571. table.insert(Effects, {
  572. prt,
  573. "Cylinder",
  574. delay,
  575. x3,
  576. y3,
  577. z3,
  578. msh
  579. })
  580. end
  581. },
  582. Cylinder = {
  583. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  584. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  585. prt.Anchored = true
  586. prt.CFrame = cframe
  587. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  588. game:GetService("Debris"):AddItem(prt, 10)
  589. table.insert(Effects, {
  590. prt,
  591. "Cylinder",
  592. delay,
  593. x3,
  594. y3,
  595. z3,
  596. msh
  597. })
  598. end
  599. },
  600. Wave = {
  601. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  602. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  603. prt.Anchored = true
  604. prt.CFrame = cframe
  605. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  606. game:GetService("Debris"):AddItem(prt, 10)
  607. table.insert(Effects, {
  608. prt,
  609. "Cylinder",
  610. delay,
  611. x3 / 60,
  612. y3 / 60,
  613. z3 / 60,
  614. msh
  615. })
  616. end
  617. },
  618. Ring = {
  619. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  620. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  621. prt.Anchored = true
  622. prt.CFrame = cframe
  623. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  624. game:GetService("Debris"):AddItem(prt, 10)
  625. table.insert(Effects, {
  626. prt,
  627. "Cylinder",
  628. delay,
  629. x3,
  630. y3,
  631. z3,
  632. msh
  633. })
  634. end
  635. },
  636. Break = {
  637. Create = function(brickcolor, cframe, x1, y1, z1)
  638. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  639. prt.Anchored = true
  640. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  641. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  642. local num = math.random(10, 50) / 1000
  643. game:GetService("Debris"):AddItem(prt, 10)
  644. table.insert(Effects, {
  645. prt,
  646. "Shatter",
  647. num,
  648. prt.CFrame,
  649. math.random() - math.random(),
  650. 0,
  651. math.random(50, 100) / 100
  652. })
  653. end
  654. }
  655. }
  656. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  657. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  658. prt.Anchored = true
  659. prt.CFrame = cframe
  660. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  661. game:GetService("Debris"):AddItem(prt, 10)
  662. if Type == 1 or Type == nil then
  663. table.insert(Effects, {
  664. prt,
  665. "Block1",
  666. delay,
  667. x3,
  668. y3,
  669. z3,
  670. msh
  671. })
  672. elseif Type == 2 then
  673. table.insert(Effects, {
  674. prt,
  675. "Block2",
  676. delay,
  677. x3,
  678. y3,
  679. z3,
  680. msh
  681. })
  682. elseif Type == 3 then
  683. table.insert(Effects, {
  684. prt,
  685. "Block3",
  686. delay,
  687. x3,
  688. y3,
  689. z3,
  690. msh
  691. })
  692. end
  693. end
  694. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  695. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  696. prt.Anchored = true
  697. prt.CFrame = cframe
  698. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  699. game:GetService("Debris"):AddItem(prt, 10)
  700. table.insert(Effects, {
  701. prt,
  702. "Cylinder",
  703. delay,
  704. x3,
  705. y3,
  706. z3,
  707. msh
  708. })
  709. end
  710. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  711. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  712. prt.Anchored = true
  713. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  714. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  715. game:GetService("Debris"):AddItem(prt, 10)
  716. table.insert(Effects, {
  717. prt,
  718. "Cylinder",
  719. delay,
  720. x3,
  721. y3,
  722. z3,
  723. msh
  724. })
  725. end
  726. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  727. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  728. prt.Anchored = true
  729. prt.CFrame = cframe
  730. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  731. game:GetService("Debris"):AddItem(prt, 10)
  732. table.insert(Effects, {
  733. prt,
  734. "Cylinder",
  735. delay,
  736. x3,
  737. y3,
  738. z3,
  739. msh
  740. })
  741. end
  742. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  743. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  744. prt.Anchored = true
  745. prt.CFrame = cframe
  746. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  747. game:GetService("Debris"):AddItem(prt, 10)
  748. table.insert(Effects, {
  749. prt,
  750. "Cylinder",
  751. delay,
  752. x3,
  753. y3,
  754. z3,
  755. msh
  756. })
  757. end
  758. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  759. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  760. prt.Anchored = true
  761. prt.CFrame = cframe
  762. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  763. game:GetService("Debris"):AddItem(prt, 10)
  764. table.insert(Effects, {
  765. prt,
  766. "Cylinder",
  767. delay,
  768. x3,
  769. y3,
  770. z3,
  771. msh
  772. })
  773. end
  774. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  775. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  776. prt.Anchored = true
  777. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  778. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  779. local num = math.random(10, 50) / 1000
  780. game:GetService("Debris"):AddItem(prt, 10)
  781. table.insert(Effects, {
  782. prt,
  783. "Shatter",
  784. num,
  785. prt.CFrame,
  786. math.random() - math.random(),
  787. 0,
  788. math.random(50, 100) / 100
  789. })
  790. end
  791. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  792. local fp=Instance.new("Part")
  793. fp.formFactor=formfactor
  794. fp.Parent=parent
  795. fp.Reflectance=reflectance
  796. fp.Transparency=transparency
  797. fp.CanCollide=false
  798. fp.Locked=true
  799. fp.BrickColor=brickcolor
  800. fp.Name=name
  801. fp.Size=size
  802. fp.Position=tors.Position
  803. RemoveOutlines(fp)
  804. fp.Material="SmoothPlastic"
  805. fp:BreakJoints()
  806. return fp
  807. end
  808.  
  809. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  810. local mesh=Instance.new(Mesh)
  811. mesh.Parent=part
  812. if Mesh=="SpecialMesh" then
  813. mesh.MeshType=meshtype
  814. if meshid~="nil" then
  815. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  816. end
  817. end
  818. mesh.Offset=offset
  819. mesh.Scale=scale
  820. return mesh
  821. end
  822. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  823. local prt=part(3,char,0,0,brickcolor,"Effect",Vector3.new(0.5,0.5,0.5))
  824. prt.Anchored=true
  825. prt.Material = "Neon"
  826. prt.CFrame=cframe
  827. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  828. msh=mesh("BlockMesh",prt,"","",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
  829. game:GetService("Debris"):AddItem(prt,5)
  830. coroutine.resume(coroutine.create(function(Part,Mesh)
  831. for i=0,1,delay do
  832. swait()
  833. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  834. Part.Transparency=i
  835. Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3)
  836. end
  837. Part.Parent=nil
  838. end),prt,msh)
  839. end
  840. function MagicShockTrailAlt2(origcolor2,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  841. local prt=part(3,char,0,0,origcolor2,"Effect",Vector3.new(0.5,0.5,0.5))
  842. prt.Anchored=true
  843. prt.Material = "Neon"
  844. prt.CFrame=cframe
  845. msh=mesh("BlockMesh",prt,"","",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
  846. game:GetService("Debris"):AddItem(prt,5)
  847. coroutine.resume(coroutine.create(function(Part,Mesh)
  848. local rtype = rottype
  849. for i=0,1,delay do
  850. swait()
  851. if rtype == 1 then
  852. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  853. elseif rtype == 2 then
  854. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  855. end
  856. prt.Transparency=i
  857. Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3)
  858. end
  859. Part.Parent=nil
  860. end),prt,msh)
  861. end
  862.  
  863. char.Head.face.Texture = "http://www.roblox.com/asset/?id=261450948"
  864. char.Shirt:Remove()
  865. for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  866. wait()shirt = Instance.new("Shirt", char)
  867. shirt.Name = "Shirt"
  868. pants = Instance.new("Pants", char)
  869. pants.Name = "Pants"
  870. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=10117447"
  871. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=10123311"
  872. char.Humanoid.MaxHealth = 2000
  873. char.Humanoid.Health = 2000
  874. char.Humanoid.WalkSpeed = 8
  875. local Hat = Instance.new("Part", char)
  876. Hat.Name = "Hat"
  877. Hat.CanCollide = false
  878. Hat.BrickColor = BrickColor.new("Black")
  879. Hat.Transparency = 0
  880. Hat.Material = "Plastic"
  881. Hat.Size = Vector3.new(-10, -10, -10)
  882. Hat.TopSurface = Enum.SurfaceType.Smooth
  883. Hat.BottomSurface = Enum.SurfaceType.Smooth
  884.  
  885. local Weld = Instance.new("Weld", Hat)
  886. Weld.Part0 = char.Head
  887. Weld.Part1 = Hat
  888. Weld.C1 = CFrame.new(0, -0.4, 0)
  889.  
  890. local M2 = Instance.new("SpecialMesh")
  891. M2.Parent = Hat
  892. M2.MeshId = "http://www.roblox.com/asset/?id=1079902"
  893. M2.TextureId = "rbxassetid://1079903"
  894. M2.Scale = Vector3.new(1, 1, 1)
  895.  
  896. local moosick = Instance.new("Sound",tors)
  897. moosick.SoundId = "rbxassetid://1036392613"
  898. moosick.Volume = 5
  899. moosick.Looped = true
  900. moosick:Play()
  901. local moosick2 = Instance.new("Sound",tors)
  902. moosick2.SoundId = "rbxassetid://247896174"
  903. moosick2.Volume = 1.5
  904. moosick2.Looped = true
  905. ff = Instance.new("ForceField",char)
  906. ff.Visible = false
  907. hum.Name = "Base"
  908. hum.MaxHealth = 1.0E298
  909. hum.Health = 1.0E298
  910. game:GetService("RunService"):BindToRenderStep("ew", 0, function()
  911. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  912. hum.MaxHealth = 1.0E298
  913. hum.Health = 1.0E298
  914. end
  915. end)
  916. local laugh = Instance.new("Sound",tors)
  917. laugh.SoundId = "rbxassetid://138085838"
  918. laugh.Volume = 5
  919. local taunt = Instance.new("Sound",tors)
  920. taunt.SoundId = "rbxassetid://907332525"
  921. taunt.Volume = 5
  922. vt = Vector3.new
  923. bc = BrickColor.new
  924.  
  925.  
  926. function ExplodeFast(rad,par)
  927. local expart = Instance.new("Part",script.Parent)
  928. local expart2 = Instance.new("Part",script.Parent)
  929. local partMesh = Instance.new("SpecialMesh",expart)
  930. partMesh.MeshType = "Sphere"
  931. local partMesh2 = Instance.new("SpecialMesh",expart2)
  932. partMesh2.MeshType = "Sphere"
  933. local expld = Instance.new("Explosion", script.Parent)
  934. expld.Visible = false
  935. local plode = Instance.new("Sound",expart)
  936. plode.SoundId = "rbxassetid://153274423"
  937. plode.Volume = 2.5
  938. plode.Pitch = 1
  939. plode.Looped = false
  940. plode:Play()
  941. local ploder = Instance.new("Sound",expart)
  942. ploder.SoundId = "rbxassetid://130972023"
  943. ploder.Volume = 2.5
  944. ploder.Pitch = 1
  945. ploder.Looped = false
  946. ploder:Play()
  947. expld.BlastRadius = rad
  948. expld.Position = par.Position
  949. partMesh.Scale = vt(rad,rad,rad)
  950. expart.Size = vt(1,1,1)*1.5
  951. expart.Transparency = 0
  952. expart.Anchored = true
  953. expart.Material = "Neon"
  954. expart.BrickColor = bc("Really black")
  955. expart.CFrame = par.CFrame
  956. partMesh2.Scale = vt(rad,rad,rad)
  957. expart2.Size = vt(1.15,1.15,1.15)*1.5
  958. expart2.Transparency = 0.5
  959. expart2.Anchored = true
  960. expart2.Material = "Neon"
  961. expart2.BrickColor = bc("Really black")
  962. expart2.CFrame = par.CFrame
  963. local value = 1*rad/6.5
  964. par:Destroy()
  965. for i = 0, 100 do
  966. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  967. expart.CFrame = expart.CFrame
  968. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  969. expart2.CFrame = expart.CFrame
  970. value = value - 0.035*rad/6.5
  971. if value < 1 then
  972. value = 0.25
  973. expart.Transparency = expart.Transparency + 0.025
  974. expart2.Transparency = expart2.Transparency + 0.025
  975. end
  976. wait()
  977. end
  978. plode.Parent = nil
  979. ploder.Parent = nil
  980. expart.Parent = nil
  981. expart2.Parent = nil
  982. expld.Parent = nil
  983. end
  984.  
  985. function Explode(rad,par)
  986. local expart = Instance.new("Part",script.Parent)
  987. local expart2 = Instance.new("Part",script.Parent)
  988. local partMesh = Instance.new("SpecialMesh",expart)
  989. partMesh.MeshType = "Sphere"
  990. local partMesh2 = Instance.new("SpecialMesh",expart2)
  991. partMesh2.MeshType = "Sphere"
  992. local expld = Instance.new("Explosion", script.Parent)
  993. expld.Visible = false
  994. local plode = Instance.new("Sound",expart)
  995. plode.SoundId = "rbxassetid://288641686"
  996. plode.Volume = 2.5
  997. plode.Pitch = 0.75
  998. plode.Looped = false
  999. plode:Play()
  1000. local ploder = Instance.new("Sound",expart)
  1001. ploder.SoundId = "rbxassetid://206049428"
  1002. ploder.Volume = 3.25
  1003. ploder.Pitch = 0.5
  1004. ploder.Looped = false
  1005. ploder:Play()
  1006. expld.BlastRadius = rad
  1007. expld.Position = par.Position
  1008. partMesh.Scale = vt(rad,rad,rad)
  1009. expart.Size = vt(1,1,1)*1.5
  1010. expart.Transparency = 0
  1011. expart.Anchored = true
  1012. expart.Material = "Neon"
  1013. expart.BrickColor = bc("Really black")
  1014. expart.CFrame = par.CFrame
  1015. partMesh2.Scale = vt(rad,rad,rad)
  1016. expart2.Size = vt(1.15,1.15,1.15)*1.5
  1017. expart2.Transparency = 0.5
  1018. expart2.Anchored = true
  1019. expart2.Material = "Neon"
  1020. expart2.BrickColor = bc("Bright violet")
  1021. expart2.CFrame = par.CFrame
  1022. local value = 1*rad/6.5
  1023. par:Destroy()
  1024. for i = 0, 100 do
  1025. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1026. expart.CFrame = expart.CFrame
  1027. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  1028. expart2.CFrame = expart.CFrame
  1029. value = value - 0.035*rad/6.5
  1030. if value < 1 then
  1031. value = 0.25
  1032. expart.Transparency = expart.Transparency + 0.025
  1033. expart2.Transparency = expart2.Transparency + 0.025
  1034. end
  1035. wait()
  1036. end
  1037. plode.Parent = nil
  1038. ploder.Parent = nil
  1039. expart.Parent = nil
  1040. expart2.Parent = nil
  1041. expld.Parent = nil
  1042. end
  1043.  
  1044. function ExplodeMass(rad,par)
  1045. local expart = Instance.new("Part",script.Parent)
  1046. local expart2 = Instance.new("Part",script.Parent)
  1047. local partMesh = Instance.new("SpecialMesh",expart)
  1048. partMesh.MeshType = "Sphere"
  1049. local partMesh2 = Instance.new("SpecialMesh",expart2)
  1050. partMesh2.MeshType = "Sphere"
  1051. local expld = Instance.new("Explosion", script.Parent)
  1052. expld.Visible = false
  1053. local plode = Instance.new("Sound",workspace)
  1054. plode.SoundId = "rbxassetid://579687077"
  1055. plode.Volume = 1
  1056. plode.Pitch = 0.75
  1057. plode.Looped = false
  1058. plode:Play()
  1059. local plodez = Instance.new("Sound",workspace)
  1060. plodez.SoundId = "rbxassetid://288641686"
  1061. plodez.Volume = 1
  1062. plodez.Pitch = 0.625
  1063. plodez.Looped = false
  1064. plodez:Play()
  1065. local plodeza = Instance.new("Sound",workspace)
  1066. plodeza.SoundId = "rbxassetid://197161452"
  1067. plodeza.Volume = 0.85
  1068. plodeza.Pitch = 0.5
  1069. plodeza.Looped = false
  1070. plodeza:Play()
  1071. local plodezar = Instance.new("Sound",workspace)
  1072. plodezar.SoundId = "rbxassetid://197161452"
  1073. plodezar.Volume = 0.85
  1074. plodezar.Pitch = 0.2
  1075. plodezar.Looped = false
  1076. plodezar:Play()
  1077. local s3 = Instance.new("Sound",workspace)
  1078. s3.SoundId = "rbxassetid://268931189"
  1079. s3.Pitch = 0.875
  1080. s3.Volume = 1
  1081. s3.Looped = false
  1082. s3:Play()
  1083. expld.BlastRadius = rad
  1084. expld.Position = par.Position
  1085. partMesh.Scale = vt(rad,rad,rad)
  1086. expart.Size = vt(1,1,1)*1.5
  1087. expart.Transparency = 0
  1088. expart.Anchored = true
  1089. expart.Material = "Neon"
  1090. expart.BrickColor = bc("Really black")
  1091. expart.CFrame = par.CFrame
  1092. partMesh2.Scale = vt(rad,rad,rad)
  1093. expart2.Size = vt(1.15,1.15,1.15)*1.5
  1094. expart2.Transparency = 0.5
  1095. expart2.Anchored = true
  1096. expart2.Material = "Neon"
  1097. expart2.BrickColor = bc("Really black")
  1098. expart2.CFrame = par.CFrame
  1099. local value = 1*rad/10
  1100. par:Destroy()
  1101. for i = 0, 300 do
  1102. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1103. expart.CFrame = expart.CFrame
  1104. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  1105. expart2.CFrame = expart.CFrame
  1106. value = value - 0.0175*rad/10
  1107. if value <= 0 then
  1108. expart.Transparency = expart.Transparency + 0.0125
  1109. expart2.Transparency = expart2.Transparency + 0.0125
  1110. value = 0.25
  1111. end
  1112. wait()
  1113. end
  1114. plode.Parent = nil
  1115. expart.Parent = nil
  1116. expart2.Parent = nil
  1117. expld.Parent = nil
  1118. end
  1119.  
  1120. function KABOOM()
  1121. for i = 0,2,0.1 do
  1122. swait()
  1123. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(90)),0.15)
  1124. RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5+0.05,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.15)
  1125. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05, 0) * angles(math.rad(115 + 4), math.rad(45), math.rad(50)), 0.1)
  1126. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(25),math.rad(0)),.3)
  1127. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0.025)*angles(math.rad(-2.5),math.rad(90),math.rad(-0))*angles(math.rad(-5.5),math.rad(0),math.rad(0)),0.15)
  1128. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0.025)*angles(math.rad(-2.5),math.rad(-90),math.rad(-0))*angles(math.rad(-5.5),math.rad(0),math.rad(0)),0.15)
  1129. end
  1130. local spart = Instance.new("Part",workspace)
  1131. local msh = Instance.new("SpecialMesh",spart)
  1132. msh.MeshType = "Sphere"
  1133. spart.Size = vt(1,1,1)
  1134. spart.BrickColor = BrickColor.new("Really black")
  1135. spart.Material = "Neon"
  1136. spart.Transparency = 0.65
  1137. spart.Anchored = true
  1138. spart.CanCollide = false
  1139. spart.CFrame = mouse.Hit
  1140. spart.Rotation = vt(0,0,0)
  1141. msh.Scale = vt(15,15,15)*2
  1142. wait(0.35)
  1143. ExplodeFast(15,spart)
  1144. end
  1145.  
  1146. A13=false
  1147. mouse.KeyDown:connect(function(key)
  1148. if key == "r" and A13 == false and attack==false then
  1149. moosick:Stop()
  1150. attack=true
  1151. for i = 0,5,0.1 do
  1152. swait()
  1153. RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5+0.05,0)*angles(math.rad(-145),math.rad(45),math.rad(-50)),0.15)
  1154. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05, 0) * angles(math.rad(115 + 4), math.rad(45), math.rad(50)), 0.1)
  1155. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
  1156. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0.025)*angles(math.rad(-2.5),math.rad(90),math.rad(-0))*angles(math.rad(-5.5),math.rad(0),math.rad(0)),0.15)
  1157. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0.025)*angles(math.rad(-2.5),math.rad(-90),math.rad(-0))*angles(math.rad(-5.5),math.rad(0),math.rad(0)),0.15)
  1158. end
  1159. CSound("1093102664", tors, 1, 1.5)
  1160. for i = 0,5,0.1 do
  1161. swait()
  1162. RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5+0.05,0)*angles(math.rad(-145),math.rad(55),math.rad(-90)),0.15)
  1163. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05, 0) * angles(math.rad(115 + 4), math.rad(55), math.rad(90)), 0.1)
  1164. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(90)),.3)
  1165. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0.025)*angles(math.rad(-2.5),math.rad(90),math.rad(-0))*angles(math.rad(-5.5),math.rad(0),math.rad(0)),0.15)
  1166. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0.025)*angles(math.rad(-2.5),math.rad(-90),math.rad(-0))*angles(math.rad(-5.5),math.rad(0),math.rad(0)),0.15)
  1167. end
  1168. Hat.Transparency = 1
  1169. game:GetService("Lighting").Outlines = false
  1170. game:GetService("Lighting").TimeOfDay = "00:00:00"
  1171. game:GetService("Lighting").FogColor = Color3.new(0, 0, 0)
  1172. game:GetService("Lighting").FogEnd = 160
  1173. local BC = char["Body Colors"]
  1174. BC.HeadColor = BrickColor.new("Black")
  1175. BC.LeftArmColor = BrickColor.new("Black")
  1176. BC.LeftLegColor = BrickColor.new("Black")
  1177. BC.RightArmColor = BrickColor.new("Black")
  1178. BC.RightLegColor = BrickColor.new("Black")
  1179. BC.TorsoColor = BrickColor.new("Black")
  1180. char.Shirt:Remove()
  1181. char.Head.face:Remove()
  1182. for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  1183. wait()shirt = Instance.new("Shirt", char)
  1184. shirt.Name = "Shirt"
  1185. pants = Instance.new("Pants", char)
  1186. pants.Name = "Pants"
  1187. player = game:GetService("Players").LocalPlayer
  1188. c = player.Character
  1189. local color = "Really black"
  1190. local transPoints = {NumberSequenceKeypoint.new(0, 0.819, 0.0375), NumberSequenceKeypoint.new(0.207, 0.594, 0.0187), NumberSequenceKeypoint.new(0.4, 0.55, 0.031), NumberSequenceKeypoint.new(0.57, 0.619, 0.05), NumberSequenceKeypoint.new(0.76, 0.8, 0.0375), NumberSequenceKeypoint.new(1, 1, 0)}
  1191. local sizePoints = {NumberSequenceKeypoint.new(0, 0.505, 0), NumberSequenceKeypoint.new(1, 0, 0)}
  1192. local Size = NumberSequence.new(sizePoints)
  1193. local Transparency = NumberSequence.new(transPoints)
  1194. efxBlock = Instance.new("Part", c)
  1195. efxBlock.CanCollide = false
  1196. efxBlock.BrickColor = BrickColor.new(color)
  1197. efxBlock.Material = "Neon"
  1198. efxBlock.FormFactor = "Custom"
  1199. efxBlock.Transparency = 0.3
  1200. efxBlock.Size = Vector3.new(0.25, 0.25, 0.25)
  1201. local mesh = Instance.new("SpecialMesh", efxBlock)
  1202. mesh.MeshType = Enum.MeshType.Sphere
  1203. mesh.Scale = Vector3.new(1, 1, 1)
  1204. local particles = Instance.new("ParticleEmitter", efxBlock)
  1205. particles.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1206. particles.LightEmission = 0.9
  1207. particles.Size = Size
  1208. particles.Name = "Fire"
  1209. particles.Transparency = Transparency
  1210. particles.LockedToPart = false
  1211. particles.VelocityInheritance = 0.5
  1212. particles.LockedToPart = false
  1213. particles.Rate = 70
  1214. particles.Texture = "rbxassetid://56561915"
  1215. particles.Lifetime = NumberRange.new(2, 2)
  1216. particles.RotSpeed = NumberRange.new(100, 100)
  1217. particles.Speed = NumberRange.new(1, 1)
  1218. local offset = Vector3.new(-0.11, 0.23, -0.5)
  1219. local weld = Instance.new("Weld", c.Head)
  1220. weld.Part0 = c.Head
  1221. weld.Part1 = efxBlock
  1222. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40), math.rad(50), math.rad(40))
  1223. efxBlock.Parent = c
  1224. efxBlock2 = Instance.new("Part", c)
  1225. efxBlock2.CanCollide = false
  1226. efxBlock2.BrickColor = BrickColor.new(color)
  1227. efxBlock2.Material = "Neon"
  1228. efxBlock2.FormFactor = "Custom"
  1229. efxBlock2.Transparency = 0.3
  1230. efxBlock2.Size = Vector3.new(0.25, 0.25, 0.25)
  1231. local mesh2 = Instance.new("SpecialMesh", efxBlock2)
  1232. mesh2.MeshType = Enum.MeshType.Sphere
  1233. mesh2.Scale = Vector3.new(1, 1, 1)
  1234. local particles2 = Instance.new("ParticleEmitter", efxBlock2)
  1235. particles2.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1236. particles2.LightEmission = 0.9
  1237. particles2.Size = Size
  1238. particles2.Name = "Fire"
  1239. particles2.Transparency = Transparency
  1240. particles2.LockedToPart = false
  1241. particles2.VelocityInheritance = 0.5
  1242. particles2.LockedToPart = false
  1243. particles2.Rate = 70
  1244. particles2.Texture = "rbxassetid://56561915"
  1245. particles2.Lifetime = NumberRange.new(2, 2)
  1246. particles2.RotSpeed = NumberRange.new(100, 100)
  1247. particles2.Speed = NumberRange.new(1, 1)
  1248. local offset = Vector3.new(0.11, 0.23, -0.5)
  1249. local weld2 = Instance.new("Weld", c.Head)
  1250. weld2.Part0 = c.Head
  1251. weld2.Part1 = efxBlock2
  1252. weld2.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(40), math.rad(50), math.rad(-40))
  1253. efxBlock2.Parent = c
  1254.  
  1255. local HBill = Instance.new("BillboardGui",hed)
  1256. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  1257. local HName = Instance.new("TextLabel")
  1258. HBill.Size = UDim2.new(15,0,2.2,0)
  1259. HBill.Name = "Health Display"
  1260. HBill.StudsOffset = Vector3.new(3.675,2,0)
  1261. HBill.AlwaysOnTop = true
  1262. HBill.Enabled = true
  1263. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  1264. HMain.BackgroundTransparency = 1
  1265. HMain.Size = UDim2.new(.5,0,.5,0)
  1266. HName.Parent = HMain
  1267. HName.BackgroundTransparency = 1
  1268. HName.BackgroundColor3 = Color3.new(255,255,255)
  1269. HName.BorderColor3 = Color3.new(0,0,0)
  1270. HName.BorderSizePixel = 2
  1271. HName.Size = UDim2.new(1,0,.75,0)
  1272. HName.Font = "Highway"
  1273. HName.Text = "13"
  1274. HName.TextScaled = true
  1275. HName.TextColor3 = Color3.new(255,255,255)
  1276. HName.TextStrokeColor3 = Color3.new(0,0,0)
  1277. HName.TextStrokeTransparency = 0
  1278. HName.TextYAlignment = "Bottom"
  1279.  
  1280.  
  1281.  
  1282.  
  1283. moosick2:Play()
  1284. A13=true
  1285. attack=false
  1286. end
  1287. if key == "t" and A13==true and attack==false then
  1288. taunt:Play()
  1289. end
  1290. if key == "e" and A13==true and attack==false then
  1291. laugh:Play()
  1292. end
  1293. if key == "c" and A13==true and attack==false then
  1294. KABOOM()
  1295. end
  1296. end)
  1297.  
  1298.  
  1299.  
  1300. function attackone()
  1301. attack=true
  1302. for i = 0,1.5,0.1 do
  1303. swait()
  1304. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1305. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(-75)),0.15)
  1306. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.3) * angles(math.rad(20), math.rad(-30), math.rad(-25)),.2)
  1307. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, .3) * angles(math.rad(20), math.rad(-30), math.rad(30)),.2)
  1308. end
  1309. local con = ra.Touched:connect(function(hit)
  1310. Damage(ra, hit, 15, 25, math.random(1, 5), "Normal", root, .2, "rbxassetid://146163522", 1)
  1311. end)
  1312.  
  1313. for i = 0,2,0.1 do
  1314. swait()
  1315. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(75)),0.15)
  1316. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.3) * angles(math.rad(35), math.rad(-90), math.rad(-90)),.2)
  1317. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.3) * angles(math.rad(20), math.rad(-55), math.rad(-0)),.2)
  1318.  
  1319. end
  1320. con:Disconnect()
  1321. attack=false
  1322. end
  1323.  
  1324.  
  1325. function attacktwo()
  1326. attack=true
  1327. for i = 0,1.5,0.1 do
  1328. swait()
  1329. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1330. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-55)),0.15)
  1331. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(0),math.rad(0),math.rad(55)),.3)
  1332. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(-0), math.rad(-55)),.2)
  1333. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0)*angles(math.rad(-9.5),math.rad(90),math.rad(-0))*angles(math.rad(-5.5),math.rad(0),math.rad(0)),0.15)
  1334. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0)*angles(math.rad(-8.5),math.rad(-90),math.rad(-0))*angles(math.rad(-7.5),math.rad(0),math.rad(0)),0.15)
  1335. end
  1336. local con = ra.Touched:connect(function(hit)
  1337. Damage(ra, hit, 25, 34, math.random(1, 5), "Normal", root, .2, "rbxassetid://146163522", 1)
  1338. end)
  1339.  
  1340. for i = 0,2,0.1 do
  1341. swait()
  1342. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-75)),.3)
  1343. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.15)
  1344. RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1345.  
  1346. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(55), math.rad(-0), math.rad(-25)),.2)
  1347. end
  1348. attack=false
  1349. con:Disconnect()
  1350. end
  1351.  
  1352. function attackthree()
  1353. attack = true
  1354. for i = 0,1.5,0.1 do
  1355. swait()
  1356. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1357. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(75)),0.15)
  1358. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.3) * angles(math.rad(20), math.rad(-30), math.rad(-25)),.2)
  1359. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0)*angles(math.rad(-5.5),math.rad(90),math.rad(-0))*angles(math.rad(-6.5),math.rad(0),math.rad(0)),0.15)
  1360. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0)*angles(math.rad(-5.5),math.rad(-90),math.rad(-0))*angles(math.rad(-9.5),math.rad(0),math.rad(0)),0.15)
  1361. end
  1362. local con = la.Touched:connect(function(hit)
  1363. Damage(la, hit, 15, 25, math.random(1, 5), "Normal", root, .2, "rbxassetid://146163522", 1)
  1364. end)
  1365.  
  1366. for i = 0,2,0.1 do
  1367. swait()
  1368. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(-75)),0.15)
  1369. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)),.2)
  1370. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.3) * angles(math.rad(20), math.rad(-90), math.rad(-90)),.2)
  1371.  
  1372. end
  1373.  
  1374. con:disconnect()
  1375. attack = false
  1376. end
  1377.  
  1378. function attackfour()
  1379. attack=true
  1380. local con = rl.Touched:connect(function(hit)
  1381. Damage(rl, hit, 15, 25, math.random(1, 5), "Knockdown", root, .2, "rbxassetid://146163522", 1)
  1382. end)
  1383.  
  1384. for i = 0,2,0.1 do
  1385. swait()
  1386. rootj.C0=clerp(rootj.C0,RootCF*cf(0,-4,0.1+0.1)*angles(math.rad(-55),math.rad(0),math.rad(0)),0.15)
  1387. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(0)),.2)
  1388. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.3) * angles(math.rad(-90), math.rad(-0), math.rad(-0)),.2)
  1389. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0)*angles(math.rad(-5.5),math.rad(90),math.rad(0))*angles(math.rad(-0),math.rad(0),math.rad(10)),0.15)
  1390. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0)*angles(math.rad(-5.5),math.rad(-90),math.rad(-0))*angles(math.rad(9.5),math.rad(0),math.rad(50)),0.15)
  1391. end
  1392. con:Disconnect()
  1393. attack=false
  1394. end
  1395.  
  1396. attacktype=1
  1397. mouse.Button1Down:connect(function()
  1398. if attack==false and A13==true then
  1399. if attacktype==1 then
  1400. attack=true
  1401. attacktype=2
  1402. attackone()
  1403. elseif attacktype==2 then
  1404. attack=true
  1405. attacktype=3
  1406. attacktwo()
  1407. elseif attacktype==3 then
  1408. attack=true
  1409. attacktype=4
  1410. attackthree()
  1411. elseif attacktype==4 then
  1412. attack=true
  1413. attacktype=1
  1414. attackfour()
  1415. end
  1416. end
  1417. end)
  1418.  
  1419.  
  1420.  
  1421.  
  1422. function CSound(Id, Parent, Vol, Pitch)
  1423. coroutine.resume(coroutine.create(function()
  1424. local Sound = Instance.new("Sound", Parent)
  1425. Sound.Volume = Vol
  1426. Sound.Pitch = Pitch
  1427. Sound.SoundId = "http://www.roblox.com/asset/?id="..Id
  1428. swait()
  1429. Sound:play()
  1430. game:GetService("Debris"):AddItem(CSound, 10)
  1431. end))
  1432. end
  1433.  
  1434.  
  1435. local idle=0
  1436. local sine = 0
  1437. local change = 1
  1438. local val = 0
  1439. toim = 0
  1440. hum.Animator.Parent = nil
  1441. idleanim=.4
  1442. while true do
  1443. swait()
  1444. sine = sine + change
  1445. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1446. local velderp=root.Velocity.y
  1447. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1448. if equipped==true or equipped==false then
  1449. if attack==false then
  1450. idle=idle+1
  1451. else
  1452. idle=0
  1453. end
  1454. if root.Velocity.y > 1 and hitfloor==nil then
  1455. Anim="Jump"
  1456. if attack==false then
  1457. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1458. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1459. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1460. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1461. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1462. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1463. end
  1464. elseif root.Velocity.y < -1 and hitfloor==nil then
  1465. Anim="Fall"
  1466. if attack==false then
  1467. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1468. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1469. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1470. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(40),math.rad(0),math.rad(0)),.3)
  1471. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1472. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-0), math.rad(0), math.rad(-90)), 0.3)
  1473. end
  1474. elseif torvel<1 and hitfloor~=nil then
  1475. Anim="Idle"
  1476. change = .5
  1477. if attack==false and A13 ==false then
  1478. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1479. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(5.5*math.sin(sine/20)),math.rad(0),math.rad(0)),.3)
  1480. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*angles(math.rad(-2.5),math.rad(90),math.rad(-10))*angles(math.rad(-8.5),math.rad(0),math.rad(0)),0.15)
  1481. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*angles(math.rad(-2.5),math.rad(-90),math.rad(-10))*angles(math.rad(-7.5),math.rad(0),math.rad(0)),0.15)
  1482. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(0 - 1 * math.cos(sine / 25)), math.rad(-7), math.rad(10)), 0.1)
  1483. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(0 - 1 * math.cos(sine / 25)), math.rad(-7), math.rad(-10)), 0.1)
  1484. elseif attack==false and A13==true then
  1485. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1486. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(5.5*math.sin(sine/20)),math.rad(25),math.rad(0)),.3)
  1487. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*angles(math.rad(-2.5),math.rad(90),math.rad(-0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1488. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*angles(math.rad(-2.5),math.rad(-90),math.rad(-0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1489. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(0 - 1 * math.cos(sine / 25)), math.rad(-7), math.rad(5)), 0.1)
  1490. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(0 - 1 * math.cos(sine / 25)), math.rad(-7), math.rad(-5)), 0.1)
  1491. end
  1492. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1493. Anim="Walk"
  1494. change = .6
  1495. if attack==false and A13 ==false then
  1496. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(5-2.5*math.cos(sine/3.5)),math.rad(0),math.rad(10*math.cos(sine/7))),0.15)
  1497. tors.Neck.C0 = clerp(tors.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1498. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40) * math.cos(sine / 7), math.rad(0), math.rad(5)), 0.3)
  1499. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40) * math.cos(sine / 7), math.rad(0), math.rad(-5)), 0.3)
  1500. RH.C0=clerp(RH.C0,cf(1,-0.925-0.5*math.cos(sine/7)/2,0.5*math.cos(sine/7)/2)*angles(math.rad(-5-15*math.cos(sine/7))+ -math.sin(sine/7)/1.5,math.rad(90-10*math.cos(sine/7)),math.rad(0)),0.15)
  1501. LH.C0=clerp(LH.C0,cf(-1,-0.925+0.5*math.cos(sine/7)/2,-0.5*math.cos(sine/7)/2)*angles(math.rad(-5+15*math.cos(sine/7))+ math.sin(sine/7)/1.5,math.rad(-90-10*math.cos(sine/7)),math.rad(0)),0.15)
  1502. elseif attack==false and A13==true then
  1503. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(5-2.5*math.cos(sine/3.5)),math.rad(0),math.rad(10*math.cos(sine/7))),0.15)
  1504. tors.Neck.C0 = clerp(tors.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-5.5*math.sin(sine/20)), math.rad(25), math.rad(0)), 0.3)
  1505. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40) * math.cos(sine / 7), math.rad(0), math.rad(5)), 0.3)
  1506. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05, 0) * angles(math.rad(115 + 4), math.rad(45), math.rad(50)), 0.1)
  1507. RH.C0=clerp(RH.C0,cf(1,-0.925-0.5*math.cos(sine/7)/2,0.5*math.cos(sine/7)/2)*angles(math.rad(-5-15*math.cos(sine/7))+ -math.sin(sine/7)/1.5,math.rad(90-10*math.cos(sine/7)),math.rad(0)),0.15)
  1508. LH.C0=clerp(LH.C0,cf(-1,-0.925+0.5*math.cos(sine/7)/2,-0.5*math.cos(sine/7)/2)*angles(math.rad(-55+15*math.cos(sine/7))+ math.sin(sine/7)/1.5,math.rad(-90-10*math.cos(sine/7)),math.rad(0)),0.15)
  1509. end
  1510. elseif torvel>=22 and hitfloor~=nil then
  1511. Anim="Run"
  1512. change = 2
  1513. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(25),math.rad(0),math.rad(10*math.cos(sine/7))),0.15)
  1514. tors.Neck.C0 = clerp(tors.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1515. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(55), math.rad(-55), math.rad(90)), 0.3)
  1516. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 60),-0.65)*angles(math.rad(40),math.rad(0),math.rad(90 + 2.5)),.3)
  1517. RH.C0=clerp(RH.C0,cf(1,-0.925-0.5*math.cos(sine/7)/2,0.5*math.cos(sine/7)/1)*angles(math.rad(-5-15*math.cos(sine/7))+ -math.sin(sine/7)/1,math.rad(90-10*math.cos(sine/7)),math.rad(0)),0.15)
  1518. LH.C0=clerp(LH.C0,cf(-1,-0.925+0.5*math.cos(sine/7)/2,-0.5*math.cos(sine/7)/1)*angles(math.rad(-5+15*math.cos(sine/7))+ math.sin(sine/7)/1,math.rad(-90-10*math.cos(sine/7)),math.rad(0)),0.15)
  1519.  
  1520. end
  1521. end
  1522. if 0 < #Effects then
  1523. for e = 1, #Effects do
  1524. if Effects[e] ~= nil then
  1525. local Thing = Effects[e]
  1526. if Thing ~= nil then
  1527. local Part = Thing[1]
  1528. local Mode = Thing[2]
  1529. local Delay = Thing[3]
  1530. local IncX = Thing[4]
  1531. local IncY = Thing[5]
  1532. local IncZ = Thing[6]
  1533. if 1 >= Thing[1].Transparency then
  1534. if Thing[2] == "Block1" then
  1535. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1536. local Mesh = Thing[1].Mesh
  1537. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1538. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1539. elseif Thing[2] == "Block2" then
  1540. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1541. local Mesh = Thing[7]
  1542. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1543. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1544. elseif Thing[2] == "Block3" then
  1545. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1546. local Mesh = Thing[7]
  1547. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1548. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1549. elseif Thing[2] == "Cylinder" then
  1550. local Mesh = Thing[1].Mesh
  1551. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1552. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1553. elseif Thing[2] == "Blood" then
  1554. local Mesh = Thing[7]
  1555. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1556. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1557. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1558. elseif Thing[2] == "Elec" then
  1559. local Mesh = Thing[1].Mesh
  1560. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1561. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1562. elseif Thing[2] == "Disappear" then
  1563. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1564. elseif Thing[2] == "Shatter" then
  1565. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1566. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1567. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1568. Thing[6] = Thing[6] + Thing[5]
  1569. end
  1570. else
  1571. Part.Parent = nil
  1572. table.remove(Effects, e)
  1573. end
  1574. end
  1575. end
  1576. end
  1577. end
  1578. end
Advertisement
Add Comment
Please, Sign In to add comment