But the thing is, if you know me earlier, I made tesla auto pilot in Roblox
And I would like to show map on the screen inside the vehicle, rather than a gui on player screen so it look more like a tesla auto pilot, but when I kept the viewport frame in the screen, it does not show anything, i tried it with a local and server script, does anyone know how to shop minimap on surfacegui in workspace
for i,v in pairs(game.Workspace.Folder:GetChildren()) do
local clone = v:Clone()
clone.Size = v.Size
clone.BrickColor = v.BrickColor
clone.CFrame = v.CFrame
clone.Parent = script.Parent
end
local camera = Instance.new("Camera",script.Parent)
script.Parent.CurrentCamera = camera
camera.FieldOfView = 25
while wait(0.25) do
camera.CFrame = CFrame.lookAt(script.Parent.Parent.Parent.Position + Vector3.new(0,200,0),script.Parent.Parent.Parent.Position)
end