zombieslayerwtf

singing me script [Leaked]

Apr 8th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. --[controls :D simple]--
  2. --[say play and id to play a song]--
  3. --[EX : play [id] | have fun :D]--
  4. pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
  5. local plr = game.Players.LocalPlayer
  6. repeat wait() until plr.Character
  7. plr = game.Players.LocalPlayer
  8. char = plr.Character
  9. torso = char.Torso
  10. head = char.Head
  11. neck = torso.Neck
  12. head.face:Destroy()
  13. sound = Instance.new("Sound", head)
  14. sound.SoundId = "rbxassetid://"
  15. sound.Volume = 100
  16. sound:Play()
  17. sound.Looped = true
  18. plr.Chatted:connect(function(message)
  19. if message:sub(1,4) == "play" then
  20. sound:Stop()
  21. sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
  22. sound:Play()
  23. end
  24. end)
  25. ---- [[ Left Eye]] ----
  26.  
  27. eye1 = Instance.new("Part", workspace)
  28. eye1.Anchored = false
  29. eye1.Parent = head
  30. eye1.TopSurface = 0
  31. eye1.BrickColor = BrickColor.new("Black")
  32. eye1.BottomSurface = 0
  33. eye1m = Instance.new("SpecialMesh", eye1)
  34. eye1m.MeshType = Enum.MeshType.Sphere
  35. eye1m.Scale = Vector3.new(0.02,0.12,0.03)
  36. ogsize = eye1m.Scale
  37. weld = Instance.new("Weld", head)
  38. weld.Part0 = eye1
  39. weld.Part1 = head
  40. weld.C1 = CFrame.new(-.17,.14,-.57)
  41.  
  42.  
  43.  
  44. ---- [[ Right Eye ]] ----
  45.  
  46.  
  47. eye2 = Instance.new("Part", workspace)
  48. eye2.Anchored = false
  49. eye2.Parent = head
  50. eye2.TopSurface = 0
  51. eye2.BrickColor = BrickColor.new("Black")
  52. eye2.BottomSurface = 0
  53. eye2m = Instance.new("SpecialMesh", eye2)
  54. eye2m.MeshType = Enum.MeshType.Sphere
  55. eye2m.Scale = Vector3.new(0.02,0.12,0.03)
  56. ogsize = eye2m.Scale
  57. weld = Instance.new("Weld", head)
  58. weld.Part0 = eye2
  59. weld.Part1 = head
  60. weld.C1 = CFrame.new(.17,.14,-.57)
  61.  
  62.  
  63.  
  64. ---- [[ Mouth ]] ----
  65.  
  66. mouth = Instance.new("Part", workspace)
  67. mouth.Anchored = false
  68. mouth.Parent = head
  69. mouth.TopSurface = 0
  70. mouth.BrickColor = BrickColor.new("Black")
  71. mouth.BottomSurface = 0
  72. mouth.Material = "SmoothPlastic"
  73. mouthm = Instance.new("SpecialMesh", mouth)
  74. mouthm.MeshType = Enum.MeshType.Sphere
  75. mouthm.Scale = Vector3.new(.13,0.1,0.05)
  76. ogsize = mouthm.Scale
  77. weld = Instance.new("Weld", head)
  78. weld.Part0 = mouth
  79. weld.Part1 = head
  80. weld.C1 = CFrame.new(0,-.25,-.6)
  81. game:service'RunService'.RenderStepped:connect(function()
  82. mouthm.Scale = mouthm.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/20000,sound.PlaybackLoudness/1000,ogsize.Z),0.8)
  83. neck.C0 = neck.C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(mouthm.Scale.Y*100) +math.rad(-90),0,math.rad(180)),0.1)
  84. end)
Add Comment
Please, Sign In to add comment