Hey, im doing a hd admin custom command, and for some reason the first argument is nil, but it does get the speaker
this is my code:
Function = function(speaker, args)
local size = args[1]
local map = workspace:WaitForChild("Baseplate")
print(size)
print(speaker)
if not size then return end
if size == "inf" then
map.Size = Vector3.new(2048, 16, 2048)
else
map.Size = Vector3.new(size, 16, size)
end
end;
the output is:
nil - Server - Commands:26
elepunto3993 - Server - Commands:27