this is more of a showcase than anything, sorry
3 Likes
The sight looks good, nice job on it.
2 Likes
how was this made? i have no idea
2 Likes
basically you just change the pixel position of the primary frame.
here’s the script:
local frame = workspace.reticlething.SurfaceGui.Frame
local factor = workspace.reticlething.SurfaceGui.PixelsPerStud
local camera = workspace.CurrentCamera
game:GetService("RunService").RenderStepped:Connect(function()
local relative = workspace.reticlething.CFrame:PointToObjectSpace(camera.CFrame.Position)
frame.Position = UDim2.new(0,relative.X*-factor, 0,relative.Y*-factor)
end)
2 Likes