Advertisement
okban

test

Mar 14th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.53 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. ScreenGui0 = Instance.new("ScreenGui")
  20. ImageLabel1 = Instance.new("ImageLabel")
  21. TextButton2 = Instance.new("TextButton")
  22. Script3 = Instance.new("Script")
  23. TextLabel4 = Instance.new("TextLabel")
  24. TextButton5 = Instance.new("TextButton")
  25. Script6 = Instance.new("Script")
  26. ScreenGui0.Parent = mas
  27. ImageLabel1.Parent = ScreenGui0
  28. ImageLabel1.Size = UDim2.new(0, 500, 0, 300)
  29. ImageLabel1.Position = UDim2.new(0.5, -250, 0.5, -150)
  30. ImageLabel1.Active = true
  31. ImageLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
  32. ImageLabel1.ClipsDescendants = true
  33. ImageLabel1.Draggable = true
  34. ImageLabel1.Image = "rbxassetid://1510635728"
  35. TextButton2.Name = "Button2"
  36. TextButton2.Parent = ImageLabel1
  37. TextButton2.Transparency = 1
  38. TextButton2.Size = UDim2.new(0, 100, 0, 20)
  39. TextButton2.Text = "Singing me"
  40. TextButton2.Position = UDim2.new(0, 26, 0, 63)
  41. TextButton2.BackgroundColor3 = Color3.new(1, 1, 1)
  42. TextButton2.BackgroundTransparency = 1
  43. TextButton2.BorderColor3 = Color3.new(0.160784, 0.215686, 0.368627)
  44. TextButton2.BorderSizePixel = 5
  45. TextButton2.Font = Enum.Font.Arcade
  46. TextButton2.FontSize = Enum.FontSize.Size14
  47. TextButton2.TextColor3 = Color3.new(0, 0, 0)
  48. TextButton2.TextStrokeColor3 = Color3.new(0.141176, 0.192157, 0.329412)
  49. TextButton2.TextWrapped = true
  50. TextButton2.TextTransparency = 0
  51. Script3.Parent = TextButton2
  52. table.insert(cors,sandbox(Script3,function()
  53.  
  54. function changed()
  55. script.Parent.Parent.sing.TextTransparency = 0
  56. script.Parent.Parent.open1.Visible = true
  57.  
  58.  
  59. end
  60.  
  61. script.Parent.MouseButton1Down:connect(changed)
  62.  
  63. end))
  64. TextLabel4.Name = "sing"
  65. TextLabel4.Parent = ImageLabel1
  66. TextLabel4.Transparency = 1
  67. TextLabel4.Size = UDim2.new(0, 100, 0, 20)
  68. TextLabel4.Text = "Singing me"
  69. TextLabel4.Position = UDim2.new(0.5, -145, 0.5, 78)
  70. TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
  71. TextLabel4.BackgroundTransparency = 1
  72. TextLabel4.Font = Enum.Font.Arcade
  73. TextLabel4.FontSize = Enum.FontSize.Size14
  74. TextLabel4.TextScaled = true
  75. TextLabel4.TextTransparency = 1
  76. TextLabel4.TextWrapped = true
  77. TextButton5.Name = "open1"
  78. TextButton5.Parent = ImageLabel1
  79. TextButton5.Transparency = 1
  80. TextButton5.Size = UDim2.new(0, 85, 0, 20)
  81. TextButton5.Text = "Singing me"
  82. TextButton5.Position = UDim2.new(1, -104, 1, -70)
  83. TextButton5.Visible = false
  84. TextButton5.BackgroundColor3 = Color3.new(1, 1, 1)
  85. TextButton5.BackgroundTransparency = 1
  86. TextButton5.BorderColor3 = Color3.new(0.160784, 0.215686, 0.368627)
  87. TextButton5.BorderSizePixel = 5
  88. TextButton5.Font = Enum.Font.Arcade
  89. TextButton5.FontSize = Enum.FontSize.Size14
  90. TextButton5.TextColor3 = Color3.new(0, 0, 0)
  91. TextButton5.TextStrokeColor3 = Color3.new(0.141176, 0.192157, 0.329412)
  92. TextButton5.TextTransparency = 1
  93. TextButton5.TextWrapped = true
  94. Script6.Name = "sing"
  95. Script6.Parent = TextButton5
  96. table.insert(cors,sandbox(Script6,function()
  97.  
  98. function changed()
  99. function sandbox(var,func)
  100. local env = getfenv(func)
  101. local newenv = setmetatable({},{
  102. __index = function(self,k)
  103. if k=="script" then
  104. return var
  105. else
  106. return env[k]
  107. end
  108. end,
  109. })
  110. setfenv(func,newenv)
  111. return func
  112. end
  113. cors = {}
  114. mas = Instance.new("Model",game:GetService("Lighting"))
  115. LocalScript0 = Instance.new("LocalScript")
  116. LocalScript0.Parent = mas
  117. table.insert(cors,sandbox(LocalScript0,function()
  118. pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
  119. local plr = game.Players.LocalPlayer
  120. repeat wait() until plr.Character
  121. plr = game.Players.LocalPlayer
  122. char = plr.Character
  123. torso = char.Torso
  124. head = char.Head
  125. neck = torso.Neck
  126. head.face:Destroy()
  127. sound = Instance.new("Sound", head)
  128. sound.SoundId = "rbxassetid://"
  129. sound.Volume = 100
  130. sound:Play()
  131. sound.Looped = true
  132. plr.Chatted:connect(function(message)
  133. if message:sub(1,4) == "Play" then
  134. sound:Stop()
  135. sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
  136. sound:Play()
  137. end
  138. end)
  139.  
  140.  
  141.  
  142.  
  143. ---- [[ Left Eye]] ----
  144.  
  145. eye1 = Instance.new("Part", workspace)
  146. eye1.Anchored = false
  147. eye1.Parent = head
  148. eye1.TopSurface = 0
  149. eye1.BrickColor = BrickColor.new("Black")
  150. eye1.BottomSurface = 0
  151. eye1m = Instance.new("SpecialMesh", eye1)
  152. eye1m.MeshType = Enum.MeshType.Sphere
  153. eye1m.Scale = Vector3.new(0.02,0.12,0.03)
  154. ogsize = eye1m.Scale
  155. weld = Instance.new("Weld", head)
  156. weld.Part0 = eye1
  157. weld.Part1 = head
  158. weld.C1 = CFrame.new(-.17,.14,-.57)
  159.  
  160.  
  161.  
  162. ---- [[ Right Eye ]] ----
  163.  
  164.  
  165. eye2 = Instance.new("Part", workspace)
  166. eye2.Anchored = false
  167. eye2.Parent = head
  168. eye2.TopSurface = 0
  169. eye2.BrickColor = BrickColor.new("Black")
  170. eye2.BottomSurface = 0
  171. eye2m = Instance.new("SpecialMesh", eye2)
  172. eye2m.MeshType = Enum.MeshType.Sphere
  173. eye2m.Scale = Vector3.new(0.02,0.12,0.03)
  174. ogsize = eye2m.Scale
  175. weld = Instance.new("Weld", head)
  176. weld.Part0 = eye2
  177. weld.Part1 = head
  178. weld.C1 = CFrame.new(.17,.14,-.57)
  179.  
  180.  
  181.  
  182. ---- [[ Mouth ]] ----
  183.  
  184. mouth = Instance.new("Part", workspace)
  185. mouth.Anchored = false
  186. mouth.Parent = head
  187. mouth.TopSurface = 0
  188. mouth.BrickColor = BrickColor.new("Black")
  189. mouth.BottomSurface = 0
  190. mouth.Material = "SmoothPlastic"
  191. mouthm = Instance.new("SpecialMesh", mouth)
  192. mouthm.MeshType = Enum.MeshType.Sphere
  193. mouthm.Scale = Vector3.new(.13,0.1,0.05)
  194. ogsize = mouthm.Scale
  195. weld = Instance.new("Weld", head)
  196. weld.Part0 = mouth
  197. weld.Part1 = head
  198. weld.C1 = CFrame.new(0,-.25,-.6)
  199. game:service'RunService'.RenderStepped:connect(function()
  200. mouthm.Scale = mouthm.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/20000,sound.PlaybackLoudness/1000,ogsize.Z),0.8)
  201. 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)
  202. end)
  203. end))
  204. for i,v in pairs(mas:GetChildren()) do
  205. v.Parent = game:GetService("Players").LocalPlayer.Character
  206. pcall(function() v:MakeJoints() end)
  207. end
  208. mas:Destroy()
  209. for i,v in pairs(cors) do
  210. spawn(function()
  211. pcall(v)
  212. end)
  213. end
  214.  
  215.  
  216. end
  217.  
  218. script.Parent.MouseButton1Down:connect(changed)
  219.  
  220. end))
  221. for i,v in pairs(mas:GetChildren()) do
  222. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  223. pcall(function() v:MakeJoints() end)
  224. end
  225. mas:Destroy()
  226. for i,v in pairs(cors) do
  227. spawn(function()
  228. pcall(v)
  229. end)
  230. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement