Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set argument range limits on :lowres #1823

Merged
merged 1 commit into from
Jan 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion MainModule/Server/Commands/Fun.luau
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,9 @@ return function(Vargs, env)
AdminLevel = "Admins";
Function = function(plr: Player, args: {string})
local size = tonumber(args[2]) or 19
assert(size >= 10, "Pixel size too small (< 10)")
local dist = tonumber(args[3]) or 100
assert(dist <= 10_000, "Render distance too large (> 10,000)")
for i, v in service.GetPlayers(plr, args[1]) do
Remote.MakeGui(v, "Effect", {
Mode = "Pixelize";
Expand Down Expand Up @@ -2724,7 +2726,7 @@ return function(Vargs, env)
local lc0 = service.New("CFrameValue", {Name = "LastC0";Value = v.C0;Parent = v})
end
end

for _, v in lowertorso:GetChildren() do
if v:IsA("Motor6D") then
local lc0 = service.New("CFrameValue", {Name = "LastC0";Value = v.C0;Parent = v})
Expand Down
Loading