Scriptus_Infinitus

Conga Animation

Apr 11th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.70 KB | None | 0 0
  1. --[[
  2. Conga Script Made by Fenrier.
  3. ]]
  4. Player = game:GetService("Players").LocalPlayer
  5. Character = Player.Character
  6. PlayerGui = Player.PlayerGui
  7. Backpack = Player.Backpack
  8. Torso = Character.Torso
  9. Head = Character.Head
  10. Humanoid = Character.Humanoid
  11. LeftArm = Character["Left Arm"]
  12. LeftLeg = Character["Left Leg"]
  13. RightArm = Character["Right Arm"]
  14. RightLeg = Character["Right Leg"]
  15. LS = Torso["Left Shoulder"]
  16. LH = Torso["Left Hip"]
  17. RS = Torso["Right Shoulder"]
  18. RH = Torso["Right Hip"]
  19. Neck = Torso.Neck
  20. it=Instance.new
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  26. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  28. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  29. RootPart=Character.HumanoidRootPart
  30. RootJoint=RootPart.RootJoint
  31. RootCF=euler(-1.57,0,3.14)
  32. attack = false
  33. attackdebounce = false
  34. MMouse=nil
  35. combo=0
  36. --player
  37. player = nil
  38. --save shoulders
  39. RSH, LSH = nil, nil
  40. --welds
  41. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  42. RH, LH = Instance.new("Weld"), Instance.new("Weld")
  43. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  44. RH.Name="Right Hip" LH.Name="Left Hip"
  45.  
  46. function NoOutline(Part)
  47. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  48. end
  49.  
  50. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  51. local fp = it("Part")
  52. fp.formFactor = formfactor
  53. fp.Parent = parent
  54. fp.Reflectance = reflectance
  55. fp.Transparency = transparency
  56. fp.CanCollide = false
  57. fp.Locked=true
  58. fp.BrickColor = brickcolor
  59. fp.Name = name
  60. fp.Size = size
  61. fp.Position = Torso.Position
  62. NoOutline(fp)
  63. fp.Material="SmoothPlastic"
  64. fp:BreakJoints()
  65. return fp
  66. end
  67.  
  68. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  69. local mesh = it(Mesh)
  70. mesh.Parent = part
  71. if Mesh=="SpecialMesh" then
  72. mesh.MeshType = meshtype
  73. mesh.MeshId = meshid
  74. end
  75. mesh.Offset=offset
  76. mesh.Scale=scale
  77. return mesh
  78. end
  79.  
  80. function weld(parent,part0,part1,c0)
  81. local weld = it("Weld")
  82. weld.Parent = parent
  83. weld.Part0 = part0
  84. weld.Part1 = part1
  85. weld.C0 = c0
  86. return weld
  87. end
  88.  
  89. if (script.Parent.className ~= "HopperBin") then
  90. Tool = Instance.new("HopperBin")
  91. Tool.Parent = Backpack
  92. Tool.Name = "CONGA"
  93. script.Parent = Tool
  94. end
  95. Bin = script.Parent
  96.  
  97. local Bg = it("BodyGyro")
  98. Bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  99. Bg.P = 20e+003
  100. Bg.Parent = nil
  101. congaing=it("BoolValue")
  102. congaing.Parent=Character
  103. congaing.Name="Conga-ing"
  104. congaing.Value=false
  105.  
  106. function CongaTouch(hit)
  107. h=hit.Parent:FindFirstChild("Humanoid")
  108. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil and hit.Parent:findFirstChild("CONGA")==nil then
  109. b=Instance.new("BoolValue")
  110. b.Name="CONGA"
  111. b.Parent=hit.Parent
  112. b.Value=true
  113. print("CONGAAAAAA")
  114. s=game.Lighting.CONGASCRIPT:Clone()
  115. s.Parent=hit.Parent
  116. s.Disabled=true
  117. wait(0.5)
  118. s.Disabled=false
  119. --NLS(Game:GetService("HttpService"):GetAsync('http://titanpad.com/ep/pad/export/fen/latest?format=txt',true),game.Players:GetPlayerFromCharacter(hit.Parent))
  120. end
  121. end
  122.  
  123. function EngieConga()
  124. con1=Torso.Touched:connect(function(hit) CongaTouch(hit) end)
  125. congaing.Value=true
  126. unsheathed = true
  127. player = Player
  128. ch = Character
  129. MMouse = mouse
  130. RSH = ch.Torso["Right Shoulder"]
  131. LSH = ch.Torso["Left Shoulder"]
  132. --
  133. RSH.Parent = nil
  134. LSH.Parent = nil
  135. --
  136. RW.Part0 = ch.Torso
  137. RW.C0 = cf(1.5, 0.5, 0)
  138. RW.C1 = cf(0, 0.5, 0)
  139. RW.Part1 = ch["Right Arm"]
  140. RW.Parent = ch.Torso
  141. --_G.R = RW
  142. --
  143. LW.Part0 = ch.Torso
  144. LW.C0 = cf(-1.5, 0.5, 0)
  145. LW.C1 = cf(0, 0.5, 0)
  146. LW.Part1 = ch["Left Arm"]
  147. LW.Parent = ch.Torso
  148. --_G.L = LW
  149. --
  150. LHP=ch.Torso["Left Hip"]
  151. RHP=ch.Torso["Right Hip"]
  152. --
  153. RHP.Parent = nil
  154. LHP.Parent = nil
  155. --
  156. RH.Part0 = ch.Torso
  157. RH.C0 = cf(0.5, -1.5, 0)
  158. RH.C1 = cf(0, 0.5, 0)
  159. RH.Part1 = ch["Right Leg"]
  160. RH.Parent = ch.Torso
  161. --_G.R = RW
  162. --
  163. LH.Part0 = ch.Torso
  164. LH.C0 = cf(-0.5, -1.5, 0)
  165. LH.C1 = cf(0, 0.5, 0)
  166. LH.Part1 = ch["Left Leg"]
  167. LH.Parent = ch.Torso
  168. --_G.L = LW
  169. --
  170. RW.C0=cf(1.5,0.5,0)*euler(0,0,0)
  171. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  172. LW.C0=cf(-1.5,0.5,0)*euler(0,0,0)
  173. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  174. RH.C0=cf(0.5,-1.5,0)*euler(0,0,0)
  175. RH.C1=cf(0,0.5,0)*euler(0,0,0)
  176. LH.C0=cf(-0.5,-1.5,0)*euler(0,0,0)
  177. LH.C1=cf(0,0.5,0)*euler(0,0,0)
  178. Torso.Neck.C0=necko*euler(-0.2,0,-0.1)
  179. RootJoint.C0=RootCF*euler(0,0.1,0)
  180. RW.C0=cf(1.5,0.5,0)*euler(-0.2,0,0.4)
  181. LW.C0=cf(-1.5+0.5,0.5,-0.5)*euler(1.5,0,1)
  182. RH.C0=cf(0.5,-1.5,0)*euler(-0.3,0,0.2)
  183. LH.C0=cf(-0.5,-1.5,0)*euler(0.2,0,-0.3)
  184. coroutine.resume(coroutine.create(function(CanConga)
  185. local vel=Instance.new("BodyVelocity")
  186. vel.Parent=RootPart
  187. vel.maxForce=vt(4e+005,4e+005,4e+005)*1
  188. vel.velocity=RootPart.CFrame.lookVector*5
  189. while CanConga.Value==true do
  190. wait()
  191. vel.velocity=RootPart.CFrame.lookVector*5
  192. end
  193. vel.Parent=nil
  194. end),congaing)
  195. while congaing.Value==true do
  196. wait()
  197. for i=0,1,0.1 do
  198. if congaing.Value==true then
  199. wait()
  200. end
  201. Torso.Neck.C0=necko*euler(-0.2+0.05*i,0,-0.1+0.2*i)
  202. RootJoint.C0=RootCF*euler(0,0.1-0.2*i,0)
  203. RW.C0=cf(1.5,0.5,0)*euler(-0.2+1*i,0,0.4-0.6*i)
  204. LW.C0=cf(-1-0.5*i,0.5,-0.5+0.5*i)*euler(1.5-1.7*i,0,1-1.4*i)
  205. RH.C0=cf(0.5,-1.5,0)*euler(-0.3+0.5*i,0,0.2+0.1*i)
  206. LH.C0=cf(-0.5,-1.5,0)*euler(0.2-0.5*i,0,-0.3+0.1*i)
  207. end
  208. for i=0,1,0.1 do
  209. if congaing.Value==true then
  210. wait()
  211. end
  212. Torso.Neck.C0=necko*euler(-0.2+0.05+0.05*i,0,0.1-0.2*i)
  213. RootJoint.C0=RootCF*euler(0,-0.1+0.2*i,0)
  214. RW.C0=cf(1.5,0.5,0)*euler(0.8-1*i,0,-0.2+0.6*i)
  215. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+1.2*i,0,-0.4+0.4*i)
  216. RH.C0=cf(0.5,-1.5,0)*euler(-0.3+0.5-0.5*i,0,0.2+0.1-0.1*i)
  217. LH.C0=cf(-0.5,-1.5,0)*euler(0.2-0.5+0.5*i,0,-0.3+0.1-0.1*i)
  218. end
  219. for i=0,1,0.1 do
  220. if congaing.Value==true then
  221. wait()
  222. end
  223. Torso.Neck.C0=necko*euler(-0.1+0.05*i,0,-0.1+0.2*i)
  224. RootJoint.C0=RootCF*euler(0,0.1-0.2*i,0)
  225. RW.C0=cf(1.5,0.5,0)*euler(-0.2+0.6*i,0,0.4-0.3*i)
  226. LW.C0=cf(-1.5,0.5,0)*euler(1-1.4*i,0,-0.2*i)
  227. RH.C0=cf(0.5,-1.5,0)*euler(-0.3+0.5*i,0,0.2-0.1*i)
  228. LH.C0=cf(-0.5,-1.5,0)*euler(0.2-0.7*i,0,-0.3+0.2*i)
  229. end
  230. for i=0,1,0.1 do
  231. if congaing.Value==true then
  232. wait()
  233. end
  234. Torso.Neck.C0=necko*euler(-0.1+0.05-0.3*i,0,0.1-0.3*i)
  235. RootJoint.C0=RootCF*euler(0,0.1-0.2-0.4*i,0)
  236. RW.C0=cf(1.5,0.5,0)*euler(0.4+2.4*i,0,0.1+0.1*i)
  237. LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(-0.4+2.8*i,0,-0.2+0.4*i)
  238. RH.C0=cf(0.5+0.1*i,-1.5,0)*euler(0.2-0.3*i,0,0.1+0.4*i)
  239. LH.C0=cf(-0.5-0.4*i,-1.5,0)*euler(-0.5+0.5*i,0,-0.1-0.8*i)
  240. end
  241. for i=0,1,0.1 do
  242. if congaing.Value==true then
  243. wait()
  244. end
  245. Torso.Neck.C0=necko*euler(-0.1+0.05-0.3+0.35*i,0,-0.2+0.4*i)
  246. RootJoint.C0=RootCF*euler(0,-0.5+0.7*i,0)
  247. RW.C0=cf(1.5,0.5,0)*euler(2.8-3*i,0,0.2+0.1*i)
  248. LW.C0=cf(-1.5+0.5,0.5,-0.5)*euler(2.4-0.9*i,0,0.2+0.8*i)
  249. RH.C0=cf(0.5+0.1-0.1*i,-1.5,0)*euler(-0.1-0.1*i,0,0.5-0.4*i)
  250. LH.C0=cf(-0.5-0.4+0.4*i,-1.5,0)*euler(0.3*i,0,-0.9+0.7*i)
  251. end
  252. for i=0,1,0.1 do
  253. if congaing.Value==true then
  254. wait()
  255. end
  256. Torso.Neck.C0=necko*euler(-0.1*i,0,0.2-0.3*i)
  257. RootJoint.C0=RootCF*euler(0,0.2-0.3*i,0)
  258. RW.C0=cf(1.5,0.5,0)*euler(-0.2+0.5*i,0,0.3-0.2*i)
  259. LW.C0=cf(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i)*euler(1.5-1.8*i,0,1-1.3*i)
  260. RH.C0=cf(0.5,-1.5,0)*euler(-0.2+0.4*i,0,0.1+0.2*i)
  261. LH.C0=cf(-0.5,-1.5,0)*euler(0.3-0.5*i,0,-0.2-0.1*i)
  262. end
  263. for i=0,1,0.1 do
  264. if congaing.Value==true then
  265. wait()
  266. end
  267. Torso.Neck.C0=necko*euler(-0.1+0.05*i,0,-0.1+0.2*i)
  268. RootJoint.C0=RootCF*euler(0,-0.1+0.2*i,0)
  269. RW.C0=cf(1.5,0.5,0)*euler(0.3-0.8*i,0,0.1+0.1*i)
  270. LW.C0=cf(-1.5,0.5,0)*euler(-0.3+1*i,0,-0.3+0.1*i)
  271. RH.C0=cf(0.5,-1.5,0)*euler(0.2-0.5*i,0,0.3-0.1*i)
  272. LH.C0=cf(-0.5,-1.5,0)*euler(-0.2+0.4*i,0,-0.3+0.2*i)
  273. end
  274. for i=0,1,0.1 do
  275. if congaing.Value==true then
  276. wait()
  277. end
  278. Torso.Neck.C0=necko*euler(-0.05-0.2*i,0,0.1-0.2*i)
  279. RootJoint.C0=RootCF*euler(0,0.1-0.2*i,0)
  280. RW.C0=cf(1.5,0.5,0)*euler(-0.5+2.5*i,0,0.2+0.8*i)
  281. LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(0.7+1.3*i,0,-0.2+1.2*i)
  282. RH.C0=cf(0.5+0.2*i,-1.5,0)*euler(-0.3+0.3*i,0,0.2+1*i)
  283. LH.C0=cf(-0.5,-1.5,0)*euler(0.2-0.4*i,0,-0.1+0.2*i)
  284. end
  285. for i=0,1,0.1 do
  286. if congaing.Value==true then
  287. wait()
  288. end
  289. Torso.Neck.C0=necko*euler(-0.25+0.05*i,0,-0.1)
  290. RootJoint.C0=RootCF*euler(0,-0.1+0.2*i,0)
  291. RW.C0=cf(1.5,0.5,0)*euler(2-2.2*i,0,1-0.6*i)
  292. LW.C0=cf(-1.5+0.5,0.5,-0.5)*euler(2-0.5*i,0,1)
  293. RH.C0=cf(0.5+0.2-0.2*i,-1.5,0)*euler(-0.3*i,0,1.2-1*i)
  294. LH.C0=cf(-0.5,-1.5,0)*euler(-0.2+0.4*i,0,0.1-0.4*i)
  295. end
  296. end
  297. con1:disconnect()
  298. end
  299.  
  300. function UnConga()
  301. congaing.Value=false
  302. wait()
  303. RW.Parent = nil
  304. LW.Parent = nil
  305. RSH.Parent = player.Character.Torso
  306. LSH.Parent = player.Character.Torso
  307. RH.Parent = nil
  308. LH.Parent = nil
  309. RHP.Parent = player.Character.Torso
  310. LHP.Parent = player.Character.Torso
  311. RW.C0=cf(1.5,0.5,0)*euler(0,0,0)
  312. LW.C0=cf(-1.5,0.5,0)*euler(0,0,0)
  313. RH.C0=cf(0.5,-1.5,0)*euler(0,0,0)
  314. LH.C0=cf(-0.5,-1.5,0)*euler(0,0,0)
  315. Torso.Neck.C0=necko*euler(0,0,0)
  316. RootJoint.C0=RootCF*euler(0,0,0)
  317. end
  318.  
  319. function CongaOther(OtherCharacter)
  320. othCharacter=OtherCharacter
  321. othTorso=othCharacter.Torso
  322. othHead=othCharacter.Head
  323. othHumanoid=othCharacter.Humanoid
  324. othLeftArm=othCharacter["Left Arm"]
  325. othLeftLeg=othCharacter["Left Leg"]
  326. othRightArm=othCharacter["Right Arm"]
  327. othRightLeg=othCharacter["Right Leg"]
  328. oLS=othTorso["Left Shoulder"]
  329. oLH=othTorso["Left Hip"]
  330. oRS=othTorso["Right Shoulder"]
  331. oRH=othTorso["Right Hip"]
  332. oNeck=othTorso.Neck
  333. oRootPart=othCharacter.HumanoidRootPart
  334. oRootJoint=oRootPart.RootJoint
  335. oRSH, oLSH = nil, nil
  336. --welds
  337. oRW, oLW = Instance.new("Weld"), Instance.new("Weld")
  338. oRH, oLH = Instance.new("Weld"), Instance.new("Weld")
  339. oRW.Name="Right Shoulder" oLW.Name="Left Shoulder"
  340. oRH.Name="Right Hip" oLH.Name="Left Hip"
  341. och = othCharacter
  342. if och.Torso:findFirstChild("Right Shoulder")~=nil then
  343. oRSH = och.Torso["Right Shoulder"]
  344. oRSH.Parent = nil
  345. end
  346. if och.Torso:findFirstChild("Left Shoulder")~=nil then
  347. oLSH = och.Torso["Left Shoulder"]
  348. oLSH.Parent = nil
  349. end
  350. --
  351. --
  352. oRW.Part0 = och.Torso
  353. oRW.C0 = ocf(1.5, 0.5, 0)
  354. oRW.C1 = ocf(0, 0.5, 0)
  355. oRW.Part1 = och["Right Arm"]
  356. oRW.Parent = och.Torso
  357. --_G.R = RW
  358. --
  359. oLW.Part0 = och.Torso
  360. oLW.C0 = ocf(-1.5, 0.5, 0)
  361. oLW.C1 = ocf(0, 0.5, 0)
  362. oLW.Part1 = och["Left Arm"]
  363. oLW.Parent = och.Torso
  364. --_G.L = LW
  365. --
  366. if och.Torso:findFirstChild("Left Hip")~=nil then
  367. oLHP=ch.Torso["Left Hip"]
  368. oLHP.Parent = nil
  369. end
  370. if och.Torso:findFirstChild("Right Hip")~=nil then
  371. oRHP=ch.Torso["Right Hip"]
  372. oRHP.Parent = nil
  373. end
  374. --
  375. --
  376. oRH.Part0 = och.Torso
  377. oRH.C0 = ocf(0.5, -1.5, 0)
  378. oRH.C1 = ocf(0, 0.5, 0)
  379. oRH.Part1 = och["Right Leg"]
  380. oRH.Parent = och.Torso
  381. --_G.R = RW
  382. --
  383. oLH.Part0 = och.Torso
  384. oLH.C0 = ocf(-0.5, -1.5, 0)
  385. oLH.C1 = ocf(0, 0.5, 0)
  386. oLH.Part1 = och["Left Leg"]
  387. oLH.Parent = och.Torso
  388. --_G.L = LW
  389. --
  390. oRW.C0=cf(1.5,0.5,0)*euler(0,0,0)
  391. oRW.C1=cf(0,0.5,0)*euler(0,0,0)
  392. oLW.C0=cf(-1.5,0.5,0)*euler(0,0,0)
  393. oLW.C1=cf(0,0.5,0)*euler(0,0,0)
  394. oRH.C0=cf(0.5,-1.5,0)*euler(0,0,0)
  395. oRH.C1=cf(0,0.5,0)*euler(0,0,0)
  396. oLH.C0=cf(-0.5,-1.5,0)*euler(0,0,0)
  397. oLH.C1=cf(0,0.5,0)*euler(0,0,0)
  398. Torso.Neck.C0=necko*euler(-0.2,0,-0.1)
  399. RootJoint.C0=RootCF*euler(0,0.1,0)
  400. RW.C0=cf(1.5,0.5,0)*euler(-0.2,0,0.4)
  401. LW.C0=cf(-1.5+0.5,0.5,-0.5)*euler(1.5,0,1)
  402. RH.C0=cf(0.5,-1.5,0)*euler(-0.3,0,0.2)
  403. LH.C0=cf(-0.5,-1.5,0)*euler(0.2,0,-0.3)
  404. coroutine.resume(coroutine.create(function(CanConga)
  405. local vel=Instance.new("BodyVelocity")
  406. vel.Parent=RootPart
  407. vel.maxForce=vt(4e+005,4e+005,4e+005)*1
  408. vel.velocity=RootPart.CFrame.lookVector*5
  409. while CanConga.Value==true do
  410. wait()
  411. vel.velocity=RootPart.CFrame.lookVector*5
  412. end
  413. vel.Parent=nil
  414. end),congaing)
  415. while congaing.Value==true do
  416. wait()
  417. for i=0,1,0.1 do
  418. if congaing.Value==true then
  419. wait()
  420. end
  421. Torso.Neck.C0=necko*euler(-0.2+0.05*i,0,-0.1+0.2*i)
  422. RootJoint.C0=RootCF*euler(0,0.1-0.2*i,0)
  423. RW.C0=cf(1.5,0.5,0)*euler(-0.2+1*i,0,0.4-0.6*i)
  424. LW.C0=cf(-1-0.5*i,0.5,-0.5+0.5*i)*euler(1.5-1.7*i,0,1-1.4*i)
  425. RH.C0=cf(0.5,-1.5,0)*euler(-0.3+0.5*i,0,0.2+0.1*i)
  426. LH.C0=cf(-0.5,-1.5,0)*euler(0.2-0.5*i,0,-0.3+0.1*i)
  427. end
  428. for i=0,1,0.1 do
  429. if congaing.Value==true then
  430. wait()
  431. end
  432. Torso.Neck.C0=necko*euler(-0.2+0.05+0.05*i,0,0.1-0.2*i)
  433. RootJoint.C0=RootCF*euler(0,-0.1+0.2*i,0)
  434. RW.C0=cf(1.5,0.5,0)*euler(0.8-1*i,0,-0.2+0.6*i)
  435. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+1.2*i,0,-0.4+0.4*i)
  436. RH.C0=cf(0.5,-1.5,0)*euler(-0.3+0.5-0.5*i,0,0.2+0.1-0.1*i)
  437. LH.C0=cf(-0.5,-1.5,0)*euler(0.2-0.5+0.5*i,0,-0.3+0.1-0.1*i)
  438. end
  439. for i=0,1,0.1 do
  440. if congaing.Value==true then
  441. wait()
  442. end
  443. Torso.Neck.C0=necko*euler(-0.1+0.05*i,0,-0.1+0.2*i)
  444. RootJoint.C0=RootCF*euler(0,0.1-0.2*i,0)
  445. RW.C0=cf(1.5,0.5,0)*euler(-0.2+0.6*i,0,0.4-0.3*i)
  446. LW.C0=cf(-1.5,0.5,0)*euler(1-1.4*i,0,-0.2*i)
  447. RH.C0=cf(0.5,-1.5,0)*euler(-0.3+0.5*i,0,0.2-0.1*i)
  448. LH.C0=cf(-0.5,-1.5,0)*euler(0.2-0.7*i,0,-0.3+0.2*i)
  449. end
  450. for i=0,1,0.1 do
  451. if congaing.Value==true then
  452. wait()
  453. end
  454. Torso.Neck.C0=necko*euler(-0.1+0.05-0.3*i,0,0.1-0.3*i)
  455. RootJoint.C0=RootCF*euler(0,0.1-0.2-0.4*i,0)
  456. RW.C0=cf(1.5,0.5,0)*euler(0.4+2.4*i,0,0.1+0.1*i)
  457. LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(-0.4+2.8*i,0,-0.2+0.4*i)
  458. RH.C0=cf(0.5+0.1*i,-1.5,0)*euler(0.2-0.3*i,0,0.1+0.4*i)
  459. LH.C0=cf(-0.5-0.4*i,-1.5,0)*euler(-0.5+0.5*i,0,-0.1-0.8*i)
  460. end
  461. for i=0,1,0.1 do
  462. if congaing.Value==true then
  463. wait()
  464. end
  465. Torso.Neck.C0=necko*euler(-0.1+0.05-0.3+0.35*i,0,-0.2+0.4*i)
  466. RootJoint.C0=RootCF*euler(0,-0.5+0.7*i,0)
  467. RW.C0=cf(1.5,0.5,0)*euler(2.8-3*i,0,0.2+0.1*i)
  468. LW.C0=cf(-1.5+0.5,0.5,-0.5)*euler(2.4-0.9*i,0,0.2+0.8*i)
  469. RH.C0=cf(0.5+0.1-0.1*i,-1.5,0)*euler(-0.1-0.1*i,0,0.5-0.4*i)
  470. LH.C0=cf(-0.5-0.4+0.4*i,-1.5,0)*euler(0.3*i,0,-0.9+0.7*i)
  471. end
  472. for i=0,1,0.1 do
  473. if congaing.Value==true then
  474. wait()
  475. end
  476. Torso.Neck.C0=necko*euler(-0.1*i,0,0.2-0.3*i)
  477. RootJoint.C0=RootCF*euler(0,0.2-0.3*i,0)
  478. RW.C0=cf(1.5,0.5,0)*euler(-0.2+0.5*i,0,0.3-0.2*i)
  479. LW.C0=cf(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i)*euler(1.5-1.8*i,0,1-1.3*i)
  480. RH.C0=cf(0.5,-1.5,0)*euler(-0.2+0.4*i,0,0.1+0.2*i)
  481. LH.C0=cf(-0.5,-1.5,0)*euler(0.3-0.5*i,0,-0.2-0.1*i)
  482. end
  483. for i=0,1,0.1 do
  484. if congaing.Value==true then
  485. wait()
  486. end
  487. Torso.Neck.C0=necko*euler(-0.1+0.05*i,0,-0.1+0.2*i)
  488. RootJoint.C0=RootCF*euler(0,-0.1+0.2*i,0)
  489. RW.C0=cf(1.5,0.5,0)*euler(0.3-0.8*i,0,0.1+0.1*i)
  490. LW.C0=cf(-1.5,0.5,0)*euler(-0.3+1*i,0,-0.3+0.1*i)
  491. RH.C0=cf(0.5,-1.5,0)*euler(0.2-0.5*i,0,0.3-0.1*i)
  492. LH.C0=cf(-0.5,-1.5,0)*euler(-0.2+0.4*i,0,-0.3+0.2*i)
  493. end
  494. for i=0,1,0.1 do
  495. if congaing.Value==true then
  496. wait()
  497. end
  498. Torso.Neck.C0=necko*euler(-0.05-0.2*i,0,0.1-0.2*i)
  499. RootJoint.C0=RootCF*euler(0,0.1-0.2*i,0)
  500. RW.C0=cf(1.5,0.5,0)*euler(-0.5+2.5*i,0,0.2+0.8*i)
  501. LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(0.7+1.3*i,0,-0.2+1.2*i)
  502. RH.C0=cf(0.5+0.2*i,-1.5,0)*euler(-0.3+0.3*i,0,0.2+1*i)
  503. LH.C0=cf(-0.5,-1.5,0)*euler(0.2-0.4*i,0,-0.1+0.2*i)
  504. end
  505. for i=0,1,0.1 do
  506. if congaing.Value==true then
  507. wait()
  508. end
  509. Torso.Neck.C0=necko*euler(-0.25+0.05*i,0,-0.1)
  510. RootJoint.C0=RootCF*euler(0,-0.1+0.2*i,0)
  511. RW.C0=cf(1.5,0.5,0)*euler(2-2.2*i,0,1-0.6*i)
  512. LW.C0=cf(-1.5+0.5,0.5,-0.5)*euler(2-0.5*i,0,1)
  513. RH.C0=cf(0.5+0.2-0.2*i,-1.5,0)*euler(-0.3*i,0,1.2-1*i)
  514. LH.C0=cf(-0.5,-1.5,0)*euler(-0.2+0.4*i,0,0.1-0.4*i)
  515. end
  516. end
  517. con1:disconnect()
  518. end
  519.  
  520. so = function(id,par,vol,pit)
  521. coroutine.resume(coroutine.create(function()
  522. local sou = Instance.new("Sound",par or workspace)
  523. sou.Volume=vol
  524. sou.Pitch=pit or 1
  525. sou.SoundId=id
  526. wait()
  527. sou:play()
  528. wait(6)
  529. sou:Remove()
  530. end))
  531. end
  532.  
  533. so = function(id,par,vol,pit)
  534. coroutine.resume(coroutine.create(function()
  535. local sou = Instance.new("Sound",par or workspace)
  536. sou.Volume=vol
  537. sou.Pitch=pit or 1
  538. sou.SoundId=id
  539. wait()
  540. sou:play()
  541. game:GetService("Debris"):AddItem(sou,6)
  542. end))
  543. end
  544.  
  545. function s(mouse)
  546. --[[mouse.Button1Down:connect(function() ob1d(mouse) end)
  547. mouse.Button1Up:connect(function() ob1u(mouse) end)
  548. mouse.KeyDown:connect(key)
  549. mouse.KeyUp:connect(key2) ]]
  550. EngieConga()
  551. end
  552.  
  553. function ds(mouse)
  554. UnConga()
  555. end
  556.  
  557. Bin.Selected:connect(s)
  558. Bin.Deselected:connect(ds)
  559. print("Conga loaded.")
  560.  
  561. --[[
  562. Copyrighted (C) Fenrier 2014
  563. ]]
Add Comment
Please, Sign In to add comment