Advertisement
AstroScripts

cool script by me

Nov 27th, 2019
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 57.96 KB | None | 0 0
  1.  
  2. --hi fat
  3. --why did i make this? because I'm BORED.
  4. --also i took the base for this script from memeusv2 so if it's simular you know why
  5. wait()
  6. Player_Size = 1 --Size of the player.
  7. local Player = game.Players.localPlayer
  8. local Character = Player.Character
  9. local plr = game:service'Players'.LocalPlayer
  10. local Humanoid = Character.Humanoid
  11. local char = plr.Character
  12. local hum = char.Humanoid
  13. local ra = char["Right Arm"]
  14. local la= char["Left Arm"]
  15. local rl= char["Right Leg"]
  16. local ll = char["Left Leg"]
  17. Torso=Character.Torso
  18. RootPart=Character.HumanoidRootPart
  19. RootJoint=RootPart.RootJoint
  20. local hed = char.Head
  21. local root = char.HumanoidRootPart
  22. local rootj = root.RootJoint
  23. local tors = char.Torso
  24. local mouse = plr:GetMouse()
  25. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  26. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  27. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  28. local cam = game.Workspace.CurrentCamera
  29. trazx = Instance.new("ParticleEmitter")
  30. c = game.Players.LocalPlayer.Character
  31. local sine=0
  32.  
  33. -------------------------------------------------------
  34. --Start Good Stuff--
  35. -------------------------------------------------------
  36. CF = CFrame.new
  37. angles = CFrame.Angles
  38. attack = false
  39. timetofly = true
  40. Euler = CFrame.fromEulerAnglesXYZ
  41. Rad = math.rad
  42. IT = Instance.new
  43. BrickC = BrickColor.new
  44. Cos = math.cos
  45. Acos = math.acos
  46. Sin = math.sin
  47. Asin = math.asin
  48. Abs = math.abs
  49. Mrandom = math.random
  50. Floor = math.floor
  51. random = math.random
  52. radian = math.rad
  53. Vec3 = Vector3.new
  54. cFrame = CFrame.new
  55. Euler = CFrame.fromEulerAnglesXYZ
  56. cf = CFrame.new
  57. -------------------------------------------------------
  58. --End Good Stuff--
  59. -------------------------------------------------------
  60. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  61. RSH, LSH = nil, nil
  62. RW = Instance.new("Weld")
  63. LW = Instance.new("Weld")
  64. RH = tors["Right Hip"]
  65. LH = tors["Left Hip"]
  66. RSH = tors["Right Shoulder"]
  67. LSH = tors["Left Shoulder"]
  68. RSH.Parent = nil
  69. LSH.Parent = nil
  70. RW.Name = "RW"
  71. RW.Part0 = tors
  72. RW.C0 = CF(1.5, 0.5, 0)
  73. RW.C1 = CF(0, 0.5, 0)
  74. RW.Part1 = ra
  75. RW.Parent = tors
  76. LW.Name = "LW"
  77. LW.Part0 = tors
  78. LW.C0 = CF(-1.5, 0.5, 0)
  79. LW.C1 = CF(0, 0.5, 0)
  80. LW.Part1 = la
  81. LW.Parent = tors
  82. Effects = {}
  83. -------------------------------------------------------
  84. --Start HeartBeat--
  85. -------------------------------------------------------
  86. ArtificialHB = Instance.new("BindableEvent", script)
  87. ArtificialHB.Name = "Heartbeat"
  88. script:WaitForChild("Heartbeat")
  89.  
  90. frame = 1 / 60
  91. tf = 0
  92. allowframeloss = false
  93. tossremainder = false
  94.  
  95.  
  96. lastframe = tick()
  97. script.Heartbeat:Fire()
  98.  
  99.  
  100. game:GetService("RunService").Heartbeat:connect(function(s, p)
  101. tf = tf + s
  102. if tf >= frame then
  103. if allowframeloss then
  104. script.Heartbeat:Fire()
  105. lastframe = tick()
  106. else
  107. for i = 1, math.floor(tf / frame) do
  108. script.Heartbeat:Fire()
  109. end
  110. lastframe = tick()
  111. end
  112. if tossremainder then
  113. tf = 0
  114. else
  115. tf = tf - frame * math.floor(tf / frame)
  116. end
  117. end
  118. end)
  119. -------------------------------------------------------
  120. --End HeartBeat--
  121. -------------------------------------------------------
  122. local halocolor = BrickColor.new("Pastel light blue")
  123. local halocolor2 = BrickColor.new("Cool yellow")
  124. local starcolor = BrickColor.new("Bright yellow")
  125. local lunacolor = BrickColor.new("Navy blue")
  126. local lunacolor2 = BrickColor.new("Bright blue")
  127. local wepcolor = BrickColor.new("Really black")
  128. local maincolor = BrickColor.new("Really black")
  129. local m = Instance.new("Model",char)
  130. local m2 = Instance.new("Model",char)
  131. local m3 = Instance.new("Model",char)
  132. local mw1 = Instance.new("Model",char)
  133. local mw2 = Instance.new("Model",char)
  134.  
  135. local extrawingmod1 = Instance.new("Model",char)
  136. local extrawingmod2 = Instance.new("Model",char)
  137.  
  138. function CameraEnshaking(Length, Intensity) --Took Straight from StarGlitcher!
  139. coroutine.resume(coroutine.create(function()
  140. local intensity = 1 * Intensity
  141. local rotM = 0.01 * Intensity
  142. for i = 0, Length, 0.1 do
  143. swait()
  144. intensity = intensity - 0.05 * Intensity / Length
  145. rotM = rotM - 5.0E-4 * Intensity / Length
  146. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  147. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  148. end
  149. Humanoid.CameraOffset = Vec3(0, 0, 0)
  150. end))
  151. end
  152.  
  153. local joyemoji = Instance.new('ParticleEmitter', tors)
  154. joyemoji.VelocitySpread = 2000
  155. joyemoji.Lifetime = NumberRange.new(1)
  156. joyemoji.Speed = NumberRange.new(40)
  157. joy= {}
  158. for i=0, 19 do
  159. joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  160. end
  161. joyemoji.Size = NumberSequence.new(joy)
  162. joyemoji.Rate = 0
  163. joyemoji.LockedToPart = false
  164. joyemoji.LightEmission = 0
  165. joyemoji.Texture = "rbxassetid://1176402123"
  166. joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  167.  
  168.  
  169. local LIT = Instance.new('ParticleEmitter', tors)
  170. LIT.VelocitySpread = 2000
  171. LIT.Lifetime = NumberRange.new(1)
  172. LIT.Speed = NumberRange.new(45)
  173. nani= {}
  174. for i=0, 19 do
  175. nani[#nani+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  176. end
  177. LIT.Size = NumberSequence.new(nani)
  178. LIT.Rate = 0
  179. LIT.LockedToPart = false
  180. LIT.LightEmission = 0
  181. LIT.Texture = "rbxassetid://1492670151"
  182. LIT.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  183.  
  184. local toast = Instance.new('ParticleEmitter', tors)
  185. toast.VelocitySpread = 2000
  186. toast.Lifetime = NumberRange.new(1)
  187. toast.Speed = NumberRange.new(60)
  188. toasterstoasttoast= {}
  189. for i=0, 19 do
  190. toasterstoasttoast[#toasterstoasttoast+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  191. end
  192. toast.Size = NumberSequence.new(toasterstoasttoast)
  193. toast.Rate = 0
  194. toast.LockedToPart = false
  195. toast.LightEmission = 0
  196. toast.Texture = "rbxassetid://436096230"
  197. toast.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  198.  
  199. local ok = Instance.new('ParticleEmitter', tors)
  200. ok.VelocitySpread = 2000
  201. ok.Lifetime = NumberRange.new(1)
  202. ok.Speed = NumberRange.new(50)
  203. cool= {}
  204. for i=0, 19 do
  205. cool[#cool+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  206. end
  207. ok.Size = NumberSequence.new(cool)
  208. ok.Rate = 0
  209. ok.LockedToPart = false
  210. ok.LightEmission = 0
  211. ok.Texture = "rbxassetid://636768448"
  212. ok.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  213.  
  214. -------------------------------------------------------
  215. --Start Kyu's shitty stuff--
  216. -------------------------------------------------------
  217.  
  218. function ragdoll(model)
  219. local char = model
  220. torso = char.HumanoidRootPart
  221. torso2 = char.Torso
  222. LW.Parent = nil
  223. RW.Parent = nil
  224. LH.Parent = nil
  225. RH.Parent = nil
  226. if hum ~= nil then
  227. hum.PlatformStand = true
  228. end
  229.  
  230. local Head = char:FindFirstChild("Head")
  231. if Head then
  232. local Neck = Instance.new("Weld")
  233. Neck.Name = "Neck"
  234. Neck.Part0 = torso
  235. Neck.Part1 = Head
  236. Neck.C0 = CFrame.new(0, 1.5, 0)
  237. Neck.C1 = CFrame.new()
  238. Neck.Parent = torso
  239. end
  240. local Limb = char:FindFirstChild("Right Arm")
  241. if Limb then
  242.  
  243. Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0)
  244. local Joint = Instance.new("Glue")
  245. Joint.Name = "RightShoulder"
  246. Joint.Part0 = torso
  247. Joint.Part1 = Limb
  248. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  249. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  250. Joint.Parent = torso
  251.  
  252. local B = Instance.new("Part")
  253. B.TopSurface = 0
  254. B.BottomSurface = 0
  255. B.formFactor = "Symmetric"
  256. B.Size = Vector3.new(1, 1, 1)
  257. B.Transparency = 1
  258. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  259. B.Parent = char
  260. local W = Instance.new("Weld")
  261. W.Part0 = Limb
  262. W.Part1 = B
  263. W.C0 = CFrame.new(0, -0.5, 0)
  264. W.Parent = Limb
  265.  
  266. end
  267. local Limb = char:FindFirstChild("Left Arm")
  268. if Limb then
  269.  
  270. Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0)
  271. local Joint = Instance.new("Glue")
  272. Joint.Name = "LeftShoulder"
  273. Joint.Part0 = torso
  274. Joint.Part1 = Limb
  275. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  276. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  277. Joint.Parent = torso
  278.  
  279. local B = Instance.new("Part")
  280. B.TopSurface = 0
  281. B.BottomSurface = 0
  282. B.formFactor = "Symmetric"
  283. B.Size = Vector3.new(1, 1, 1)
  284. B.Transparency = 1
  285. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  286. B.Parent = char
  287. local W = Instance.new("Weld")
  288. W.Part0 = Limb
  289. W.Part1 = B
  290. W.C0 = CFrame.new(0, -0.5, 0)
  291. W.Parent = Limb
  292.  
  293. end
  294. local Limb = char:FindFirstChild("Right Leg")
  295. if Limb then
  296.  
  297. Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0)
  298. local Joint = Instance.new("Glue")
  299. Joint.Name = "RightHip"
  300. Joint.Part0 = torso
  301. Joint.Part1 = Limb
  302. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  303. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  304. Joint.Parent = torso
  305.  
  306. local B = Instance.new("Part")
  307. B.TopSurface = 0
  308. B.BottomSurface = 0
  309. B.formFactor = "Symmetric"
  310. B.Size = Vector3.new(1, 1, 1)
  311. B.Transparency = 1
  312. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  313. B.Parent = char
  314. local W = Instance.new("Weld")
  315. W.Part0 = Limb
  316. W.Part1 = B
  317. W.C0 = CFrame.new(0, -0.5, 0)
  318. W.Parent = Limb
  319.  
  320. end
  321. local Limb = char:FindFirstChild("Left Leg")
  322. if Limb then
  323.  
  324. Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0)
  325. local Joint = Instance.new("Glue")
  326. Joint.Name = "LeftHip"
  327. Joint.Part0 = torso
  328. Joint.Part1 = Limb
  329. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  330. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  331. Joint.Parent = torso
  332.  
  333. local B = Instance.new("Part")
  334. B.TopSurface = 0
  335. B.BottomSurface = 0
  336. B.formFactor = "Symmetric"
  337. B.Size = Vector3.new(1, 1, 1)
  338. B.Transparency = 1
  339. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  340. B.Parent = char
  341. local W = Instance.new("Weld")
  342. W.Part0 = Limb
  343. W.Part1 = B
  344. W.C0 = CFrame.new(0, -0.5, 0)
  345. W.Parent = Limb
  346.  
  347. end
  348. --[
  349. local Bar = Instance.new("Part")
  350. Bar.TopSurface = 0
  351. Bar.BottomSurface = 0
  352. Bar.formFactor = "Symmetric"
  353. Bar.Size = Vector3.new(1, 1, 1)
  354. Bar.Transparency = 1
  355. Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0)
  356. Bar.Parent = char
  357. local Weld = Instance.new("Weld")
  358. Weld.Part0 = torso
  359. Weld.Part1 = Bar
  360. Weld.C0 = CFrame.new(0, 0.5, 0)
  361. Weld.Parent = torso
  362. --]]
  363.  
  364. torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z))
  365.  
  366. end
  367.  
  368. -------------------------------------------------------
  369. --End Kyu's shitty stuff--
  370. -------------------------------------------------------
  371.  
  372. -------------------------------------------------------
  373. --Start Important Functions--
  374. -------------------------------------------------------
  375. function swait(num)
  376. if num == 0 or num == nil then
  377. game:service("RunService").Stepped:wait(0)
  378. else
  379. for i = 0, num do
  380. game:service("RunService").Stepped:wait(0)
  381. end
  382. end
  383. end
  384. function thread(f)
  385. coroutine.resume(coroutine.create(f))
  386. end
  387. function clerp(a, b, t)
  388. local qa = {
  389. QuaternionFromCFrame(a)
  390. }
  391. local qb = {
  392. QuaternionFromCFrame(b)
  393. }
  394. local ax, ay, az = a.x, a.y, a.z
  395. local bx, by, bz = b.x, b.y, b.z
  396. local _t = 1 - t
  397. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  398. end
  399. function QuaternionFromCFrame(cf)
  400. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  401. local trace = m00 + m11 + m22
  402. if trace > 0 then
  403. local s = math.sqrt(1 + trace)
  404. local recip = 0.5 / s
  405. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  406. else
  407. local i = 0
  408. if m00 < m11 then
  409. i = 1
  410. end
  411. if m22 > (i == 0 and m00 or m11) then
  412. i = 2
  413. end
  414. if i == 0 then
  415. local s = math.sqrt(m00 - m11 - m22 + 1)
  416. local recip = 0.5 / s
  417. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  418. elseif i == 1 then
  419. local s = math.sqrt(m11 - m22 - m00 + 1)
  420. local recip = 0.5 / s
  421. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  422. elseif i == 2 then
  423. local s = math.sqrt(m22 - m00 - m11 + 1)
  424. local recip = 0.5 / s
  425. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  426. end
  427. end
  428. end
  429. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  430. local xs, ys, zs = x + x, y + y, z + z
  431. local wx, wy, wz = w * xs, w * ys, w * zs
  432. local xx = x * xs
  433. local xy = x * ys
  434. local xz = x * zs
  435. local yy = y * ys
  436. local yz = y * zs
  437. local zz = z * zs
  438. 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))
  439. end
  440. function QuaternionSlerp(a, b, t)
  441. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  442. local startInterp, finishInterp
  443. if cosTheta >= 1.0E-4 then
  444. if 1 - cosTheta > 1.0E-4 then
  445. local theta = math.acos(cosTheta)
  446. local invSinTheta = 1 / Sin(theta)
  447. startInterp = Sin((1 - t) * theta) * invSinTheta
  448. finishInterp = Sin(t * theta) * invSinTheta
  449. else
  450. startInterp = 1 - t
  451. finishInterp = t
  452. end
  453. elseif 1 + cosTheta > 1.0E-4 then
  454. local theta = math.acos(-cosTheta)
  455. local invSinTheta = 1 / Sin(theta)
  456. startInterp = Sin((t - 1) * theta) * invSinTheta
  457. finishInterp = Sin(t * theta) * invSinTheta
  458. else
  459. startInterp = t - 1
  460. finishInterp = t
  461. end
  462. 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
  463. end
  464. function rayCast(Position, Direction, Range, Ignore)
  465. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  466. end
  467. local RbxUtility = LoadLibrary("RbxUtility")
  468. local Create = RbxUtility.Create
  469.  
  470. -------------------------------------------------------
  471. --Start Damage Function--
  472. -------------------------------------------------------
  473. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  474. if hit.Parent == nil then
  475. return
  476. end
  477. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  478. for _, v in pairs(hit.Parent:children()) do
  479. if v:IsA("Humanoid") then
  480. h = v
  481. end
  482. end
  483. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  484. warn'No R15 allowed'
  485. hit.Parent:FindFirstChild("Head"):BreakJoints()
  486. end
  487.  
  488. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  489. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  490. if hit.Parent.DebounceHit.Value == true then
  491. return
  492. end
  493. end
  494. if insta == true then
  495. hit.Parent:FindFirstChild("Head"):BreakJoints()
  496. end
  497. local c = Create("ObjectValue"){
  498. Name = "creator",
  499. Value = game:service("Players").LocalPlayer,
  500. Parent = h,
  501. }
  502. game:GetService("Debris"):AddItem(c, .5)
  503. if HitSound ~= nil and HitPitch ~= nil then
  504. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  505. end
  506. local Damage = math.random(minim, maxim)
  507. local blocked = false
  508. local block = hit.Parent:findFirstChild("Block")
  509. if block ~= nil then
  510. if block.className == "IntValue" then
  511. if block.Value > 0 then
  512. blocked = true
  513. block.Value = block.Value - 1
  514. print(block.Value)
  515. end
  516. end
  517. end
  518. if blocked == false then
  519. h.Health = h.Health - Damage
  520. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  521. else
  522. h.Health = h.Health - (Damage / 2)
  523. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  524. end
  525. if Type == "Knockdown" then
  526. local hum = hit.Parent.Humanoid
  527. hum.PlatformStand = true
  528. coroutine.resume(coroutine.create(function(HHumanoid)
  529. swait(1)
  530. HHumanoid.PlatformStand = false
  531. end), hum)
  532. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  533. local bodvol = Create("BodyVelocity"){
  534. velocity = angle * knockback,
  535. P = 5000,
  536. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  537. Parent = hit,
  538. }
  539. local rl = Create("BodyAngularVelocity"){
  540. P = 3000,
  541. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  542. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  543. Parent = hit,
  544. }
  545. game:GetService("Debris"):AddItem(bodvol, .5)
  546. game:GetService("Debris"):AddItem(rl, .5)
  547. elseif Type == "Normal" then
  548. local vp = Create("BodyVelocity"){
  549. P = 500,
  550. maxForce = Vector3.new(math.huge, 0, math.huge),
  551. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  552. }
  553. if knockback > 0 then
  554. vp.Parent = hit.Parent.Torso
  555. end
  556. game:GetService("Debris"):AddItem(vp, .5)
  557. elseif Type == "Up" then
  558. local bodyVelocity = Create("BodyVelocity"){
  559. velocity = Vector3.new(0, 20, 0),
  560. P = 5000,
  561. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  562. Parent = hit,
  563. }
  564. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  565. elseif Type == "DarkUp" then
  566. coroutine.resume(coroutine.create(function()
  567. for i = 0, 1, 0.1 do
  568. swait()
  569. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  570. end
  571. end))
  572. local bodyVelocity = Create("BodyVelocity"){
  573. velocity = Vector3.new(0, 20, 0),
  574. P = 5000,
  575. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  576. Parent = hit,
  577. }
  578. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  579. elseif Type == "Snare" then
  580. local bp = Create("BodyPosition"){
  581. P = 2000,
  582. D = 100,
  583. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  584. position = hit.Parent.Torso.Position,
  585. Parent = hit.Parent.Torso,
  586. }
  587. game:GetService("Debris"):AddItem(bp, 1)
  588. elseif Type == "Freeze" then
  589. local BodPos = Create("BodyPosition"){
  590. P = 50000,
  591. D = 1000,
  592. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  593. position = hit.Parent.Torso.Position,
  594. Parent = hit.Parent.Torso,
  595. }
  596. local BodGy = Create("BodyGyro") {
  597. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  598. P = 20e+003,
  599. Parent = hit.Parent.Torso,
  600. cframe = hit.Parent.Torso.CFrame,
  601. }
  602. hit.Parent.Torso.Anchored = true
  603. coroutine.resume(coroutine.create(function(Part)
  604. swait(1.5)
  605. Part.Anchored = false
  606. end), hit.Parent.Torso)
  607. game:GetService("Debris"):AddItem(BodPos, 3)
  608. game:GetService("Debris"):AddItem(BodGy, 3)
  609. end
  610. local debounce = Create("BoolValue"){
  611. Name = "DebounceHit",
  612. Parent = hit.Parent,
  613. Value = true,
  614. }
  615. game:GetService("Debris"):AddItem(debounce, Delay)
  616. c = Create("ObjectValue"){
  617. Name = "creator",
  618. Value = Player,
  619. Parent = h,
  620. }
  621. game:GetService("Debris"):AddItem(c, .5)
  622. end
  623. end
  624. -------------------------------------------------------
  625. --End Damage Function--
  626. -------------------------------------------------------
  627.  
  628. -------------------------------------------------------
  629. --Start Damage Function Customization--
  630. -------------------------------------------------------
  631. function ShowDamage(Pos, Text, Time, Color)
  632. local Rate = (1 / 30)
  633. local Pos = (Pos or Vector3.new(0, 0, 0))
  634. local Text = (Text or "")
  635. local Time = (Time or 2)
  636. local Color = (Color or Color3.new(1, 0, 1))
  637. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  638. EffectPart.Anchored = true
  639. local BillboardGui = Create("BillboardGui"){
  640. Size = UDim2.new(3, 0, 3, 0),
  641. Adornee = EffectPart,
  642. Parent = EffectPart,
  643. }
  644. local TextLabel = Create("TextLabel"){
  645. BackgroundTransparency = 1,
  646. Size = UDim2.new(1, 0, 1, 0),
  647. Text = Text,
  648. Font = "Highway",
  649. TextColor3 = Color,
  650. TextScaled = true,
  651. Parent = BillboardGui,
  652. }
  653. game.Debris:AddItem(EffectPart, (Time))
  654. EffectPart.Parent = game:GetService("Workspace")
  655. delay(0, function()
  656. local Frames = (Time / Rate)
  657. for Frame = 1, Frames do
  658. wait(Rate)
  659. local Percent = (Frame / Frames)
  660. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  661. TextLabel.TextTransparency = Percent
  662. end
  663. if EffectPart and EffectPart.Parent then
  664. EffectPart:Destroy()
  665. end
  666. end)
  667. end
  668. -------------------------------------------------------
  669. --End Damage Function Customization--
  670. -------------------------------------------------------
  671.  
  672. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  673. for _, c in pairs(workspace:children()) do
  674. local hum = c:findFirstChild("Humanoid")
  675. if hum ~= nil then
  676. local head = c:findFirstChild("Head")
  677. if head ~= nil then
  678. local targ = head.Position - Part.Position
  679. local mag = targ.magnitude
  680. if magni >= mag and c.Name ~= plr.Name then
  681. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
  682. end
  683. end
  684. end
  685. end
  686. end
  687.  
  688.  
  689. CFuncs = {
  690. Part = {
  691. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  692. local Part = Create("Part")({
  693. Parent = Parent,
  694. Reflectance = Reflectance,
  695. Transparency = Transparency,
  696. CanCollide = false,
  697. Locked = true,
  698. BrickColor = BrickColor.new(tostring(BColor)),
  699. Name = Name,
  700. Size = Size,
  701. Material = Material
  702. })
  703. RemoveOutlines(Part)
  704. return Part
  705. end
  706. },
  707. Mesh = {
  708. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  709. local Msh = Create(Mesh)({
  710. Parent = Part,
  711. Offset = OffSet,
  712. Scale = Scale
  713. })
  714. if Mesh == "SpecialMesh" then
  715. Msh.MeshType = MeshType
  716. Msh.MeshId = MeshId
  717. end
  718. return Msh
  719. end
  720. },
  721. Mesh = {
  722. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  723. local Msh = Create(Mesh)({
  724. Parent = Part,
  725. Offset = OffSet,
  726. Scale = Scale
  727. })
  728. if Mesh == "SpecialMesh" then
  729. Msh.MeshType = MeshType
  730. Msh.MeshId = MeshId
  731. end
  732. return Msh
  733. end
  734. },
  735. Weld = {
  736. Create = function(Parent, Part0, Part1, C0, C1)
  737. local Weld = Create("Weld")({
  738. Parent = Parent,
  739. Part0 = Part0,
  740. Part1 = Part1,
  741. C0 = C0,
  742. C1 = C1
  743. })
  744. return Weld
  745. end
  746. },
  747. Sound = {
  748. Create = function(id, par, vol, pit)
  749. coroutine.resume(coroutine.create(function()
  750. local S = Create("Sound")({
  751. Volume = vol,
  752. Pitch = pit or 1,
  753. SoundId = id,
  754. Parent = par or workspace
  755. })
  756. wait()
  757. S:play()
  758. game:GetService("Debris"):AddItem(S, 6)
  759. end))
  760. end
  761. },
  762. ParticleEmitter = {
  763. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  764. local fp = Create("ParticleEmitter")({
  765. Parent = Parent,
  766. Color = ColorSequence.new(Color1, Color2),
  767. LightEmission = LightEmission,
  768. Size = Size,
  769. Texture = Texture,
  770. Transparency = Transparency,
  771. ZOffset = ZOffset,
  772. Acceleration = Accel,
  773. Drag = Drag,
  774. LockedToPart = LockedToPart,
  775. VelocityInheritance = VelocityInheritance,
  776. EmissionDirection = EmissionDirection,
  777. Enabled = Enabled,
  778. Lifetime = LifeTime,
  779. Rate = Rate,
  780. Rotation = Rotation,
  781. RotSpeed = RotSpeed,
  782. Speed = Speed,
  783. VelocitySpread = VelocitySpread
  784. })
  785. return fp
  786. end
  787. }
  788. }
  789. function RemoveOutlines(part)
  790. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  791. end
  792. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  793. local Part = Create("Part")({
  794. formFactor = FormFactor,
  795. Parent = Parent,
  796. Reflectance = Reflectance,
  797. Transparency = Transparency,
  798. CanCollide = false,
  799. Locked = true,
  800. BrickColor = BrickColor.new(tostring(BColor)),
  801. Name = Name,
  802. Size = Size,
  803. Material = Material
  804. })
  805. RemoveOutlines(Part)
  806. return Part
  807. end
  808. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  809. local Msh = Create(Mesh)({
  810. Parent = Part,
  811. Offset = OffSet,
  812. Scale = Scale
  813. })
  814. if Mesh == "SpecialMesh" then
  815. Msh.MeshType = MeshType
  816. Msh.MeshId = MeshId
  817. end
  818. return Msh
  819. end
  820. function CreateWeld(Parent, Part0, Part1, C0, C1)
  821. local Weld = Create("Weld")({
  822. Parent = Parent,
  823. Part0 = Part0,
  824. Part1 = Part1,
  825. C0 = C0,
  826. C1 = C1
  827. })
  828. return Weld
  829. end
  830. -------------------------------------------------------
  831. --Start Effect Function--
  832. -------------------------------------------------------
  833. EffectModel = Instance.new("Model", char)
  834. Effects = {
  835. Block = {
  836. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  837. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  838. prt.Anchored = true
  839. prt.CFrame = cframe
  840. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  841. game:GetService("Debris"):AddItem(prt, 10)
  842. if Type == 1 or Type == nil then
  843. table.insert(Effects, {
  844. prt,
  845. "Block1",
  846. delay,
  847. x3,
  848. y3,
  849. z3,
  850. msh
  851. })
  852. elseif Type == 2 then
  853. table.insert(Effects, {
  854. prt,
  855. "Block2",
  856. delay,
  857. x3,
  858. y3,
  859. z3,
  860. msh
  861. })
  862. else
  863. table.insert(Effects, {
  864. prt,
  865. "Block3",
  866. delay,
  867. x3,
  868. y3,
  869. z3,
  870. msh
  871. })
  872. end
  873. end
  874. },
  875. Sphere = {
  876. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  877. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  878. prt.Anchored = true
  879. prt.CFrame = cframe
  880. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0,0,0), Vector3.new(x1, y1, z1))
  881. game:GetService("Debris"):AddItem(prt, 10)
  882. table.insert(Effects, {
  883. prt,
  884. "Cylinder",
  885. delay,
  886. x3,
  887. y3,
  888. z3,
  889. msh
  890. })
  891. end
  892. },
  893. Cylinder = {
  894. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  895. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  896. prt.Anchored = true
  897. prt.CFrame = cframe
  898. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  899. game:GetService("Debris"):AddItem(prt, 10)
  900. table.insert(Effects, {
  901. prt,
  902. "Cylinder",
  903. delay,
  904. x3,
  905. y3,
  906. z3,
  907. msh
  908. })
  909. end
  910. },
  911. Wave = {
  912. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  913. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  914. prt.Anchored = true
  915. prt.CFrame = cframe
  916. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  917. game:GetService("Debris"):AddItem(prt, 10)
  918. table.insert(Effects, {
  919. prt,
  920. "Cylinder",
  921. delay,
  922. x3 / 60,
  923. y3 / 60,
  924. z3 / 60,
  925. msh
  926. })
  927. end
  928. },
  929. Ring = {
  930. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  931. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  932. prt.Anchored = true
  933. prt.CFrame = cframe
  934. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  935. game:GetService("Debris"):AddItem(prt, 10)
  936. table.insert(Effects, {
  937. prt,
  938. "Cylinder",
  939. delay,
  940. x3,
  941. y3,
  942. z3,
  943. msh
  944. })
  945. end
  946. },
  947. Break = {
  948. Create = function(brickcolor, cframe, x1, y1, z1)
  949. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  950. prt.Anchored = true
  951. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  952. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  953. local num = math.random(10, 50) / 1000
  954. game:GetService("Debris"):AddItem(prt, 10)
  955. table.insert(Effects, {
  956. prt,
  957. "Shatter",
  958. num,
  959. prt.CFrame,
  960. math.random() - math.random(),
  961. 0,
  962. math.random(50, 100) / 100
  963. })
  964. end
  965. },
  966. Spiral = {
  967. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  968. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  969. prt.Anchored = true
  970. prt.CFrame = cframe
  971. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  972. game:GetService("Debris"):AddItem(prt, 10)
  973. table.insert(Effects, {
  974. prt,
  975. "Cylinder",
  976. delay,
  977. x3,
  978. y3,
  979. z3,
  980. msh
  981. })
  982. end
  983. },
  984. Push = {
  985. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  986. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  987. prt.Anchored = true
  988. prt.CFrame = cframe
  989. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  990. game:GetService("Debris"):AddItem(prt, 10)
  991. table.insert(Effects, {
  992. prt,
  993. "Cylinder",
  994. delay,
  995. x3,
  996. y3,
  997. z3,
  998. msh
  999. })
  1000. end
  1001. }
  1002. }
  1003. -------------------------------------------------------
  1004. --End Effect Function--
  1005. -------------------------------------------------------
  1006.  
  1007. function CreateSound(ID, PARENT, VOLUME, PITCH) --Very important.
  1008. local NSound = nil
  1009. coroutine.resume(coroutine.create(function()
  1010. NSound = Instance.new("Sound", PARENT)
  1011. NSound.Volume = VOLUME
  1012. NSound.Pitch = PITCH
  1013. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1014. swait()
  1015. NSound:play()
  1016. game:GetService("Debris"):AddItem(NSound, 10)
  1017. end))
  1018. return NSound
  1019. end
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025. -------------------------------------------------------
  1026. --End Important Functions--
  1027. -------------------------------------------------------
  1028.  
  1029. NEWS = Instance.new("Sound", tors) --O NO
  1030. NEWS.SoundId = "http://www.roblox.com/asset/?id=1933822358"
  1031. NEWS.Volume = 100
  1032. NEWS.Pitch = 1
  1033. NEWS.Looped = false
  1034. NEWS.TimePosition = 1
  1035.  
  1036. AAAAA = Instance.new("Sound", tors) --aaa
  1037. AAAAA.SoundId = "http://www.roblox.com/asset/?id=0"
  1038. AAAAA.Volume = 10
  1039. AAAAA.Pitch = 1
  1040. AAAAA.Looped = false
  1041. AAAAA.TimePosition = 1
  1042.  
  1043. MERKIO = Instance.new("Sound", tors) --why
  1044. MERKIO.SoundId = "rbxassetid://1117396305"
  1045. MERKIO.Volume = 10
  1046. MERKIO.Pitch = 1
  1047. MERKIO.Looped = false
  1048. MERKIO.TimePosition = 0
  1049.  
  1050. -------------------------------------------------------
  1051. --Start Music Option--
  1052. -------------------------------------------------------
  1053. local Music = Instance.new("Sound",tors)
  1054. Music.Volume = 2.5
  1055. Music.SoundId = "rbxassetid://"
  1056. Music.Looped = true
  1057. Music.Pitch = 1 --Pitcher
  1058. Music:Play()
  1059. -------------------------------------------------------
  1060. --End Music Option--
  1061. -------------------------------------------------------
  1062. --hi fat >:)
  1063. -------------------------------------------------------
  1064. local MAINRUINCOLOR = "Cyan"
  1065. local NewInstance = function(instance,parent,properties)
  1066. local inst = Instance.new(instance,parent)
  1067. if(properties)then
  1068. for i,v in next, properties do
  1069. pcall(function() inst[i] = v end)
  1070. end
  1071. end
  1072. return inst;
  1073. end
  1074. function chatfunc(text)
  1075. coroutine.wrap(function()
  1076. if(Character:FindFirstChild'ChatGUI')then Character.ChatGUI:destroy() end
  1077. local BBG = NewInstance("BillboardGui",Character,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=Vector3.new(0,2.753,0),Adornee=Head})
  1078. local Txt = NewInstance("TextLabel",BBG,{Text = "",BackgroundTransparency=1,TextColor3=MAINRUINCOLOR.Color,TextStrokeColor3=Color3.new(0,0,0),BorderSizePixel=0,Font=Enum.Font.Arcade,TextSize=28,TextStrokeTransparency=0,Size=UDim2.new(1,0,.5,0)})
  1079. coroutine.resume(coroutine.create(function()
  1080. repeat swait()
  1081. --lol
  1082. until Txt.Transparency > 1
  1083. end))
  1084. for i = 1, #text do
  1085. delay(i/25, function()
  1086. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=418252437", Head, 1, math.random(2,12)/15)
  1087. Txt.Text = text:sub(1,i)
  1088. end)
  1089. end
  1090. delay((#text/25)+2.6, function()
  1091. wait(0.2)
  1092. for i = 1, 15 do
  1093. swait()
  1094. Txt.TextTransparency = Txt.TextTransparency + 1/15
  1095. Txt.TextStrokeTransparency = Txt.TextStrokeTransparency + 1/15
  1096. end
  1097. end)
  1098. delay((#text/25)+3, function()
  1099. BBG:destroy()
  1100. end)
  1101. end)()
  1102. end
  1103. it = Instance.new
  1104. plr.Chatted:connect(function(message)
  1105. chatfunc(message)
  1106. if message:sub(1,3) == "id/" then
  1107. local OVMID = message:sub(4)
  1108. MERKIO.SoundId = "rbxassetid://" ..OVMID
  1109. end
  1110. end)
  1111. chatfunc("aye")
  1112. LeDrink = it("Model")
  1113. LeDrink.Parent = char
  1114. LeDrink.Name = "LeDrink"
  1115. RHe = it("Part")
  1116. RHe.Parent = LeDrink
  1117. RHe.BrickColor = BrickColor.new("Really black")
  1118. RHe.Locked = true
  1119. RHe.CanCollide = false
  1120. RHe.Transparency = 1
  1121. PMesh = it("SpecialMesh")
  1122. RHe.formFactor = "Symmetric"
  1123. PMesh.MeshType = "FileMesh"
  1124. PMesh.MeshId = "rbxassetid://10470609"
  1125. PMesh.TextureId = "rbxassetid://111405256"
  1126. PMesh.Scale = Vector3.new(1.3, 1.4, 1.3)
  1127. PMesh.Parent = RHe
  1128. local RWeld = it("Weld")
  1129. RWeld.Parent = RHe
  1130. RWeld.Part0 = RHe
  1131. RWeld.Part1 = ra
  1132. RWeld.C0 = CF(-1.2, -0.5, 0) * angles(Rad(90), Rad(0), Rad(90))
  1133.  
  1134.  
  1135. -------------------------------------------------------
  1136. --Start Attacks N Stuff--
  1137. -------------------------------------------------------
  1138.  
  1139. function THEBESTOVERUSEDJOKEEVER() --oh god why did i make this a thing jeezus help me pls
  1140. attack = true
  1141. hum.WalkSpeed = 16
  1142.  
  1143. NEWS:Play()
  1144. repeat
  1145. NEWS.Parent = tors
  1146. swait()
  1147. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1148. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
  1149. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1150. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1151. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  1152. LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  1153. until NEWS.Playing == false
  1154. game.Players.LocalPlayer.Character:BreakJoints()
  1155. local S = Instance.new("Explosion",workspace)
  1156. S.Position = tors.Position
  1157. S.BlastPressure = 9
  1158. S.BlastRadius = 30
  1159. S.ExplosionType = 0
  1160. attack = false
  1161. hum.WalkSpeed = 16
  1162. attack = false
  1163. hum.WalkSpeed = 16
  1164. end
  1165.  
  1166. function sneakonehundred()
  1167. attack = true
  1168. hum.WalkSpeed = 0.03
  1169. CreateSound("1542642349", tors, 10, 1.05)
  1170. for i = 0,20,0.1 do
  1171. swait()
  1172. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  1173. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4)
  1174. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1175. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1176. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(-180)), 0.4)
  1177. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(180)), 0.4)
  1178. end
  1179. CreateSound("3048623108", tors, 10, 1.05)
  1180. wait(0.25)
  1181. for i = 0,7,0.1 do
  1182. swait()
  1183. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  1184. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4)
  1185. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1186. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1187. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-180)), 0.4)
  1188. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(180)), 0.4)
  1189. end
  1190.  
  1191. attack = false
  1192. hum.WalkSpeed = 16
  1193. end
  1194. function DANCEFORME()
  1195. attack = true
  1196.  
  1197. MERKIO:Play()
  1198. repeat
  1199. for i = 0, 4, 0.1 do
  1200. swait()
  1201. MERKIO.Parent = tors
  1202. local Alpha = .3
  1203. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0.2),math.rad(13.1),math.rad(-0.2))*RootCF,Alpha)
  1204. LH.C0 = LH.C0:lerp(cf(-0.9,-0.9,0.2)*angles(math.rad(0),math.rad(28.4),math.rad(-15.2))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  1205. RH.C0 = RH.C0:lerp(cf(1,-0.9,0.1)*angles(math.rad(0),math.rad(-12.6),math.rad(7.2))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  1206. LW.C0 = LW.C0:lerp(cf(-1.6,0.5,-0.4)*angles(math.rad(131),math.rad(-11),math.rad(-12.4)),Alpha)
  1207. RW.C0 = RW.C0:lerp(cf(1.4,0.4,0.2)*angles(math.rad(33),math.rad(-17.3),math.rad(10.9)),Alpha)
  1208. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.1,0,0)*angles(math.rad(0),math.rad(-20.4),math.rad(5.3))*necko,Alpha)
  1209. end
  1210. for i = 0, 4, 0.1 do
  1211. swait()
  1212. MERKIO.Parent = tors
  1213. local Alpha = .3
  1214. RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,0,0.1)*angles(math.rad(-0.4),math.rad(-31.8),math.rad(0.4))*RootCF,Alpha)
  1215. LH.C0 = LH.C0:lerp(cf(-0.9,-0.9,0.2)*angles(math.rad(0),math.rad(28.4),math.rad(-15.2))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
  1216. RH.C0 = RH.C0:lerp(cf(1,-0.9,0.1)*angles(math.rad(0),math.rad(-12.6),math.rad(7.2))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
  1217. LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.2)*angles(math.rad(27.7),math.rad(14.7),math.rad(-7.6)),Alpha)
  1218. RW.C0 = RW.C0:lerp(cf(1.3,0.3,-0.6)*angles(math.rad(113.9),math.rad(-4.9),math.rad(-14.2)),Alpha)
  1219. Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.1,0,0.2)*angles(math.rad(-4.2),math.rad(25.6),math.rad(-4))*necko,Alpha)
  1220. end
  1221. until MERKIO.Playing == false
  1222. MERKIO:Stop()
  1223.  
  1224. attack = false
  1225. hum.WalkSpeed = 16
  1226. end
  1227.  
  1228. function takethat()
  1229. attack = true
  1230. hum.WalkSpeed = 0
  1231. CreateSound("3048623108", tors, 10, 1.05)
  1232. chatfunc("hee-hee")
  1233. for i = 0,8.3,0.1 do
  1234. swait()
  1235. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
  1236. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.7)
  1237. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  1238. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  1239. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-.6), Rad(0)), 0.7)
  1240. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.7)
  1241. end
  1242. CreateSound("135165859", tors, 10, 1.05)
  1243. chatfunc("take that!!!11!!")
  1244. for i = 0,6,0.1 do
  1245. swait()
  1246. rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1247. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.85)
  1248. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.7)
  1249. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  1250. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  1251. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-.6), Rad(0)), 0.7)
  1252. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(-.6), Rad(0 - 4.5 * Sin(sine / 20))), 0.7)
  1253. end
  1254. attack = false
  1255. hum.WalkSpeed = 16
  1256. end
  1257. function DrinkdaDrink()
  1258. attack = true
  1259. RHe.Transparency = 0
  1260. hum.WalkSpeed = 0
  1261. local Munch = CreateSound("554208103", hed, 5, 1)
  1262. swait(2)
  1263. repeat
  1264. for i = 0,6,0.1 do
  1265. swait()
  1266. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1267. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1268. RH.C0 = clerp(RH.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  1269. LH.C0 = clerp(LH.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  1270. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1)
  1271. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
  1272. end
  1273. until Munch.Playing == false
  1274. hum.WalkSpeed = 16
  1275. RHe.Transparency = 1
  1276. attack = false
  1277. end
  1278.  
  1279. function SCREAM()
  1280. attack = true
  1281. hum.WalkSpeed = 16
  1282.  
  1283. local A = math.random(1,13)
  1284. if A == 1 then
  1285. AAAAA.SoundId = "rbxassetid://1213175909"
  1286. AAAAA.TimePosition = 0
  1287. end
  1288. if A == 2 then
  1289. AAAAA.SoundId = "rbxassetid://1439720915"
  1290. AAAAA.TimePosition = 0
  1291. end
  1292. if A == 3 then
  1293. AAAAA.SoundId = "rbxassetid://1213179504"
  1294. AAAAA.TimePosition = 0
  1295. end
  1296. if A == 4 then
  1297. AAAAA.SoundId = "rbxassetid://1129186687"
  1298. AAAAA.TimePosition = 0
  1299. end
  1300. if A == 5 then
  1301. AAAAA.SoundId = "rbxassetid://1163493843"
  1302. AAAAA.TimePosition = 0
  1303. end
  1304. if A == 6 then
  1305. AAAAA.SoundId = "rbxassetid://1163494840"
  1306. AAAAA.TimePosition = 0
  1307. end
  1308. if A == 7 then
  1309. AAAAA.SoundId = "rbxassetid://963936697"
  1310. AAAAA.TimePosition = 0
  1311. end
  1312. if A == 8 then
  1313. AAAAA.SoundId = "rbxassetid://1494176499"
  1314. AAAAA.TimePosition = 1
  1315. end
  1316. if A == 9 then
  1317. AAAAA.SoundId = "rbxassetid://1591656314"
  1318. AAAAA.TimePosition = 0
  1319. end
  1320. if A == 10 then
  1321. AAAAA.SoundId = "rbxassetid://130767645"
  1322. AAAAA.TimePosition = 0
  1323. end
  1324. if A == 11 then
  1325. AAAAA.SoundId = "rbxassetid://172818886"
  1326. AAAAA.TimePosition = 0
  1327. end
  1328. if A == 12 then
  1329. AAAAA.SoundId = "rbxassetid://1402021995"
  1330. AAAAA.TimePosition = 0
  1331. end
  1332. if A == 13 then
  1333. AAAAA.SoundId = "rbxassetid://130766856"
  1334. AAAAA.TimePosition = 0
  1335. end
  1336. AAAAA:Play()
  1337. repeat
  1338. swait()
  1339. AAAAA.Parent = tors
  1340. rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1341. until AAAAA.Playing == false
  1342. hum.WalkSpeed = 16
  1343. attack = false
  1344. hum.WalkSpeed = 16
  1345. end
  1346.  
  1347. MoreTaunts = false
  1348. mouse.KeyDown:connect(function(key)
  1349. if attack == false then
  1350. if MoreTaunts == false then
  1351. if key == 'q' then
  1352. THEBESTOVERUSEDJOKEEVER()
  1353. elseif key == 'e' then
  1354. SCREAM()
  1355. elseif key == 'r' then
  1356. sneakonehundred()
  1357. elseif key == 't' then
  1358. DANCEFORME()
  1359. elseif key == 'y' then
  1360. takethat()
  1361. elseif key == 'u' then
  1362. DrinkdaDrink()
  1363. end
  1364. end
  1365. end
  1366. end)
  1367.  
  1368. -------------------------------------------------------
  1369. --End Attacks N Stuff--
  1370. -------------------------------------------------------
  1371.  
  1372.  
  1373.  
  1374.  
  1375. while jumping do
  1376. Humanoid.Jump = true
  1377. wait(0.9)
  1378. end
  1379.  
  1380.  
  1381.  
  1382.  
  1383. -------------------------------------------------------
  1384. --Start Animations--
  1385. -------------------------------------------------------
  1386. local equipped = false
  1387. local idle = 0
  1388. local change = 1
  1389. local val = 0
  1390. local toim = 0
  1391. local idleanim = 0.4
  1392. hum.Animator.Parent = nil
  1393. while true do
  1394. swait()
  1395. sine = sine + change
  1396. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1397. local velderp = root.Velocity.y
  1398. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1399. if equipped == true or equipped == false then
  1400. if attack == false then
  1401. idle = idle + 1
  1402. else
  1403. idle = 0
  1404. end
  1405. if 1 < root.Velocity.y and hitfloor == nil then
  1406. Anim = "Jump"
  1407. if attack == false then
  1408. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(60)), 0.15)
  1409. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1410. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1411. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1412. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1413. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  1414. end
  1415. elseif -1 > root.Velocity.y and hitfloor == nil then
  1416. Anim = "Fall"
  1417. if attack == false then
  1418. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(180), Rad(0), Rad(0)), 0.15)
  1419. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1420. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1421. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1422. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1423. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  1424. end
  1425. elseif torvel < 1 and hitfloor ~= nil then
  1426. Anim = "Idle"
  1427. change = 1
  1428. if attack == false then
  1429. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1430. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1431. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1432. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1433. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  1434. LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
  1435. end
  1436. elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  1437. Anim = "Walk"
  1438. change = 1
  1439. if attack == false then
  1440. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0), Rad(10 * Cos(sine / 7))), 0.15)
  1441. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1442. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  1443. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  1444. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70) * Cos(sine / 7) , Rad(0), Rad(5)), 0.1)
  1445. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0), Rad(-5)), 0.1)
  1446. end
  1447. end
  1448. end
  1449. if 0 < #Effects then
  1450. for e = 1, #Effects do
  1451. if Effects[e] ~= nil then
  1452. local Thing = Effects[e]
  1453. if Thing ~= nil then
  1454. local Part = Thing[1]
  1455. local Mode = Thing[2]
  1456. local Delay = Thing[3]
  1457. local IncX = Thing[4]
  1458. local IncY = Thing[5]
  1459. local IncZ = Thing[6]
  1460. if 1 >= Thing[1].Transparency then
  1461. if Thing[2] == "Block1" then
  1462. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1463. local Mesh = Thing[1].Mesh
  1464. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1465. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1466. elseif Thing[2] == "Block2" then
  1467. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1468. local Mesh = Thing[7]
  1469. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1470. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1471. elseif Thing[2] == "Block3" then
  1472. 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)
  1473. local Mesh = Thing[7]
  1474. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1475. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1476. elseif Thing[2] == "Cylinder" then
  1477. local Mesh = Thing[1].Mesh
  1478. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1479. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1480. elseif Thing[2] == "Blood" then
  1481. local Mesh = Thing[7]
  1482. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1483. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1484. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1485. elseif Thing[2] == "Elec" then
  1486. local Mesh = Thing[1].Mesh
  1487. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1488. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1489. elseif Thing[2] == "Disappear" then
  1490. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1491. elseif Thing[2] == "Shatter" then
  1492. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1493. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1494. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1495. Thing[6] = Thing[6] + Thing[5]
  1496. end
  1497. else
  1498. Part.Parent = nil
  1499. table.remove(Effects, e)
  1500. end
  1501. end
  1502. end
  1503. end
  1504. end
  1505. end
  1506. -------------------------------------------------------
  1507. --End Animations And Script--
  1508. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement