Plum's minimap - Rotating map, bordersnapping blips and more!

hey sorry to bump this, but correct if im wrong, all i have to do is detect the change of the size of the minimap, then fire the bindable event, thats it?

Hi ,
i used it and its really cool actually
but when i tested it it freezes after you died
( i am not using a roblox spawn but i made a script my self for respawning,
here is it if it could help you to find the problem;

local STAT_NAME = "Stage"
local PREVENT_SKIPPING = true

local checkpoints = {}

local i = 1
while true do
	local checkpoint = Workspace:FindFirstChild("Checkpoint " .. i, true)
	if not checkpoint then print("Last Checkpoint : " .. i-1) break end
	table.insert(checkpoints, checkpoint)
	i = i + 1
end

game.Players.PlayerAdded:connect(function(player)
	local leaderstats = player:FindFirstChild("leaderstats") or Instance.new("Model", player)
	leaderstats.Name = "leaderstats"
	
	local checkpointStat = Instance.new("IntValue", leaderstats)
	checkpointStat.Name = STAT_NAME
	checkpointStat.Value = 1
	
	player.CharacterAdded:connect(function(character)
		local goto = checkpoints[checkpointStat.Value]
		if goto then
			repeat wait() until character.Parent
			character:MoveTo(goto.Position)
		else
			warn("Checkpoint " .. checkpointStat.Value .. " not found")
		end
	end)
end)

for index, checkpoint in ipairs(checkpoints) do
	checkpoint.Touched:connect(function(hit)
		local player = game.Players:GetPlayerFromCharacter(hit.Parent)
		if not player then return end
		local humanoid = hit.Parent:FindFirstChild("Humanoid")
		if not humanoid or humanoid.Health <= 0 then return end
		local leaderstats = player:FindFirstChild("leaderstats")
		if not leaderstats then return end
		local checkpointStat = leaderstats:FindFirstChild(STAT_NAME)
		if not leaderstats then return end
		
		if (PREVENT_SKIPPING and checkpointStat.Value + 1 == index) or (not PREVENT_SKIPPING and checkpointStat.Value < index) then
			checkpointStat.Value = index
		end
	end)
end


this is the eror i got after dying

here is the uncopylocked testgame
https://www.roblox.com/games/7726315594/i-dont-know-how-to-fix-this-bug

Hello!

Your problem seems to have nothing with your script to do.
You simply placed the Minimap script in the wrong place…
Move the Minimap script to StarterPlayer → StarterPlayerScripts instead of StarterPlayer → StarterCharacterScripts :slight_smile:

This should fix your problem :smiley:

1 Like

If I add a tag to a part (or a players humanoidrootpart) and that part or player moves, will the blip on the map update as well?

This would be possible. It is not possible to display things, which are children of the local player on the map tho.

I would recommend using the Minimap:AddBlip(obj, tagName), to check, if you’re adding tags to obj’s that arent created, but you can also use CollectionService for it, because it will literally do the same thing, but just with no check.

2 Likes

Thx youre sooo helpfull
i apreciate all the help that you gave us

How do you fix when your minimap doesn’t align where your player actually is???

You probably didn’t multiply your Pixel Size X/Y by 2.
If your Size X is 500, you need to input that in [“size”] as 1000.

Same goes with Pixel Size Y/Z.

Have no clue why, but blips are stuck in the corner if the size of the minimap is scale?

1 Like

Mapsize only supports offset. You could do some calculations yourself, and whenever a screenguis absolutesize changes you call Minimap:Resize(vector2)

2 Likes

Will scale support be added? Scale makes device compatibility way easier.

Scaling should be working now: Plum’s minimap - Roblox Download that and insert it in your game.

Please redownload your minimap scripts and try again.

1 Like

In love with this resource!
However, I’m trying to make a Map that’s essentially infinite (Space!) using the default Night Sky texture; how would I go about making the background Image infinite itself as if I’m outside the stud boundary, it stops tracking.

Thank you^^

I would set the map image to 0 and change the mapColor to black (Color3.fromRGB(0,0,0)

I just want to thank you for a powerful yet easy to use function. I discovered RoRender a few days ago, used it, then was disappointed that the result wasn’t a rotating map with an icon for the position of the player. Now I discovered your tool and the combination is simply fantastic. So thank you very much. You’ve created something truly terrific. I recommend this tool for anyone that wants to easily add a minimap to their game with a minimum of fuss.

1 Like

I’m getting the following error when I hover over a blip that does not have a Tool Tip assigned to it:

11:13:45.214  Argument 1 missing or nil  -  Client - ToolTip:19
  11:13:45.215  Stack Begin  -  Studio
  11:13:45.215  Script 'Players.JaxxonJargon.PlayerScripts.Minimap.Internal.MinimapController.UiCreationController.ToolTip', Line 19 - function render  -  Studio - ToolTip:19

I fixed it by setting the tag ToolTip to any empty string rather than removing it entirely:

toolTip = "";

Hi, great plugin, but is it possible to change the zoom of the map during playtime?

I will look into this :+1: Hopefully an easy fix

1 Like