MadDog_YT

ROBLOX Sing Script LUA Level 4

May 12th, 2019
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1.  
  2. Save New Duplicate & Edit Just Text Twitter
  3. 1
  4. 2
  5. 3
  6. 4
  7. 5
  8. 6
  9. 7
  10. 8
  11. 9
  12. 10
  13. 11
  14. 12
  15. 13
  16. 14
  17. 15
  18. 16
  19. 17
  20. 18
  21. 19
  22. 20
  23. 21
  24. 22
  25. 23
  26. 24
  27. 25
  28. 26
  29. 27
  30. 28
  31. 29
  32. 30
  33. 31
  34. 32
  35. 33
  36. 34
  37. 35
  38. 36
  39. 37
  40. 38
  41. 39
  42. 40
  43. 41
  44. 42
  45. 43
  46. 44
  47. 45
  48. 46
  49. 47
  50. 48
  51. 49
  52. 50
  53. 51
  54. 52
  55. 53
  56. 54
  57. 55
  58. 56
  59. 57
  60. 58
  61. 59
  62. 60
  63. 61
  64. 62
  65. 63
  66. 64
  67. 65
  68. 66
  69. 67
  70. 68
  71. 69
  72. 70
  73. 71
  74. 72
  75. 73
  76. 74
  77. 75
  78. 76
  79. 77
  80. 78
  81. 79
  82. 80
  83. 81
  84. 82
  85. 83
  86. 84
  87. 85
  88. pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
  89. local plr = game.Players.LocalPlayer
  90. repeat wait() until plr.Character
  91. plr = game.Players.LocalPlayer
  92. char = plr.Character
  93. torso = char.Torso
  94. head = char.Head
  95. neck = torso.Neck
  96. head.face:Destroy()
  97. sound = Instance.new("Sound", head)
  98. sound.SoundId = "rbxassetid://"
  99. sound.Volume = 100
  100. sound:Play()
  101. sound.Looped = true
  102. plr.Chatted:connect(function(message)
  103. if message:sub(1,4) == "Play" then
  104. sound:Stop()
  105. sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
  106. sound:Play()
  107. end
  108. end)
  109.  
  110.  
  111.  
  112.  
  113. ---- [[ Left Eye]] ----
  114.  
  115. eye1 = Instance.new("Part", workspace)
  116. eye1.Anchored = false
  117. eye1.Parent = head
  118. eye1.TopSurface = 0
  119. eye1.BrickColor = BrickColor.new("Black")
  120. eye1.BottomSurface = 0
  121. eye1m = Instance.new("SpecialMesh", eye1)
  122. eye1m.MeshType = Enum.MeshType.Sphere
  123. eye1m.Scale = Vector3.new(0.02,0.12,0.03)
  124. ogsize = eye1m.Scale
  125. weld = Instance.new("Weld", head)
  126. weld.Part0 = eye1
  127. weld.Part1 = head
  128. weld.C1 = CFrame.new(-.17,.14,-.57)
  129.  
  130.  
  131.  
  132. ---- [[ Right Eye ]] ----
  133.  
  134.  
  135. eye2 = Instance.new("Part", workspace)
  136. eye2.Anchored = false
  137. eye2.Parent = head
  138. eye2.TopSurface = 0
  139. eye2.BrickColor = BrickColor.new("Black")
  140. eye2.BottomSurface = 0
  141. eye2m = Instance.new("SpecialMesh", eye2)
  142. eye2m.MeshType = Enum.MeshType.Sphere
  143. eye2m.Scale = Vector3.new(0.02,0.12,0.03)
  144. ogsize = eye2m.Scale
  145. weld = Instance.new("Weld", head)
  146. weld.Part0 = eye2
  147. weld.Part1 = head
  148. weld.C1 = CFrame.new(.17,.14,-.57)
  149.  
  150.  
  151.  
  152. ---- [[ Mouth ]] ----
  153.  
  154. mouth = Instance.new("Part", workspace)
  155. mouth.Anchored = false
  156. mouth.Parent = head
  157. mouth.TopSurface = 0
  158. mouth.BrickColor = BrickColor.new("Black")
  159. mouth.BottomSurface = 0
  160. mouth.Material = "SmoothPlastic"
  161. mouthm = Instance.new("SpecialMesh", mouth)
  162. mouthm.MeshType = Enum.MeshType.Sphere
  163. mouthm.Scale = Vector3.new(.13,0.1,0.05)
  164. ogsize = mouthm.Scale
  165. weld = Instance.new("Weld", head)
  166. weld.Part0 = mouth
  167. weld.Part1 = head
  168. weld.C1 = CFrame.new(0,-.25,-.6)
  169. game:service'RunService'.RenderStepped:connect(function()
  170. mouthm.Scale = mouthm.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/20000,sound.PlaybackLoudness/1000,ogsize.Z),0.8)
  171. 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)
  172. end)
Add Comment
Please, Sign In to add comment