How To Make A MINI MAP in ROBLOX STUDIO

Поделиться
HTML-код
  • Опубликовано: 15 ноя 2024

Комментарии • 30

  • @tikofficial11
    @tikofficial11 2 месяца назад +5

    I don't understand how really cool and (useful) things are so so so underrated. Good job man!

  • @WasifRBX
    @WasifRBX Месяц назад +2

    I didn't know that it was this simple! Thanks

  • @GELATINAYT470
    @GELATINAYT470 Месяц назад +3

    local RunService = game:GetService("RunService")
    local player = game.Players.LocalPlayer
    local character = player.Character or player.CharacterAdded:Wait()
    local rootPart = character:WaitForChild("HumanoidRootPart")
    local viewport = script.Parent.ViewportFrame
    local arrow = viewport.ImageLabel
    local camera = Instance.new("Camera")
    camera.Parent = workspace
    camera.CameraType = Enum.CameraType.Scriptable
    viewport.CurrentCamera = camera
    camera.FieldOfView = 1
    for i, part in pairs(game.Workspace.MiniMap:GetDescendants()) do
    if part:IsA("BasePart") then
    local object = part:Clone()
    object.Parent = viewport
    end
    end
    RunService.RenderStepped:Connect(function()
    camera.CFrame = CFrame.new(
    rootPart.Position + Vector3.new(0, 3000, 0),
    rootPart.Position
    )

    arrow.Rotation = - rootPart.Orientation.Y - 90
    end)

  • @Random_gamess135
    @Random_gamess135 2 месяца назад

    You deserve WAY more subscribers 😮 W tutorial

  • @GlimGrim
    @GlimGrim 2 месяца назад

    OMG this has helped me so much your a life saver ❤

  • @CarryAnothersBurdens
    @CarryAnothersBurdens Месяц назад

    tysm for this!!

  • @aemosquete1
    @aemosquete1 2 месяца назад

    another w tut vid keep it up man!

  • @uudarzo
    @uudarzo 2 месяца назад

    Thank you! thhis has helped me so much, i'm making a horror game rn, very useful
    ★★★★★

  • @byStunt7
    @byStunt7 Месяц назад +3

    I have a question: Can that lag the game a lot? Because it uses a viewport frame for which I basically have to duplicate the entire map a second time.

    • @cbob81514
      @cbob81514 Месяц назад +1

      just use screenshots it's better

    • @LennertDevelops
      @LennertDevelops  Месяц назад +2

      It's only rendering the part that's actually shown on the mini map. And the camera is very far away which lowers the quality and increases performance. It shouldn't cause any lag :)

    • @byStunt7
      @byStunt7 Месяц назад +2

      @@LennertDevelops Oh alright, thanks a lot :D

  • @GingerKiNG-yt
    @GingerKiNG-yt Месяц назад

    do you know how i can make so i see more of the map but dont make the viewportframe bigger

  • @SafoanPlayz
    @SafoanPlayz 2 месяца назад

    similar content creator here. Nice job.

  • @salmanizzadin
    @salmanizzadin Месяц назад

    Nice

  • @zak.g3d-e1k
    @zak.g3d-e1k Месяц назад

    Question: What if I want other players to show up on the map? 🤔🤔

  • @V8-Production
    @V8-Production Месяц назад

    can u make a tutorial on how to make teamdeath match please

  • @BloxBoy_Rbx
    @BloxBoy_Rbx 19 дней назад

    script : local RunService = game:GetService("RunService")
    local player = game.Players.LocalPlayer
    local character = player.Character or player.CharacterAdded:Wait()
    local rootPart = character:WaitForChild("HumanoidRootPart")
    local viewport = script.Parent.ViewportFrame
    local arrow = viewport.ImageLabel
    local camera = Instance.new("Camera")
    camera.Parent = workspace
    camera.CameraType = Enum.CameraType.Scriptable
    viewport.CurrentCamera = camera
    camera.FieldOfView = 1
    for i, part in pairs(game.Workspace.MiniMap:GetDescendants()) do
    if part:IsA("BasePart") then
    local object = part:Clone()
    object.Parent = viewport
    end
    end
    RunService.RenderStepped:Connect(function()
    camera.CFrame = CFrame.new(
    rootPart.Position + Vector3.new(0, 3000, 0),
    rootPart.Position
    )

    arrow.Rotation = - rootPart.Orientation.Y - 90
    end)

  • @NormalTheThird
    @NormalTheThird Месяц назад

    Why dosent this load my whole game. The minmap works and all and its a great tutorial but it cant ssem to render in my whole game. Only the place i spawn a small part of it?

    • @asgasgagsagbgdfs
      @asgasgagsagbgdfs Месяц назад

      becaause ur not putting ur whole map in the minimap folder

    • @lastgamerplaysgames3637
      @lastgamerplaysgames3637 Месяц назад

      if you mean you want it to zoom out fully i think js change the y position of the camera to be bigger so it shows more of the map

    • @vibetales_official
      @vibetales_official 22 дня назад

      @@asgasgagsagbgdfs what if I moved all the objects, but it’s still not visible

  • @jimoyig
    @jimoyig Месяц назад

    hello, i am from the netherlands and i was wondering if we can make a game together?

  • @mankibad
    @mankibad 2 месяца назад

    how old are you mate you sound so young
    also you are skilled !

    • @epixerty
      @epixerty 2 месяца назад +1

      he's probably 13-14

  • @gamingstudios2891
    @gamingstudios2891 Месяц назад

    Ben jij van belgië.

  • @gamercompass
    @gamercompass 2 месяца назад

    stroopwafel