
2.5k Views
5.2k Executions
Rc7 Blue Version remake
Universal Script π
yoolzzFirst script
5 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
67% accurate
--[[
RC7 - Remake
- Blue Edition -
Made by yoolz, Sulista & Corey
Note: 67% accurate
]]--
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
local StarterGui = game:GetService("StarterGui")
local function clampGui(gui)
local function clampPosition()
local vpSize = workspace.CurrentCamera.ViewportSize
local guiSize = gui.AbsoluteSize
local pos = gui.Position
local rawX = pos.X.Scale * vpSize.X + pos.X.Offset
local rawY = pos.Y.Scale * vpSize.Y + pos.Y.Offset
local clampedX = math.clamp(rawX, 0, math.max(0, vpSize.X - guiSize.X))
local clampedY = math.max(rawY, 0)
gui.Position = UDim2.new(0, clampedX, 0, clampedY)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







