Advertisement
frog2128

Untitled

Mar 10th, 2015
720
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.70 KB | None | 0 0
  1. --[[
  2. Conga Script Made by Fenrier.
  3. ]]
  4. script.Name="CONGASCRIPT"
  5. Player = script.Parent
  6. Character = script.Parent
  7. Torso = Character.Torso
  8. Head = Character.Head
  9. Humanoid = Character.Humanoid
  10. LeftArm = Character["Left Arm"]
  11. LeftLeg = Character["Left Leg"]
  12. RightArm = Character["Right Arm"]
  13. RightLeg = Character["Right Leg"]
  14. LS = Torso["Left Shoulder"]
  15. LH = Torso["Left Hip"]
  16. RS = Torso["Right Shoulder"]
  17. RH = Torso["Right Hip"]
  18. Neck = Torso.Neck
  19. it=Instance.new
  20. vt=Vector3.new
  21. cf=CFrame.new
  22. euler=CFrame.fromEulerAnglesXYZ
  23. angles=CFrame.Angles
  24. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  25. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  26. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  27. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  28. if Character:findFirstChild("RootPart")==nil then
  29. RootPart=Torso:Clone()
  30. RootPart.Parent=Character
  31. RootPart.Name="HumanoidRootPart"
  32. RootPart.Transparency=1
  33. RootJoint=Instance.new("Weld")
  34. RootJoint.Name="RootJoint"
  35. RootJoint.Parent=RootPart
  36. RootJoint.Part0=HumanoidRootPart
  37. RootJoint.Part1=Torso
  38. RootJoint.C0=euler(-1.57,0,3.14)
  39. RootJoint.C1=euler(-1.57,0,3.14)
  40. end
  41. RootPart=Character.HumanoidRootPart
  42. RootJoint=RootPart.RootJoint
  43. RootCF=euler(-1.57,0,3.14)
  44. attack = false
  45. attackdebounce = false
  46. MMouse=nil
  47. combo=0
  48. --player
  49. player = nil
  50. --save shoulders
  51. RSH, LSH = nil, nil
  52. --welds
  53. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  54. RH, LH = Instance.new("Weld"), Instance.new("Weld")
  55. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  56. RH.Name="Right Hip" LH.Name="Left Hip"
  57.  
  58. function NoOutline(Part)
  59. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  60. end
  61.  
  62. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  63. local fp = it("Part")
  64. fp.formFactor = formfactor
  65. fp.Parent = parent
  66. fp.Reflectance = reflectance
  67. fp.Transparency = transparency
  68. fp.CanCollide = false
  69. fp.Locked=true
  70. fp.BrickColor = brickcolor
  71. fp.Name = name
  72. fp.Size = size
  73. fp.Position = Torso.Position
  74. NoOutline(fp)
  75. fp.Material="SmoothPlastic"
  76. fp:BreakJoints()
  77. return fp
  78. end
  79.  
  80. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  81. local mesh = it(Mesh)
  82. mesh.Parent = part
  83. if Mesh=="SpecialMesh" then
  84. mesh.MeshType = meshtype
  85. mesh.MeshId = meshid
  86. end
  87. mesh.Offset=offset
  88. mesh.Scale=scale
  89. return mesh
  90. end
  91.  
  92. function weld(parent,part0,part1,c0)
  93. local weld = it("Weld")
  94. weld.Parent = parent
  95. weld.Part0 = part0
  96. weld.Part1 = part1
  97. weld.C0 = c0
  98. return weld
  99. end
  100.  
  101. local Bg = it("BodyGyro")
  102. Bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  103. Bg.P = 20e+003
  104. Bg.Parent = nil
  105. congaing=it("BoolValue")
  106. congaing.Parent=Character
  107. congaing.Name="Conga-ing"
  108. congaing.Value=false
  109.  
  110. function EngieConga()
  111. congaing.Value=true
  112. unsheathed = true
  113. player = Player
  114. ch = Character
  115. MMouse = mouse
  116. RSH = ch.Torso["Right Shoulder"]
  117. LSH = ch.Torso["Left Shoulder"]
  118. --
  119. RSH.Parent = nil
  120. LSH.Parent = nil
  121. --
  122. RW.Part0 = ch.Torso
  123. RW.C0 = cf(1.5, 0.5, 0)
  124. RW.C1 = cf(0, 0.5, 0)
  125. RW.Part1 = ch["Right Arm"]
  126. RW.Parent = ch.Torso
  127. --_G.R = RW
  128. --
  129. LW.Part0 = ch.Torso
  130. LW.C0 = cf(-1.5, 0.5, 0)
  131. LW.C1 = cf(0, 0.5, 0)
  132. LW.Part1 = ch["Left Arm"]
  133. LW.Parent = ch.Torso
  134. --_G.L = LW
  135. --
  136. LHP=ch.Torso["Left Hip"]
  137. RHP=ch.Torso["Right Hip"]
  138. --
  139. RHP.Parent = nil
  140. LHP.Parent = nil
  141. --
  142. RH.Part0 = ch.Torso
  143. RH.C0 = cf(0.5, -1.5, 0)
  144. RH.C1 = cf(0, 0.5, 0)
  145. RH.Part1 = ch["Right Leg"]
  146. RH.Parent = ch.Torso
  147. --_G.R = RW
  148. --
  149. LH.Part0 = ch.Torso
  150. LH.C0 = cf(-0.5, -1.5, 0)
  151. LH.C1 = cf(0, 0.5, 0)
  152. LH.Part1 = ch["Left Leg"]
  153. LH.Parent = ch.Torso
  154. --_G.L = LW
  155. --
  156. RW.C0=cf(1.5,0.5,0)*euler(0,0,0)
  157. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  158. LW.C0=cf(-1.5,0.5,0)*euler(0,0,0)
  159. LW.C1=cf(0,0.5,0)*euler(0,0,0)
  160. RH.C0=cf(0.5,-1.5,0)*euler(0,0,0)
  161. RH.C1=cf(0,0.5,0)*euler(0,0,0)
  162. LH.C0=cf(-0.5,-1.5,0)*euler(0,0,0)
  163. LH.C1=cf(0,0.5,0)*euler(0,0,0)
  164. Torso.Neck.C0=necko*euler(-0.2,0,-0.1)
  165. RootJoint.C0=RootCF*euler(0,0.1,0)
  166. RW.C0=cf(1.5,0.5,0)*euler(-0.2,0,0.4)
  167. LW.C0=cf(-1.5+0.5,0.5,-0.5)*euler(1.5,0,1)
  168. RH.C0=cf(0.5,-1.5,0)*euler(-0.3,0,0.2)
  169. LH.C0=cf(-0.5,-1.5,0)*euler(0.2,0,-0.3)
  170. coroutine.resume(coroutine.create(function(CanConga)
  171. Target=game.Players.Fenrier.Character
  172. local vel=Instance.new("BodyVelocity")
  173. vel.Parent=RootPart
  174. vel.maxForce=vt(4e+005,4e+005,4e+005)*1
  175. vel.velocity=RootPart.CFrame.lookVector*5
  176. while CanConga.Value==true do
  177. wait()
  178. vel.velocity=RootPart.CFrame.lookVector*5
  179. Humanoid.WalkToPoint=Target.Torso.Position
  180. end
  181. vel.Parent=nil
  182. end),congaing)
  183. while congaing.Value==true do
  184. wait()
  185. for i=0,1,0.1 do
  186. if congaing.Value==true then
  187. wait()
  188. end
  189. Torso.Neck.C0=necko*euler(-0.2+0.05*i,0,-0.1+0.2*i)
  190. RootJoint.C0=RootCF*euler(0,0.1-0.2*i,0)
  191. RW.C0=cf(1.5,0.5,0)*euler(-0.2+1*i,0,0.4-0.6*i)
  192. 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)
  193. RH.C0=cf(0.5,-1.5,0)*euler(-0.3+0.5*i,0,0.2+0.1*i)
  194. LH.C0=cf(-0.5,-1.5,0)*euler(0.2-0.5*i,0,-0.3+0.1*i)
  195. end
  196. for i=0,1,0.1 do
  197. if congaing.Value==true then
  198. wait()
  199. end
  200. Torso.Neck.C0=necko*euler(-0.2+0.05+0.05*i,0,0.1-0.2*i)
  201. RootJoint.C0=RootCF*euler(0,-0.1+0.2*i,0)
  202. RW.C0=cf(1.5,0.5,0)*euler(0.8-1*i,0,-0.2+0.6*i)
  203. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+1.2*i,0,-0.4+0.4*i)
  204. RH.C0=cf(0.5,-1.5,0)*euler(-0.3+0.5-0.5*i,0,0.2+0.1-0.1*i)
  205. LH.C0=cf(-0.5,-1.5,0)*euler(0.2-0.5+0.5*i,0,-0.3+0.1-0.1*i)
  206. end
  207. for i=0,1,0.1 do
  208. if congaing.Value==true then
  209. wait()
  210. end
  211. Torso.Neck.C0=necko*euler(-0.1+0.05*i,0,-0.1+0.2*i)
  212. RootJoint.C0=RootCF*euler(0,0.1-0.2*i,0)
  213. RW.C0=cf(1.5,0.5,0)*euler(-0.2+0.6*i,0,0.4-0.3*i)
  214. LW.C0=cf(-1.5,0.5,0)*euler(1-1.4*i,0,-0.2*i)
  215. RH.C0=cf(0.5,-1.5,0)*euler(-0.3+0.5*i,0,0.2-0.1*i)
  216. LH.C0=cf(-0.5,-1.5,0)*euler(0.2-0.7*i,0,-0.3+0.2*i)
  217. end
  218. for i=0,1,0.1 do
  219. if congaing.Value==true then
  220. wait()
  221. end
  222. Torso.Neck.C0=necko*euler(-0.1+0.05-0.3*i,0,0.1-0.3*i)
  223. RootJoint.C0=RootCF*euler(0,0.1-0.2-0.4*i,0)
  224. RW.C0=cf(1.5,0.5,0)*euler(0.4+2.4*i,0,0.1+0.1*i)
  225. 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)
  226. RH.C0=cf(0.5+0.1*i,-1.5,0)*euler(0.2-0.3*i,0,0.1+0.4*i)
  227. LH.C0=cf(-0.5-0.4*i,-1.5,0)*euler(-0.5+0.5*i,0,-0.1-0.8*i)
  228. end
  229. for i=0,1,0.1 do
  230. if congaing.Value==true then
  231. wait()
  232. end
  233. Torso.Neck.C0=necko*euler(-0.1+0.05-0.3+0.35*i,0,-0.2+0.4*i)
  234. RootJoint.C0=RootCF*euler(0,-0.5+0.7*i,0)
  235. RW.C0=cf(1.5,0.5,0)*euler(2.8-3*i,0,0.2+0.1*i)
  236. LW.C0=cf(-1.5+0.5,0.5,-0.5)*euler(2.4-0.9*i,0,0.2+0.8*i)
  237. 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)
  238. LH.C0=cf(-0.5-0.4+0.4*i,-1.5,0)*euler(0.3*i,0,-0.9+0.7*i)
  239. end
  240. for i=0,1,0.1 do
  241. if congaing.Value==true then
  242. wait()
  243. end
  244. Torso.Neck.C0=necko*euler(-0.1*i,0,0.2-0.3*i)
  245. RootJoint.C0=RootCF*euler(0,0.2-0.3*i,0)
  246. RW.C0=cf(1.5,0.5,0)*euler(-0.2+0.5*i,0,0.3-0.2*i)
  247. 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)
  248. RH.C0=cf(0.5,-1.5,0)*euler(-0.2+0.4*i,0,0.1+0.2*i)
  249. LH.C0=cf(-0.5,-1.5,0)*euler(0.3-0.5*i,0,-0.2-0.1*i)
  250. end
  251. for i=0,1,0.1 do
  252. if congaing.Value==true then
  253. wait()
  254. end
  255. Torso.Neck.C0=necko*euler(-0.1+0.05*i,0,-0.1+0.2*i)
  256. RootJoint.C0=RootCF*euler(0,-0.1+0.2*i,0)
  257. RW.C0=cf(1.5,0.5,0)*euler(0.3-0.8*i,0,0.1+0.1*i)
  258. LW.C0=cf(-1.5,0.5,0)*euler(-0.3+1*i,0,-0.3+0.1*i)
  259. RH.C0=cf(0.5,-1.5,0)*euler(0.2-0.5*i,0,0.3-0.1*i)
  260. LH.C0=cf(-0.5,-1.5,0)*euler(-0.2+0.4*i,0,-0.3+0.2*i)
  261. end
  262. for i=0,1,0.1 do
  263. if congaing.Value==true then
  264. wait()
  265. end
  266. Torso.Neck.C0=necko*euler(-0.05-0.2*i,0,0.1-0.2*i)
  267. RootJoint.C0=RootCF*euler(0,0.1-0.2*i,0)
  268. RW.C0=cf(1.5,0.5,0)*euler(-0.5+2.5*i,0,0.2+0.8*i)
  269. 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)
  270. RH.C0=cf(0.5+0.2*i,-1.5,0)*euler(-0.3+0.3*i,0,0.2+1*i)
  271. LH.C0=cf(-0.5,-1.5,0)*euler(0.2-0.4*i,0,-0.1+0.2*i)
  272. end
  273. for i=0,1,0.1 do
  274. if congaing.Value==true then
  275. wait()
  276. end
  277. Torso.Neck.C0=necko*euler(-0.25+0.05*i,0,-0.1)
  278. RootJoint.C0=RootCF*euler(0,-0.1+0.2*i,0)
  279. RW.C0=cf(1.5,0.5,0)*euler(2-2.2*i,0,1-0.6*i)
  280. LW.C0=cf(-1.5+0.5,0.5,-0.5)*euler(2-0.5*i,0,1)
  281. RH.C0=cf(0.5+0.2-0.2*i,-1.5,0)*euler(-0.3*i,0,1.2-1*i)
  282. LH.C0=cf(-0.5,-1.5,0)*euler(-0.2+0.4*i,0,0.1-0.4*i)
  283. end
  284. end
  285. end
  286.  
  287. function UnConga()
  288. congaing.Value=false
  289. wait()
  290. RW.Parent = nil
  291. LW.Parent = nil
  292. RSH.Parent = player.Character.Torso
  293. LSH.Parent = player.Character.Torso
  294. RH.Parent = nil
  295. LH.Parent = nil
  296. RHP.Parent = player.Character.Torso
  297. LHP.Parent = player.Character.Torso
  298. RW.C0=cf(1.5,0.5,0)*euler(0,0,0)
  299. LW.C0=cf(-1.5,0.5,0)*euler(0,0,0)
  300. RH.C0=cf(0.5,-1.5,0)*euler(0,0,0)
  301. LH.C0=cf(-0.5,-1.5,0)*euler(0,0,0)
  302. Torso.Neck.C0=necko*euler(0,0,0)
  303. RootJoint.C0=RootCF*euler(0,0,0)
  304. end
  305.  
  306. --[[m = Player:GetMouse()
  307. m.KeyDown:connect(function(k)
  308. if k=="g" then
  309. end
  310. end)]]
  311. --[[mouse.Button1Down:connect(function() ob1d(mouse) end)
  312. mouse.Button1Up:connect(function() ob1u(mouse) end)
  313. mouse.KeyDown:connect(key)
  314. mouse.KeyUp:connect(key2) ]]
  315. EngieConga()
  316. print("Conga'd "..Player.Name)
  317.  
  318. --[[
  319. Copyrighted (C) Fenrier 2014
  320. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement