Advertisement
Pukaciu

Untitled

Aug 24th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. ----------musics-----------------
  2. local M16 = nil
  3. ---------------------------------
  4. ------------------------------------------music----------------------------
  5. M16=SetMusic(597084853)
  6. M16.Volume = 50
  7. boi=SetMusic(597084853)
  8. ---------------------------------------------------------------------------
  9. if key == "C" or key == "c" then
  10. AnimationStop()
  11. taco = true
  12. M16:Play()
  13. boi:Stop()
  14. end
  15. end
  16. end
  17. end
  18. end
  19.  
  20. Generate(Player)
  21.  
  22. game:service'RunService'.Stepped:connect(function()
  23. count = (count % 100) + countspeed
  24. angle = math.pi * math.sin(math.pi*2/100*count)
  25. countspeed = 1
  26.  
  27. state = humanoid:GetState()
  28. if state ~= Enum.HumanoidStateType.Freefall then
  29. jump = false
  30. else
  31. jump = true
  32. sit = false
  33. AnimationStop()
  34. end
  35.  
  36. local mesh1anan = Instance.new("SpecialMesh")
  37. mesh1anan.MeshType = Enum.MeshType.FileMesh
  38. mesh1anan.Scale = Vector3.new(0.3,0.3,0.3)
  39. mesh1anan.MeshId = "http://www.roblox.com/asset/?id=430210147"
  40. mesh1anan.TextureId = "http://www.roblox.com/asset/?id=430210159"
  41. mesh1anan.Scale = Vector3.new(0.1,0.1,0.1)
  42.  
  43. if taco == true then
  44. if char ~= nil then
  45. local locationanan = char:GetModelCFrame()
  46. local tacoa = Instance.new("Part")
  47. tacoa.CanCollide = false
  48. tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  49. local meshanananan = mesh1anan:clone()
  50. meshanananan.Parent = tacoa
  51. tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250)
  52. tacoa.Parent = workspace
  53. game:GetService("Debris"):AddItem(tacoa,4)
  54. end
  55. end
  56.  
  57. if taco == false then
  58. M16:Stop()
  59. boi:Stop()
  60. end
  61. if taco == false then
  62. M16:Stop()
  63. boi:Stop()
  64. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement