metilol

Untitled

Mar 19th, 2018
95
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'.LocalPlayer
  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 mouse = plr:GetMouse()
  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. --Hat creation--
  154. ------------------------------------------
  155. ArtificialHB = Instance.new("BindableEvent", script)
  156. ArtificialHB.Name = "Heartbeat"
  157.  
  158. script:WaitForChild("Heartbeat")
  159.  
  160. frame = 1 / 60
  161. tf = 0
  162. allowframeloss = false
  163. tossremainder = false
  164. lastframe = tick()
  165. script.Heartbeat:Fire()
  166.  
  167. game:GetService("RunService").Heartbeat:connect(function(s, p)
  168. tf = tf + s
  169. if tf >= frame then
  170. if allowframeloss then
  171. script.Heartbeat:Fire()
  172. lastframe = tick()
  173. else
  174. for i = 1, math.floor(tf / frame) do
  175. script.Heartbeat:Fire()
  176. end
  177. lastframe = tick()
  178. end
  179. if tossremainder then
  180. tf = 0
  181. else
  182. tf = tf - frame * math.floor(tf / frame)
  183. end
  184. end
  185. end)
  186. local RbxUtility = LoadLibrary("RbxUtility")
  187. local Create = RbxUtility.Create
  188.  
  189. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  190. if hit.Parent == nil then
  191. return
  192. end
  193. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  194. for _, v in pairs(hit.Parent:children()) do
  195. if v:IsA("Humanoid") then
  196. h = v
  197. end
  198. end
  199. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  200. warn'No R15 allowed'
  201. hit.Parent:FindFirstChild("Head"):BreakJoints()
  202. end
  203.  
  204. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  205. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  206. if hit.Parent.DebounceHit.Value == true then
  207. return
  208. end
  209. end
  210. if insta == true then
  211. hit.Parent:FindFirstChild("Head"):BreakJoints()
  212. end
  213. local c = Create("ObjectValue"){
  214. Name = "creator",
  215. Value = game:service("Players").LocalPlayer,
  216. Parent = h,
  217. }
  218. game:GetService("Debris"):AddItem(c, .5)
  219. if HitSound ~= nil and HitPitch ~= nil then
  220. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  221. end
  222. local Damage = math.random(minim, maxim)
  223. local blocked = false
  224. local block = hit.Parent:findFirstChild("Block")
  225. if block ~= nil then
  226. if block.className == "IntValue" then
  227. if block.Value > 0 then
  228. blocked = true
  229. block.Value = block.Value - 1
  230. print(block.Value)
  231. end
  232. end
  233. end
  234. if blocked == false then
  235. h.Health = h.Health - Damage
  236. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  237. else
  238. h.Health = h.Health - (Damage / 2)
  239. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  240. end
  241. if Type == "Knockdown" then
  242. local hum = hit.Parent.Humanoid
  243. hum.PlatformStand = true
  244. coroutine.resume(coroutine.create(function(HHumanoid)
  245. swait(1)
  246. HHumanoid.PlatformStand = false
  247. end), hum)
  248. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  249. local bodvol = Create("BodyVelocity"){
  250. velocity = angle * knockback,
  251. P = 5000,
  252. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  253. Parent = hit,
  254. }
  255. local rl = Create("BodyAngularVelocity"){
  256. P = 3000,
  257. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  258. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  259. Parent = hit,
  260. }
  261. game:GetService("Debris"):AddItem(bodvol, .5)
  262. game:GetService("Debris"):AddItem(rl, .5)
  263. elseif Type == "Normal" then
  264. local vp = Create("BodyVelocity"){
  265. P = 500,
  266. maxForce = Vector3.new(math.huge, 0, math.huge),
  267. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  268. }
  269. if knockback > 0 then
  270. vp.Parent = hit.Parent.Torso
  271. end
  272. game:GetService("Debris"):AddItem(vp, .5)
  273. elseif Type == "Up" then
  274. local bodyVelocity = Create("BodyVelocity"){
  275. velocity = Vector3.new(0, 20, 0),
  276. P = 5000,
  277. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  278. Parent = hit,
  279. }
  280. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  281. elseif Type == "DarkUp" then
  282. coroutine.resume(coroutine.create(function()
  283. for i = 0, 1, 0.1 do
  284. swait()
  285. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  286. end
  287. end))
  288. local bodyVelocity = Create("BodyVelocity"){
  289. velocity = Vector3.new(0, 20, 0),
  290. P = 5000,
  291. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  292. Parent = hit,
  293. }
  294. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  295. elseif Type == "Snare" then
  296. local bp = Create("BodyPosition"){
  297. P = 2000,
  298. D = 100,
  299. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  300. position = hit.Parent.Torso.Position,
  301. Parent = hit.Parent.Torso,
  302. }
  303. game:GetService("Debris"):AddItem(bp, 1)
  304. elseif Type == "Freeze" then
  305. local BodPos = Create("BodyPosition"){
  306. P = 50000,
  307. D = 1000,
  308. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  309. position = hit.Parent.Torso.Position,
  310. Parent = hit.Parent.Torso,
  311. }
  312. local BodGy = Create("BodyGyro") {
  313. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  314. P = 20e+003,
  315. Parent = hit.Parent.Torso,
  316. cframe = hit.Parent.Torso.CFrame,
  317. }
  318. hit.Parent.Torso.Anchored = true
  319. coroutine.resume(coroutine.create(function(Part)
  320. swait(1.5)
  321. Part.Anchored = false
  322. end), hit.Parent.Torso)
  323. game:GetService("Debris"):AddItem(BodPos, 3)
  324. game:GetService("Debris"):AddItem(BodGy, 3)
  325. end
  326. local debounce = Create("BoolValue"){
  327. Name = "DebounceHit",
  328. Parent = hit.Parent,
  329. Value = true,
  330. }
  331. game:GetService("Debris"):AddItem(debounce, Delay)
  332. c = Create("ObjectValue"){
  333. Name = "creator",
  334. Value = Player,
  335. Parent = h,
  336. }
  337. game:GetService("Debris"):AddItem(c, .5)
  338. end
  339. end
  340.  
  341. function ShowDamage(Pos, Text, Time, Color)
  342. local Rate = (1 / 30)
  343. local Pos = (Pos or Vector3.new(0, 0, 0))
  344. local Text = (Text or "")
  345. local Time = (Time or 2)
  346. local Color = (Color or Color3.new(1, 0, 1))
  347. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  348. EffectPart.Anchored = true
  349. local BillboardGui = Create("BillboardGui"){
  350. Size = UDim2.new(3, 0, 3, 0),
  351. Adornee = EffectPart,
  352. Parent = EffectPart,
  353. }
  354. local TextLabel = Create("TextLabel"){
  355. BackgroundTransparency = 1,
  356. Size = UDim2.new(1, 0, 1, 0),
  357. Text = Text,
  358. Font = "Highway",
  359. TextColor3 = Color,
  360. TextScaled = true,
  361. Parent = BillboardGui,
  362. }
  363. game.Debris:AddItem(EffectPart, (Time))
  364. EffectPart.Parent = game:GetService("Workspace")
  365. delay(0, function()
  366. local Frames = (Time / Rate)
  367. for Frame = 1, Frames do
  368. wait(Rate)
  369. local Percent = (Frame / Frames)
  370. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  371. TextLabel.TextTransparency = Percent
  372. end
  373. if EffectPart and EffectPart.Parent then
  374. EffectPart:Destroy()
  375. end
  376. end)
  377. end
  378. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  379. for _, c in pairs(workspace:children()) do
  380. local hum = c:findFirstChild("Humanoid")
  381. if hum ~= nil then
  382. local head = c:findFirstChild("Head")
  383. if head ~= nil then
  384. local targ = head.Position - Part.Position
  385. local mag = targ.magnitude
  386. if magni >= mag and c.Name ~= plr.Name then
  387. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
  388. end
  389. end
  390. end
  391. end
  392. end
  393. CFuncs = {
  394. Part = {
  395. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  396. local Part = Create("Part")({
  397. Parent = Parent,
  398. Reflectance = Reflectance,
  399. Transparency = Transparency,
  400. CanCollide = false,
  401. Locked = true,
  402. BrickColor = BrickColor.new(tostring(BColor)),
  403. Name = Name,
  404. Size = Size,
  405. Material = Material
  406. })
  407. RemoveOutlines(Part)
  408. return Part
  409. end
  410. },
  411. Mesh = {
  412. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  413. local Msh = Create(Mesh)({
  414. Parent = Part,
  415. Offset = OffSet,
  416. Scale = Scale
  417. })
  418. if Mesh == "SpecialMesh" then
  419. Msh.MeshType = MeshType
  420. Msh.MeshId = MeshId
  421. end
  422. return Msh
  423. end
  424. },
  425. Mesh = {
  426. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  427. local Msh = Create(Mesh)({
  428. Parent = Part,
  429. Offset = OffSet,
  430. Scale = Scale
  431. })
  432. if Mesh == "SpecialMesh" then
  433. Msh.MeshType = MeshType
  434. Msh.MeshId = MeshId
  435. end
  436. return Msh
  437. end
  438. },
  439. Weld = {
  440. Create = function(Parent, Part0, Part1, C0, C1)
  441. local Weld = Create("Weld")({
  442. Parent = Parent,
  443. Part0 = Part0,
  444. Part1 = Part1,
  445. C0 = C0,
  446. C1 = C1
  447. })
  448. return Weld
  449. end
  450. },
  451. Sound = {
  452. Create = function(id, par, vol, pit)
  453. coroutine.resume(coroutine.create(function()
  454. local S = Create("Sound")({
  455. Volume = vol,
  456. Pitch = pit or 1,
  457. SoundId = id,
  458. Parent = par or workspace
  459. })
  460. wait()
  461. S:play()
  462. game:GetService("Debris"):AddItem(S, 6)
  463. end))
  464. end
  465. },
  466. ParticleEmitter = {
  467. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  468. local fp = Create("ParticleEmitter")({
  469. Parent = Parent,
  470. Color = ColorSequence.new(Color1, Color2),
  471. LightEmission = LightEmission,
  472. Size = Size,
  473. Texture = Texture,
  474. Transparency = Transparency,
  475. ZOffset = ZOffset,
  476. Acceleration = Accel,
  477. Drag = Drag,
  478. LockedToPart = LockedToPart,
  479. VelocityInheritance = VelocityInheritance,
  480. EmissionDirection = EmissionDirection,
  481. Enabled = Enabled,
  482. Lifetime = LifeTime,
  483. Rate = Rate,
  484. Rotation = Rotation,
  485. RotSpeed = RotSpeed,
  486. Speed = Speed,
  487. VelocitySpread = VelocitySpread
  488. })
  489. return fp
  490. end
  491. }
  492. }
  493. function RemoveOutlines(part)
  494. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  495. end
  496. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  497. local Part = Create("Part")({
  498. formFactor = FormFactor,
  499. Parent = Parent,
  500. Reflectance = Reflectance,
  501. Transparency = Transparency,
  502. CanCollide = false,
  503. Locked = true,
  504. BrickColor = BrickColor.new(tostring(BColor)),
  505. Name = Name,
  506. Size = Size,
  507. Material = Material
  508. })
  509. RemoveOutlines(Part)
  510. return Part
  511. end
  512. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  513. local Msh = Create(Mesh)({
  514. Parent = Part,
  515. Offset = OffSet,
  516. Scale = Scale
  517. })
  518. if Mesh == "SpecialMesh" then
  519. Msh.MeshType = MeshType
  520. Msh.MeshId = MeshId
  521. end
  522. return Msh
  523. end
  524. function CreateWeld(Parent, Part0, Part1, C0, C1)
  525. local Weld = Create("Weld")({
  526. Parent = Parent,
  527. Part0 = Part0,
  528. Part1 = Part1,
  529. C0 = C0,
  530. C1 = C1
  531. })
  532. return Weld
  533. end
  534. EffectModel = Instance.new("Model", char)
  535. Effects = {
  536. Block = {
  537. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  538. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  539. prt.Anchored = true
  540. prt.CFrame = cframe
  541. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  542. game:GetService("Debris"):AddItem(prt, 10)
  543. if Type == 1 or Type == nil then
  544. table.insert(Effects, {
  545. prt,
  546. "Block1",
  547. delay,
  548. x3,
  549. y3,
  550. z3,
  551. msh
  552. })
  553. elseif Type == 2 then
  554. table.insert(Effects, {
  555. prt,
  556. "Block2",
  557. delay,
  558. x3,
  559. y3,
  560. z3,
  561. msh
  562. })
  563. else
  564. table.insert(Effects, {
  565. prt,
  566. "Block3",
  567. delay,
  568. x3,
  569. y3,
  570. z3,
  571. msh
  572. })
  573. end
  574. end
  575. },
  576. Sphere = {
  577. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  578. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  579. prt.Anchored = true
  580. prt.CFrame = cframe
  581. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  582. game:GetService("Debris"):AddItem(prt, 10)
  583. table.insert(Effects, {
  584. prt,
  585. "Cylinder",
  586. delay,
  587. x3,
  588. y3,
  589. z3,
  590. msh
  591. })
  592. end
  593. },
  594. Cylinder = {
  595. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  596. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  597. prt.Anchored = true
  598. prt.CFrame = cframe
  599. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  600. game:GetService("Debris"):AddItem(prt, 10)
  601. table.insert(Effects, {
  602. prt,
  603. "Cylinder",
  604. delay,
  605. x3,
  606. y3,
  607. z3,
  608. msh
  609. })
  610. end
  611. },
  612. Wave = {
  613. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  614. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  615. prt.Anchored = true
  616. prt.CFrame = cframe
  617. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  618. game:GetService("Debris"):AddItem(prt, 10)
  619. table.insert(Effects, {
  620. prt,
  621. "Cylinder",
  622. delay,
  623. x3 / 60,
  624. y3 / 60,
  625. z3 / 60,
  626. msh
  627. })
  628. end
  629. },
  630. Ring = {
  631. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  632. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  633. prt.Anchored = true
  634. prt.CFrame = cframe
  635. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  636. game:GetService("Debris"):AddItem(prt, 10)
  637. table.insert(Effects, {
  638. prt,
  639. "Cylinder",
  640. delay,
  641. x3,
  642. y3,
  643. z3,
  644. msh
  645. })
  646. end
  647. },
  648. Break = {
  649. Create = function(brickcolor, cframe, x1, y1, z1)
  650. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  651. prt.Anchored = true
  652. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  653. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  654. local num = math.random(10, 50) / 1000
  655. game:GetService("Debris"):AddItem(prt, 10)
  656. table.insert(Effects, {
  657. prt,
  658. "Shatter",
  659. num,
  660. prt.CFrame,
  661. math.random() - math.random(),
  662. 0,
  663. math.random(50, 100) / 100
  664. })
  665. end
  666. }
  667. }
  668. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  669. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  670. prt.Anchored = true
  671. prt.CFrame = cframe
  672. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  673. game:GetService("Debris"):AddItem(prt, 10)
  674. if Type == 1 or Type == nil then
  675. table.insert(Effects, {
  676. prt,
  677. "Block1",
  678. delay,
  679. x3,
  680. y3,
  681. z3,
  682. msh
  683. })
  684. elseif Type == 2 then
  685. table.insert(Effects, {
  686. prt,
  687. "Block2",
  688. delay,
  689. x3,
  690. y3,
  691. z3,
  692. msh
  693. })
  694. elseif Type == 3 then
  695. table.insert(Effects, {
  696. prt,
  697. "Block3",
  698. delay,
  699. x3,
  700. y3,
  701. z3,
  702. msh
  703. })
  704. end
  705. end
  706. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  707. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  708. prt.Anchored = true
  709. prt.CFrame = cframe
  710. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  711. game:GetService("Debris"):AddItem(prt, 10)
  712. table.insert(Effects, {
  713. prt,
  714. "Cylinder",
  715. delay,
  716. x3,
  717. y3,
  718. z3,
  719. msh
  720. })
  721. end
  722. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  723. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  724. prt.Anchored = true
  725. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  726. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  727. game:GetService("Debris"):AddItem(prt, 10)
  728. table.insert(Effects, {
  729. prt,
  730. "Cylinder",
  731. delay,
  732. x3,
  733. y3,
  734. z3,
  735. msh
  736. })
  737. end
  738. function CylinderEffect(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("CylinderMesh", prt, "", "", 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 WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  755. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  756. prt.Anchored = true
  757. prt.CFrame = cframe
  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 SpecialEffect(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("SpecialMesh", prt, "FileMesh", "24388358", 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 BreakEffect(brickcolor, cframe, x1, y1, z1)
  787. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  788. prt.Anchored = true
  789. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  790. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  791. local num = math.random(10, 50) / 1000
  792. game:GetService("Debris"):AddItem(prt, 10)
  793. table.insert(Effects, {
  794. prt,
  795. "Shatter",
  796. num,
  797. prt.CFrame,
  798. math.random() - math.random(),
  799. 0,
  800. math.random(50, 100) / 100
  801. })
  802. end
  803. function CreateSound(ID, PARENT, VOLUME, PITCH)
  804. local NEWSOUND = nil
  805. coroutine.resume(coroutine.create(function()
  806. NEWSOUND = Instance.new("Sound", PARENT)
  807. NEWSOUND.Volume = VOLUME
  808. NEWSOUND.Pitch = PITCH
  809. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  810. swait()
  811. NEWSOUND:play()
  812. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  813. end))
  814. return NEWSOUND
  815. end
  816.  
  817.  
  818.  
  819. local sine=0
  820. function SHUTUP()
  821. attack = true
  822. hum.WalkSpeed = 0
  823. CreateSound("887591869", tors, 5, 1)
  824. for i = 0,2,0.1 do
  825. swait()
  826. 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)
  827. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  828. 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)
  829. 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)
  830. 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)
  831. 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)
  832. end
  833. for i = 0,1.2,0.1 do
  834. swait()
  835. 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)
  836. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  837. 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)
  838. 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)
  839. 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)
  840. 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)
  841. end
  842. for i = 0,2,0.1 do
  843. swait()
  844. 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)
  845. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  846. 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)
  847. 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)
  848. 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)
  849. 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)
  850. end
  851. attack = false
  852. hum.WalkSpeed = 16
  853. end
  854.  
  855.  
  856. function Huh()
  857. attack = true
  858. hum.WalkSpeed = 0
  859. CreateSound("212105873", tors, 10, 1)
  860. for i = 0,6,0.1 do
  861. swait()
  862. 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)
  863. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(15),math.rad(0)),.3)
  864. 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)
  865. 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)
  866. 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)
  867. 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)
  868. end
  869. attack = false
  870. hum.WalkSpeed = 16
  871. end
  872.  
  873. function Noni()
  874. attack = true
  875. hum.WalkSpeed = 0
  876. CreateSound("1058417264", tors, 5, 1)
  877. for i = 0,6,0.1 do
  878. swait()
  879. 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)
  880. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  881. 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)
  882. 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)
  883. 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)
  884. 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)
  885. end
  886. attack = false
  887. hum.WalkSpeed = 16
  888. end
  889.  
  890. function MeSwamp()
  891. attack = true
  892. hum.WalkSpeed = 0
  893. CreateSound("1399378075", tors, 10, 1)
  894. for i = 0,6,0.1 do
  895. swait()
  896. 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)
  897. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  898. 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)
  899. 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)
  900. 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)
  901. 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)
  902. end
  903. for i = 0,2,0.1 do
  904. swait()
  905. 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)
  906. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  907. 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)
  908. 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)
  909. 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)
  910. 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)
  911. end
  912. for i = 0,2,0.1 do
  913. swait()
  914. 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)
  915. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  916. 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)
  917. 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)
  918. 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)
  919. 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)
  920. end
  921. for i = 0,4,0.1 do
  922. swait()
  923. 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)
  924. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  925. 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)
  926. 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)
  927. 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)
  928. 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)
  929. end
  930. for i = 0,6,0.1 do
  931. swait()
  932. 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)
  933. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  934. 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)
  935. 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)
  936. 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)
  937. 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)
  938. end
  939. attack = false
  940. hum.WalkSpeed = 16
  941. end
  942.  
  943.  
  944. function EndMySuffering()
  945. attack = true
  946. hum.WalkSpeed = 0
  947. CreateSound("437235476", tors, 5, 1)
  948. for i = 0,6,0.1 do
  949. swait()
  950. hum.Health = hum.Health + 50
  951. 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)
  952. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
  953. 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)
  954. 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)
  955. 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)
  956. 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)
  957. end
  958. attack = false
  959. hum.WalkSpeed = 16
  960. end
  961.  
  962.  
  963. function WHATDAUSAY()
  964. attack = true
  965. hum.WalkSpeed = 0
  966. CreateSound("356190749", tors, 5, 1)
  967. for i = 0,20,0.1 do
  968. swait()
  969. 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)
  970. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
  971. 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)
  972. 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)
  973. 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)
  974. 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)
  975. end
  976. for i = 0,2,0.1 do
  977. swait()
  978. 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)
  979. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  980. 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)
  981. 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)
  982. 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)
  983. 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)
  984. end
  985. for i = 0,2,0.1 do
  986. swait()
  987. 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)
  988. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  989. 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)
  990. 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)
  991. 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)
  992. 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)
  993. end
  994. Effects.Sphere.Create(maincolor, la.CFrame * CFrame.new(0, -2.2, 0), 100, 100, 100, 3, 3, 3, .1, .1)
  995. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0, -2.2, 0), 100, 100, 100, 3, 3, 3, .1, .1)
  996. for i = 0,2,0.1 do
  997. swait()
  998. 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)
  999. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1000. 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)
  1001. 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)
  1002. 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)
  1003. 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)
  1004. end
  1005. attack = false
  1006. hum.WalkSpeed = 16
  1007. end
  1008.  
  1009. function SippyBoy()
  1010. attack = true
  1011. hum.WalkSpeed = 0
  1012. local Blobby = Instance.new("Part", char)
  1013. Blobby.Name = "Blob"
  1014. Blobby.CanCollide = false
  1015. Blobby.BrickColor = BrickColor.new("Really black")
  1016. Blobby.Transparency = 1
  1017. Blobby.Material = "Plastic"
  1018. Blobby.Size = Vector3.new(1, 1, 2)
  1019. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1020. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1021.  
  1022. local Weld = Instance.new("Weld", Blobby)
  1023. Weld.Part0 = ra
  1024. Weld.Part1 = Blobby
  1025. Weld.C1 = CFrame.new(0, -.1, 1)
  1026. Weld.C0 = CFrame.Angles(math.rad(-90),0,0)
  1027.  
  1028. local M2 = Instance.new("SpecialMesh")
  1029. M2.Parent = Blobby
  1030. M2.MeshId = "http://www.roblox.com/asset/?id=10470609"
  1031. M2.TextureId = "http://www.roblox.com/asset/?id=278162610"
  1032. M2.Scale = Vector3.new(1,1,1)
  1033.  
  1034.  
  1035. Blobby.Transparency = 0
  1036. for i = 0,6,0.1 do
  1037. swait()
  1038. 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)
  1039. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1040. 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)
  1041. 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)
  1042. 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)
  1043. 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)
  1044. end
  1045.  
  1046. CreateSound("625430269", tors, 10, 1)
  1047. CreateSound("625430269", tors, 10, 1)
  1048. CreateSound("625430269", tors, 10, 1)
  1049. CreateSound("625430269", tors, 10, 1)
  1050. for i = 0,10,0.1 do
  1051. swait()
  1052. 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)
  1053. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1054. 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)
  1055. 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)
  1056. 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)
  1057. 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)
  1058. end
  1059. hum.WalkSpeed = 16
  1060. Blobby.Transparency = 1
  1061. attack = false
  1062. end
  1063.  
  1064. function GetOutOfMyCOcK()
  1065. attack = true
  1066. hum.WalkSpeed = 0
  1067. CreateSound("1308569423", tors, 5, 1)
  1068. local Cary = Instance.new("Part", char)
  1069. Cary.Name = "Blob"
  1070. Cary.CanCollide = false
  1071. Cary.BrickColor = BrickColor.new("Really black")
  1072. Cary.Transparency = 0
  1073. Cary.Material = "Plastic"
  1074. Cary.Size = Vector3.new(1, 1, 2)
  1075. Cary.TopSurface = Enum.SurfaceType.Smooth
  1076. Cary.BottomSurface = Enum.SurfaceType.Smooth
  1077.  
  1078. local Weld = Instance.new("Weld", Cary)
  1079. Weld.Part0 = tors
  1080. Weld.Part1 = Cary
  1081. Weld.C1 = CFrame.new(0, 0, 5)
  1082. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1083.  
  1084. local M2 = Instance.new("SpecialMesh")
  1085. M2.Parent = Cary
  1086. M2.MeshId = "http://www.roblox.com/asset/?id=591853691"
  1087. M2.TextureId = "http://www.roblox.com/asset/?id=591854066"
  1088. M2.Scale = Vector3.new(1,1,1)
  1089.  
  1090. for i = 0,2,0.1 do
  1091. swait()
  1092. 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)
  1093. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1094. 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)
  1095. 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)
  1096. 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)
  1097. 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)
  1098. end
  1099. Weld.C1 = CFrame.new(0, 0, 5)
  1100. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1101. for i = 0,10,0.1 do
  1102. swait()
  1103. 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)
  1104. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1105. 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)
  1106. 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)
  1107. 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)
  1108. 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)
  1109. end
  1110. Weld.C1 = CFrame.new(0, 0, 7)
  1111. Weld.C0 = CFrame.Angles(math.rad(90),math.rad(0),0)
  1112. for i = 0,14,0.1 do
  1113. swait()
  1114. 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)
  1115. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1116. 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)
  1117. 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)
  1118. 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)
  1119. 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)
  1120. end
  1121. for i = 1,8 do
  1122. Weld.C1 = CFrame.new(0, 0, 5)
  1123. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1124. for i = 0,1.2,0.1 do
  1125. swait()
  1126. 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)
  1127. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1128. 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)
  1129. 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)
  1130. 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)
  1131. 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)
  1132. end
  1133. Weld.C1 = CFrame.new(0, 0, 7)
  1134. Weld.C0 = CFrame.Angles(math.rad(90),math.rad(0),0)
  1135. for i = 0,1.2,0.1 do
  1136. swait()
  1137. 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)
  1138. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1139. 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)
  1140. 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)
  1141. 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)
  1142. 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)
  1143. end
  1144. end
  1145. attack = false
  1146. hum.WalkSpeed = 16
  1147. Cary.Transparency = 1
  1148. end
  1149.  
  1150.  
  1151. mouse.KeyDown:connect(function(key)
  1152. if attack == false then
  1153. if key == 'q' then
  1154. SHUTUP()
  1155. elseif key == 'e' then
  1156. Huh()
  1157. elseif key == 'r' then
  1158. Noni()
  1159. elseif key == 't' then
  1160. MeSwamp()
  1161. elseif key == 'y' then
  1162. EndMySuffering()
  1163. elseif key == 'f' then
  1164. WHATDAUSAY()
  1165. elseif key == 'z' then
  1166. SippyBoy()
  1167. elseif key == 'x' then
  1168. GetOutOfMyCOcK()
  1169. end
  1170. end
  1171. end)
  1172.  
  1173.  
  1174. local idle=0
  1175. local change = 1
  1176. local val = 0
  1177. toim = 0
  1178. hum.Animator.Parent = nil
  1179. idleanim=.4
  1180. while true do
  1181. swait()
  1182. sine = sine + change
  1183. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1184. local velderp=root.Velocity.y
  1185. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1186. if equipped==true or equipped==false then
  1187. if attack==false then
  1188. idle=idle+1
  1189. else
  1190. idle=0
  1191. end
  1192. if root.Velocity.y > 1 and hitfloor==nil then
  1193. Anim="Jump"
  1194. if attack==false then
  1195. 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)
  1196. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1197. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1198. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1199. 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)
  1200. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1201. end
  1202. elseif root.Velocity.y < -1 and hitfloor==nil then
  1203. Anim="Fall"
  1204. if attack==false then
  1205. 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)
  1206. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1207. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)), 0.3)
  1208. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1209. 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)
  1210. 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)
  1211. end
  1212. elseif torvel<1 and hitfloor~=nil then
  1213. Anim="Idle"
  1214. change = 1
  1215. if attack==false then
  1216. 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)
  1217. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1218. 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)
  1219. 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)
  1220. 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)
  1221. 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)
  1222. end
  1223.  
  1224. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  1225. Anim="Walk"
  1226. change = 1
  1227. if attack==false then
  1228. 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)
  1229. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1230. 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)
  1231. 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)
  1232. 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)
  1233. 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)
  1234. end
  1235. end
  1236. end
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242. if 0 < #Effects then
  1243. for e = 1, #Effects do
  1244. if Effects[e] ~= nil then
  1245. local Thing = Effects[e]
  1246. if Thing ~= nil then
  1247. local Part = Thing[1]
  1248. local Mode = Thing[2]
  1249. local Delay = Thing[3]
  1250. local IncX = Thing[4]
  1251. local IncY = Thing[5]
  1252. local IncZ = Thing[6]
  1253. if 1 >= Thing[1].Transparency then
  1254. if Thing[2] == "Block1" then
  1255. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1256. local Mesh = Thing[1].Mesh
  1257. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1258. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1259. elseif Thing[2] == "Block2" then
  1260. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1261. local Mesh = Thing[7]
  1262. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1263. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1264. elseif Thing[2] == "Block3" then
  1265. 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)
  1266. local Mesh = Thing[7]
  1267. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1268. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1269. elseif Thing[2] == "Cylinder" then
  1270. local Mesh = Thing[1].Mesh
  1271. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1272. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1273. elseif Thing[2] == "Blood" then
  1274. local Mesh = Thing[7]
  1275. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1276. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1277. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1278. elseif Thing[2] == "Elec" then
  1279. local Mesh = Thing[1].Mesh
  1280. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1281. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1282. elseif Thing[2] == "Disappear" then
  1283. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1284. elseif Thing[2] == "Shatter" then
  1285. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1286. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1287. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1288. Thing[6] = Thing[6] + Thing[5]
  1289. end
  1290. else
  1291. Part.Parent = nil
  1292. table.remove(Effects, e)
  1293. end
  1294. end
  1295. end
  1296. end
  1297. end
  1298. end
  1299.  
  1300. --By Rufus14 (WORKS ONLY WITH BODY COLORS)
  1301. canfall = true
  1302. cankick = true
  1303. canpunch = true
  1304. function fall()
  1305. canfall = true
  1306. end
  1307. ma = math.random(1,999999)
  1308. workspace.CurrentCamera.FieldOfView = 85
  1309. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  1310. wlkspd = game.Players.LocalPlayer.Character.Humanoid.WalkSpeed
  1311. falldamagesound = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  1312. falldamagesound.SoundId = "rbxassetid://704141469"
  1313. falldamagesound.Volume = 10
  1314. falldamagesound1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  1315. falldamagesound1.SoundId = "rbxassetid://370577229"
  1316. falldamagesound1.Volume = 10
  1317. falldamagesound1.Looped = true
  1318. falldamagesound1:Play()
  1319. falldamagesound11 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  1320. falldamagesound11.SoundId = "rbxassetid://155288625"
  1321. falldamagesound11.Volume = 8
  1322. falldamagesound11.TimePosition = 0.2
  1323. hitt = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Arm"])
  1324. hitt.SoundId = "rbxassetid://131237241"
  1325. hitt.Volume = 5
  1326. game.Players.LocalPlayer.Character.Humanoid.FreeFalling:connect(fall)
  1327. mouse = game.Players.LocalPlayer:GetMouse()
  1328. group = Instance.new("Model", workspace)
  1329. group.Name = ma
  1330. fakehumanoid = Instance.new("Humanoid", group)
  1331. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  1332. if v.ClassName == "Part" then
  1333. v.Transparency = 1
  1334. end
  1335. end
  1336. game.Players.LocalPlayer.Character.Head.Transparency = 0
  1337. game.Players.LocalPlayer.Character.Archivable = true
  1338. wait(0.5)
  1339. --
  1340. rhand = Instance.new("Part", group)
  1341. rhand.Size = game.Players.LocalPlayer.Character["Right Arm"].Size
  1342. rhand.TopSurface = "Smooth"
  1343. rhand.BottomSurface = "Smooth"
  1344. rhand.Parent = group
  1345. rhand:BreakJoints()
  1346. rhand.CanCollide = false
  1347. rhweld = Instance.new("Weld", rhand)
  1348. rhweld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  1349. rhweld.Part1 = rhand
  1350. --
  1351. lhand = Instance.new("Part", group)
  1352. lhand.Size = game.Players.LocalPlayer.Character["Left Arm"].Size
  1353. lhand.TopSurface = "Smooth"
  1354. lhand.BottomSurface = "Smooth"
  1355. lhand.CanCollide = false
  1356. lhand.Parent = group
  1357. lhand:BreakJoints()
  1358. rhweld1 = Instance.new("Weld", lhand)
  1359. rhweld1.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
  1360. rhweld1.Part1 = lhand
  1361. --
  1362. lleg = Instance.new("Part", group)
  1363. lleg.Size = game.Players.LocalPlayer.Character["Left Leg"].Size
  1364. lleg.TopSurface = "Smooth"
  1365. lleg.CanCollide = false
  1366. lleg.BottomSurface = "Smooth"
  1367. lleg.Parent = group
  1368. lleg:BreakJoints()
  1369. rhweld11 = Instance.new("Weld", lleg)
  1370. rhweld11.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
  1371. rhweld11.Part1 = lleg
  1372. --
  1373. rleg = Instance.new("Part", group)
  1374. rleg.Size = game.Players.LocalPlayer.Character["Right Leg"].Size
  1375. rleg.TopSurface = "Smooth"
  1376. rleg.BottomSurface = "Smooth"
  1377. rleg.Parent = group
  1378. rleg.CanCollide = false
  1379. rleg:BreakJoints()
  1380. rhweld111 = Instance.new("Weld", rleg)
  1381. rhweld111.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
  1382. rhweld111.Part1 = rleg
  1383. --
  1384. torso = Instance.new("Part", group)
  1385. torso.Size = game.Players.LocalPlayer.Character.Torso.Size
  1386. torso.TopSurface = "Smooth"
  1387. torso.BottomSurface = "Smooth"
  1388. torso.CanCollide = false
  1389. torso.Parent = group
  1390. torso:BreakJoints()
  1391. rhweld1111 = Instance.new("Weld", torso)
  1392. rhweld1111.Part0 = game.Players.LocalPlayer.Character.Torso
  1393. rhweld1111.Part1 = torso
  1394. --
  1395. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  1396. if v.ClassName == "ShirtGraphic" then
  1397. v.Archivable = true
  1398. clo = v:Clone()
  1399. v:destroy()
  1400. clo.Parent = torso
  1401. end
  1402. end
  1403. wait(0.5)
  1404. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(0,0,-1)
  1405. rhand.Color = game.Players.LocalPlayer.Character["Right Arm"].Color
  1406. lhand.Color = game.Players.LocalPlayer.Character["Left Arm"].Color
  1407. rleg.Color = game.Players.LocalPlayer.Character["Right Leg"].Color
  1408. torso.Color = game.Players.LocalPlayer.Character.Torso.Color
  1409. lleg.Color = game.Players.LocalPlayer.Character["Left Leg"].Color
  1410. groupclone = group:Clone()
  1411. canhit = true
  1412. fell = 1
  1413. canfell = false
  1414. canslide = true
  1415. boun = false
  1416. function SLIDEXD(key)
  1417. if canpunch then
  1418. canpunch = false
  1419. for i = 1,2 do
  1420. wait()
  1421. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0)
  1422. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0.1,0,0.25)
  1423. end
  1424. local se = Instance.new("Part", game.Players.LocalPlayer.Character["Right Leg"])
  1425. se.Size = Vector3.new(0.5,0.5,0.5)
  1426. se:BreakJoints()
  1427. local weld = Instance.new("Weld", se)
  1428. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  1429. weld.Part1 = se
  1430. weld.C0 = weld.C0 * CFrame.new(0,-0.7,0)
  1431. local function hitlollel(part)
  1432. local tor = part.Parent:findFirstChild("Torso")
  1433. local hum = part.Parent:findFirstChild("Humanoid")
  1434. if tor ~= nil then
  1435. if hum ~= nil then
  1436. hitt:Play()
  1437. se:destroy()
  1438. hum.Health = hum.Health - math.random(25,45)
  1439. torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 55
  1440. local ang = Instance.new("BodyAngularVelocity", torso)
  1441. ang.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  1442. ang.AngularVelocity = Vector3.new(0,25,0)
  1443. wait(0.1)
  1444. ang:destroy()
  1445. end
  1446. end
  1447. end
  1448. se.Touched:connect(hitlollel)
  1449. for i = 1,3 do
  1450. wait()
  1451. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,0.05,0)
  1452. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0.1,0,0.25)
  1453. end
  1454. for i = 1,2 do
  1455. wait()
  1456. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,0.02,0)
  1457. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.new(0,-0.3,0)
  1458. end
  1459. for i = 1,2 do
  1460. wait()
  1461. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,-0.02,0)
  1462. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.new(0,0.3,0)
  1463. end
  1464. for i = 1,5 do
  1465. wait()
  1466. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,-0.1,0)
  1467. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.1,0,-0.25)
  1468. end
  1469. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1470. canpunch = true
  1471. end
  1472. end
  1473. mouse.Button1Down:connect(SLIDEXD)
  1474. function bounce(key)
  1475. key = key:lower()
  1476. if key == "q" then
  1477. if not boun then
  1478. boun = true
  1479. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  1480. local sens = Instance.new("Part", game.Players.LocalPlayer.Character)
  1481. sens.Size = Vector3.new(0.1, 2, 0.1)
  1482. sens.BrickColor = BrickColor.new("Really red")
  1483. sens.CanCollide = false
  1484. sens.Transparency = 1
  1485. sens.Name = "Right"
  1486. sens:BreakJoints()
  1487. local weld = Instance.new("Weld", sens)
  1488. weld.Part0 = game.Players.LocalPlayer.Character.Torso
  1489. weld.Part1 = sens
  1490. weld.C0 = weld.C0 * CFrame.new(2.5,0,0)
  1491. local sens1 = Instance.new("Part", game.Players.LocalPlayer.Character)
  1492. sens1.Size = Vector3.new(0.1, 2, 0.1)
  1493. sens1.BrickColor = BrickColor.new("Really red")
  1494. sens1.CanCollide = false
  1495. sens1.Transparency = 1
  1496. sens1:BreakJoints()
  1497. local weld1 = Instance.new("Weld", sens1)
  1498. weld1.Part0 = game.Players.LocalPlayer.Character.Torso
  1499. weld1.Part1 = sens1
  1500. weld1.C0 = weld1.C0 * CFrame.new(-2.5,0,0)
  1501. local function Julius_Coles_is_agressive()
  1502. sens:destroy()
  1503. sens1:destroy()
  1504. game.Players.LocalPlayer.Character.Torso.Velocity = Vector3.new(0,60,0)
  1505. wait(0.3)
  1506. local lolexdee = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  1507. lolexdee.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1508. lolexdee.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * -45
  1509. wait(0.1)
  1510. lolexdee:destroy()
  1511. end
  1512. local function Julius_Coles_is_not_agressive()
  1513. sens:destroy()
  1514. sens1:destroy()
  1515. game.Players.LocalPlayer.Character.Torso.Velocity = Vector3.new(0,60,0)
  1516. wait(0.3)
  1517. local lolexdee = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  1518. lolexdee.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1519. lolexdee.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 45
  1520. wait(0.1)
  1521. lolexdee:destroy()
  1522. end
  1523. sens.Touched:connect(Julius_Coles_is_agressive)
  1524. sens1.Touched:connect(Julius_Coles_is_not_agressive)
  1525. wait(0.2)
  1526. sens:destroy()
  1527. sens1:destroy()
  1528. boun = false
  1529. end
  1530. end
  1531. end
  1532. mouse.KeyDown:connect(bounce)
  1533. function kick(key)
  1534. key = key:lower()
  1535. if key == "e" then
  1536. if cankick then
  1537. cankick = false
  1538. boun = true
  1539. local se = Instance.new("Part", game.Players.LocalPlayer.Character["Right Leg"])
  1540. se.Size = Vector3.new(0.5,0.5,0.5)
  1541. se:BreakJoints()
  1542. local weld = Instance.new("Weld", se)
  1543. weld.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
  1544. weld.Part1 = se
  1545. weld.C0 = weld.C0 * CFrame.new(0,-0.6,0)
  1546. for i = 1,3 do
  1547. wait()
  1548. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0.1,0,0)
  1549. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.45)
  1550. end
  1551. local function didit(part)
  1552. local torso = part.Parent:findFirstChild("Torso")
  1553. local humanoid = part.Parent:findFirstChild("Humanoid")
  1554. if humanoid ~= nil then
  1555. if torso ~= nil then
  1556. se:destroy()
  1557. torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 45
  1558. local ang = Instance.new("BodyAngularVelocity", torso)
  1559. ang.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  1560. ang.AngularVelocity = Vector3.new(0,25,0)
  1561. falldamagesound11.TimePosition = 0.2
  1562. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  1563. falldamagesound11:Play()
  1564. humanoid.Health = humanoid.Health - math.random(25,45)
  1565. wait(0.2)
  1566. ang:destroy()
  1567. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  1568. end
  1569. end
  1570. end
  1571. se.Touched:connect(didit)
  1572. for i = 1,2 do
  1573. wait()
  1574. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0.05,0,0)
  1575. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.1)
  1576. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.new(0,-0.25,0)
  1577. end
  1578. for i = 1,2 do
  1579. wait()
  1580. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(-0.05,0,0)
  1581. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.1)
  1582. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.new(0,0.25,0)
  1583. end
  1584. se:destroy()
  1585. for i = 1,3 do
  1586. wait()
  1587. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(-0.2,0,0)
  1588. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.5)
  1589. end
  1590. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1591. boun = false
  1592. cankick = true
  1593. end
  1594. end
  1595. end
  1596. mouse.KeyDown:connect(kick)
  1597. while true do
  1598. game:GetService("RunService").RenderStepped:wait()
  1599. local vl = game.Players.LocalPlayer.Character.Torso.Velocity.y
  1600. if canfall then
  1601. if vl < -90 then
  1602. canfall = false
  1603. canfell = true
  1604. local torsoposition = game.Players.LocalPlayer.Character.Torso.Position
  1605. local vl1 = game.Players.LocalPlayer.Character.Torso.Velocity.y
  1606. local sens = Instance.new("Part", game.Players.LocalPlayer.Character)
  1607. sens.Size = Vector3.new(2, 0.1, 2)
  1608. sens.CanCollide = false
  1609. sens.Transparency = 1
  1610. local wld = Instance.new("Weld", sens)
  1611. wld.Part0 = game.Players.LocalPlayer.Character.Torso
  1612. wld.Part1 = sens
  1613. wld.C0 = wld.C0 * CFrame.new(0,-3.1,0)
  1614. local function dmg()
  1615. if game.Players.LocalPlayer.Character.Humanoid.Health < 45 then
  1616. canfall = false
  1617. canfell = false
  1618. falldamagesound1:destroy()
  1619. boun = true
  1620. cankick = false
  1621. canpunch = false
  1622. fell = 0
  1623. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  1624. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  1625. sens:destroy()
  1626. local gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  1627. local frame = Instance.new("Frame", gui)
  1628. frame.Size = UDim2.new(1,0 , 1,0)
  1629. frame.BackgroundColor3 = Color3.fromRGB(0,0,0)
  1630. frame.BackgroundTransparency = 1
  1631. game.Players.LocalPlayer.Character.Humanoid.Health = inf
  1632. workspace.CurrentCamera.CameraType = "Scriptable"
  1633. falldamagesound.SoundId = "rbxassetid://261338552"
  1634. falldamagesound.TimePosition = 0.7
  1635. falldamagesound:Play()
  1636. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  1637. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  1638. v:destroy()
  1639. end
  1640. end
  1641. workspace.CurrentCamera.FieldOfView = 85
  1642. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(1.55,0,0) * CFrame.new(0,-2.5,0)
  1643. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  1644. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  1645. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(-1.55,0,0)
  1646. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,3.2) * CFrame.new(0,-0.7,0)
  1647. workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  1648. for i = 1,2 do
  1649. wait()
  1650. workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  1651. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0.07,0,0)
  1652. end
  1653. for i = 1,2 do
  1654. wait()
  1655. workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  1656. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(-0.07,0,0)
  1657. end
  1658. wait(2)
  1659. for i = 1,20 do
  1660. wait()
  1661. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.new(0,-0.02,0)
  1662. end
  1663. wait(2)
  1664. for i = 1,20 do
  1665. wait()
  1666. workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  1667. frame.BackgroundTransparency = frame.BackgroundTransparency - 0.05
  1668. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0.07,0,0)
  1669. end
  1670. workspace.CurrentCamera.CameraType = "Custom"
  1671. workspace.CurrentCamera.FieldOfView = 70
  1672. wait(1)
  1673. workspace.CurrentCamera.CameraType = "Custom"
  1674. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  1675. end
  1676. if game.Players.LocalPlayer.Character.Humanoid.Health > 45 then
  1677. local magn = torsoposition.magnitude - game.Players.LocalPlayer.Character.Torso.Position.magnitude
  1678. print(magn)
  1679. game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.Health - magn * 5
  1680. canfell = false
  1681. sens:destroy()
  1682. falldamagesound:Play()
  1683. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  1684. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  1685. workspace.CurrentCamera.CameraType = "Scriptable"
  1686. for i = 1,6 do
  1687. wait()
  1688. workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,0,-1)
  1689. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0.15,0,0)
  1690. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.15)
  1691. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-0.15)
  1692. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.05,0,0)
  1693. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.new(0.15,0.15,0)
  1694. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.15)
  1695. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.15)
  1696. end
  1697. wait(1)
  1698. for i = 1,6 do
  1699. wait()
  1700. workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,0,-1)
  1701. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(-0.15,0,0)
  1702. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.15)
  1703. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,0.15)
  1704. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.05,0,0)
  1705. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.new(-0.15,-0.15,0)
  1706. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.15)
  1707. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,0.15)
  1708. end
  1709. workspace.CurrentCamera.CameraType = "Custom"
  1710. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = wlkspd
  1711. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  1712. canfall = true
  1713. end
  1714. end
  1715. sens.Touched:connect(dmg)
  1716. end
  1717. end
  1718. local check = workspace:FindFirstChild(ma)
  1719. if check then
  1720. --nothing
  1721. else
  1722. groupclone.Parent = workspace
  1723. end
  1724. end
Add Comment
Please, Sign In to add comment