Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[ A script By makhail07. that spy is gay (jeez how many of these did u edit p00t)
  2.  
  3.  
  4. Discord Creterisk#2958
  5.  
  6. Description:
  7.  
  8.  
  9. ]]--
  10.  
  11. local FavIDs = {340106355,927529620,876981900,398987889,1117396305}
  12.  
  13. function swait(num)
  14. if num==0 or num==nil then
  15. game:service'RunService'.Stepped:wait(0)
  16. else
  17. for i=0,num do
  18. game:service'RunService'.Stepped:wait(0)
  19. end
  20. end
  21. end
  22. function thread(f)
  23. coroutine.resume(coroutine.create(f))
  24. end
  25. function clerp(a, b, t)
  26. local qa = {
  27. QuaternionFromCFrame(a)
  28. }
  29. local qb = {
  30. QuaternionFromCFrame(b)
  31. }
  32. local ax, ay, az = a.x, a.y, a.z
  33. local bx, by, bz = b.x, b.y, b.z
  34. local _t = 1 - t
  35. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  36. end
  37. function QuaternionFromCFrame(cf)
  38. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  39. local trace = m00 + m11 + m22
  40. if trace > 0 then
  41. local s = math.sqrt(1 + trace)
  42. local recip = 0.5 / s
  43. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  44. else
  45. local i = 0
  46. if m00 < m11 then
  47. i = 1
  48. end
  49. if m22 > (i == 0 and m00 or m11) then
  50. i = 2
  51. end
  52. if i == 0 then
  53. local s = math.sqrt(m00 - m11 - m22 + 1)
  54. local recip = 0.5 / s
  55. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  56. elseif i == 1 then
  57. local s = math.sqrt(m11 - m22 - m00 + 1)
  58. local recip = 0.5 / s
  59. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  60. elseif i == 2 then
  61. local s = math.sqrt(m22 - m00 - m11 + 1)
  62. local recip = 0.5 / s
  63. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  64. end
  65. end
  66. end
  67. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  68. local xs, ys, zs = x + x, y + y, z + z
  69. local wx, wy, wz = w * xs, w * ys, w * zs
  70. local xx = x * xs
  71. local xy = x * ys
  72. local xz = x * zs
  73. local yy = y * ys
  74. local yz = y * zs
  75. local zz = z * zs
  76. 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))
  77. end
  78. function QuaternionSlerp(a, b, t)
  79. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  80. local startInterp, finishInterp
  81. if cosTheta >= 1.0E-4 then
  82. if 1 - cosTheta > 1.0E-4 then
  83. local theta = math.acos(cosTheta)
  84. local invSinTheta = 1 / math.sin(theta)
  85. startInterp = math.sin((1 - t) * theta) * invSinTheta
  86. finishInterp = math.sin(t * theta) * invSinTheta
  87. else
  88. startInterp = 1 - t
  89. finishInterp = t
  90. end
  91. elseif 1 + cosTheta > 1.0E-4 then
  92. local theta = math.acos(-cosTheta)
  93. local invSinTheta = 1 / math.sin(theta)
  94. startInterp = math.sin((t - 1) * theta) * invSinTheta
  95. finishInterp = math.sin(t * theta) * invSinTheta
  96. else
  97. startInterp = t - 1
  98. finishInterp = t
  99. end
  100. 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
  101. end
  102. function rayCast(Position, Direction, Range, Ignore)
  103. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  104. end
  105. --Wait what okay
  106. wait()
  107. local plr = game:service'Players'.assadabin
  108. local char = plr.Character
  109. local hum = char.Humanoid
  110. local ra = char["Right Arm"]
  111. local la= char["Left Arm"]
  112. local rl= char["Right Leg"]
  113. local ll = char["Left Leg"]
  114. local hed = char.Head
  115. local root = char.HumanoidRootPart
  116. local mouse = plr:GetMouse()
  117. local rootj = root.RootJoint
  118. local tors = char.Torso
  119. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  120. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  121. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  122. local maincolor = BrickColor.new("Magenta")
  123. cf = CFrame.new
  124. angles = CFrame.Angles
  125. attack = false
  126. euler=CFrame.fromEulerAnglesXYZ
  127. equipped = false
  128. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  129. RSH, LSH = nil, nil
  130. RW = Instance.new("Weld")
  131. LW = Instance.new("Weld")
  132. RH = tors["Right Hip"]
  133. LH = tors["Left Hip"]
  134. RSH = tors["Right Shoulder"]
  135. LSH = tors["Left Shoulder"]
  136. RSH.Parent = nil
  137. LSH.Parent = nil
  138. RW.Name = "RW"
  139. RW.Part0 = tors
  140. RW.C0 = CFrame.new(1.5, 0.5, 0)
  141. RW.C1 = CFrame.new(0, 0.5, 0)
  142. RW.Part1 = ra
  143. RW.Parent = tors
  144. LW.Name = "LW"
  145. LW.Part0 = tors
  146. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  147. LW.C1 = CFrame.new(0, 0.5, 0)
  148. LW.Part1 = la
  149. LW.Parent = tors
  150. print('User is '..plr.Name)
  151. Effects = {}
  152.  
  153. for i,v in next, game:GetService('Players').assadabin.Character:GetChildren() do
  154. if v:IsA('Accessory') then
  155. v:Destroy()
  156. end
  157. end
  158. -----------------------------------------
  159. --Hat creation--
  160. ------------------------------------------
  161. local hat = Instance.new("Hat")
  162. hat.Parent = game.Players.assadabin.Character
  163. hat.AttachmentForward = Vector3.new(0,0,-1)
  164. hat.AttachmentPos = Vector3.new(0,0.4,0)
  165. hat.AttachmentRight = Vector3.new(1,0,0)
  166. hat.AttachmentUp = Vector3.new(0,1,0)
  167. hat.Name = "Helmet"
  168. local hatHandle = Instance.new("Part")
  169. hatHandle.Parent = hat
  170. hatHandle.Name = "Handle"
  171. hatHandle.Size = Vector3.new(1.4,1.6,2)
  172. hatHandle.CanCollide = true
  173. local hatMesh = Instance.new("SpecialMesh")
  174. hatMesh.Parent = hatHandle
  175. hatMesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
  176. hatMesh.TextureId = "http://www.roblox.com/asset/?id=123724099"
  177. hatMesh.Scale = Vector3.new(1.2,1.2,1.2)
  178. hatMesh.Offset = Vector3.new(0,0,0)
  179. hatMesh.VertexColor = Vector3.new(1,1,1)
  180.  
  181. shirt = Instance.new("Shirt", char)
  182. shirt.Name = "Shirt"
  183. pants = Instance.new("Pants", char)
  184. pants.Name = "Pants"
  185. char.Shirt.ShirtTemplate = "rbxassetid://824629567"
  186. char.Pants.PantsTemplate = "rbxassetid://1098471700"
  187.  
  188. ArtificialHB = Instance.new("BindableEvent", script)
  189. ArtificialHB.Name = "Heartbeat"
  190.  
  191. script:WaitForChild("Heartbeat")
  192.  
  193. frame = 1 / 60
  194. tf = 0
  195. allowframeloss = false
  196. tossremainder = false
  197. lastframe = tick()
  198. script.Heartbeat:Fire()
  199.  
  200. game:GetService("RunService").Heartbeat:connect(function(s, p)
  201. tf = tf + s
  202. if tf >= frame then
  203. if allowframeloss then
  204. script.Heartbeat:Fire()
  205. lastframe = tick()
  206. else
  207. for i = 1, math.floor(tf / frame) do
  208. script.Heartbeat:Fire()
  209. end
  210. lastframe = tick()
  211. end
  212. if tossremainder then
  213. tf = 0
  214. else
  215. tf = tf - frame * math.floor(tf / frame)
  216. end
  217. end
  218. end)
  219. local RbxUtility = LoadLibrary("RbxUtility")
  220. local Create = RbxUtility.Create
  221.  
  222. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  223. if hit.Parent == nil then
  224. return
  225. end
  226. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  227. for _, v in pairs(hit.Parent:children()) do
  228. if v:IsA("Humanoid") then
  229. h = v
  230. end
  231. end
  232. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  233. warn'No R15 allowed'
  234. hit.Parent:FindFirstChild("Head"):BreakJoints()
  235. end
  236.  
  237. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  238. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  239. if hit.Parent.DebounceHit.Value == true then
  240. return
  241. end
  242. end
  243. if insta == true then
  244. hit.Parent:FindFirstChild("Head"):BreakJoints()
  245. end
  246. local c = Create("ObjectValue"){
  247. Name = "creator",
  248. Value = game:service("Players").assadabin,
  249. Parent = h,
  250. }
  251. game:GetService("Debris"):AddItem(c, .5)
  252. if HitSound ~= nil and HitPitch ~= nil then
  253. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  254. end
  255. local Damage = math.random(minim, maxim)
  256. local blocked = false
  257. local block = hit.Parent:findFirstChild("Block")
  258. if block ~= nil then
  259. if block.className == "IntValue" then
  260. if block.Value > 0 then
  261. blocked = true
  262. block.Value = block.Value - 1
  263. print(block.Value)
  264. end
  265. end
  266. end
  267. if blocked == false then
  268. h.Health = h.Health - Damage
  269. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  270. else
  271. h.Health = h.Health - (Damage / 2)
  272. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  273. end
  274. if Type == "Knockdown" then
  275. local hum = hit.Parent.Humanoid
  276. hum.PlatformStand = true
  277. coroutine.resume(coroutine.create(function(HHumanoid)
  278. swait(1)
  279. HHumanoid.PlatformStand = false
  280. end), hum)
  281. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  282. local bodvol = Create("BodyVelocity"){
  283. velocity = angle * knockback,
  284. P = 5000,
  285. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  286. Parent = hit,
  287. }
  288. local rl = Create("BodyAngularVelocity"){
  289. P = 3000,
  290. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  291. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  292. Parent = hit,
  293. }
  294. game:GetService("Debris"):AddItem(bodvol, .5)
  295. game:GetService("Debris"):AddItem(rl, .5)
  296. elseif Type == "Normal" then
  297. local vp = Create("BodyVelocity"){
  298. P = 500,
  299. maxForce = Vector3.new(math.huge, 0, math.huge),
  300. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  301. }
  302. if knockback > 0 then
  303. vp.Parent = hit.Parent.Torso
  304. end
  305. game:GetService("Debris"):AddItem(vp, .5)
  306. elseif Type == "Up" then
  307. local bodyVelocity = Create("BodyVelocity"){
  308. velocity = Vector3.new(0, 20, 0),
  309. P = 5000,
  310. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  311. Parent = hit,
  312. }
  313. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  314. elseif Type == "DarkUp" then
  315. coroutine.resume(coroutine.create(function()
  316. for i = 0, 1, 0.1 do
  317. swait()
  318. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  319. end
  320. end))
  321. local bodyVelocity = Create("BodyVelocity"){
  322. velocity = Vector3.new(0, 20, 0),
  323. P = 5000,
  324. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  325. Parent = hit,
  326. }
  327. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  328. elseif Type == "Snare" then
  329. local bp = Create("BodyPosition"){
  330. P = 2000,
  331. D = 100,
  332. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  333. position = hit.Parent.Torso.Position,
  334. Parent = hit.Parent.Torso,
  335. }
  336. game:GetService("Debris"):AddItem(bp, 1)
  337. elseif Type == "Freeze" then
  338. local BodPos = Create("BodyPosition"){
  339. P = 50000,
  340. D = 1000,
  341. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  342. position = hit.Parent.Torso.Position,
  343. Parent = hit.Parent.Torso,
  344. }
  345. local BodGy = Create("BodyGyro") {
  346. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  347. P = 20e+003,
  348. Parent = hit.Parent.Torso,
  349. cframe = hit.Parent.Torso.CFrame,
  350. }
  351. hit.Parent.Torso.Anchored = true
  352. coroutine.resume(coroutine.create(function(Part)
  353. swait(1.5)
  354. Part.Anchored = false
  355. end), hit.Parent.Torso)
  356. game:GetService("Debris"):AddItem(BodPos, 3)
  357. game:GetService("Debris"):AddItem(BodGy, 3)
  358. end
  359. local debounce = Create("BoolValue"){
  360. Name = "DebounceHit",
  361. Parent = hit.Parent,
  362. Value = true,
  363. }
  364. game:GetService("Debris"):AddItem(debounce, Delay)
  365. c = Create("ObjectValue"){
  366. Name = "creator",
  367. Value = Player,
  368. Parent = h,
  369. }
  370. game:GetService("Debris"):AddItem(c, .5)
  371. end
  372. end
  373.  
  374. function ShowDamage(Pos, Text, Time, Color)
  375. local Rate = (1 / 30)
  376. local Pos = (Pos or Vector3.new(0, 0, 0))
  377. local Text = (Text or "")
  378. local Time = (Time or 2)
  379. local Color = (Color or Color3.new(1, 0, 1))
  380. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  381. EffectPart.Anchored = true
  382. local BillboardGui = Create("BillboardGui"){
  383. Size = UDim2.new(3, 0, 3, 0),
  384. Adornee = EffectPart,
  385. Parent = EffectPart,
  386. }
  387. local TextLabel = Create("TextLabel"){
  388. BackgroundTransparency = 1,
  389. Size = UDim2.new(1, 0, 1, 0),
  390. Text = Text,
  391. Font = "Highway",
  392. TextColor3 = Color,
  393. TextScaled = true,
  394. Parent = BillboardGui,
  395. }
  396. game.Debris:AddItem(EffectPart, (Time))
  397. EffectPart.Parent = game:GetService("Workspace")
  398. delay(0, function()
  399. local Frames = (Time / Rate)
  400. for Frame = 1, Frames do
  401. wait(Rate)
  402. local Percent = (Frame / Frames)
  403. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  404. TextLabel.TextTransparency = Percent
  405. end
  406. if EffectPart and EffectPart.Parent then
  407. EffectPart:Destroy()
  408. end
  409. end)
  410. end
  411. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  412. for _, c in pairs(workspace:children()) do
  413. local hum = c:findFirstChild("Humanoid")
  414. if hum ~= nil then
  415. local head = c:findFirstChild("Head")
  416. if head ~= nil then
  417. local targ = head.Position - Part.Position
  418. local mag = targ.magnitude
  419. if magni >= mag and c.Name ~= plr.Name then
  420. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
  421. end
  422. end
  423. end
  424. end
  425. end
  426. CFuncs = {
  427. Part = {
  428. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  429. local Part = Create("Part")({
  430. Parent = Parent,
  431. Reflectance = Reflectance,
  432. Transparency = Transparency,
  433. CanCollide = false,
  434. Locked = true,
  435. BrickColor = BrickColor.new(tostring(BColor)),
  436. Name = Name,
  437. Size = Size,
  438. Material = Material
  439. })
  440. RemoveOutlines(Part)
  441. return Part
  442. end
  443. },
  444. Mesh = {
  445. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  446. local Msh = Create(Mesh)({
  447. Parent = Part,
  448. Offset = OffSet,
  449. Scale = Scale
  450. })
  451. if Mesh == "SpecialMesh" then
  452. Msh.MeshType = MeshType
  453. Msh.MeshId = MeshId
  454. end
  455. return Msh
  456. end
  457. },
  458. Mesh = {
  459. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  460. local Msh = Create(Mesh)({
  461. Parent = Part,
  462. Offset = OffSet,
  463. Scale = Scale
  464. })
  465. if Mesh == "SpecialMesh" then
  466. Msh.MeshType = MeshType
  467. Msh.MeshId = MeshId
  468. end
  469. return Msh
  470. end
  471. },
  472. Weld = {
  473. Create = function(Parent, Part0, Part1, C0, C1)
  474. local Weld = Create("Weld")({
  475. Parent = Parent,
  476. Part0 = Part0,
  477. Part1 = Part1,
  478. C0 = C0,
  479. C1 = C1
  480. })
  481. return Weld
  482. end
  483. },
  484. Sound = {
  485. Create = function(id, par, vol, pit)
  486. coroutine.resume(coroutine.create(function()
  487. local S = Create("Sound")({
  488. Volume = vol,
  489. Pitch = pit or 1,
  490. SoundId = id,
  491. Parent = par or workspace
  492. })
  493. wait()
  494. S:play()
  495. game:GetService("Debris"):AddItem(S, 6)
  496. end))
  497. end
  498. },
  499. ParticleEmitter = {
  500. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  501. local fp = Create("ParticleEmitter")({
  502. Parent = Parent,
  503. Color = ColorSequence.new(Color1, Color2),
  504. LightEmission = LightEmission,
  505. Size = Size,
  506. Texture = Texture,
  507. Transparency = Transparency,
  508. ZOffset = ZOffset,
  509. Acceleration = Accel,
  510. Drag = Drag,
  511. LockedToPart = LockedToPart,
  512. VelocityInheritance = VelocityInheritance,
  513. EmissionDirection = EmissionDirection,
  514. Enabled = Enabled,
  515. Lifetime = LifeTime,
  516. Rate = Rate,
  517. Rotation = Rotation,
  518. RotSpeed = RotSpeed,
  519. Speed = Speed,
  520. VelocitySpread = VelocitySpread
  521. })
  522. return fp
  523. end
  524. }
  525. }
  526. function RemoveOutlines(part)
  527. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  528. end
  529. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  530. local Part = Create("Part")({
  531. formFactor = FormFactor,
  532. Parent = Parent,
  533. Reflectance = Reflectance,
  534. Transparency = Transparency,
  535. CanCollide = false,
  536. Locked = true,
  537. BrickColor = BrickColor.new(tostring(BColor)),
  538. Name = Name,
  539. Size = Size,
  540. Material = Material
  541. })
  542. RemoveOutlines(Part)
  543. return Part
  544. end
  545. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  546. local Msh = Create(Mesh)({
  547. Parent = Part,
  548. Offset = OffSet,
  549. Scale = Scale
  550. })
  551. if Mesh == "SpecialMesh" then
  552. Msh.MeshType = MeshType
  553. Msh.MeshId = MeshId
  554. end
  555. return Msh
  556. end
  557. function CreateWeld(Parent, Part0, Part1, C0, C1)
  558. local Weld = Create("Weld")({
  559. Parent = Parent,
  560. Part0 = Part0,
  561. Part1 = Part1,
  562. C0 = C0,
  563. C1 = C1
  564. })
  565. return Weld
  566. end
  567. EffectModel = Instance.new("Model", char)
  568. Effects = {
  569. Block = {
  570. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  571. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  572. prt.Anchored = true
  573. prt.CFrame = cframe
  574. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  575. game:GetService("Debris"):AddItem(prt, 10)
  576. if Type == 1 or Type == nil then
  577. table.insert(Effects, {
  578. prt,
  579. "Block1",
  580. delay,
  581. x3,
  582. y3,
  583. z3,
  584. msh
  585. })
  586. elseif Type == 2 then
  587. table.insert(Effects, {
  588. prt,
  589. "Block2",
  590. delay,
  591. x3,
  592. y3,
  593. z3,
  594. msh
  595. })
  596. else
  597. table.insert(Effects, {
  598. prt,
  599. "Block3",
  600. delay,
  601. x3,
  602. y3,
  603. z3,
  604. msh
  605. })
  606. end
  607. end
  608. },
  609. Sphere = {
  610. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  611. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  612. prt.Anchored = true
  613. prt.CFrame = cframe
  614. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  615. game:GetService("Debris"):AddItem(prt, 10)
  616. table.insert(Effects, {
  617. prt,
  618. "Cylinder",
  619. delay,
  620. x3,
  621. y3,
  622. z3,
  623. msh
  624. })
  625. end
  626. },
  627. Cylinder = {
  628. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  629. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  630. prt.Anchored = true
  631. prt.CFrame = cframe
  632. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  633. game:GetService("Debris"):AddItem(prt, 10)
  634. table.insert(Effects, {
  635. prt,
  636. "Cylinder",
  637. delay,
  638. x3,
  639. y3,
  640. z3,
  641. msh
  642. })
  643. end
  644. },
  645. Wave = {
  646. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  647. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  648. prt.Anchored = true
  649. prt.CFrame = cframe
  650. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  651. game:GetService("Debris"):AddItem(prt, 10)
  652. table.insert(Effects, {
  653. prt,
  654. "Cylinder",
  655. delay,
  656. x3 / 60,
  657. y3 / 60,
  658. z3 / 60,
  659. msh
  660. })
  661. end
  662. },
  663. Ring = {
  664. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  665. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  666. prt.Anchored = true
  667. prt.CFrame = cframe
  668. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  669. game:GetService("Debris"):AddItem(prt, 10)
  670. table.insert(Effects, {
  671. prt,
  672. "Cylinder",
  673. delay,
  674. x3,
  675. y3,
  676. z3,
  677. msh
  678. })
  679. end
  680. },
  681. Break = {
  682. Create = function(brickcolor, cframe, x1, y1, z1)
  683. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  684. prt.Anchored = true
  685. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  686. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  687. local num = math.random(10, 50) / 1000
  688. game:GetService("Debris"):AddItem(prt, 10)
  689. table.insert(Effects, {
  690. prt,
  691. "Shatter",
  692. num,
  693. prt.CFrame,
  694. math.random() - math.random(),
  695. 0,
  696. math.random(50, 100) / 100
  697. })
  698. end
  699. }
  700. }
  701. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  702. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  703. prt.Anchored = true
  704. prt.CFrame = cframe
  705. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  706. game:GetService("Debris"):AddItem(prt, 10)
  707. if Type == 1 or Type == nil then
  708. table.insert(Effects, {
  709. prt,
  710. "Block1",
  711. delay,
  712. x3,
  713. y3,
  714. z3,
  715. msh
  716. })
  717. elseif Type == 2 then
  718. table.insert(Effects, {
  719. prt,
  720. "Block2",
  721. delay,
  722. x3,
  723. y3,
  724. z3,
  725. msh
  726. })
  727. elseif Type == 3 then
  728. table.insert(Effects, {
  729. prt,
  730. "Block3",
  731. delay,
  732. x3,
  733. y3,
  734. z3,
  735. msh
  736. })
  737. end
  738. end
  739. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  740. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  741. prt.Anchored = true
  742. prt.CFrame = cframe
  743. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  744. game:GetService("Debris"):AddItem(prt, 10)
  745. table.insert(Effects, {
  746. prt,
  747. "Cylinder",
  748. delay,
  749. x3,
  750. y3,
  751. z3,
  752. msh
  753. })
  754. end
  755. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  756. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  757. prt.Anchored = true
  758. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  759. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  760. game:GetService("Debris"):AddItem(prt, 10)
  761. table.insert(Effects, {
  762. prt,
  763. "Cylinder",
  764. delay,
  765. x3,
  766. y3,
  767. z3,
  768. msh
  769. })
  770. end
  771. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  772. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  773. prt.Anchored = true
  774. prt.CFrame = cframe
  775. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  776. game:GetService("Debris"):AddItem(prt, 10)
  777. table.insert(Effects, {
  778. prt,
  779. "Cylinder",
  780. delay,
  781. x3,
  782. y3,
  783. z3,
  784. msh
  785. })
  786. end
  787. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  788. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  789. prt.Anchored = true
  790. prt.CFrame = cframe
  791. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  792. game:GetService("Debris"):AddItem(prt, 10)
  793. table.insert(Effects, {
  794. prt,
  795. "Cylinder",
  796. delay,
  797. x3,
  798. y3,
  799. z3,
  800. msh
  801. })
  802. end
  803. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  804. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  805. prt.Anchored = true
  806. prt.CFrame = cframe
  807. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  808. game:GetService("Debris"):AddItem(prt, 10)
  809. table.insert(Effects, {
  810. prt,
  811. "Cylinder",
  812. delay,
  813. x3,
  814. y3,
  815. z3,
  816. msh
  817. })
  818. end
  819. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  820. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  821. prt.Anchored = true
  822. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  823. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  824. local num = math.random(10, 50) / 1000
  825. game:GetService("Debris"):AddItem(prt, 10)
  826. table.insert(Effects, {
  827. prt,
  828. "Shatter",
  829. num,
  830. prt.CFrame,
  831. math.random() - math.random(),
  832. 0,
  833. math.random(50, 100) / 100
  834. })
  835. end
  836. function CreateSound(ID, PARENT, VOLUME, PITCH)
  837. local NEWSOUND = nil
  838. coroutine.resume(coroutine.create(function()
  839. NEWSOUND = Instance.new("Sound", PARENT)
  840. NEWSOUND.Volume = VOLUME
  841. NEWSOUND.Pitch = PITCH
  842. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  843. swait()
  844. NEWSOUND:play()
  845. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  846. end))
  847. return NEWSOUND
  848. end
  849.  
  850.  
  851.  
  852. local sine=0
  853. function SHUTUP()
  854. attack = true
  855. hum.WalkSpeed = 0
  856. CreateSound("887591869", tors, 5, 1)
  857. for i = 0,2,0.1 do
  858. swait()
  859. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(0)),0.15)
  860. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  861. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  862. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  863. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(3)), 0.1)
  864. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-3)), 0.1)
  865. end
  866. for i = 0,1.2,0.1 do
  867. swait()
  868. 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)
  869. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  870. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  871. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  872. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(130), math.rad(0), math.rad(3)), 0.1)
  873. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-3)), 0.1)
  874. end
  875. for i = 0,2,0.1 do
  876. swait()
  877. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(0)),0.15)
  878. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  879. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  880. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  881. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(3)), 0.1)
  882. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-3)), 0.1)
  883. end
  884. attack = false
  885. hum.WalkSpeed = 16
  886. end
  887.  
  888.  
  889. function Huh()
  890. attack = true
  891. hum.WalkSpeed = 0
  892. CreateSound("212105873", tors, 10, 1)
  893. for i = 0,6,0.1 do
  894. swait()
  895. 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)
  896. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(15),math.rad(0)),.3)
  897. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  898. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  899. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(0), math.rad(150)), 0.1)
  900. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-150)), 0.1)
  901. end
  902. attack = false
  903. hum.WalkSpeed = 16
  904. end
  905.  
  906. function Noni()
  907. attack = true
  908. hum.WalkSpeed = 0
  909. CreateSound("1058417264", tors, 5, 1)
  910. for i = 0,6,0.1 do
  911. swait()
  912. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-6),math.rad(0),math.rad(0)),0.15)
  913. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  914. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  915. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  916. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-120), math.rad(0), math.rad(115)), 0.1)
  917. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-120), math.rad(-0), math.rad(-115)), 0.1)
  918. end
  919. attack = false
  920. hum.WalkSpeed = 16
  921. end
  922.  
  923. function MeSwamp()
  924. attack = true
  925. hum.WalkSpeed = 0
  926. CreateSound("1399378075", tors, 10, 1)
  927. for i = 0,6,0.1 do
  928. swait()
  929. 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)
  930. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  931. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  932. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  933. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-160), math.rad(0), math.rad(120)), 0.1)
  934. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-20)), 0.1)
  935. end
  936. for i = 0,2,0.1 do
  937. swait()
  938. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(0)),0.15)
  939. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  940. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  941. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  942. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(165)), 0.1)
  943. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-165)), 0.1)
  944. end
  945. for i = 0,2,0.1 do
  946. swait()
  947. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  948. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  949. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  950. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  951. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(0)), 0.1)
  952. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-0)), 0.1)
  953. end
  954. for i = 0,4,0.1 do
  955. swait()
  956. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(360*i),math.rad(0)),0.15)
  957. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  958. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  959. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  960. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(90)), 0.1)
  961. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-90)), 0.1)
  962. end
  963. for i = 0,6,0.1 do
  964. swait()
  965. 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)
  966. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  967. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),-.2)*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  968. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  969. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(130)), 0.1)
  970. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-130)), 0.1)
  971. end
  972. attack = false
  973. hum.WalkSpeed = 16
  974. end
  975.  
  976.  
  977. function EndMySuffering()
  978. attack = true
  979. hum.WalkSpeed = 0
  980. CreateSound("212678112", tors, 5, 1)
  981. for i = 0,6,0.1 do
  982. swait()
  983. hum.Health = hum.Health + 50
  984. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-10),math.rad(0)),0.15)
  985. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
  986. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  987. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  988. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(-0), math.rad(0), math.rad(-110)), 0.1)
  989. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-100)), 0.1)
  990. end
  991. attack = false
  992. hum.WalkSpeed = 16
  993. end
  994.  
  995.  
  996. function WHATDAUSAY()
  997. attack = true
  998. hum.WalkSpeed = 0
  999. CreateSound("356190749", tors, 5, 1)
  1000. for i = 0,20,0.1 do
  1001. swait()
  1002. rootj.C0=clerp(rootj.C0,RootCF*cf(0,math.random(-10, 10) / 100,-0.1+0.1*math.cos(sine/2))*angles(math.rad(20*math.cos(sine/2)),math.rad(20*math.cos(sine/2)),math.rad(20*math.cos(sine/2))),0.15)
  1003. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
  1004. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1005. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1006. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(-180*math.cos(sine/2))), 0.1)
  1007. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-180*math.cos(sine/2))), 0.1)
  1008. end
  1009. for i = 0,2,0.1 do
  1010. swait()
  1011. 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)
  1012. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1013. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1014. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1015. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1016. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-20)), 0.1)
  1017. end
  1018. for i = 0,2,0.1 do
  1019. swait()
  1020. 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)
  1021. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1022. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1023. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1024. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(125), math.rad(0), math.rad(20)), 0.1)
  1025. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(125), math.rad(-0), math.rad(-20)), 0.1)
  1026. end
  1027. Effects.Sphere.Create(maincolor, la.CFrame * CFrame.new(0, -2.2, 0), 100, 100, 100, 3, 3, 3, .1, .1)
  1028. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0, -2.2, 0), 100, 100, 100, 3, 3, 3, .1, .1)
  1029. for i = 0,2,0.1 do
  1030. swait()
  1031. 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)
  1032. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1033. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1034. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1035. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1036. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-20)), 0.1)
  1037. end
  1038. attack = false
  1039. hum.WalkSpeed = 16
  1040. end
  1041.  
  1042. function SippyBoy()
  1043. attack = true
  1044. hum.WalkSpeed = 0
  1045. local Blobby = Instance.new("Part", char)
  1046. Blobby.Name = "Blob"
  1047. Blobby.CanCollide = false
  1048. Blobby.BrickColor = BrickColor.new("Really black")
  1049. Blobby.Transparency = 1
  1050. Blobby.Material = "Plastic"
  1051. Blobby.Size = Vector3.new(1, 1, 2)
  1052. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1053. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1054.  
  1055. local Weld = Instance.new("Weld", Blobby)
  1056. Weld.Part0 = ra
  1057. Weld.Part1 = Blobby
  1058. Weld.C1 = CFrame.new(0, -.1, 1)
  1059. Weld.C0 = CFrame.Angles(math.rad(-90),0,0)
  1060.  
  1061. local M2 = Instance.new("SpecialMesh")
  1062. M2.Parent = Blobby
  1063. M2.MeshId = "http://www.roblox.com/asset/?id=10470609"
  1064. M2.TextureId = "http://www.roblox.com/asset/?id=1450388425"
  1065. M2.Scale = Vector3.new(1,1,1)
  1066.  
  1067.  
  1068. Blobby.Transparency = 0
  1069. for i = 0,6,0.1 do
  1070. swait()
  1071. 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)
  1072. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1073. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1074. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1075. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(90), math.rad(0), math.rad(-0)), 0.1)
  1076. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-0)), 0.1)
  1077. end
  1078.  
  1079. CreateSound("625430269", tors, 10, 1)
  1080. CreateSound("625430269", tors, 10, 1)
  1081. CreateSound("625430269", tors, 10, 1)
  1082. CreateSound("625430269", tors, 10, 1)
  1083. for i = 0,10,0.1 do
  1084. swait()
  1085. 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)
  1086. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1087. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1088. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1089. RW.C0 = clerp(RW.C0, CFrame.new(1.35, 0.7+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(115), math.rad(0), math.rad(-55)), 0.1)
  1090. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-0)), 0.1)
  1091. end
  1092. hum.WalkSpeed = 16
  1093. Blobby.Transparency = 1
  1094. attack = false
  1095. end
  1096.  
  1097. function GetOutOfMyCOcK()
  1098. attack = true
  1099. hum.WalkSpeed = 0
  1100. CreateSound("1049329380", tors, 5, 1)
  1101. local Cary = Instance.new("Part", char)
  1102. Cary.Name = "Blob"
  1103. Cary.CanCollide = false
  1104. Cary.BrickColor = BrickColor.new("Really black")
  1105. Cary.Transparency = 0
  1106. Cary.Material = "Plastic"
  1107. Cary.Size = Vector3.new(1, 1, 2)
  1108. Cary.TopSurface = Enum.SurfaceType.Smooth
  1109. Cary.BottomSurface = Enum.SurfaceType.Smooth
  1110.  
  1111. local Weld = Instance.new("Weld", Cary)
  1112. Weld.Part0 = tors
  1113. Weld.Part1 = Cary
  1114. Weld.C1 = CFrame.new(0, 0, 5)
  1115. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1116.  
  1117. local M2 = Instance.new("SpecialMesh")
  1118. M2.Parent = Cary
  1119. M2.MeshId = "http://www.roblox.com/asset/?id=591853691"
  1120. M2.TextureId = "http://www.roblox.com/asset/?id=591854066"
  1121. M2.Scale = Vector3.new(1,1,1)
  1122.  
  1123. for i = 0,2,0.1 do
  1124. swait()
  1125. 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)
  1126. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1127. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1128. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1129. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(120), math.rad(0), math.rad(-0)), 0.1)
  1130. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(120), math.rad(-0), math.rad(-0)), 0.1)
  1131. end
  1132. Weld.C1 = CFrame.new(0, 0, 5)
  1133. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1134. for i = 0,10,0.1 do
  1135. swait()
  1136. 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)
  1137. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1138. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1139. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1140. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(-0)), 0.1)
  1141. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-0)), 0.1)
  1142. end
  1143. Weld.C1 = CFrame.new(0, 0, 7)
  1144. Weld.C0 = CFrame.Angles(math.rad(90),math.rad(0),0)
  1145. for i = 0,14,0.1 do
  1146. swait()
  1147. 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)
  1148. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1149. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1150. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1151. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(0), math.rad(-180)), 0.1)
  1152. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(180)), 0.1)
  1153. end
  1154. for i = 1,8 do
  1155. Weld.C1 = CFrame.new(0, 0, 5)
  1156. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1157. for i = 0,1.2,0.1 do
  1158. swait()
  1159. 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)
  1160. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1161. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1162. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1163. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(-0)), 0.1)
  1164. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-0)), 0.1)
  1165. end
  1166. Weld.C1 = CFrame.new(0, 0, 7)
  1167. Weld.C0 = CFrame.Angles(math.rad(90),math.rad(0),0)
  1168. for i = 0,1.2,0.1 do
  1169. swait()
  1170. 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)
  1171. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1172. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1173. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1174. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.1)
  1175. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(180)), 0.1)
  1176. end
  1177. end
  1178. attack = false
  1179. hum.WalkSpeed = 16
  1180. Cary.Transparency = 1
  1181. end
  1182.  
  1183.  
  1184. mouse.KeyDown:connect(function(key)
  1185. if attack == false then
  1186. if key == 'q' then
  1187. SHUTUP()
  1188. elseif key == 'e' then
  1189. Huh()
  1190. elseif key == 'r' then
  1191. Noni()
  1192. elseif key == 't' then
  1193. MeSwamp()
  1194. elseif key == 'y' then
  1195. EndMySuffering()
  1196. elseif key == 'f' then
  1197. WHATDAUSAY()
  1198. elseif key == 'z' then
  1199. SippyBoy()
  1200. elseif key == 'x' then
  1201. GetOutOfMyCOcK()
  1202. end
  1203. end
  1204. end)
  1205.  
  1206.  
  1207. local idle=0
  1208. local change = 1
  1209. local val = 0
  1210. toim = 0
  1211. hum.Animator.Parent = nil
  1212. idleanim=.4
  1213. while true do
  1214. swait()
  1215. sine = sine + change
  1216. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1217. local velderp=root.Velocity.y
  1218. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1219. if equipped==true or equipped==false then
  1220. if attack==false then
  1221. idle=idle+1
  1222. else
  1223. idle=0
  1224. end
  1225. if root.Velocity.y > 1 and hitfloor==nil then
  1226. Anim="Jump"
  1227. if attack==false then
  1228. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1229. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1230. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1231. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1232. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),-0.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
  1233. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1234. end
  1235. elseif root.Velocity.y < -1 and hitfloor==nil then
  1236. Anim="Fall"
  1237. if attack==false then
  1238. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1239. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1240. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)), 0.3)
  1241. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1242. LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.6)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
  1243. RH.C0=clerp(RH.C0,cf(1,-.3-0.1*math.cos(sine/20),-.6)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1244. end
  1245. elseif torvel<1 and hitfloor~=nil then
  1246. Anim="Idle"
  1247. change = 1
  1248. if attack==false then
  1249. 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)
  1250. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1251. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1252. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  1253. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(0), math.rad(3)), 0.1)
  1254. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-3)), 0.1)
  1255. end
  1256.  
  1257. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  1258. Anim="Walk"
  1259. change = 1
  1260. if attack==false then
  1261. 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(3-2.5*math.cos(sine/3.5)),math.rad(0)+root.RotVelocity.Y/30,math.rad(17*math.cos(sine/7))+root.RotVelocity.Y/30),0.15)
  1262. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1263. RH.C0=clerp(RH.C0,cf(1,-0.9-0.5*math.cos(sine/7)/2,0.055*math.cos(sine/7)/2)*angles(math.rad(0)+ -math.sin(sine/7)/1.5,math.rad(90-0.1*math.cos(sine/7)),math.rad(0)),0.15)
  1264. LH.C0=clerp(LH.C0,cf(-1,-0.9+0.5*math.cos(sine/7)/2,-0.055*math.cos(sine/7)/2)*angles(math.rad(0)+ math.sin(sine/7)/1.5,math.rad(-90-0.1*math.cos(sine/7)),math.rad(0)),0.15)
  1265. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(120 )* math.cos(sine / 7), math.rad(-7*math.sin(sine/25)), math.rad(5)), 0.1)
  1266. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(-125 )* math.cos(sine / 7), math.rad(7*math.sin(sine/25)), math.rad(-5)), 0.1)
  1267. end
  1268. end
  1269. end
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275. if 0 < #Effects then
  1276. for e = 1, #Effects do
  1277. if Effects[e] ~= nil then
  1278. local Thing = Effects[e]
  1279. if Thing ~= nil then
  1280. local Part = Thing[1]
  1281. local Mode = Thing[2]
  1282. local Delay = Thing[3]
  1283. local IncX = Thing[4]
  1284. local IncY = Thing[5]
  1285. local IncZ = Thing[6]
  1286. if 1 >= Thing[1].Transparency then
  1287. if Thing[2] == "Block1" then
  1288. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1289. local Mesh = Thing[1].Mesh
  1290. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1291. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1292. elseif Thing[2] == "Block2" then
  1293. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1294. local Mesh = Thing[7]
  1295. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1296. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1297. elseif Thing[2] == "Block3" then
  1298. 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)
  1299. local Mesh = Thing[7]
  1300. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1301. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1302. elseif Thing[2] == "Cylinder" then
  1303. local Mesh = Thing[1].Mesh
  1304. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1305. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1306. elseif Thing[2] == "Blood" then
  1307. local Mesh = Thing[7]
  1308. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1309. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1310. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1311. elseif Thing[2] == "Elec" then
  1312. local Mesh = Thing[1].Mesh
  1313. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1314. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1315. elseif Thing[2] == "Disappear" then
  1316. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1317. elseif Thing[2] == "Shatter" then
  1318. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1319. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1320. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1321. Thing[6] = Thing[6] + Thing[5]
  1322. end
  1323. else
  1324. Part.Parent = nil
  1325. table.remove(Effects, e)
  1326. end
  1327. end
  1328. end
  1329. end
  1330. end
  1331. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement