What do you want to achieve? I want the Viewportframe to show the color of my decal.
What is the issue? The Decal of the part that can be seen through the viewportframe is only black and no other colors.
What solutions have you tried so far? I tried setting the viewportframe background to white but its still black.
wait(4) local viewport = script.Parent.ViewportFrame local plr = game.Players.LocalPlayer local world = workspace.World local camera = Instance.new("Camera",workspace) camera.CameraType = Enum.CameraType.Scriptable camera.Name = "MiniCam" local height = 100 viewport.CurrentCamera = camera local thumbnail = game.Players:GetUserThumbnailAsync(plr.UserId,Enum.ThumbnailType.HeadShot,Enum.ThumbnailSize.Size100x100) workspace.yu["face face"].Texture = thumbnail viewport.Icon["face face"].Texture = thumbnail game:GetService("RunService").RenderStepped:Connect(function() local pos = plr.Character.HumanoidRootPart.Position camera.CFrame = CFrame.new(Vector3.new(pos.X,height,pos.Z),pos) viewport.Icon.CFrame = plr.Character.HumanoidRootPart.CFrame * CFrame.new(0,80,0)--500 print(plr.Character.HumanoidRootPart.CFrame) print(viewport.Icon.CFrame) end)
What im actually making is a minimap. So I added a part 90 studs above from the player that has a decal that becomes the players Icon.(if this is not possible to be solved then please say any other ways to add pictures**