Advertisement
Guest User

SPYYYY

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