Universal Script 📌
582 Views
85 Executions

Minimap 3D fixed

Universal Script 📌
styear
styear100K executions
9 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Minimap Laggy dpi around 550-800

Updates

  1. Script edited: Update script

  2. Script edited: Update script

  3. Script edited: Update script

  4. Script edited: Update script

  5. Script edited: Update script

View Raw
local Players=game:GetService("Players")
local RunService=game:GetService("RunService")
local Workspace=game:GetService("Workspace")
local Lighting=game:GetService("Lighting")
local UserInputService=game:GetService("UserInputService")

local player=Players.LocalPlayer
local guiPlayer=player:WaitForChild("PlayerGui")

getgenv().GUI_POSITIONS=getgenv().GUI_POSITIONS or {}
getgenv().GUI_LOCKS=getgenv().GUI_LOCKS or {}

local ScreenGui=Instance.new("ScreenGui")
ScreenGui.Name="MinimapGui"
ScreenGui.ResetOnSpawn=false
ScreenGui.Parent=guiPlayer

local camera=Workspace.CurrentCamera
local viewportSize=camera.ViewportSize

local baseSize=math.clamp(math.floor(math.min(viewportSize.X,viewportSize.Y)*0.22),120,260)
local offsetFromEdge=math.floor(baseSize*0.15)

local MinimapFrame=Instance.new("Frame")
MinimapFrame.Name="Minimap"
MinimapFrame.Parent=ScreenGui
MinimapFrame.AnchorPoint=Vector2.new(1,0)
MinimapFrame.Position=UDim2.new(1,-offsetFromEdge,0,offsetFromEdge*0.6)
MinimapFrame.Size=UDim2.new(0,baseSize,0,baseSize)
MinimapFrame.BackgroundColor3=Color3.fromRGB(29,29,29)
MinimapFrame.BorderSizePixel=0
MinimapFrame.ClipsDescendants=true

local UIStroke=Instance.new("UIStroke")
UIStroke.Thickness=3.6
UIStroke.Color=Color3.fromRGB(70,70,70)
UIStroke.Parent=MinimapFrame

local Viewport=Instance.new("ViewportFrame")
Viewport.Parent=MinimapFrame


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
16.0k
93.4k
Bumped 47 minutes ago
Key System

Script hub

Kronos New

Universal Script 📌
48.5k
46.7k
Bumped 3 hours ago
Universal Script 📌
1.5k
1.3k
Bumped 6 hours ago
Universal Script 📌
4.2k
56.5k
Bumped 7 hours ago
Universal Script 📌
7.1k
71.8k
Bumped 7 hours ago
Script hub
3.5M
1.2M
Bumped 8 hours ago
Key System