Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- ScreenGui0 = Instance.new("ScreenGui")
- ImageLabel1 = Instance.new("ImageLabel")
- TextButton2 = Instance.new("TextButton")
- Script3 = Instance.new("Script")
- TextLabel4 = Instance.new("TextLabel")
- TextButton5 = Instance.new("TextButton")
- Script6 = Instance.new("Script")
- ScreenGui0.Parent = mas
- ImageLabel1.Parent = ScreenGui0
- ImageLabel1.Size = UDim2.new(0, 500, 0, 300)
- ImageLabel1.Position = UDim2.new(0.5, -250, 0.5, -150)
- ImageLabel1.Active = true
- ImageLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel1.ClipsDescendants = true
- ImageLabel1.Draggable = true
- ImageLabel1.Image = "rbxassetid://1510635728"
- TextButton2.Name = "Button2"
- TextButton2.Parent = ImageLabel1
- TextButton2.Transparency = 1
- TextButton2.Size = UDim2.new(0, 100, 0, 20)
- TextButton2.Text = "Singing me"
- TextButton2.Position = UDim2.new(0, 26, 0, 63)
- TextButton2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton2.BackgroundTransparency = 1
- TextButton2.BorderColor3 = Color3.new(0.160784, 0.215686, 0.368627)
- TextButton2.BorderSizePixel = 5
- TextButton2.Font = Enum.Font.Arcade
- TextButton2.FontSize = Enum.FontSize.Size14
- TextButton2.TextColor3 = Color3.new(0, 0, 0)
- TextButton2.TextStrokeColor3 = Color3.new(0.141176, 0.192157, 0.329412)
- TextButton2.TextWrapped = true
- TextButton2.TextTransparency = 0
- Script3.Parent = TextButton2
- table.insert(cors,sandbox(Script3,function()
- function changed()
- script.Parent.Parent.sing.TextTransparency = 0
- script.Parent.Parent.open1.Visible = true
- end
- script.Parent.MouseButton1Down:connect(changed)
- end))
- TextLabel4.Name = "sing"
- TextLabel4.Parent = ImageLabel1
- TextLabel4.Transparency = 1
- TextLabel4.Size = UDim2.new(0, 100, 0, 20)
- TextLabel4.Text = "Singing me"
- TextLabel4.Position = UDim2.new(0.5, -145, 0.5, 78)
- TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel4.BackgroundTransparency = 1
- TextLabel4.Font = Enum.Font.Arcade
- TextLabel4.FontSize = Enum.FontSize.Size14
- TextLabel4.TextScaled = true
- TextLabel4.TextTransparency = 1
- TextLabel4.TextWrapped = true
- TextButton5.Name = "open1"
- TextButton5.Parent = ImageLabel1
- TextButton5.Transparency = 1
- TextButton5.Size = UDim2.new(0, 85, 0, 20)
- TextButton5.Text = "Singing me"
- TextButton5.Position = UDim2.new(1, -104, 1, -70)
- TextButton5.Visible = false
- TextButton5.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton5.BackgroundTransparency = 1
- TextButton5.BorderColor3 = Color3.new(0.160784, 0.215686, 0.368627)
- TextButton5.BorderSizePixel = 5
- TextButton5.Font = Enum.Font.Arcade
- TextButton5.FontSize = Enum.FontSize.Size14
- TextButton5.TextColor3 = Color3.new(0, 0, 0)
- TextButton5.TextStrokeColor3 = Color3.new(0.141176, 0.192157, 0.329412)
- TextButton5.TextTransparency = 1
- TextButton5.TextWrapped = true
- Script6.Name = "sing"
- Script6.Parent = TextButton5
- table.insert(cors,sandbox(Script6,function()
- function changed()
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- LocalScript0 = Instance.new("LocalScript")
- LocalScript0.Parent = mas
- table.insert(cors,sandbox(LocalScript0,function()
- pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
- local plr = game.Players.LocalPlayer
- repeat wait() until plr.Character
- plr = game.Players.LocalPlayer
- char = plr.Character
- torso = char.Torso
- head = char.Head
- neck = torso.Neck
- head.face:Destroy()
- sound = Instance.new("Sound", head)
- sound.SoundId = "rbxassetid://"
- sound.Volume = 100
- sound:Play()
- sound.Looped = true
- plr.Chatted:connect(function(message)
- if message:sub(1,4) == "Play" then
- sound:Stop()
- sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
- sound:Play()
- end
- end)
- ---- [[ Left Eye]] ----
- eye1 = Instance.new("Part", workspace)
- eye1.Anchored = false
- eye1.Parent = head
- eye1.TopSurface = 0
- eye1.BrickColor = BrickColor.new("Black")
- eye1.BottomSurface = 0
- eye1m = Instance.new("SpecialMesh", eye1)
- eye1m.MeshType = Enum.MeshType.Sphere
- eye1m.Scale = Vector3.new(0.02,0.12,0.03)
- ogsize = eye1m.Scale
- weld = Instance.new("Weld", head)
- weld.Part0 = eye1
- weld.Part1 = head
- weld.C1 = CFrame.new(-.17,.14,-.57)
- ---- [[ Right Eye ]] ----
- eye2 = Instance.new("Part", workspace)
- eye2.Anchored = false
- eye2.Parent = head
- eye2.TopSurface = 0
- eye2.BrickColor = BrickColor.new("Black")
- eye2.BottomSurface = 0
- eye2m = Instance.new("SpecialMesh", eye2)
- eye2m.MeshType = Enum.MeshType.Sphere
- eye2m.Scale = Vector3.new(0.02,0.12,0.03)
- ogsize = eye2m.Scale
- weld = Instance.new("Weld", head)
- weld.Part0 = eye2
- weld.Part1 = head
- weld.C1 = CFrame.new(.17,.14,-.57)
- ---- [[ Mouth ]] ----
- mouth = Instance.new("Part", workspace)
- mouth.Anchored = false
- mouth.Parent = head
- mouth.TopSurface = 0
- mouth.BrickColor = BrickColor.new("Black")
- mouth.BottomSurface = 0
- mouth.Material = "SmoothPlastic"
- mouthm = Instance.new("SpecialMesh", mouth)
- mouthm.MeshType = Enum.MeshType.Sphere
- mouthm.Scale = Vector3.new(.13,0.1,0.05)
- ogsize = mouthm.Scale
- weld = Instance.new("Weld", head)
- weld.Part0 = mouth
- weld.Part1 = head
- weld.C1 = CFrame.new(0,-.25,-.6)
- game:service'RunService'.RenderStepped:connect(function()
- mouthm.Scale = mouthm.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/20000,sound.PlaybackLoudness/1000,ogsize.Z),0.8)
- 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)
- end)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- end
- script.Parent.MouseButton1Down:connect(changed)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement