Advertisement
Kaemi

Untitled

May 12th, 2017
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.51 KB | None | 0 0
  1. --By Rufus14 lolo
  2. for i ,v in pairs(game.Players.LocalPlayer.Character.Head:GetChildren()) do
  3.     if v.ClassName == "None" then
  4.         v:destroy()
  5.     end
  6. end
  7. for i ,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  8.     if v.ClassName == "Hat" then
  9.         v:destroy()
  10.     end
  11. end
  12. mouth = Instance.new("Part", game.Players.LocalPlayer.Character)
  13. mouth.Size = Vector3.new(0.7, 0.2, 0.2)
  14. mouth.BrickColor = BrickColor.new("Black")
  15. weld = Instance.new("Weld", mouth)
  16. weld.Part0 = mouth
  17. weld.Part1 = game.Players.LocalPlayer.Character.Head
  18. weld.C0 = weld.C0 * CFrame.new(0,0.3,0.5)
  19. scr = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  20. txt = Instance.new("TextBox", scr)
  21. txt.Text = "Music ID Here"
  22. txt.Position = UDim2.new(0, 350 , 0, 150)
  23. canuse = true
  24. txt.Size = UDim2.new(0, 250 , 0, 50)
  25. mouse = game.Players.LocalPlayer:GetMouse()
  26. function kys(key)
  27.     key = key:lower()
  28.     if key:byte() == 13 and canuse then
  29.          canuse = false
  30.          local id = game.Players:findFirstChild(txt.Text)
  31.          local moosic = Instance.new("Sound", mouth)
  32.          moosic:Play()
  33.          moosic.Volume = 10
  34.          moosic.SoundId = "rbxassetid://"..txt.Text
  35.          scr:destroy()
  36.          moosic.Looped = true
  37.          while true do
  38.              mouth.Size = Vector3.new(0.7,moosic.PlaybackLoudness/400,0.2)
  39.              weld = Instance.new("Weld", mouth)
  40.              weld.Part0 = mouth
  41.              weld.Part1 = game.Players.LocalPlayer.Character.Head
  42.              weld.C0 = weld.C0 * CFrame.new(0,0.3,0.5)
  43.              game:GetService("RunService").RenderStepped:wait()
  44.          end
  45.     end
  46. end
  47. mouse.KeyDown:connect(kys)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement