Hi, when I init this module this will crashing roblox studio and roblox player on testing, in Landscape fodler contains only BasePlate part
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local MapModule = require(ReplicatedStorage.MinimapHandler)
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
repeat task.wait() until Player.Character
local Character = Player.Character
local MapFolder = workspace:WaitForChild("Landscape")
local Viewport = script.Parent
local Minimap = MapModule.new(Viewport, Vector3.new(0, 380, 0), MapFolder)
Minimap.Flatten = true
local parts = Minimap:Refresh()
Also your tempaltes in top not working on test and also crashing if I start play in studio
If itās crashing then I believe its an issue with roblox or your computer as the module isnāt really doing enough to cause a crash.
I just tested it out and it works fine for me.
Iāve never crashed or heard of any crashes from this before either.
Yes I tried it on that map.
I just fixed an issue because I realized one of the maps had the script disabled so it was just blank, but the module didnāt change.
You said you are crashing in the roblox player too?