Advertisement
Wweroblox12121212

Untitled

Mar 23rd, 2018
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.08 KB | None | 0 0
  1.  
  2. --WHEN YOU TAKE THIS, PUT U'R NAME ON
  3.  
  4. owner,name = "pmcaom","Dancer"
  5. ply = game.Players[owner]
  6. char = ply.Character
  7. pcall(function() char:FindFirstChild("legetd"):Remove() char:FindFirstChild("Belt"):Remove() end)
  8. m = Instance.new("Model",char) m.Name = "legetd"
  9. if script.Parent.className ~= 'HopperBin' then
  10. hop = Instance.new("HopperBin",game.Players[owner].Backpack)
  11. hop.Name = name
  12. script.Parent = hop
  13. script.Name = "Function"
  14. end
  15. hop = script.Parent
  16.  
  17. debris = game:GetService("Debris")
  18.  
  19. cfn,ang,v3n,ud2n,V2 = CFrame.new,CFrame.Angles,Vector3.new,UDim2.new,Vector2.new
  20. floatforce = 196.25
  21.  
  22. torso = char.Torso
  23. attacking = false
  24. track = false
  25.  
  26. rs = torso["Right Shoulder"]
  27. ls = torso["Left Shoulder"]
  28. rh = torso["Right Hip"]
  29. lh = torso["Right Hip"]
  30. neck = torso["Neck"]
  31. rw,lw = nil,nil
  32. rhw,lhw = nil,nil
  33. local orgc1 = rs.C1
  34.  
  35. rarm = char["Right Arm"]
  36. larm = char["Left Arm"]
  37. rleg = char["Right Leg"]
  38. lleg = char["Left Leg"]
  39.  
  40. normposr = cfn(1.5,.5,0)
  41. normposl = cfn(-1.5,.5,0)
  42. normposr2 = cfn(.5,-1.5,0)
  43. normposl2 = cfn(-.5,-1.5,0)
  44. normposn = CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0)
  45.  
  46. holdpos = normposr*ang(math.pi/2,0,0)
  47. holdpos2 = normposl*ang(math.pi/2,0,0)
  48.  
  49.  
  50. T = {["P"] = function(x,y,z,color,transparency,cancollide,anchored,parent,typee)
  51. if typee ~= nil then
  52. c = Instance.new("WedgePart",m)
  53. else
  54. c = Instance.new("Part",m)
  55. end
  56. c.TopSurface,c.BottomSurface = 0,0
  57. c.Locked = true
  58. c.formFactor = "Custom"
  59. c.Size = Vector3.new(x,y,z)
  60. if color ~= "random" then
  61. c.BrickColor = BrickColor.new(color)
  62. else c.BrickColor = BrickColor:random() end
  63. c.Transparency = transparency
  64. c.CanCollide = cancollide
  65. if anchored ~= nil then c.Anchored = anchored end
  66. if parent ~= nil then c.Parent = parent end
  67. return c
  68.  
  69. end
  70. ,
  71. ["C"] = function(func) coroutine.resume(coroutine.create(func)) end
  72. ,
  73. ["W"] = function(part0,part1,x,y,z,rx,ry,rz,parent)
  74. w = Instance.new("Motor",m)
  75. if parent ~= nil then w.Parent = parent end
  76. w.Part0,w.Part1 = part0,part1
  77. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(rx,ry,rz)
  78. return w
  79. end
  80. ,
  81. ["BG"] = function(parent)
  82. local c = Instance.new("BodyGyro",parent)
  83. c.P = 20e+003
  84. c.cframe = parent.CFrame
  85. c.maxTorque = Vector3.new(c.P,c.P,c.P)
  86. return c
  87. end
  88. ,
  89. ["BP"] = function(parent,position)
  90. local bp = Instance.new("BodyPosition",parent)
  91. bp.maxForce = Vector3.new()*math.huge
  92. bp.position = position
  93. return bp
  94. end
  95. ,
  96. ["F"] = function(parent,size,heat,color,secondcolor,enabled)
  97. f = Instance.new("Fire",parent)
  98. f.Size = size
  99. f.Heat = heat
  100. if enabled ~= nil then f.Enabled = enabled end
  101. if color ~= nil then f.Color = BrickColor.new(color).Color end
  102. if secondcolor ~= nil then f.SecondaryColor = BrickColor.new(secondcolor).Color end
  103. return f
  104. end
  105. ,
  106. ["FM"] = function(parent,meshid,x,y,z,meshtexture)
  107. if meshid == "cylinder" then
  108. mesh = Instance.new("CylinderMesh",parent)
  109. mesh.Scale = Vector3.new(x,y,z)
  110. return mesh
  111. else
  112. mesh = Instance.new("SpecialMesh",parent)
  113.  
  114. if meshid ~= "sphere" then
  115. if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else
  116. mesh.MeshId = "rbxassetid://"..meshids[meshid]
  117. end
  118.  
  119. else mesh.MeshType = 3 end
  120.  
  121. mesh.Scale = Vector3.new(x,y,z)
  122.  
  123. if meshtexture ~= nil then
  124. if type(meshtexture) == "number" then mesh.TextureId = "rbxassetid://"..meshtexture else
  125. mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end
  126.  
  127. end
  128.  
  129. return mesh
  130. end
  131. end,
  132. ["Dec"] = function(parent,face,id,transparency)
  133. c = Instance.new("Decal",parent)
  134. c.Face = face
  135. c.Texture = id
  136. if transparency then c.Transparency = transparency end
  137. return c
  138. end,
  139. ["S"] = function(id,pitch,volume)
  140. found = false
  141. for i,v in pairs(char.Head:children()) do
  142. if v:IsA("Sound") and v.Name == id and not found then
  143. v.Pitch = pitch
  144. if volume then v.Volume = volume end
  145. v:Play()
  146. found = true
  147. return v
  148. end
  149. end
  150. end
  151. }
  152.  
  153. ------MESHIDS---
  154. meshids = {["penguin"] = 15853464, ["ring"] = 3270017,
  155. ["spike"] = 1033714,["cone"] = 1082802,["crown"] = 20329976,["crossbow"] = 15886761,
  156. ["cloud"] = 1095708,["mjolnir"] = 1279013,["diamond"] = 9756362, ["hand"] = 37241605,
  157. ["fist"] = 65322375,["skull"] = 36869983,["totem"] = 35624068,["spikeb"] = 9982590,["dragon"] = 58430372,["fish"] = 31221717, ["coffee"] = 15929962,["spiral"] = 1051557,
  158. ["ramen"] = 19380188,["lightning"] = 72583597,["bullet"]=2697549}---some meshids
  159. textureids = {["cone"] = 1082804,["rainbow"] = 28488599,["fish"] = 31221733, ["coffee"] = 24181455,["monster"] = 33366441,["ramen"] = 19380153}
  160. -----------------
  161. soundids = {["bell"] = 20005706,["flintlock"] = 13510352,["falcon"] = 1387390,['sensa'] = 4700455,
  162. ['midas'] = 17385513,['splut'] = 16950449,['guitar'] = 1089407,['spark'] = 12555594,['knife'] = 1369159,
  163. ['awakenking'] = 8610025,['entertainer'] = 27697267,['chrono'] = 1280463
  164. }
  165. for i,v in pairs(char.Head:children()) do for _,q in pairs(soundids) do if v.Name == q then v:Remove() end end end
  166. for i,v in pairs(soundids) do
  167. sound = Instance.new("Sound")
  168. sound.SoundId = "http://www.roblox.com/asset/?id="..v
  169. sound.Name = i
  170. sound.Parent = char.Head
  171. end
  172.  
  173. lock = {["R"] =
  174. function(a)
  175. if a == 1 then
  176. rabrick = T.P(1,1,1,"White",1,false,false)
  177. rw = T.W(rabrick,torso,1.5,.5,0,0,0,0)
  178. T.W(rarm,rabrick,0,-.5,0,0,0,0)
  179. elseif a == 2 then
  180. rlbrick = T.P(1,1,1,"White",1,false,false)
  181. rhw = T.W(rlbrick,torso,-.5,-1.5,0,0,0,0)
  182. T.W(rleg,rlbrick,0,-.5,0,0,0,0)
  183. elseif a == 0 then
  184. rs.Parent = torso
  185. rw.Parent = nil
  186. rabrick:Destroy() rabrick = nil
  187. elseif a == -1 then
  188. rhw.Parent = nil
  189. rh.Parent = torso
  190. rlbrick:Destroy() rlbrick = nil
  191. end
  192. end
  193. , ["L"] = function(a)
  194. if a == 1 then
  195. labrick = T.P(1,1,1,"White",1,false,false)
  196. lw = T.W(labrick,torso,-1.5,.5,0,0,0,0)
  197. T.W(larm,labrick,0,-.5,0,0,0,0)
  198. elseif a == 2 then
  199. llbrick = T.P(1,1,1,"White",1,false,false)
  200. lhw = T.W(llbrick,torso,.5,-1.5,0,0,0,0)
  201. T.W(lleg,llbrick,0,-.5,0,0,0,0)
  202. elseif a == 0 then
  203. ls.Parent = torso
  204. lw.Parent = nil
  205. labrick:Destroy() labrick = nil
  206. elseif a == -1 then
  207. lhw.Parent = nil
  208. lh.Parent = torso
  209. llbrick:Destroy() llbrick = nil
  210. end
  211. end}
  212.  
  213.  
  214. M = {["R"] = function(a,b) return math.random(a,b) end,
  215. ["Cos"] = function(a) return math.cos(a) end,
  216. ["Sin"] = function(a) return math.sin(a) end,
  217. ["D"] = function(a) return math.rad(a) end
  218. }
  219.  
  220. r = .5
  221.  
  222. function spin()
  223. lock.R(1) lock.L(1)
  224.  
  225. for i = -90,50,25 do
  226. wait()
  227. rw.C1 = holdpos*ang(M.D(i),0,0)
  228. lw.C1 = holdpos2*ang(M.D(i),0,0)
  229. end
  230. snd = T.S('chrono',1,100)
  231. holding = true
  232. selectbox = Instance.new("SelectionBox",ply.PlayerGui)
  233. while holding do
  234. for i = 310,50,-25 do
  235. wait()
  236. rw.C1 = holdpos*ang(M.Cos(M.D(i))*r,0,M.Sin(M.D(i))*r)
  237. lw.C1 = holdpos2*ang(M.Cos(M.D(i))*r,0,M.Sin(M.D(i))*r)
  238. end
  239.  
  240. for i = 50,310,25 do
  241. wait()
  242. rw.C1 = holdpos*ang(M.Cos(M.D(i))*r,0,M.Sin(M.D(i))*r)
  243. lw.C1 = holdpos2*ang(M.Cos(M.D(i))*r,0,M.Sin(M.D(i))*r)
  244. end
  245. end
  246.  
  247. for i = 310,0,-25 do
  248. wait()
  249. rw.C1 = holdpos*ang(M.Cos(M.D(i))*r,0,M.Sin(M.D(i))*r)
  250. lw.C1 = holdpos2*ang(M.Cos(M.D(i))*r,0,M.Sin(M.D(i))*r)
  251. end
  252. for i = 50,-90,25 do
  253. wait()
  254. rw.C1 = holdpos*ang(M.D(i),0,0)
  255. lw.C1 = holdpos2*ang(M.D(i),0,0)
  256. end
  257. lock.R(0) lock.L(0)
  258. snd:Stop()
  259. end
  260.  
  261. wspeed = char.Humanoid.WalkSpeed
  262.  
  263. r = .7 r2 = .3
  264. function spin2()
  265. T.S('sensa',2)
  266. lock.R(1) lock.L(1) lock.R(2) lock.L(2)
  267. lhw.C1 = normposl2*ang(M.D(-30),0,0)
  268. rhw.C1 = normposr2*ang(M.D(-30),0,0)
  269. char.Humanoid.WalkSpeed = 50
  270. neck.C0 = normposn*ang(M.D(-40),0,0)
  271. for i = -90,50,25 do
  272. wait()
  273. rw.C1 = holdpos*ang(M.D(i),0,0)
  274. lw.C1 = holdpos2*ang(M.D(i),0,0)
  275. end
  276. holding = true
  277.  
  278. local cons = {rarm.Touched:connect(function() T.S('splut',1.8) end),
  279. larm.Touched:connect(function() T.S('splut',1.8) end)}
  280.  
  281. -------LOOP---
  282. while holding do
  283. for i = 310,0,-60 do
  284. wait()
  285. rw.C1 = holdpos*ang(M.Cos(M.D(i))*r,0,M.Sin(M.D(i))*r)
  286. lw.C1 = holdpos2*ang(-M.Cos(M.D(i))*r,0,-M.Sin(M.D(i))*r)
  287. end
  288. for i = 0,310,60 do
  289. wait()
  290. rw.C1 = holdpos*ang(M.Cos(M.D(i))*r,0,M.Sin(M.D(i))*r)
  291. lw.C1 = holdpos2*ang(-M.Cos(M.D(i))*r,0,-M.Sin(M.D(i))*r)
  292. end
  293.  
  294. end
  295. -------LOOP---
  296. neck.C0 = normposn
  297. char.Humanoid.WalkSpeed = wspeed
  298. lock.R(-1) lock.L(-1)
  299. for i = 310,0,-25 do
  300. wait()
  301. rw.C1 = holdpos*ang(M.Cos(M.D(i))*r,0,M.Sin(M.D(i))*r)
  302. lw.C1 = holdpos2*ang(M.Cos(M.D(i))*r,0,M.Sin(M.D(i))*r)
  303. end
  304. for i = 50,-90,25 do
  305. wait()
  306. rw.C1 = holdpos*ang(M.D(i),0,0)
  307. lw.C1 = holdpos2*ang(M.D(i),0,0)
  308. end
  309. for i,v in pairs(cons) do v:disconnect() end
  310. lock.R(0) lock.L(0)
  311. end
  312.  
  313. prev,prev2 = holdpos*ang(math.pi/2,0,M.D(40)),holdpos2*ang(math.pi/2,0,M.D(-40))
  314.  
  315. function jump()
  316. -------JUMP-----
  317. lock.R(2) lock.L(2)
  318. char.Humanoid.Jump = true
  319. lhw.C1 = normposl2*ang(0,0,M.D(-40)) rhw.C1 = normposr2*ang(0,0,M.D(40))
  320. bd = Instance.new("BodyForce",torso) bd.force = v3n(0,floatforce+3,0)
  321. wait(1)
  322. lock.R(-1) lock.L(-1)
  323. bd:Remove()
  324. -------JUMP-----
  325. end
  326. function headbang()
  327. lock.R(1) lock.L(1)
  328. holding = true
  329. while holding do
  330. for i = 0,40,10 do
  331. wait()
  332. neck.C0 = normposn*ang(M.D(i),0,0)
  333. rw.C1 = prev*ang(M.D(-i),0,0)
  334. lw.C1 = prev2*ang(M.D(-i),0,0)
  335. end
  336. T.S('guitar',1)
  337. local p = T.P(1,1,1,'New Yeller',0,false,false)
  338. p.CFrame = cfn(char.Head.Position+torso.CFrame.lookVector*1,char.Head.Position+torso.CFrame.lookVector*2)
  339. T.FM(p,'ring',3,3,1)
  340. Instance.new("BodyForce",p).force = torso.CFrame.lookVector*30 + v3n(0,p:GetMass()*floatforce,0)
  341. delay(.5,function() for i = 3,30 do wait() p.Mesh.Scale = v3n(i,i,1) p.Transparency = i/30 end p:Remove() end)
  342. for i = 40,0,-10 do
  343. wait()
  344. neck.C0 = normposn*ang(M.D(i),0,0)
  345. rw.C1 = prev*ang(M.D(-i),0,0)
  346. lw.C1 = prev2*ang(M.D(-i),0,0)
  347. end
  348. end
  349. lock.R(0) lock.L(0)
  350. end
  351. hum = char.Humanoid
  352. restbp = nil
  353. restbg = nil
  354. function rest()
  355. if not restbp then
  356. lock.R(1) lock.L(1) lock.R(2) lock.L(2)
  357. tyu = cfn(.2,.2,-.2)
  358. tyu1 = cfn(-.2,.2,-.2)
  359. tyu2 = cfn(-.1,.2,-.2)
  360. rw.C1 = (holdpos*tyu1)*ang(M.D(100),0,M.D(-30))
  361. lw.C1 = (holdpos2*tyu)*ang(M.D(100),0,M.D(30))
  362. neck.C0 = normposn*ang(M.D(20),0,0)
  363. lhw.C1 = (normposr2*tyu2)*ang(M.D(20),0,M.D(-20))
  364. rhw.C1 = (normposl2)*ang(M.D(5),0,M.D(10))
  365.  
  366. pos = torso.CFrame
  367. restbp = T.BP(torso,pos.p)
  368. cloud = T.P(5,2,5,'White',.5,false,false) T.FM(cloud,'cloud',5,2,5)
  369. cloud.Position = pos.p
  370. T.W(cloud,torso,0,0,.8,-math.pi/2,0,0)
  371.  
  372. T.C(function()
  373. while wait() do
  374. for i = 0,.5,.05 do
  375. restbp.position = pos.p+v3n(0,i,0)
  376. wait(.2)
  377. end
  378. for i = .5,0,-.05 do
  379. restbp.position = pos.p+v3n(0,i,0)
  380. wait(.2)
  381. end
  382. end
  383. end)
  384.  
  385. restbg = T.BG(torso)
  386. restbg.cframe = pos*ang(math.pi/2,0,0)
  387. hum.PlatformStand = true
  388. else
  389. hum.PlatformStand = false
  390. for i = -1,0 do lock.R(i) lock.L(i) end
  391. cloud:Remove()
  392. restbp:Remove()
  393. restbg:Remove()
  394. neck.C0 = normposn
  395. torso.CFrame = pos
  396. restbp,restbg = nil,nil
  397.  
  398. end
  399. end
  400.  
  401. function spaas(position,radius,number,color)
  402.  
  403. mode = Instance.new("Model",m)
  404. for i = 1,3 do
  405. pos = position+v3n(M.R(-radius,radius),M.R(-radius,radius),M.R(-radius,radius))
  406. mag = (position-pos).magnitude
  407.  
  408. col = color or 'Toothpaste'
  409. local laz = T.P(.1,mag,.1,col,0,false,true,mode)
  410.  
  411. T.FM(laz,'cylinder',.3,1,.3)
  412. laz.CFrame = (cfn(position,pos)*cfn(0,0,-mag/2))*ang(math.pi/2,0,0)
  413.  
  414. cframe = (laz.CFrame*cfn(0,-mag/2,0)).p
  415. pos2 = cframe+v3n(M.R(-radius,radius),M.R(-radius,radius),M.R(-radius,radius))
  416. mag2 = (cframe-pos2).magnitude
  417. local laz2 = T.P(.1,mag2,.1,col,0,false,true,mode)
  418. T.FM(laz2,'cylinder',.3,1,.3)
  419. laz2.CFrame = (cfn(cframe,pos2)*cfn(0,0,-mag2/2))*ang(math.pi/2,0,0)
  420.  
  421. previo = laz2
  422. for i = 1,number do
  423. cframe = (previo.CFrame*cfn(0,-mag/2,0)).p
  424. pos2 = cframe+v3n(M.R(-radius,radius),M.R(-radius,radius),M.R(-radius,radius))
  425. mag2 = (cframe-pos2).magnitude
  426.  
  427. local laz2 = T.P(.1,mag2,.1,col,0,false,true,mode)
  428. T.FM(laz2,'cylinder',.3,1,.3)
  429. laz2.CFrame = (cfn(cframe,pos2)*cfn(0,0,-mag2/2))*ang(math.pi/2,0,0)
  430.  
  431. previo = laz2
  432. end
  433.  
  434. end
  435. debris:AddItem(mode,.1)
  436. end
  437.  
  438. function lazors()
  439. holding = true
  440.  
  441. while holding do
  442. T.S('spark',1)
  443. spaas(torso.Position,1,3)
  444. wait()
  445. end
  446. end
  447.  
  448. dolls = {}
  449. function doll()
  450. local doll = Instance.new("Model",m)
  451. doll.Name = 'Claydoll'
  452. table.insert(dolls,doll)
  453. col = 'White'
  454.  
  455. p = T.P(2,2,1,col,0,true,false,doll) p.Position = torso.Position+torso.CFrame.lookVector*5 p.Name = 'Torso'
  456. p2 = T.P(1,2,1,col,0,true,false,doll) p2.Name = 'Left Arm'
  457. T.W(p2,p,1.5,0,0,0,0,0)
  458. p2 = T.P(1,2,1,col,0,true,false,doll) p2.Name = 'Right Arm'
  459. T.W(p2,p,-1.5,0,0,0,0,0)
  460. p2 = T.P(1,2,1,col,0,true,false,doll) p2.Name = 'Right Leg'
  461. T.W(p2,p,-.5,-2,0,0,0,0)
  462. p2 = T.P(1,2,1,col,0,true,false,doll) p2.Name = 'Left Leg'
  463. T.W(p2,p,.5,-2,0,0,0,0)
  464. p2 = T.P(1,1,1,col,0,true,false,doll) p2.Name = 'Head'
  465. T.W(p2,p,0,1.5,0,0,0,0) Instance.new("SpecialMesh",p2).Scale = v3n(1.25,1.25,1.25)
  466. end
  467.  
  468. function spare()
  469. lock.R(1)
  470. local ball = T.P(1,1,1,'Deep blue',1,true,false) ball.Shape = 0
  471. ball.Touched:connect(function(hit)
  472. for i,v in pairs(dolls) do if hit.Parent == v then
  473. ball:BreakJoints()
  474. T.W(ball,v.Torso,0,0,0,0,0,0)
  475. Instance.new("Humanoid",v)
  476. T.S('midas',1)
  477. T.C(function()
  478. local ef = T.P(1,1,1,'New Yeller',0,false,true)
  479. ef.CFrame = ball.CFrame
  480. local msh = T.FM(ef,'sphere',1,1,1)
  481. for i = 1,30 do
  482. msh.Scale = v3n(i,i,i)
  483. ef.Transparency = i/30
  484. wait()
  485. end
  486. ef:Remove()
  487. end)
  488. end end
  489. end)
  490.  
  491. wld = T.W(ball,rarm,0,-1,0,0,0,0)
  492. rw.C1 = holdpos*cfn(0,.5,0)
  493. for i = 1,0,-.05 do wait() ball.Transparency = i end
  494. rw.C1 = holdpos*cfn(0,-.3,0)
  495. wait()
  496. wld:Remove()
  497. Instance.new("BodyForce",ball).force = torso.CFrame.lookVector*4 + v3n(0,ball:GetMass()*floatforce,0)
  498. T.C(function(hit)
  499. while wait(.5) do
  500. if ball.Parent == nil then break end
  501. for i = 1,3 do
  502. spaas(ball.Position,1,3,'New Yeller')
  503. wait()
  504. end
  505. end
  506. end)
  507. wait(.3) lock.R(0)
  508. end
  509.  
  510. function grab(a,b,speed)
  511. if speed then c = speed else c = 5 end
  512. local er,er2,er3
  513. if b == 1 then er,er2,er3 = 0,40,c
  514. elseif b == 0 then er,er2,er3 = 40,0,-c
  515. end
  516.  
  517. for i = er,er2,er3 do
  518. wait()
  519.  
  520. if a == 1 then
  521. lw.C1 = normposl*ang(M.D(-i),0,M.D(i/(50/40)))
  522. elseif a == 2 then
  523. rw.C1 = normposr*ang(M.D(-i),0,M.D(-i/(50/40)))
  524. elseif a == 3 then
  525. lw.C1 = normposl*ang(M.D(-i),0,M.D(i/(50/40)))
  526. rw.C1 = normposr*ang(M.D(-i),0,M.D(-i/(50/40)))
  527. end
  528.  
  529. end
  530. end
  531.  
  532. afro = nil
  533. function disco()
  534. foundhat = false
  535. for i,v in pairs(char:children()) do if v:IsA("Hat") then foundhat = true end end
  536. lock.R(1) lock.L(1)
  537. if foundhat or afro then
  538. for i = 0,180,20 do
  539. wait()
  540. rw.C1 = normposr*ang(M.D(i),0,M.D(i/(180/-20)))
  541. neck.C0 = normposn*ang(0,M.D(i/(180/-20)),0)
  542. end
  543. wait(.1)
  544. neck.C0 = normposn
  545. if afro then
  546. headweld = afroweld
  547. headweld.Part1 = rarm
  548.  
  549. headweld.C1 = cfn(0,-1.5,0)
  550. else
  551. headweld = char.Head.HeadWeld
  552. headweld.Part0 = rarm
  553.  
  554. headweld.C0 = cfn(0,-1.5,0)
  555. end
  556. for i = 180,0,-20 do
  557. wait()
  558. rw.C1 = normposr*ang(M.D(i),0,M.D(i/(180/-20)))
  559. neck.C0 = normposn*ang(0,M.D(i/(180/-20)),0)
  560. end
  561. grab(2,1,10)
  562. headweld:Remove()
  563. wait(.3)
  564. grab(2,0,10)
  565. if afro then afro = nil lock.R(0) lock.L(0) return end
  566. end
  567. if not afro then
  568. grab(2,1,10)
  569. afro = T.P(1,1,1,'Brown',0,false,false)
  570. msh = T.FM(afro,11412443,1,1,1,55078516)
  571. afroweld = T.W(afro,rarm,0,-1.5,0,0,math.pi,0)
  572. grab(2,0,10)
  573.  
  574. for i = 0,180,20 do
  575. wait()
  576. rw.C1 = normposr*ang(M.D(i),0,M.D(i/(180/-20)))
  577. neck.C0 = normposn*ang(0,M.D(i/(180/-20)),0)
  578. end
  579.  
  580. afroweld.Part1 = char.Head
  581. afroweld.C1 = cfn(0,.9,0)
  582. rw.C1 = holdpos*ang(M.D(90),0,0)
  583. for i = 180,0,-20 do
  584. wait()
  585. rw.C1 = normposr*ang(M.D(i),0,M.D(i/(180/-20)))
  586. neck.C0 = normposn*ang(0,M.D(i/(180/-20)),0)
  587. end
  588. end
  589. lock.R(0) lock.L(0)
  590. end
  591.  
  592. function teleport(mouse)
  593. char:MoveTo(mouse.hit.p)
  594. end
  595.  
  596. klist = {
  597. {'f',function() headbang() end,''},
  598. {'q',function() spin2() end,''},
  599. {'e',function() spin() end,''},
  600. {'c',function() rest() end},
  601. {'r',function() lazors() end,''},
  602. {'g',function() spare() end},
  603. {'v',function() disco() end},
  604. {'t',function(a) teleport(a) end},
  605. {'h',function() doll() end}
  606. }
  607.  
  608. function bowl() return end
  609.  
  610. hop.Deselected:connect(function() lock.R(0) lock.L(0) end)
  611. hop.Selected:connect(function(mouse)
  612. mouse.Button1Up:connect(function() holding = false end)
  613. mouse.KeyUp:connect(function(a) for i,v in pairs(klist) do if a == v[1] and v[3] ~= nil then holding = false end end end)
  614. mouse.KeyDown:connect(function(key) if attacking then return end
  615. for i,v in pairs(klist) do
  616. if key == v[1] then attacking = true v[2](mouse) attacking = false end
  617. end
  618. end)
  619.  
  620. mouse.Button1Down:connect(function() if attacking then return end attacking = true bowl(mouse) attacking = false end)
  621. end)
  622. --medifire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement