Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Decal3 = Instance.new("Decal")
- Part4 = Instance.new("Part")
- SpecialMesh5 = Instance.new("SpecialMesh")
- Script6 = Instance.new("Script")
- Sound7 = Instance.new("Sound")
- Script8 = Instance.new("Script")
- Model0.Parent = mas
- Part1.Name = "Head"
- Part1.Parent = Model0
- Part1.BrickColor = BrickColor.new("Deep orange")
- Part1.Position = Vector3.new(-0.700003028, 8.50001144, 29.9000015)
- Part1.Anchored = true
- Part1.Size = Vector3.new(1, 1, 1)
- Part1.CFrame = CFrame.new(-0.700003028, 8.50001144, 29.9000015, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Color = Color3.new(1, 0.690196, 0)
- Part1.Position = Vector3.new(-0.700003028, 8.50001144, 29.9000015)
- Part1.Color = Color3.new(1, 0.690196, 0)
- SpecialMesh2.Parent = Part1
- Decal3.Parent = Part1
- Decal3.Texture = "http://www.roblox.com/asset/?id=192316027"
- Part4.Name = "Mouth"
- Part4.Parent = Model0
- Part4.Material = Enum.Material.SmoothPlastic
- Part4.BrickColor = BrickColor.new("Really black")
- Part4.Position = Vector3.new(-0.690002024, 8.25000954, 29.5699997)
- Part4.Anchored = true
- Part4.Size = Vector3.new(1.29999995, 0.300000012, 0.300000012)
- Part4.CFrame = CFrame.new(-0.690002024, 8.25000954, 29.5699997, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part4.Position = Vector3.new(-0.690002024, 8.25000954, 29.5699997)
- Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh5.Parent = Part4
- SpecialMesh5.Scale = Vector3.new(0.400000006, 0.300000012, 1.29999995)
- SpecialMesh5.MeshType = Enum.MeshType.Sphere
- SpecialMesh5.Scale = Vector3.new(0.400000006, 0.300000012, 1.29999995)
- Script6.Parent = SpecialMesh5
- table.insert(cors,sandbox(Script6,function()
- while true do
- wait(0.001)
- script.Parent.Scale = Vector3.new(script.Parent.Scale.X, script.Parent.Parent.Parent.Sound.PlaybackLoudness / 160, script.Parent.Scale.Z)
- end
- end))
- Sound7.Parent = Model0
- Sound7.Pitch = 1.7999999523163
- Sound7.SoundId = "rbxassetid://465539504"
- Sound7.Looped = true
- Script8.Parent = Sound7
- table.insert(cors,sandbox(Script8,function()
- wait(1)
- script.Parent:Play()
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- 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