Run it
Copy the script and paste it into your executor.
--// https://discord.com/invite/Yb6JNPAm3u \\--
local player = .Players.LocalPlayer
camera = .CurrentCamera
screenGui = .()
compassFrame = .()
screenGui.Name =
screenGui.Parent = player:()
compassFrame.Name =
compassFrame.Parent = screenGui
compassFrame.AnchorPoint = .(, )
compassFrame.Position = .(, , , )
compassFrame.Size = .(, , , )
compassFrame.BackgroundTransparency =
compassFrame.BorderSizePixel =
directions = {
[] = ,
[] = ,
[] = ,
[] = ,
[] = ,
[] = ,
[] = ,
[] =
}
(parent, text, isCardinal)
label = .()
label.Parent = parent
label.Size = .(, , , )
label.AnchorPoint = .(, )
label.Font = .Font.SourceSansBold
label.Text = text
label.TextColor3 = .(, , )
label.TextScaled =
label.BackgroundTransparency =
label
(parent)
label = .()
label.Parent = parent
label.Size = .(, , , )
label.AnchorPoint = .(, )
label.Font = .Font.SourceSansBold
label.Text =
label.TextColor3 = .(, , )
label.TextScaled =
label.BackgroundTransparency =
label
labels = {}
separators = {}
i = , ,
directions[i]
labels[i] = (compassFrame, directions[i], )
labels[i] = (compassFrame, (i), )
separators[i] = (compassFrame)
()
cameraDirection = camera.CFrame.LookVector
angle = .(cameraDirection.X, cameraDirection.Z)
degrees = (.(angle) + ) %
i = , ,
offset = .(degrees - i)
scaleFactor = - (offset / )
scaleFactor <
scaleFactor =
label = labels[i]
separator = separators[i]
label.Position = .( + ((i - degrees) / ), , , )
label.Size = .( * scaleFactor, , scaleFactor, )
label.TextTransparency = - scaleFactor
separator.Position = .( + ((i - degrees) / ) + ( * scaleFactor), , , )
separator.Size = .( * scaleFactor, , scaleFactor, )
separator.TextTransparency = - scaleFactor
directions[i]
label.TextColor3 = .(, , )
label.TextColor3 = .(, , )
:().RenderStepped:(updateCompass)Created on my mobile and join my discord https://discord.com/invite/Yb6JNPAm3u Open source Request a game that I can make one but it has limits, I can't make a script like silent aim and wallbang because it's hard to make one using mobile