Universal Script πŸ“Œ
2.5k Views
5.2k Executions

Rc7 Blue Version remake

Universal Script πŸ“Œ
yoolzz
yoolzzFirst script
5 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

67% accurate

View Raw
--[[
                               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

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

More universal scripts

See all
Script hub
150
987
Bumped 37 minutes ago

Script hub

Lunyx Hub

Script hub
120.8k
221.2k
Bumped 55 minutes ago
Key System
Script hub
10.5k
200.7k
Bumped 1 hour ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.3k
299.2k
Bumped 4 hours ago
Script hub
23.7k
5.3k
Bumped 4 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
308
978
Bumped 5 hours ago