Universal Script 📌
565 Views
68 Executions

Minimap 3D fixed

Universal Script 📌
styear
styear100K executions
8 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

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!