local function R(R,c,k,u)X,Y,Z=unpack(R)if X==""or Y==""or Z==""then X=random:NextInteger(1,c.Size.X/5)Y=random:NextInteger(1,20)Z=random:NextInteger(1,c.Size.Z/5)end X=math.clamp(tonumber(X),1,78)Y=math.clamp(tonumber(Y),1,512)Z=math.clamp(tonumber(Z),1,78)Confirm(k,c)u.PrimaryPart.Size=Vector3.new(X,Y,Z)u.Hull.Size=u.PrimaryPart.Size return true end

local function ModifyScale(Scale, Plot, Grid, Model)
	X, Y, Z = unpack(Scale)
	
	if X == "" or Y == "" or Z == "" then
		X = random:NextInteger(1, Plot.Size.X/5)
		Y = random:NextInteger(1, 20)
		Z = random:NextInteger(1, Plot.Size.Z/5)
	end
	
	X = math.clamp(tonumber(X), 1, 78)
	Y = math.clamp(tonumber(Y), 1, 512)
	Z = math.clamp(tonumber(Z), 1, 78)
	
	Confirm(Grid, Plot)
	
	Model.PrimaryPart.Size = Vector3.new(X, Y, Z)
	Model.Hull.Size = Model.PrimaryPart.Size
	
	return true
end
